Traffic class
Controls traffic configuration for the backend.
Constructors
-
Traffic.new({Map<
String, String> ? annotations, String? createTime, TrafficSet? current, String? etag, Map<String, String> ? labels, String? name, bool? reconciling, RolloutPolicy? rolloutPolicy, TrafficSet? target, String? uid, String? updateTime}) - Traffic.fromJson(Map json_)
Properties
-
annotations
↔ Map<
String, String> ? -
Unstructured key value map that may be set by external tools to store and
arbitrary metadata.
getter/setter pair
- createTime ↔ String?
-
Time at which the backend was created.
getter/setter pair
- current ↔ TrafficSet?
-
Current state of traffic allocation for the backend.
getter/setter pair
- etag ↔ String?
-
Server-computed checksum based on other values; may be sent on update or
delete to ensure operation is done on expected resource.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
↔ Map<
String, String> ? -
Unstructured key value map that can be used to organize and categorize
objects.
getter/setter pair
- name ↔ String?
-
Identifier.
getter/setter pair
- reconciling ↔ bool?
-
A field that, if true, indicates that the system is working to make the
backend's
current
match the requestedtarget
list.getter/setter pair - rolloutPolicy ↔ RolloutPolicy?
-
A rollout policy specifies how new builds and automatic deployments are
created.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- target ↔ TrafficSet?
-
Set to manually control the desired traffic for the backend.
getter/setter pair
- uid ↔ String?
-
System-assigned, unique identifier.
getter/setter pair
- updateTime ↔ String?
-
Time at which the backend was last updated.
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