ServiceTraffic class

Constructors

ServiceTraffic({Input<bool?>? latestRevision, required Input<int> percent, Input<String?>? revisionName, Input<String?>? tag, Input<String?>? url})
Creates a new ServiceTraffic. latestRevision LatestRevision may be optionally provided to indicate that the latest ready percent Percent specifies percent of the traffic to this Revision or Configuration. revisionName RevisionName of a specific revision to which to send this portion of traffic. tag Tag is optionally used to expose a dedicated url for referencing this target exclusively. url (Output)
const
ServiceTraffic.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
latestRevision → Input<bool?>?
LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.
final
percent → Input<int>
Percent specifies percent of the traffic to this Revision or Configuration.
final
revisionName → Input<String?>?
RevisionName of a specific revision to which to send this portion of traffic.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tag → Input<String?>?
Tag is optionally used to expose a dedicated url for referencing this target exclusively.
final
url → Input<String?>?
(Output) URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)
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