public sealed class TrafficTargetStatus : IMessage<TrafficTargetStatus>, IEquatable<TrafficTargetStatus>, IDeepCloneable<TrafficTargetStatus>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class TrafficTargetStatus.
Represents the observed state of a single TrafficTarget
entry.
Implements
IMessageTrafficTargetStatus, IEquatableTrafficTargetStatus, IDeepCloneableTrafficTargetStatus, IBufferMessage, IMessageNamespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Constructors
TrafficTargetStatus()
public TrafficTargetStatus()
TrafficTargetStatus(TrafficTargetStatus)
public TrafficTargetStatus(TrafficTargetStatus other)
Parameter | |
---|---|
Name | Description |
other | TrafficTargetStatus |
Properties
Percent
public int Percent { get; set; }
Specifies percent of the traffic to this Revision.
Property Value | |
---|---|
Type | Description |
int |
Revision
public string Revision { get; set; }
Revision to which this traffic is sent.
Property Value | |
---|---|
Type | Description |
string |
RevisionAsRevisionName
public RevisionName RevisionAsRevisionName { get; set; }
RevisionName-typed view over the Revision resource name property.
Property Value | |
---|---|
Type | Description |
RevisionName |
Tag
public string Tag { get; set; }
Indicates the string used in the URI to exclusively reference this target.
Property Value | |
---|---|
Type | Description |
string |
Type
public TrafficTargetAllocationType Type { get; set; }
The allocation type for this traffic target.
Property Value | |
---|---|
Type | Description |
TrafficTargetAllocationType |
Uri
public string Uri { get; set; }
Displays the target URI.
Property Value | |
---|---|
Type | Description |
string |