Required. The cluster name prefix. A unique cluster name will be formed by
appending a random suffix.
The name must contain only lower-case letters (a-z), numbers (0-9),
and hyphens (-). Must begin with a letter. Cannot begin or end with
hyphen. Must consist of between 2 and 35 characters.
Optional. The labels to associate with this cluster.
Label keys must be between 1 and 63 characters long, and must conform to
the following PCRE regular expression:
[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
Label values must be between 1 and 63 characters long, and must conform to
the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
No more than 32 labels can be associated with a given cluster.
[[["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 Dataproc v1 API ManagedCluster is 5.17.0, with documentation available at the provided link, and numerous prior versions are available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eManagedCluster\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.Dataproc.V1\u003c/code\u003e namespace and found in the \u003ccode\u003eGoogle.Cloud.Dataproc.V1.dll\u003c/code\u003e assembly, represents a cluster managed by the workflow in Google Cloud Dataproc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eManagedCluster\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eManagedCluster\u003c/code\u003e objects can be constructed with either default values, or with another \u003ccode\u003eManagedCluster\u003c/code\u003e as a parameter, and it has key properties such as \u003ccode\u003eClusterName\u003c/code\u003e, \u003ccode\u003eConfig\u003c/code\u003e, and \u003ccode\u003eLabels\u003c/code\u003e which manage the name, configuration, and metadata of a cluster respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eClusterName\u003c/code\u003e property within the \u003ccode\u003eManagedCluster\u003c/code\u003e class requires a lowercase, numeric, and hyphen-containing prefix between 2 and 35 characters, the configuration settings are held within \u003ccode\u003eConfig\u003c/code\u003e, and the metadata labels are stored in the \u003ccode\u003eLabels\u003c/code\u003e map.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dataproc v1 API - Class ManagedCluster (5.20.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.20.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.19.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.19.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.18.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.18.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.17.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.17.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.16.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.16.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.15.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.15.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.14.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.14.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.13.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.13.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.12.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.12.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.11.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.11.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.10.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.10.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.9.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.9.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.8.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.8.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.7.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.7.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.6.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.6.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.5.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.5.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.4.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.3.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.2.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.1.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.0.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/4.0.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.4.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.3.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.2.0/Google.Cloud.Dataproc.V1.ManagedCluster)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.1.0/Google.Cloud.Dataproc.V1.ManagedCluster) \n\n public sealed class ManagedCluster : IMessage\u003cManagedCluster\u003e, IEquatable\u003cManagedCluster\u003e, IDeepCloneable\u003cManagedCluster\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dataproc v1 API class ManagedCluster.\n\nCluster that is managed by the workflow. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ManagedCluster \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ManagedCluster](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.ManagedCluster), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ManagedCluster](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.ManagedCluster), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ManagedCluster](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.ManagedCluster), [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.Dataproc.V1](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataproc.V1.dll\n\nConstructors\n------------\n\n### ManagedCluster()\n\n public ManagedCluster()\n\n### ManagedCluster(ManagedCluster)\n\n public ManagedCluster(ManagedCluster other)\n\nProperties\n----------\n\n### ClusterName\n\n public string ClusterName { get; set; }\n\nRequired. The cluster name prefix. A unique cluster name will be formed by\nappending a random suffix.\n\nThe name must contain only lower-case letters (a-z), numbers (0-9),\nand hyphens (-). Must begin with a letter. Cannot begin or end with\nhyphen. Must consist of between 2 and 35 characters.\n\n### Config\n\n public ClusterConfig Config { get; set; }\n\nRequired. The cluster configuration.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nOptional. The labels to associate with this cluster.\n\nLabel keys must be between 1 and 63 characters long, and must conform to\nthe following PCRE regular expression:\n\\[\\\\p{Ll}\\\\p{Lo}\\]\\[\\\\p{Ll}\\\\p{Lo}\\\\p{N}_-\\]{0,62}\n\nLabel values must be between 1 and 63 characters long, and must conform to\nthe following PCRE regular expression: \\[\\\\p{Ll}\\\\p{Lo}\\\\p{N}_-\\]{0,63}\n\nNo more than 32 labels can be associated with a given cluster."]]