public sealed class UpdateWorkerPoolRequest : IMessage<UpdateWorkerPoolRequest>, IEquatable<UpdateWorkerPoolRequest>, IDeepCloneable<UpdateWorkerPoolRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class UpdateWorkerPoolRequest.
Request message for updating a worker pool.
Implements
IMessageUpdateWorkerPoolRequest, IEquatableUpdateWorkerPoolRequest, IDeepCloneableUpdateWorkerPoolRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Constructors
UpdateWorkerPoolRequest()
public UpdateWorkerPoolRequest()
UpdateWorkerPoolRequest(UpdateWorkerPoolRequest)
public UpdateWorkerPoolRequest(UpdateWorkerPoolRequest other)
Parameter | |
---|---|
Name | Description |
other |
UpdateWorkerPoolRequest |
Properties
AllowMissing
public bool AllowMissing { get; set; }
Optional. If set to true, and if the WorkerPool does not exist, it will create a new one. The caller must have 'run.workerpools.create' permissions if this is set to true and the WorkerPool does not exist.
Property Value | |
---|---|
Type | Description |
bool |
ForceNewRevision
public bool ForceNewRevision { get; set; }
Optional. If set to true, a new revision will be created from the template even if the system doesn't detect any changes from the previously deployed revision.
This may be useful for cases where the underlying resources need to be recreated or reinitialized. For example if the image is specified by label, but the underlying image digest has changed) or if the container performs deployment initialization work that needs to be performed again.
Property Value | |
---|---|
Type | Description |
bool |
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; }
Optional. Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
Property Value | |
---|---|
Type | Description |
bool |
WorkerPool
public WorkerPool WorkerPool { get; set; }
Required. The WorkerPool to be updated.
Property Value | |
---|---|
Type | Description |
WorkerPool |