public sealed class CreateNamespaceRequest : IMessage<CreateNamespaceRequest>, IEquatable<CreateNamespaceRequest>, IDeepCloneable<CreateNamespaceRequest>, IBufferMessage, IMessage
The request message for
[RegistrationService.CreateNamespace][google.cloud.servicedirectory.v1.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\u003eThe \u003ccode\u003eCreateNamespaceRequest\u003c/code\u003e class is used to send a request to create a new namespace within the Google Cloud Service Directory.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, demonstrating its capabilities for message handling, comparison, deep cloning, and buffered operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateNamespaceRequest\u003c/code\u003e requires setting values for \u003ccode\u003eNamespace\u003c/code\u003e, \u003ccode\u003eNamespaceId\u003c/code\u003e, and \u003ccode\u003eParent\u003c/code\u003e, with \u003ccode\u003eNamespaceId\u003c/code\u003e adhering to specific formatting rules defined by RFC1035.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property in \u003ccode\u003eCreateNamespaceRequest\u003c/code\u003e can be represented as either a string or a \u003ccode\u003eLocationName\u003c/code\u003e type, providing flexibility in specifying the namespace's location.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is 2.6.0 and this specific document is for version 1.3.0, however, versions range from 1.0.0 to 2.6.0.\u003c/p\u003e\n"]]],[],null,[]]