GetServiceTraffic class

Constructors

GetServiceTraffic({required Input<int> percent, required Input<String> revision, required Input<String> tag, required Input<String> type})
Creates a new GetServiceTraffic. percent Specifies percent of the traffic to this Revision. This defaults to zero if unspecified. revision Revision to which to send this portion of traffic, if traffic allocation is by revision. tag Indicates a string to be part of the URI to exclusively reference this target. type The allocation type for this traffic target. Possible values: "TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"
const
GetServiceTraffic.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
percent → Input<int>
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
final
revision → Input<String>
Revision to which to send this portion of traffic, if traffic allocation is by revision.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tag → Input<String>
Indicates a string to be part of the URI to exclusively reference this target.
final
type → Input<String>
The allocation type for this traffic target. Possible values: "TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"
final

Methods

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

Operators

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