public sealed class CreateNamespaceRequest : IMessage<CreateNamespaceRequest>, IEquatable<CreateNamespaceRequest>, IDeepCloneable<CreateNamespaceRequest>, IBufferMessage, IMessage
The request message for [RegistrationService.CreateNamespace][google.cloud.servicedirectory.v1.RegistrationService.CreateNamespace].
Inheritance
System.Object > CreateNamespaceRequestImplements
Google.Protobuf.IMessage<CreateNamespaceRequest>, System.IEquatable<CreateNamespaceRequest>, Google.Protobuf.IDeepCloneable<CreateNamespaceRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.ServiceDirectory.V1Assembly
Google.Cloud.ServiceDirectory.V1.dll
Constructors
CreateNamespaceRequest()
public CreateNamespaceRequest()
CreateNamespaceRequest(CreateNamespaceRequest)
public CreateNamespaceRequest(CreateNamespaceRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateNamespaceRequest |
Properties
Namespace
public Namespace Namespace { get; set; }
Required. A namespace with initial fields set.
Property Value | |
---|---|
Type | Description |
Namespace |
NamespaceId
public string NamespaceId { get; set; }
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.
Property Value | |
---|---|
Type | Description |
System.String |
Parent
public string Parent { get; set; }
Required. The resource name of the project and location the namespace will be created in.
Property Value | |
---|---|
Type | Description |
System.String |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
Google.Api.Gax.ResourceNames.LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
Google.Api.Gax.ResourceNames.LocationName |