TargetResponse

data class TargetResponse(val annotations: Map<String, String>, val anthosCluster: AnthosClusterResponse, val createTime: String, val description: String, val etag: String, val executionConfigs: List<ExecutionConfigResponse>, val gke: GkeClusterResponse, val labels: Map<String, String>, val multiTarget: MultiTargetResponse, val name: String, val requireApproval: Boolean, val run: CloudRunLocationResponse, val targetId: String, val uid: String, val updateTime: String)

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

Constructors

Link copied to clipboard
fun TargetResponse(annotations: Map<String, String>, anthosCluster: AnthosClusterResponse, createTime: String, description: String, etag: String, executionConfigs: List<ExecutionConfigResponse>, gke: GkeClusterResponse, labels: Map<String, String>, multiTarget: MultiTargetResponse, name: String, requireApproval: Boolean, run: CloudRunLocationResponse, targetId: String, uid: String, updateTime: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

Information specifying an Anthos Cluster.

Link copied to clipboard

Time at which the Target was created.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Information specifying a GKE Cluster.

Link copied to clipboard

Optional. Labels are attributes that can be set and used by both the user and by Google 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 <= 128 bytes.

Link copied to clipboard

Information specifying a multiTarget.

Link copied to clipboard

Optional. Name of the Target. Format is projects/{project}/locations/{location}/targets/a-z{0,62}.

Link copied to clipboard

Optional. Whether or not the Target requires approval.

Link copied to clipboard

Information specifying a Cloud Run deployment target.

Link copied to clipboard

Resource id of the Target.

Link copied to clipboard
val uid: String

Unique identifier of the Target.

Link copied to clipboard

Most recent time at which the Target was updated.