Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::CustomTargetType.
A CustomTargetType
resource in the Cloud Deploy API.
A CustomTargetType
defines a type of custom target that can be referenced
in a Target
in order to facilitate deploying to other systems besides the
supported runtimes.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::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.
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::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.
- (::Google::Protobuf::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.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. Time at which the
CustomTargetType
was created.
#custom_actions
def custom_actions() -> ::Google::Cloud::Deploy::V1::CustomTargetSkaffoldActions
-
(::Google::Cloud::Deploy::V1::CustomTargetSkaffoldActions) — Configures render and deploy for the
CustomTargetType
using Skaffold custom actions.
#custom_actions=
def custom_actions=(value) -> ::Google::Cloud::Deploy::V1::CustomTargetSkaffoldActions
-
value (::Google::Cloud::Deploy::V1::CustomTargetSkaffoldActions) — Configures render and deploy for the
CustomTargetType
using Skaffold custom actions.
-
(::Google::Cloud::Deploy::V1::CustomTargetSkaffoldActions) — Configures render and deploy for the
CustomTargetType
using Skaffold custom actions.
#custom_target_type_id
def custom_target_type_id() -> ::String
-
(::String) — Output only. Resource id of the
CustomTargetType
.
#description
def description() -> ::String
-
(::String) — Optional. Description of the
CustomTargetType
. Max length is 255 characters.
#description=
def description=(value) -> ::String
-
value (::String) — Optional. Description of the
CustomTargetType
. Max length is 255 characters.
-
(::String) — Optional. Description of the
CustomTargetType
. Max length is 255 characters.
#etag
def etag() -> ::String
- (::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
- 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.
- (::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.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
-
(::Google::Protobuf::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.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
-
value (::Google::Protobuf::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.
-
(::Google::Protobuf::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.
#name
def name() -> ::String
-
(::String) — Optional. Name of the
CustomTargetType
. Format isprojects/{project}/locations/{location}/customTargetTypes/{customTargetType}
. ThecustomTargetType
component must match[a-z]([a-z0-9-]{0,61}[a-z0-9])?
#name=
def name=(value) -> ::String
-
value (::String) — Optional. Name of the
CustomTargetType
. Format isprojects/{project}/locations/{location}/customTargetTypes/{customTargetType}
. ThecustomTargetType
component must match[a-z]([a-z0-9-]{0,61}[a-z0-9])?
-
(::String) — Optional. Name of the
CustomTargetType
. Format isprojects/{project}/locations/{location}/customTargetTypes/{customTargetType}
. ThecustomTargetType
component must match[a-z]([a-z0-9-]{0,61}[a-z0-9])?
#uid
def uid() -> ::String
-
(::String) — Output only. Unique identifier of the
CustomTargetType
.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. Most recent time at which the
CustomTargetType
was updated.