Show / Hide Table of Contents

Class Target

A Target resource in the Cloud Deploy API. A Target defines a location to which a Skaffold configuration can be deployed.

Inheritance
object
Target
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.CloudDeploy.v1.Data
Assembly: Google.Apis.CloudDeploy.v1.dll
Syntax
public class Target : IDirectResponseSchema

Properties

Annotations

Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

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

AnthosCluster

Optional. Information specifying an Anthos Cluster.

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

AssociatedEntities

Optional. Map of entity IDs to their associated entities. Associated entities allows specifying places other than the deployment target for specific features. For example, the Gateway API canary can be configured to deploy the HTTPRoute to a different cluster(s) than the deployment cluster using associated entities. An entity ID must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.

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

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 Target was created.

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

CustomTarget

Optional. Information specifying a Custom Target.

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

DeployParameters

Optional. The deploy parameters to use for this target.

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

Description

Optional. Description of the Target. Max length is 255 characters.

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

ETag

Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

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

ExecutionConfigs

Optional. Configurations for all execution that relates to this Target. Each ExecutionEnvironmentUsage value may only be used in a single configuration; using the same value multiple times is an error. When one or more configurations are specified, they must include the RENDER and DEPLOY ExecutionEnvironmentUsage values. When no configurations are specified, execution will use the default specified in DefaultPool.

Declaration
[JsonProperty("executionConfigs")]
public virtual IList<ExecutionConfig> ExecutionConfigs { get; set; }
Property Value
Type Description
IList<ExecutionConfig>

Gke

Optional. Information specifying a GKE Cluster.

Declaration
[JsonProperty("gke")]
public virtual GkeCluster Gke { get; set; }
Property Value
Type Description
GkeCluster

Labels

Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed.

  • Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be &lt;= 128 bytes.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type Description
IDictionary<string, string>

MultiTarget

Optional. Information specifying a multiTarget.

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

Name

Identifier. Name of the Target. Format is projects/{project}/locations/{location}/targets/{target}. The target component must match [a-z]([a-z0-9-]{0,61}[a-z0-9])?

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

RequireApproval

Optional. Whether or not the Target requires approval.

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

Run

Optional. Information specifying a Cloud Run deployment target.

Declaration
[JsonProperty("run")]
public virtual CloudRunLocation Run { get; set; }
Property Value
Type Description
CloudRunLocation

TargetId

Output only. Resource id of the Target.

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

Uid

Output only. Unique identifier of the Target.

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. Most recent time at which the Target was 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