Show / Hide Table of Contents

Class ProjectsResource.WorkerPoolsResource.PatchRequest

Updates a WorkerPool.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<WorkerPool>
CloudBuildBaseServiceRequest<WorkerPool>
ProjectsResource.WorkerPoolsResource.PatchRequest
Implements
IClientServiceRequest<WorkerPool>
IClientServiceRequest
Inherited Members
CloudBuildBaseServiceRequest<WorkerPool>.Xgafv
CloudBuildBaseServiceRequest<WorkerPool>.AccessToken
CloudBuildBaseServiceRequest<WorkerPool>.Alt
CloudBuildBaseServiceRequest<WorkerPool>.Callback
CloudBuildBaseServiceRequest<WorkerPool>.Fields
CloudBuildBaseServiceRequest<WorkerPool>.Key
CloudBuildBaseServiceRequest<WorkerPool>.OauthToken
CloudBuildBaseServiceRequest<WorkerPool>.PrettyPrint
CloudBuildBaseServiceRequest<WorkerPool>.QuotaUser
CloudBuildBaseServiceRequest<WorkerPool>.UploadType
CloudBuildBaseServiceRequest<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(Nullable<Boolean>)
ClientServiceRequest<WorkerPool>.GenerateRequestUri()
ClientServiceRequest<WorkerPool>.GetDefaultETagAction(String)
ClientServiceRequest<WorkerPool>.ETagAction
ClientServiceRequest<WorkerPool>.ModifyRequest
ClientServiceRequest<WorkerPool>.ValidateParameters
ClientServiceRequest<WorkerPool>.RequestParameters
ClientServiceRequest<WorkerPool>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudBuild.v1alpha2
Assembly: Google.Apis.CloudBuild.v1alpha2.dll
Syntax
public class PatchRequest : CloudBuildBaseServiceRequest<WorkerPool>, IClientServiceRequest<WorkerPool>, IClientServiceRequest

Constructors

PatchRequest(IClientService, WorkerPool, String)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, WorkerPool body, string name)
Parameters
Type Name Description
IClientService service
WorkerPool body
System.String name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1alpha2.Data.WorkerPool>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1alpha2.Data.WorkerPool>.MethodName

Name

Output only. The resource name of the WorkerPool. Format of the name is projects/{project_id}/workerPools/{worker_pool_id}, where the value of {worker_pool_id} is provided in the CreateWorkerPool request.

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

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1alpha2.Data.WorkerPool>.RestPath

UpdateMask

A mask specifying which fields in WorkerPool should be updated.

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

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1alpha2.Data.WorkerPool>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudBuild.v1alpha2.CloudBuildBaseServiceRequest<Google.Apis.CloudBuild.v1alpha2.Data.WorkerPool>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX