Class CreateServiceRequest (1.0.0-beta02)

public sealed class CreateServiceRequest : IMessage<CreateServiceRequest>, IEquatable<CreateServiceRequest>, IDeepCloneable<CreateServiceRequest>, IBufferMessage, IMessage

Request message for creating a Service.

Inheritance

Object > CreateServiceRequest

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

CreateServiceRequest()

public CreateServiceRequest()

CreateServiceRequest(CreateServiceRequest)

public CreateServiceRequest(CreateServiceRequest other)
Parameter
NameDescription
otherCreateServiceRequest

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
TypeDescription
String

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

Service

public Service Service { get; set; }

Required. The Service instance to create.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
Boolean