Class GoogleCloudRunV2TrafficTarget
Holds a single traffic routing entry for the Service. Allocations can be done to a specific Revision name, or pointing to the latest Ready Revision.
Implements
Inherited Members
Namespace: Google.Apis.CloudRun.v2.Data
Assembly: Google.Apis.CloudRun.v2.dll
Syntax
public class GoogleCloudRunV2TrafficTarget : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Percent
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
Declaration
[JsonProperty("percent")]
public virtual int? Percent { get; set; }
Property Value
Type | Description |
---|---|
int? |
Revision
Revision to which to send this portion of traffic, if traffic allocation is by revision.
Declaration
[JsonProperty("revision")]
public virtual string Revision { get; set; }
Property Value
Type | Description |
---|---|
string |
Tag
Indicates a string to be part of the URI to exclusively reference this target.
Declaration
[JsonProperty("tag")]
public virtual string Tag { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
The allocation type for this traffic target.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |