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.
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.
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.
Identifier. 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])?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Google Cloud Deploy v1 API class CustomTargetType is 3.4.0, with a range of versions available from 1.0.0 to the latest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCustomTargetType\u003c/code\u003e defines a type of custom target for deploying to systems beyond the supported runtimes, and it can be found in the namespace \u003ccode\u003eGoogle.Cloud.Deploy.V1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e, providing various methods and properties.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCustomTargetType\u003c/code\u003e include \u003ccode\u003eAnnotations\u003c/code\u003e, \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eCustomActions\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eLabels\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eUpdateTime\u003c/code\u003e, offering ways to describe and manage custom targets.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCustomTargetType\u003c/code\u003e includes the functionality to use skaffold custom actions to set render and deployment for your custom targets.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Deploy v1 API - Class CustomTargetType (3.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CustomTargetType)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.5.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.4.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.3.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.2.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.1.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/3.0.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.19.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.19.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.18.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.18.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.17.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.16.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.15.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.14.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.13.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.12.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.11.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.10.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.9.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.8.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.7.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.6.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.5.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.4.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.3.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.2.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.1.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/2.0.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/1.1.0/Google.Cloud.Deploy.V1.CustomTargetType)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Deploy.V1/1.0.0/Google.Cloud.Deploy.V1.CustomTargetType) \n\n public sealed class CustomTargetType : IMessage\u003cCustomTargetType\u003e, IEquatable\u003cCustomTargetType\u003e, IDeepCloneable\u003cCustomTargetType\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Deploy v1 API class CustomTargetType.\n\nA `CustomTargetType` resource in the Cloud Deploy API.\n\nA `CustomTargetType` defines a type of custom target that can be referenced\nin a `Target` in order to facilitate deploying to other systems besides the\nsupported runtimes. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CustomTargetType \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CustomTargetType](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CustomTargetType), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CustomTargetType](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CustomTargetType), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CustomTargetType](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CustomTargetType), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Deploy.V1](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Deploy.V1.dll\n\nConstructors\n------------\n\n### CustomTargetType()\n\n public CustomTargetType()\n\n### CustomTargetType(CustomTargetType)\n\n public CustomTargetType(CustomTargetType other)\n\nProperties\n----------\n\n### Annotations\n\n public MapField\u003cstring, string\u003e Annotations { get; }\n\nOptional. User annotations. These attributes can only be set and used by\nthe user, and not by Cloud Deploy. See\n\u003chttps://google.aip.dev/128#annotations\u003e for more details such as format and\nsize limitations.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. Time at which the `CustomTargetType` was created.\n\n### CustomActions\n\n public CustomTargetSkaffoldActions CustomActions { get; set; }\n\nOptional. Configures render and deploy for the `CustomTargetType` using\nSkaffold custom actions.\n\n### CustomTargetTypeId\n\n public string CustomTargetTypeId { get; set; }\n\nOutput only. Resource id of the `CustomTargetType`.\n\n### CustomTargetTypeName\n\n public CustomTargetTypeName CustomTargetTypeName { get; set; }\n\n[CustomTargetTypeName](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CustomTargetTypeName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.CustomTargetType#Google_Cloud_Deploy_V1_CustomTargetType_Name) resource name property.\n\n### DefinitionCase\n\n public CustomTargetType.DefinitionOneofCase DefinitionCase { get; }\n\n### Description\n\n public string Description { get; set; }\n\nOptional. Description of the `CustomTargetType`. Max length is 255\ncharacters.\n\n### Etag\n\n public string Etag { get; set; }\n\nOptional. This checksum is computed by the server based on the value of\nother fields, and may be sent on update and delete requests to ensure the\nclient has an up-to-date value before proceeding.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nOptional. Labels are attributes that can be set and used by both the\nuser and by Cloud Deploy. Labels must meet the following constraints:\n\n- Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.\n- All characters must use UTF-8 encoding, and international characters are allowed.\n- Keys must start with a lowercase letter or international character.\n- Each resource is limited to a maximum of 64 labels.\n\nBoth keys and values are additionally constrained to be \\\u003c= 128 bytes.\n\n### Name\n\n public string Name { get; set; }\n\nIdentifier. Name of the `CustomTargetType`. Format is\n`projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.\nThe `customTargetType` component must match\n`[a-z]([a-z0-9-]{0,61}[a-z0-9])?`\n\n### Uid\n\n public string Uid { get; set; }\n\nOutput only. Unique identifier of the `CustomTargetType`.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. Most recent time at which the `CustomTargetType` was updated."]]