A Target
resource in the Google Cloud Deploy API.
A Target
defines a location to which a Skaffold configuration
can be deployed.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — 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.
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — 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.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — 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.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — Output only. Time at which the
Target
was created.
#description
def description() -> ::String
Returns
-
(::String) — Optional. Description of the
Target
. Max length is 255 characters.
#description=
def description=(value) -> ::String
Parameter
-
value (::String) — Optional. Description of the
Target
. Max length is 255 characters.
Returns
-
(::String) — Optional. Description of the
Target
. Max length is 255 characters.
#etag
def etag() -> ::String
Returns
- (::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.
#etag=
def etag=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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.
#execution_configs
def execution_configs() -> ::Array<::Google::Cloud::Deploy::V1::ExecutionConfig>
Returns
-
(::Array<::Google::Cloud::Deploy::V1::ExecutionConfig>) — Configurations for all execution that relates to this
Target
. EachExecutionEnvironmentUsage
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 theRENDER
andDEPLOY
ExecutionEnvironmentUsage
values. When no configurations are specified, execution will use the default specified inDefaultPool
.
#execution_configs=
def execution_configs=(value) -> ::Array<::Google::Cloud::Deploy::V1::ExecutionConfig>
Parameter
-
value (::Array<::Google::Cloud::Deploy::V1::ExecutionConfig>) — Configurations for all execution that relates to this
Target
. EachExecutionEnvironmentUsage
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 theRENDER
andDEPLOY
ExecutionEnvironmentUsage
values. When no configurations are specified, execution will use the default specified inDefaultPool
.
Returns
-
(::Array<::Google::Cloud::Deploy::V1::ExecutionConfig>) — Configurations for all execution that relates to this
Target
. EachExecutionEnvironmentUsage
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 theRENDER
andDEPLOY
ExecutionEnvironmentUsage
values. When no configurations are specified, execution will use the default specified inDefaultPool
.
#gke
def gke() -> ::Google::Cloud::Deploy::V1::GkeCluster
Returns
- (::Google::Cloud::Deploy::V1::GkeCluster) — Information specifying a GKE Cluster.
#gke=
def gke=(value) -> ::Google::Cloud::Deploy::V1::GkeCluster
Parameter
- value (::Google::Cloud::Deploy::V1::GkeCluster) — Information specifying a GKE Cluster.
Returns
- (::Google::Cloud::Deploy::V1::GkeCluster) — Information specifying a GKE Cluster.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
-
(::Google::Protobuf::Map{::String => ::String}) — 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.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
-
value (::Google::Protobuf::Map{::String => ::String}) — 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.
Returns
-
(::Google::Protobuf::Map{::String => ::String}) — 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.
#name
def name() -> ::String
Returns
-
(::String) — Optional. Name of the
Target
. Format is projects/{project}/locations/{location}/ deliveryPipelines/{deliveryPipeline}/targets/[a-z][a-z0-9-]{0,62}.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Optional. Name of the
Target
. Format is projects/{project}/locations/{location}/ deliveryPipelines/{deliveryPipeline}/targets/[a-z][a-z0-9-]{0,62}.
Returns
-
(::String) — Optional. Name of the
Target
. Format is projects/{project}/locations/{location}/ deliveryPipelines/{deliveryPipeline}/targets/[a-z][a-z0-9-]{0,62}.
#require_approval
def require_approval() -> ::Boolean
Returns
-
(::Boolean) — Optional. Whether or not the
Target
requires approval.
#require_approval=
def require_approval=(value) -> ::Boolean
Parameter
-
value (::Boolean) — Optional. Whether or not the
Target
requires approval.
Returns
-
(::Boolean) — Optional. Whether or not the
Target
requires approval.
#target_id
def target_id() -> ::String
Returns
-
(::String) — Output only. Resource id of the
Target
.
#uid
def uid() -> ::String
Returns
-
(::String) — Output only. Unique identifier of the
Target
.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — Output only. Most recent time at which the
Target
was updated.