SaaS Runtime v1beta1 API - Class UnitKind (1.0.0-beta01)
Stay organized with collections
Save and categorize content based on your preferences.
public sealed class UnitKind : IMessage<UnitKind>, IEquatable<UnitKind>, IDeepCloneable<UnitKind>, IBufferMessage, IMessage
Reference documentation and code samples for the SaaS Runtime v1beta1 API class UnitKind.
Definition of a Unit. Units belonging to the same UnitKind are managed
together; for example they follow the same release model (blueprints,
versions etc.) and are typically rolled out together.
public MapField<string, string> Annotations { get; }
Optional. Annotations is an unstructured key-value map stored with a
resource that may be set by external tools to store and retrieve arbitrary
metadata. They are not queryable and should be preserved when modifying
objects.
public RepeatedField<Dependency> Dependencies { get; }
Optional. Immutable. List of other unit kinds that this release will depend
on. Dependencies will be automatically provisioned if not found.
Maximum 10.
Output only. An opaque value that uniquely identifies a version or
generation of a resource. It can be used to confirm that the client
and server agree on the ordering of a resource being written.
public RepeatedField<VariableMapping> InputVariableMappings { get; }
Optional. List of inputVariables for this release that will either be
retrieved from a dependency’s outputVariables, or will be passed on to a
dependency’s inputVariables. Maximum 100.
Required. Immutable. A reference to the Saas that defines the product
(managed service) that the producer wants to manage with SaaS Runtime. Part
of the SaaS Runtime common data model. Immutable once set.
Output only. The unique identifier of the resource. UID is unique in the
time and space for this resource within the scope of the service. It is
typically generated by the server on successful creation of a resource
and must not be changed. UID is used to uniquely identify resources
with resource name reuses. This should be a UUID4.
Output only. The timestamp when the resource was last updated. Any
change to the resource made by users must refresh this value.
Changes to a resource made by the service should refresh this value.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# SaaS Runtime v1beta1 API - Class UnitKind (1.0.0-beta01)\n\n public sealed class UnitKind : IMessage\u003cUnitKind\u003e, IEquatable\u003cUnitKind\u003e, IDeepCloneable\u003cUnitKind\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the SaaS Runtime v1beta1 API class UnitKind.\n\nDefinition of a Unit. Units belonging to the same UnitKind are managed\ntogether; for example they follow the same release model (blueprints,\nversions etc.) and are typically rolled out together. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UnitKind \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UnitKind](/dotnet/docs/reference/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1/latest/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1.UnitKind), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UnitKind](/dotnet/docs/reference/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1/latest/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1.UnitKind), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UnitKind](/dotnet/docs/reference/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1/latest/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1.UnitKind), [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.SaasPlatform.SaasServiceMgmt.V1Beta1](/dotnet/docs/reference/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1/latest/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1.dll\n\nConstructors\n------------\n\n### UnitKind()\n\n public UnitKind()\n\n### UnitKind(UnitKind)\n\n public UnitKind(UnitKind other)\n\nProperties\n----------\n\n### Annotations\n\n public MapField\u003cstring, string\u003e Annotations { get; }\n\nOptional. Annotations is an unstructured key-value map stored with a\nresource that may be set by external tools to store and retrieve arbitrary\nmetadata. They are not queryable and should be preserved when modifying\nobjects.\n\nMore info: \u003chttps://kubernetes.io/docs/user-guide/annotations\u003e\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The timestamp when the resource was created.\n\n### DefaultRelease\n\n public string DefaultRelease { get; set; }\n\nOptional. A reference to the Release object to use as default for creating\nnew units of this UnitKind (optional).\n\nIf not specified, a new unit must explicitly reference which release to use\nfor its creation.\n\n### DefaultReleaseAsReleaseName\n\n public ReleaseName DefaultReleaseAsReleaseName { get; set; }\n\n[ReleaseName](/dotnet/docs/reference/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1/latest/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1.ReleaseName)-typed view over the [DefaultRelease](/dotnet/docs/reference/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1/latest/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1.UnitKind#Google_Cloud_SaasPlatform_SaasServiceMgmt_V1Beta1_UnitKind_DefaultRelease) resource name property.\n\n### Dependencies\n\n public RepeatedField\u003cDependency\u003e Dependencies { get; }\n\nOptional. Immutable. List of other unit kinds that this release will depend\non. Dependencies will be automatically provisioned if not found.\nMaximum 10.\n\n### Etag\n\n public string Etag { get; set; }\n\nOutput only. An opaque value that uniquely identifies a version or\ngeneration of a resource. It can be used to confirm that the client\nand server agree on the ordering of a resource being written.\n\n### InputVariableMappings\n\n public RepeatedField\u003cVariableMapping\u003e InputVariableMappings { get; }\n\nOptional. List of inputVariables for this release that will either be\nretrieved from a dependency's outputVariables, or will be passed on to a\ndependency's inputVariables. Maximum 100.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nOptional. The labels on the resource, which can be used for categorization.\nsimilar to Kubernetes resource labels.\n\n### Name\n\n public string Name { get; set; }\n\nIdentifier. The resource name (full URI of the resource) following the\nstandard naming scheme:\n\n\"projects/{project}/locations/{location}/unitKinds/{unitKind}\"\n\n### OutputVariableMappings\n\n public RepeatedField\u003cVariableMapping\u003e OutputVariableMappings { get; }\n\nOptional. List of outputVariables for this unit kind will be passed to this\nunit's outputVariables. Maximum 100.\n\n### Saas\n\n public string Saas { get; set; }\n\nRequired. Immutable. A reference to the Saas that defines the product\n(managed service) that the producer wants to manage with SaaS Runtime. Part\nof the SaaS Runtime common data model. Immutable once set.\n\n### SaasAsSaasName\n\n public SaasName SaasAsSaasName { get; set; }\n\n[SaasName](/dotnet/docs/reference/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1/latest/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1.SaasName)-typed view over the [Saas](/dotnet/docs/reference/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1/latest/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1.UnitKind#Google_Cloud_SaasPlatform_SaasServiceMgmt_V1Beta1_UnitKind_Saas) resource name property.\n\n### Uid\n\n public string Uid { get; set; }\n\nOutput only. The unique identifier of the resource. UID is unique in the\ntime and space for this resource within the scope of the service. It is\ntypically generated by the server on successful creation of a resource\nand must not be changed. UID is used to uniquely identify resources\nwith resource name reuses. This should be a UUID4.\n\n### UnitKindName\n\n public UnitKindName UnitKindName { get; set; }\n\n[UnitKindName](/dotnet/docs/reference/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1/latest/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1.UnitKindName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1/latest/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1.UnitKind#Google_Cloud_SaasPlatform_SaasServiceMgmt_V1Beta1_UnitKind_Name) resource name property.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The timestamp when the resource was last updated. Any\nchange to the resource made by users must refresh this value.\nChanges to a resource made by the service should refresh this value."]]