Cloud Run Admin v2 API - Class TrafficTargetStatus (2.2.0)

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.

Inheritance

object > TrafficTargetStatus

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

TrafficTargetStatus()

public TrafficTargetStatus()

TrafficTargetStatus(TrafficTargetStatus)

public TrafficTargetStatus(TrafficTargetStatus other)
Parameter
NameDescription
otherTrafficTargetStatus

Properties

Percent

public int Percent { get; set; }

Specifies percent of the traffic to this Revision.

Property Value
TypeDescription
int

Revision

public string Revision { get; set; }

Revision to which this traffic is sent.

Property Value
TypeDescription
string

RevisionAsRevisionName

public RevisionName RevisionAsRevisionName { get; set; }

RevisionName-typed view over the Revision resource name property.

Property Value
TypeDescription
RevisionName

Tag

public string Tag { get; set; }

Indicates the string used in the URI to exclusively reference this target.

Property Value
TypeDescription
string

Type

public TrafficTargetAllocationType Type { get; set; }

The allocation type for this traffic target.

Property Value
TypeDescription
TrafficTargetAllocationType

Uri

public string Uri { get; set; }

Displays the target URI.

Property Value
TypeDescription
string