TargetResponse class

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

Constructors

TargetResponse({required Input<Map<String, String>> annotations, required Input<AnthosClusterResponse> anthosCluster, required Input<String> createTime, required Input<Map<String, String>> deployParameters, required Input<String> description, required Input<String> etag, required Input<List<ExecutionConfigResponse>> executionConfigs, required Input<GkeClusterResponse> gke, required Input<Map<String, String>> labels, required Input<MultiTargetResponse> multiTarget, required Input<String> name, required Input<bool> requireApproval, required Input<CloudRunLocationResponse> run, required Input<String> targetId, required Input<String> uid, required Input<String> updateTime})
Creates a new TargetResponse. 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. createTime Time at which the Target was created. 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. multiTarget Optional. Information specifying a multiTarget. name Optional. Name of the Target. Format is projects/{project}/locations/{location}/targets/a-z{0,62}. requireApproval Optional. Whether or not the Target requires approval. run Optional. Information specifying a Cloud Run deployment target. targetId Resource id of the Target. uid Unique identifier of the Target. updateTime Most recent time at which the Target was updated.
const
TargetResponse.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<AnthosClusterResponse>
Optional. Information specifying an Anthos Cluster.
final
createTime → Input<String>
Time at which the Target was created.
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<ExecutionConfigResponse>>
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<GkeClusterResponse>
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
multiTarget → Input<MultiTargetResponse>
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
requireApproval → Input<bool>
Optional. Whether or not the Target requires approval.
final
run → Input<CloudRunLocationResponse>
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>
Resource id of the Target.
final
uid → Input<String>
Unique identifier of the Target.
final
updateTime → Input<String>
Most recent time at which the Target was updated.
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