GetTargetResult class
Result data returned by getTarget.
Constructors
-
GetTargetResult({required Map<
String, String> annotations, required AnthosClusterResponse anthosCluster, required String createTime, required Map<String, String> deployParameters, required String description, required String etag, required List<ExecutionConfigResponse> executionConfigs, required GkeClusterResponse gke, required Map<String, String> labels, required MultiTargetResponse multiTarget, required String name, required bool requireApproval, required CloudRunLocationResponse run, required String targetId, required String uid, required String updateTime}) -
Creates a new GetTargetResult.
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.createTimeTime at which theTargetwas created.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.multiTargetOptional. Information specifying a multiTarget.nameOptional. Name of theTarget. Format isprojects/{project}/locations/{location}/targets/a-z{0,62}.requireApprovalOptional. Whether or not theTargetrequires approval.runOptional. Information specifying a Cloud Run deployment target.targetIdResource id of theTarget.uidUnique identifier of theTarget.updateTimeMost recent time at which theTargetwas updated.const -
GetTargetResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ 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 → AnthosClusterResponse
-
Optional. Information specifying an Anthos Cluster.
final
- createTime → String
-
Time at which the
Targetwas created.final -
deployParameters
→ Map<
String, String> -
Optional. The deploy parameters to use for this target.
final
- description → String
-
Optional. Description of the
Target. Max length is 255 characters.final - etag → 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
→ List<
ExecutionConfigResponse> -
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 → GkeClusterResponse
-
Optional. Information specifying a GKE Cluster.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ 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 → MultiTargetResponse
-
Optional. Information specifying a multiTarget.
final
- name → String
-
Optional. Name of the
Target. Format isprojects/{project}/locations/{location}/targets/a-z{0,62}.final - requireApproval → bool
-
Optional. Whether or not the
Targetrequires approval.final - run → CloudRunLocationResponse
-
Optional. Information specifying a Cloud Run deployment target.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetId → String
-
Resource id of the
Target.final - uid → String
-
Unique identifier of the
Target.final - updateTime → String
-
Most recent time at which the
Targetwas 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