Cloud Run Admin v2 API - Class UpdateServiceRequest (2.11.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
Name Description
other UpdateServiceRequest

Properties

AllowMissing

public bool AllowMissing { get; set; }

Optional. 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
Type Description
bool

Service

public Service Service { get; set; }

Required. The Service to be updated.

Property Value
Type Description
Service

UpdateMask

public FieldMask UpdateMask { get; set; }

Optional. The list of fields to be updated.

Property Value
Type Description
FieldMask

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
Type Description
bool