Compute Engine v1 API - Class RegionInstanceGroupManagerResizeRequests.RegionInstanceGroupManagerResizeRequestsClient (3.27.0)

public class RegionInstanceGroupManagerResizeRequests.RegionInstanceGroupManagerResizeRequestsClient : ClientBase<RegionInstanceGroupManagerResizeRequests.RegionInstanceGroupManagerResizeRequestsClient>

Reference documentation and code samples for the Compute Engine v1 API class RegionInstanceGroupManagerResizeRequests.RegionInstanceGroupManagerResizeRequestsClient.

Client for RegionInstanceGroupManagerResizeRequests

Inheritance

object > ClientBase > ClientBaseRegionInstanceGroupManagerResizeRequestsRegionInstanceGroupManagerResizeRequestsClient > RegionInstanceGroupManagerResizeRequests.RegionInstanceGroupManagerResizeRequestsClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RegionInstanceGroupManagerResizeRequestsClient()

protected RegionInstanceGroupManagerResizeRequestsClient()

Protected parameterless constructor to allow creation of test doubles.

RegionInstanceGroupManagerResizeRequestsClient(CallInvoker)

public RegionInstanceGroupManagerResizeRequestsClient(CallInvoker callInvoker)

Creates a new client for RegionInstanceGroupManagerResizeRequests that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

RegionInstanceGroupManagerResizeRequestsClient(ChannelBase)

public RegionInstanceGroupManagerResizeRequestsClient(ChannelBase channel)

Creates a new client for RegionInstanceGroupManagerResizeRequests

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

RegionInstanceGroupManagerResizeRequestsClient(ClientBaseConfiguration)

protected RegionInstanceGroupManagerResizeRequestsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

Cancel(CancelRegionInstanceGroupManagerResizeRequestRequest, CallOptions)

public virtual Operation Cancel(CancelRegionInstanceGroupManagerResizeRequestRequest request, CallOptions options)

Cancels the specified resize request. Cancelled resize request no longer waits for the resources to be provisioned. Cancel is only possible for requests that are in accepted state.

Parameters
Name Description
request CancelRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Cancel(CancelRegionInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Cancel(CancelRegionInstanceGroupManagerResizeRequestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Cancels the specified resize request. Cancelled resize request no longer waits for the resources to be provisioned. Cancel is only possible for requests that are in accepted state.

Parameters
Name Description
request CancelRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CancelAsync(CancelRegionInstanceGroupManagerResizeRequestRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CancelAsync(CancelRegionInstanceGroupManagerResizeRequestRequest request, CallOptions options)

Cancels the specified resize request. Cancelled resize request no longer waits for the resources to be provisioned. Cancel is only possible for requests that are in accepted state.

Parameters
Name Description
request CancelRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CancelAsync(CancelRegionInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CancelAsync(CancelRegionInstanceGroupManagerResizeRequestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Cancels the specified resize request. Cancelled resize request no longer waits for the resources to be provisioned. Cancel is only possible for requests that are in accepted state.

Parameters
Name Description
request CancelRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateOperationsClientForRegionOperations()

public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.

Returns
Type Description
OperationsOperationsClient

A new Operations client for the same target as this client.

Delete(DeleteRegionInstanceGroupManagerResizeRequestRequest, CallOptions)

public virtual Operation Delete(DeleteRegionInstanceGroupManagerResizeRequestRequest request, CallOptions options)

Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously.

Parameters
Name Description
request DeleteRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Delete(DeleteRegionInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Delete(DeleteRegionInstanceGroupManagerResizeRequestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously.

Parameters
Name Description
request DeleteRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteAsync(DeleteRegionInstanceGroupManagerResizeRequestRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionInstanceGroupManagerResizeRequestRequest request, CallOptions options)

Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously.

Parameters
Name Description
request DeleteRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteRegionInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionInstanceGroupManagerResizeRequestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously.

Parameters
Name Description
request DeleteRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

Get(GetRegionInstanceGroupManagerResizeRequestRequest, CallOptions)

public virtual InstanceGroupManagerResizeRequest Get(GetRegionInstanceGroupManagerResizeRequestRequest request, CallOptions options)

Returns all of the details about the specified resize request.

Parameters
Name Description
request GetRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
InstanceGroupManagerResizeRequest

The response received from the server.

Get(GetRegionInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

public virtual InstanceGroupManagerResizeRequest Get(GetRegionInstanceGroupManagerResizeRequestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns all of the details about the specified resize request.

Parameters
Name Description
request GetRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
InstanceGroupManagerResizeRequest

The response received from the server.

GetAsync(GetRegionInstanceGroupManagerResizeRequestRequest, CallOptions)

public virtual AsyncUnaryCall<InstanceGroupManagerResizeRequest> GetAsync(GetRegionInstanceGroupManagerResizeRequestRequest request, CallOptions options)

Returns all of the details about the specified resize request.

Parameters
Name Description
request GetRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallInstanceGroupManagerResizeRequest

The call object.

GetAsync(GetRegionInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<InstanceGroupManagerResizeRequest> GetAsync(GetRegionInstanceGroupManagerResizeRequestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns all of the details about the specified resize request.

Parameters
Name Description
request GetRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallInstanceGroupManagerResizeRequest

The call object.

Insert(InsertRegionInstanceGroupManagerResizeRequestRequest, CallOptions)

public virtual Operation Insert(InsertRegionInstanceGroupManagerResizeRequestRequest request, CallOptions options)

Creates a new Resize Request that starts provisioning VMs immediately or queues VM creation.

Parameters
Name Description
request InsertRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Insert(InsertRegionInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Insert(InsertRegionInstanceGroupManagerResizeRequestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new Resize Request that starts provisioning VMs immediately or queues VM creation.

Parameters
Name Description
request InsertRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

InsertAsync(InsertRegionInstanceGroupManagerResizeRequestRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionInstanceGroupManagerResizeRequestRequest request, CallOptions options)

Creates a new Resize Request that starts provisioning VMs immediately or queues VM creation.

Parameters
Name Description
request InsertRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertRegionInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionInstanceGroupManagerResizeRequestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new Resize Request that starts provisioning VMs immediately or queues VM creation.

Parameters
Name Description
request InsertRegionInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

List(ListRegionInstanceGroupManagerResizeRequestsRequest, CallOptions)

public virtual RegionInstanceGroupManagerResizeRequestsListResponse List(ListRegionInstanceGroupManagerResizeRequestsRequest request, CallOptions options)

Retrieves a list of Resize Requests that are contained in the managed instance group.

Parameters
Name Description
request ListRegionInstanceGroupManagerResizeRequestsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
RegionInstanceGroupManagerResizeRequestsListResponse

The response received from the server.

List(ListRegionInstanceGroupManagerResizeRequestsRequest, Metadata, DateTime?, CancellationToken)

public virtual RegionInstanceGroupManagerResizeRequestsListResponse List(ListRegionInstanceGroupManagerResizeRequestsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves a list of Resize Requests that are contained in the managed instance group.

Parameters
Name Description
request ListRegionInstanceGroupManagerResizeRequestsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
RegionInstanceGroupManagerResizeRequestsListResponse

The response received from the server.

ListAsync(ListRegionInstanceGroupManagerResizeRequestsRequest, CallOptions)

public virtual AsyncUnaryCall<RegionInstanceGroupManagerResizeRequestsListResponse> ListAsync(ListRegionInstanceGroupManagerResizeRequestsRequest request, CallOptions options)

Retrieves a list of Resize Requests that are contained in the managed instance group.

Parameters
Name Description
request ListRegionInstanceGroupManagerResizeRequestsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallRegionInstanceGroupManagerResizeRequestsListResponse

The call object.

ListAsync(ListRegionInstanceGroupManagerResizeRequestsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<RegionInstanceGroupManagerResizeRequestsListResponse> ListAsync(ListRegionInstanceGroupManagerResizeRequestsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves a list of Resize Requests that are contained in the managed instance group.

Parameters
Name Description
request ListRegionInstanceGroupManagerResizeRequestsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallRegionInstanceGroupManagerResizeRequestsListResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override RegionInstanceGroupManagerResizeRequests.RegionInstanceGroupManagerResizeRequestsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
RegionInstanceGroupManagerResizeRequestsRegionInstanceGroupManagerResizeRequestsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.RegionInstanceGroupManagerResizeRequests.RegionInstanceGroupManagerResizeRequestsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)