public sealed class CreateServiceRequest : IMessage<CreateServiceRequest>, IEquatable<CreateServiceRequest>, IDeepCloneable<CreateServiceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class CreateServiceRequest.
Request message for creating a Service.
Implements
IMessageCreateServiceRequest, IEquatableCreateServiceRequest, IDeepCloneableCreateServiceRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.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 location and project in which this service should be created. Format: projects/{project}/locations/{location}, where {project} can be project id or number. Only lowercase characters, digits, and hyphens.
Property Value | |
---|---|
Type | Description |
string |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |
Service
public Service Service { get; set; }
Required. The Service instance to create.
Property Value | |
---|---|
Type | Description |
Service |
ServiceId
public string ServiceId { get; set; }
Required. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}.
Property Value | |
---|---|
Type | Description |
string |
ValidateOnly
public bool ValidateOnly { get; set; }
Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
Property Value | |
---|---|
Type | Description |
bool |