GetTargetResult constructor
- 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.
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.
Implementation
const GetTargetResult({
required this.annotations,
required this.anthosCluster,
required this.createTime,
required this.deployParameters,
required this.description,
required this.etag,
required this.executionConfigs,
required this.gke,
required this.labels,
required this.multiTarget,
required this.name,
required this.requireApproval,
required this.run,
required this.targetId,
required this.uid,
required this.updateTime,
});