TargetArgs class

The set of arguments for Target. The set of arguments for Target.

Constructors

TargetArgs({Input<Map<String, String>>? annotations, Input<AnthosCluster>? anthosCluster, Input<Map<String, String>>? deployParameters, Input<String>? description, Input<String>? etag, Input<List<ExecutionConfig>>? executionConfigs, Input<GkeCluster>? gke, Input<Map<String, String>>? labels, Input<String>? location, Input<MultiTarget>? multiTarget, Input<String>? name, Input<String>? project, Input<String>? requestId, Input<bool>? requireApproval, Input<CloudRunLocation>? run, required Input<String> targetId})
Creates a new TargetArgs. 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. anthosCluster Optional. Information specifying an Anthos Cluster. deployParameters Optional. The deploy parameters to use for this target. description Optional. Description of the Target. Max length is 255 characters. 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. executionConfigs 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. gke Optional. Information specifying a GKE Cluster. 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 <= 128 bytes. location Optional. multiTarget Optional. Information specifying a multiTarget. name Optional. Name of the Target. Format is projects/{project}/locations/{location}/targets/a-z{0,62}. project Optional. requestId 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). requireApproval Optional. Whether or not the Target requires approval. run Optional. Information specifying a Cloud Run deployment target. targetId Required. ID of the Target.
const
TargetArgs.fromMap(Map<String, dynamic> map)
factory

Properties

annotations → Input<Map<String, String>>?
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.
final
anthosCluster → Input<AnthosCluster>?
Optional. Information specifying an Anthos Cluster.
final
deployParameters → Input<Map<String, String>>?
Optional. The deploy parameters to use for this target.
final
description → Input<String>?
Optional. Description of the Target. Max length is 255 characters.
final
etag → Input<String>?
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.
final
executionConfigs → Input<List<ExecutionConfig>>?
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.
final
gke → Input<GkeCluster>?
Optional. Information specifying a GKE Cluster.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>>?
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 <= 128 bytes.
final
location → Input<String>?
final
multiTarget → Input<MultiTarget>?
Optional. Information specifying a multiTarget.
final
name → Input<String>?
Optional. Name of the Target. Format is projects/{project}/locations/{location}/targets/a-z{0,62}.
final
project → Input<String>?
final
requestId → Input<String>?
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).
final
requireApproval → Input<bool>?
Optional. Whether or not the Target requires approval.
final
run → Input<CloudRunLocation>?
Optional. Information specifying a Cloud Run deployment target.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetId → Input<String>
Required. ID of the Target.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited