public sealed class CreateServiceRequest : IMessage<CreateServiceRequest>, IEquatable<CreateServiceRequest>, IDeepCloneable<CreateServiceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Service Directory v1 API class CreateServiceRequest.
The request message for [RegistrationService.CreateService][google.cloud.servicedirectory.v1.RegistrationService.CreateService].
Implements
IMessage<CreateServiceRequest>, IEquatable<CreateServiceRequest>, IDeepCloneable<CreateServiceRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.ServiceDirectory.V1Assembly
Google.Cloud.ServiceDirectory.V1.dll
Constructors
CreateServiceRequest()
public CreateServiceRequest()
CreateServiceRequest(CreateServiceRequest)
public CreateServiceRequest(CreateServiceRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateServiceRequest |
Properties
Parent
public string Parent { get; set; }
Required. The resource name of the namespace this service will belong to.
Property Value | |
---|---|
Type | Description |
String |
ParentAsNamespaceName
public NamespaceName ParentAsNamespaceName { get; set; }
NamespaceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
NamespaceName |
Service
public Service Service { get; set; }
Required. A service with initial fields set.
Property Value | |
---|---|
Type | Description |
Service |
ServiceId
public string ServiceId { 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 |
String |