Cloud Run Admin v2 API - Class UpdateServiceRequest (2.2.0)

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

Reference documentation and code samples for the Cloud Run Admin v2 API class UpdateServiceRequest.

Request message for updating a service.

Inheritance

object > UpdateServiceRequest

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

UpdateServiceRequest()

public UpdateServiceRequest()

UpdateServiceRequest(UpdateServiceRequest)

public UpdateServiceRequest(UpdateServiceRequest other)
Parameter
NameDescription
otherUpdateServiceRequest

Properties

AllowMissing

public bool AllowMissing { get; set; }

If set to true, and if the Service does not exist, it will create a new one. The caller must have 'run.services.create' permissions if this is set to true and the Service does not exist.

Property Value
TypeDescription
bool

Service

public Service Service { get; set; }

Required. The Service to be updated.

Property Value
TypeDescription
Service

ValidateOnly

public bool ValidateOnly { get; set; }

Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.

Property Value
TypeDescription
bool