Show / Hide Table of Contents

Class NamespacesResource.WorkerpoolsResource.ReplaceWorkerPoolRequest

Replaces a worker pool. Only the spec and metadata labels and annotations are modifiable. After the Update request, Cloud Run will work to make the 'status' match the requested 'spec'. May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<WorkerPool>
CloudRunBaseServiceRequest<WorkerPool>
NamespacesResource.WorkerpoolsResource.ReplaceWorkerPoolRequest
Implements
IClientServiceRequest<WorkerPool>
IClientServiceRequest
Inherited Members
CloudRunBaseServiceRequest<WorkerPool>.Xgafv
CloudRunBaseServiceRequest<WorkerPool>.AccessToken
CloudRunBaseServiceRequest<WorkerPool>.Alt
CloudRunBaseServiceRequest<WorkerPool>.Callback
CloudRunBaseServiceRequest<WorkerPool>.Fields
CloudRunBaseServiceRequest<WorkerPool>.Key
CloudRunBaseServiceRequest<WorkerPool>.OauthToken
CloudRunBaseServiceRequest<WorkerPool>.PrettyPrint
CloudRunBaseServiceRequest<WorkerPool>.QuotaUser
CloudRunBaseServiceRequest<WorkerPool>.UploadType
CloudRunBaseServiceRequest<WorkerPool>.UploadProtocol
ClientServiceRequest<WorkerPool>.Execute()
ClientServiceRequest<WorkerPool>.ExecuteAsStream()
ClientServiceRequest<WorkerPool>.ExecuteAsync()
ClientServiceRequest<WorkerPool>.ExecuteAsync(CancellationToken)
ClientServiceRequest<WorkerPool>.ExecuteAsStreamAsync()
ClientServiceRequest<WorkerPool>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<WorkerPool>.CreateRequest(bool?)
ClientServiceRequest<WorkerPool>.GenerateRequestUri()
ClientServiceRequest<WorkerPool>.GetDefaultETagAction(string)
ClientServiceRequest<WorkerPool>.ETagAction
ClientServiceRequest<WorkerPool>.ModifyRequest
ClientServiceRequest<WorkerPool>.ValidateParameters
ClientServiceRequest<WorkerPool>.ApiVersion
ClientServiceRequest<WorkerPool>.RequestParameters
ClientServiceRequest<WorkerPool>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudRun.v1
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class NamespacesResource.WorkerpoolsResource.ReplaceWorkerPoolRequest : CloudRunBaseServiceRequest<WorkerPool>, IClientServiceRequest<WorkerPool>, IClientServiceRequest

Constructors

ReplaceWorkerPoolRequest(IClientService, WorkerPool, string)

Constructs a new ReplaceWorkerPool request.

Declaration
public ReplaceWorkerPoolRequest(IClientService service, WorkerPool body, string name)
Parameters
Type Name Description
IClientService service
WorkerPool body
string name

Properties

DryRun

Indicates that the server should validate the request and populate default values without persisting the request. Supported values: all

Declaration
[RequestParameter("dryRun", RequestParameterType.Query)]
public virtual string DryRun { get; set; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<WorkerPool>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<WorkerPool>.MethodName

Name

Required. The fully qualified name of the worker pool to replace. It can be any of the following forms: * namespaces/{project_id_or_number}/workerpools/{worker_pool_name} (only when the endpoint is regional) * projects/{project_id_or_number}/locations/{region}/workerpools/{worker_pool_name} * projects/{project_id_or_number}/regions/{region}/workerpools/{worker_pool_name}

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<WorkerPool>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<WorkerPool>.GetBody()

InitParameters()

Initializes ReplaceWorkerPool parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudRunBaseServiceRequest<WorkerPool>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX