TargetArgs class
The set of arguments for Target. The set of arguments for Target.
Constructors
-
TargetArgs({Input<
Map< ? annotations, Input<String, String> >AnthosCluster> ? anthosCluster, Input<Map< ? deployParameters, Input<String, String> >String> ? description, Input<String> ? etag, Input<List< ? executionConfigs, Input<ExecutionConfig> >GkeCluster> ? gke, Input<Map< ? labels, Input<String, String> >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.
annotationsOptional. 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.anthosClusterOptional. Information specifying an Anthos Cluster.deployParametersOptional. The deploy parameters to use for this target.descriptionOptional. Description of theTarget. Max length is 255 characters.etagOptional. 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.executionConfigsConfigurations for all execution that relates to thisTarget. EachExecutionEnvironmentUsagevalue 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 theRENDERandDEPLOYExecutionEnvironmentUsagevalues. When no configurations are specified, execution will use the default specified inDefaultPool.gkeOptional. Information specifying a GKE Cluster.labelsOptional. 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.locationOptional.multiTargetOptional. Information specifying a multiTarget.nameOptional. Name of theTarget. Format isprojects/{project}/locations/{location}/targets/a-z{0,62}.projectOptional.requestIdOptional. 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).requireApprovalOptional. Whether or not theTargetrequires approval.runOptional. Information specifying a Cloud Run deployment target.targetIdRequired. ID of theTarget.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. EachExecutionEnvironmentUsagevalue 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 theRENDERandDEPLOYExecutionEnvironmentUsagevalues. When no configurations are specified, execution will use the default specified inDefaultPool.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 isprojects/{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
Targetrequires 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