TargetArgs

data class TargetArgs(val annotations: Output<Map<String, String>>? = null, val anthosCluster: Output<AnthosClusterArgs>? = null, val description: Output<String>? = null, val etag: Output<String>? = null, val executionConfigs: Output<List<ExecutionConfigArgs>>? = null, val gke: Output<GkeClusterArgs>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val multiTarget: Output<MultiTargetArgs>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val requestId: Output<String>? = null, val requireApproval: Output<Boolean>? = null, val run: Output<CloudRunLocationArgs>? = null, val targetId: Output<String>? = null) : ConvertibleToJava<TargetArgs>

Creates a new Target in a given project and location.

Constructors

Link copied to clipboard
fun TargetArgs(annotations: Output<Map<String, String>>? = null, anthosCluster: Output<AnthosClusterArgs>? = null, description: Output<String>? = null, etag: Output<String>? = null, executionConfigs: Output<List<ExecutionConfigArgs>>? = null, gke: Output<GkeClusterArgs>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, multiTarget: Output<MultiTargetArgs>? = null, name: Output<String>? = null, project: Output<String>? = null, requestId: Output<String>? = null, requireApproval: Output<Boolean>? = null, run: Output<CloudRunLocationArgs>? = null, targetId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): TargetArgs

Properties

Link copied to clipboard
val annotations: Output<Map<String, String>>? = null

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
val anthosCluster: Output<AnthosClusterArgs>? = null

Information specifying an Anthos Cluster.

Link copied to clipboard
val description: Output<String>? = null

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

Link copied to clipboard
val etag: Output<String>? = null

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
val gke: Output<GkeClusterArgs>? = null

Information specifying a GKE Cluster.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

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
val location: Output<String>? = null
Link copied to clipboard
val multiTarget: Output<MultiTargetArgs>? = null

Information specifying a multiTarget.

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val requestId: Output<String>? = null

Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Link copied to clipboard
val requireApproval: Output<Boolean>? = null

Optional. Whether or not the Target requires approval.

Link copied to clipboard
val run: Output<CloudRunLocationArgs>? = null

Information specifying a Cloud Run deployment target.

Link copied to clipboard
val targetId: Output<String>? = null

Required. ID of the Target.