Class Target (2.3.0)

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

A Target resource in the Cloud Deploy API.

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

This message has oneof _ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name
Description
name
str
Optional. Name of the Target . Format is projects/{project}/locations/{location}/targets/{target} . The target component must match [a-z]([a-z0-9-]{0,61}[a-z0-9])?
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
MutableMapping[str, str]
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.
labels
MutableMapping[str, str]
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.="">
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
Optional. Information specifying a GKE Cluster. This field is a member of oneof _ deployment_target .
anthos_cluster
google.cloud.deploy_v1.types.AnthosCluster
Optional. Information specifying an Anthos Cluster. This field is a member of oneof _ deployment_target .
run
google.cloud.deploy_v1.types.CloudRunLocation
Optional. Information specifying a Cloud Run deployment target. This field is a member of oneof _ deployment_target .
multi_target
google.cloud.deploy_v1.types.MultiTarget
Optional. Information specifying a multiTarget. This field is a member of oneof _ deployment_target .
custom_target
google.cloud.deploy_v1.types.CustomTarget
Optional. Information specifying a Custom Target. This field is a member of oneof _ deployment_target .
associated_entities
MutableMapping[str, google.cloud.deploy_v1.types.AssociatedEntities ]
Optional. Map of entity IDs to their associated entities. Associated entities allows specifying places other than the deployment target for specific features. For example, the Gateway API canary can be configured to deploy the HTTPRoute to a different cluster(s) than the deployment cluster using associated entities. An entity ID must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$ .
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
MutableSequence[ 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 .
deploy_parameters
MutableMapping[str, str]
Optional. The deploy parameters to use for this target.

Classes

AnnotationsEntry

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

The abstract base class for a message.

Parameters
Name
Description
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.

AssociatedEntitiesEntry

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

The abstract base class for a message.

Parameters
Name
Description
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.

DeployParametersEntry

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

The abstract base class for a message.

Parameters
Name
Description
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
Name
Description
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.

Create a Mobile Website
View Site in Mobile | Classic
Share by: