Google Cloud Deploy v1 API - Class CustomTargetType (2.17.0)

public sealed class CustomTargetType : IMessage<CustomTargetType>, IEquatable<CustomTargetType>, IDeepCloneable<CustomTargetType>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Deploy v1 API class 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.

Inheritance

object > CustomTargetType

Namespace

Google.Cloud.Deploy.V1

Assembly

Google.Cloud.Deploy.V1.dll

Constructors

CustomTargetType()

public CustomTargetType()

CustomTargetType(CustomTargetType)

public CustomTargetType(CustomTargetType other)
Parameter
Name Description
other CustomTargetType

Properties

Annotations

public MapField<string, string> Annotations { get; }

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.

Property Value
Type Description
MapFieldstringstring

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Time at which the CustomTargetType was created.

Property Value
Type Description
Timestamp

CustomActions

public CustomTargetSkaffoldActions CustomActions { get; set; }

Configures render and deploy for the CustomTargetType using Skaffold custom actions.

Property Value
Type Description
CustomTargetSkaffoldActions

CustomTargetTypeId

public string CustomTargetTypeId { get; set; }

Output only. Resource id of the CustomTargetType.

Property Value
Type Description
string

CustomTargetTypeName

public CustomTargetTypeName CustomTargetTypeName { get; set; }

CustomTargetTypeName-typed view over the Name resource name property.

Property Value
Type Description
CustomTargetTypeName

DefinitionCase

public CustomTargetType.DefinitionOneofCase DefinitionCase { get; }
Property Value
Type Description
CustomTargetTypeDefinitionOneofCase

Description

public string Description { get; set; }

Optional. Description of the CustomTargetType. Max length is 255 characters.

Property Value
Type Description
string

Etag

public string Etag { get; set; }

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.

Property Value
Type Description
string

Labels

public MapField<string, string> Labels { get; }

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.

Property Value
Type Description
MapFieldstringstring

Name

public string Name { get; set; }

Optional. Name of the CustomTargetType. Format is projects/{project}/locations/{location}/customTargetTypes/{customTargetType}. The customTargetType component must match [a-z]([a-z0-9-]{0,61}[a-z0-9])?

Property Value
Type Description
string

Uid

public string Uid { get; set; }

Output only. Unique identifier of the CustomTargetType.

Property Value
Type Description
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Most recent time at which the CustomTargetType was updated.

Property Value
Type Description
Timestamp