public sealed class CreateNamespaceRequest : IMessage<CreateNamespaceRequest>, IEquatable<CreateNamespaceRequest>, IDeepCloneable<CreateNamespaceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Service Directory v1beta1 API class CreateNamespaceRequest.
The request message for
[RegistrationService.CreateNamespace][google.cloud.servicedirectory.v1beta1.RegistrationService.CreateNamespace].
Required. The Resource ID must be 1-63 characters long, and comply with
<a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
Specifically, the name must be 1-63 characters long and match the regular
expression [a-z](?:[-a-z0-9]{0,61}[a-z0-9])? which means the first
character must be a lowercase letter, and all following characters must
be a dash, lowercase letter, or digit, except the last character, which
cannot be a dash.
[[["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\u003eThis document provides reference information for the \u003ccode\u003eCreateNamespaceRequest\u003c/code\u003e class within the Service Directory v1beta1 API, specifically for version 2.0.0-beta05.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateNamespaceRequest\u003c/code\u003e is a request message used for the \u003ccode\u003eRegistrationService.CreateNamespace\u003c/code\u003e operation, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eNamespace\u003c/code\u003e, \u003ccode\u003eNamespaceId\u003c/code\u003e, and \u003ccode\u003eParent\u003c/code\u003e, which are required fields for creating a new namespace, and have specific requirements to be correctly set.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNamespaceId\u003c/code\u003e property must be between 1-63 characters long and adhere to RFC1035 standards and the \u003ccode\u003eParent\u003c/code\u003e property defines the project and location for the namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe document also details the constructors and inherited members of the \u003ccode\u003eCreateNamespaceRequest\u003c/code\u003e class, such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e and \u003ccode\u003eToString()\u003c/code\u003e and the assembly it is part of.\u003c/p\u003e\n"]]],[],null,[]]