GoogleCloudRunV2TrafficTarget class

Holds a single traffic routing entry for the Service.

Allocations can be done to a specific Revision name, or pointing to the latest Ready Revision.

Constructors

GoogleCloudRunV2TrafficTarget({int? percent, String? revision, String? tag, String? type})
GoogleCloudRunV2TrafficTarget.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
percent int?
Specifies percent of the traffic to this Revision.
getter/setter pair
revision String?
Revision to which to send this portion of traffic, if traffic allocation is by revision.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag String?
Indicates a string to be part of the URI to exclusively reference this target.
getter/setter pair
type String?
The allocation type for this traffic target. Possible string values are:
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited