public sealed class CreateServiceRequest : IMessage<CreateServiceRequest>, IEquatable<CreateServiceRequest>, IDeepCloneable<CreateServiceRequest>, IBufferMessage, IMessage
Request message for creating a Service.
Implements
IMessage<CreateServiceRequest>, IEquatable<CreateServiceRequest>, IDeepCloneable<CreateServiceRequest>, 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/{projectnumber}/locations/{location}
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. 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 |
Boolean |