AppHostingTrafficState class
Input properties used for looking up and filtering AppHostingTraffic resources.
Constructors
-
AppHostingTrafficState({Input<
String?> ? backend, Input<String?> ? createTime, Input<List< ? currents, Input<AppHostingTrafficCurrent> ?>String?> ? deleteTime, Input<String?> ? etag, Input<String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<AppHostingTrafficRolloutPolicy?> ? rolloutPolicy, Input<AppHostingTrafficTarget?> ? target, Input<String?> ? uid, Input<String?> ? updateTime}) -
Creates a new AppHostingTrafficState.
backendId of the backend that this Traffic config applies tocreateTimeTime at which the backend was created.currentsCurrent state of traffic allocation for the backend.deleteTimeTime at which the backend was deleted.etagServer-computed checksum based on other values; may be sentlocationThe location the Backend that this Traffic config applies tonameIdentifier. The resource name of the backend traffic configprojectThe ID of the project in which the resource belongs.rolloutPolicyThe policy for how builds and rollouts are triggered and rolled out.targetSet to manually control the desired traffic for the backend. This willuidSystem-assigned, unique identifier.updateTimeTime at which the backend was last updated.const -
AppHostingTrafficState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
backend
→ Input<
String?> ? -
Id of the backend that this Traffic config applies to
final
-
createTime
→ Input<
String?> ? -
Time at which the backend was created.
final
-
currents
→ Input<
List< ?AppHostingTrafficCurrent> ?> -
Current state of traffic allocation for the backend.
When setting
target, this field may differ for some time until the desired state is reached. Structure is documented below.final -
deleteTime
→ Input<
String?> ? -
Time at which the backend was deleted.
final
-
etag
→ Input<
String?> ? -
Server-computed checksum based on other values; may be sent
on update or delete to ensure operation is done on expected resource.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String?> ? -
The location the Backend that this Traffic config applies to
final
-
name
→ Input<
String?> ? -
Identifier. The resource name of the backend traffic config
Format:
projects/{project}/locations/{locationId}/backends/{backendId}/traffic.final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
rolloutPolicy
→ Input<
AppHostingTrafficRolloutPolicy?> ? -
The policy for how builds and rollouts are triggered and rolled out.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
target
→ Input<
AppHostingTrafficTarget?> ? -
Set to manually control the desired traffic for the backend. This will
cause current to eventually match this value. The percentages must add
up to 100.
Structure is documented below.
final
-
uid
→ Input<
String?> ? -
System-assigned, unique identifier.
final
-
updateTime
→ Input<
String?> ? -
Time at which the backend was last updated.
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