Show / Hide Table of Contents

Class Traffic

Controls traffic configuration for the backend.

Inheritance
object
Traffic
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.FirebaseAppHosting.v1.Data
Assembly: Google.Apis.FirebaseAppHosting.v1.dll
Syntax
public class Traffic : IDirectResponseSchema

Properties

Annotations

Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

Declaration
[JsonProperty("annotations")]
public virtual IDictionary<string, string> Annotations { get; set; }
Property Value
Type Description
IDictionary<string, string>

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. Time at which the backend was created.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

Current

Output only. Current state of traffic allocation for the backend. When setting target, this field may differ for some time until the desired state is reached.

Declaration
[JsonProperty("current")]
public virtual TrafficSet Current { get; set; }
Property Value
Type Description
TrafficSet

ETag

Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.

Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type Description
string

Labels

Optional. Unstructured key value map that can be used to organize and categorize objects.

Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type Description
IDictionary<string, string>

Name

Identifier. The resource name of the backend's traffic. Format: projects/{project}/locations/{locationId}/backends/{backendId}/traffic.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Reconciling

Output only. A field that, if true, indicates that the system is working to make the backend's current match the requested target list.

Declaration
[JsonProperty("reconciling")]
public virtual bool? Reconciling { get; set; }
Property Value
Type Description
bool?

RolloutPolicy

A rollout policy specifies how new builds and automatic deployments are created.

Declaration
[JsonProperty("rolloutPolicy")]
public virtual RolloutPolicy RolloutPolicy { get; set; }
Property Value
Type Description
RolloutPolicy

Target

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%.

Declaration
[JsonProperty("target")]
public virtual TrafficSet Target { get; set; }
Property Value
Type Description
TrafficSet

Uid

Output only. System-assigned, unique identifier.

Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type Description
string

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. Time at which the backend was last updated.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX