Class Target (0.3.2)

Target(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A Target resource in the Google Cloud Deploy API.

A Target defines a location to which a Skaffold configuration can be deployed.

Attributes

NameDescription
name str
Optional. Name of the Target. Format is projects/{project}/locations/{location}/ deliveryPipelines/{deliveryPipeline}/targets/a-z][a-z0-9-]{0,62}.
target_id str
Output only. Resource id of the Target.
uid str
Output only. Unique identifier of the Target.
description str
Optional. Description of the Target. Max length is 255 characters.
annotations Sequence[google.cloud.deploy_v1.types.Target.AnnotationsEntry]
Optional. User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
labels Sequence[google.cloud.deploy_v1.types.Target.LabelsEntry]
Optional. Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: Each resource is limited to 64 labels. Keys must conform to the regexp: [a-zA-Z][a-zA-Z0-9\_-]{0,62}. Values must conform to the regexp: [a-zA-Z0-9\_-]{0,63}. Both keys and values are additionally constrained to be <= 128="" bytes="" in="" size.="">
require_approval bool
Optional. Whether or not the Target requires approval.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time at which the Target was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Most recent time at which the Target was updated.
gke google.cloud.deploy_v1.types.GkeCluster
Information specifying a GKE Cluster.
etag str
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.
execution_configs Sequence[google.cloud.deploy_v1.types.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.

Classes

AnnotationsEntry

AnnotationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.