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.
Implements
IMessage CustomTargetType , IEquatable CustomTargetType , IDeepCloneable CustomTargetType , IBufferMessage , IMessageNamespace
Google.Cloud.Deploy.V1Assembly
Google.Cloud.Deploy.V1.dll
Constructors
CustomTargetType()
public CustomTargetType()
CustomTargetType(CustomTargetType)
public CustomTargetType(CustomTargetType other)
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.
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Time at which the CustomTargetType
was created.
CustomActions
public CustomTargetSkaffoldActions CustomActions { get; set; }
Configures render and deploy for the CustomTargetType
using Skaffold
custom actions.
CustomTargetTypeId
public string CustomTargetTypeId { get; set; }
Output only. Resource id of the CustomTargetType
.
CustomTargetTypeName
public CustomTargetTypeName CustomTargetTypeName { get; set; }
CustomTargetTypeName -typed view over the Name resource name property.
DefinitionCase
public CustomTargetType.DefinitionOneofCase DefinitionCase { get; }
Description
public string Description { get; set; }
Optional. Description of the CustomTargetType
. Max length is 255
characters.
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.
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.
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])?
Uid
public string Uid { get; set; }
Output only. Unique identifier of the CustomTargetType
.
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. Most recent time at which the CustomTargetType
was updated.