Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.WorkerPoolsResource.PatchRequest

Updates a WorkerPool.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleLongrunningOperation>
CloudRunBaseServiceRequest<GoogleLongrunningOperation>
ProjectsResource.LocationsResource.WorkerPoolsResource.PatchRequest
Implements
IClientServiceRequest<GoogleLongrunningOperation>
IClientServiceRequest
Inherited Members
CloudRunBaseServiceRequest<GoogleLongrunningOperation>.Xgafv
CloudRunBaseServiceRequest<GoogleLongrunningOperation>.AccessToken
CloudRunBaseServiceRequest<GoogleLongrunningOperation>.Alt
CloudRunBaseServiceRequest<GoogleLongrunningOperation>.Callback
CloudRunBaseServiceRequest<GoogleLongrunningOperation>.Fields
CloudRunBaseServiceRequest<GoogleLongrunningOperation>.Key
CloudRunBaseServiceRequest<GoogleLongrunningOperation>.OauthToken
CloudRunBaseServiceRequest<GoogleLongrunningOperation>.PrettyPrint
CloudRunBaseServiceRequest<GoogleLongrunningOperation>.QuotaUser
CloudRunBaseServiceRequest<GoogleLongrunningOperation>.UploadType
CloudRunBaseServiceRequest<GoogleLongrunningOperation>.UploadProtocol
ClientServiceRequest<GoogleLongrunningOperation>.Execute()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStream()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsync()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleLongrunningOperation>.CreateRequest(bool?)
ClientServiceRequest<GoogleLongrunningOperation>.GenerateRequestUri()
ClientServiceRequest<GoogleLongrunningOperation>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleLongrunningOperation>.ETagAction
ClientServiceRequest<GoogleLongrunningOperation>.ModifyRequest
ClientServiceRequest<GoogleLongrunningOperation>.ValidateParameters
ClientServiceRequest<GoogleLongrunningOperation>.ApiVersion
ClientServiceRequest<GoogleLongrunningOperation>.RequestParameters
ClientServiceRequest<GoogleLongrunningOperation>.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.v2
Assembly: Google.Apis.CloudRun.v2.dll
Syntax
public class ProjectsResource.LocationsResource.WorkerPoolsResource.PatchRequest : CloudRunBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest

Constructors

PatchRequest(IClientService, GoogleCloudRunV2WorkerPool, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, GoogleCloudRunV2WorkerPool body, string name)
Parameters
Type Name Description
IClientService service
GoogleCloudRunV2WorkerPool body
string name

Properties

AllowMissing

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.

Declaration
[RequestParameter("allowMissing", RequestParameterType.Query)]
public virtual bool? AllowMissing { get; set; }
Property Value
Type Description
bool?

ForceNewRevision

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.

Declaration
[RequestParameter("forceNewRevision", RequestParameterType.Query)]
public virtual bool? ForceNewRevision { get; set; }
Property Value
Type Description
bool?

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

The fully qualified name of this WorkerPool. In CreateWorkerPoolRequest, this field is ignored, and instead composed from CreateWorkerPoolRequest.parent and CreateWorkerPoolRequest.worker_id. Format: projects/{project}/locations/{location}/workerPools/{worker_id}

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<GoogleLongrunningOperation>.RestPath

UpdateMask

Optional. The list of fields to be updated.

Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
object

ValidateOnly

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

Declaration
[RequestParameter("validateOnly", RequestParameterType.Query)]
public virtual bool? ValidateOnly { get; set; }
Property Value
Type Description
bool?

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Patch parameter list.

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

Implements

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