Compute Engine v1 API - Class InstanceGroupManagerResizeRequests.InstanceGroupManagerResizeRequestsClient (2.16.0)

public class InstanceGroupManagerResizeRequests.InstanceGroupManagerResizeRequestsClient : ClientBase<InstanceGroupManagerResizeRequests.InstanceGroupManagerResizeRequestsClient>

Reference documentation and code samples for the Compute Engine v1 API class InstanceGroupManagerResizeRequests.InstanceGroupManagerResizeRequestsClient.

Client for InstanceGroupManagerResizeRequests

Inheritance

object > ClientBase > ClientBaseInstanceGroupManagerResizeRequestsInstanceGroupManagerResizeRequestsClient > InstanceGroupManagerResizeRequests.InstanceGroupManagerResizeRequestsClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InstanceGroupManagerResizeRequestsClient()

protected InstanceGroupManagerResizeRequestsClient()

Protected parameterless constructor to allow creation of test doubles.

InstanceGroupManagerResizeRequestsClient(CallInvoker)

public InstanceGroupManagerResizeRequestsClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

InstanceGroupManagerResizeRequestsClient(ChannelBase)

public InstanceGroupManagerResizeRequestsClient(ChannelBase channel)

Creates a new client for InstanceGroupManagerResizeRequests

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

InstanceGroupManagerResizeRequestsClient(ClientBaseConfiguration)

protected InstanceGroupManagerResizeRequestsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

Cancel(CancelInstanceGroupManagerResizeRequestRequest, CallOptions)

public virtual Operation Cancel(CancelInstanceGroupManagerResizeRequestRequest request, CallOptions options)

Cancels the specified resize request and removes it from the queue. Cancelled resize request does no longer wait for the resources to be provisioned. Cancel is only possible for requests that are accepted in the queue.

Parameters
Name Description
request CancelInstanceGroupManagerResizeRequestRequest

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(CancelInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

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

Cancels the specified resize request and removes it from the queue. Cancelled resize request does no longer wait for the resources to be provisioned. Cancel is only possible for requests that are accepted in the queue.

Parameters
Name Description
request CancelInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

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

deadline 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(CancelInstanceGroupManagerResizeRequestRequest, CallOptions)

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

Cancels the specified resize request and removes it from the queue. Cancelled resize request does no longer wait for the resources to be provisioned. Cancel is only possible for requests that are accepted in the queue.

Parameters
Name Description
request CancelInstanceGroupManagerResizeRequestRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CancelAsync(CancelInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

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

Cancels the specified resize request and removes it from the queue. Cancelled resize request does no longer wait for the resources to be provisioned. Cancel is only possible for requests that are accepted in the queue.

Parameters
Name Description
request CancelInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

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

deadline 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.

CreateOperationsClientForZoneOperations()

public virtual Operations.OperationsClient CreateOperationsClientForZoneOperations()

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

Returns
Type Description
OperationsOperationsClient

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

Delete(DeleteInstanceGroupManagerResizeRequestRequest, CallOptions)

public virtual Operation Delete(DeleteInstanceGroupManagerResizeRequestRequest 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 DeleteInstanceGroupManagerResizeRequestRequest

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(DeleteInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Delete(DeleteInstanceGroupManagerResizeRequestRequest 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 DeleteInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

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

deadline 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(DeleteInstanceGroupManagerResizeRequestRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteInstanceGroupManagerResizeRequestRequest 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 DeleteInstanceGroupManagerResizeRequestRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteInstanceGroupManagerResizeRequestRequest 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 DeleteInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

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

deadline 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(GetInstanceGroupManagerResizeRequestRequest, CallOptions)

public virtual InstanceGroupManagerResizeRequest Get(GetInstanceGroupManagerResizeRequestRequest request, CallOptions options)

Returns all of the details about the specified resize request.

Parameters
Name Description
request GetInstanceGroupManagerResizeRequestRequest

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(GetInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

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

Returns all of the details about the specified resize request.

Parameters
Name Description
request GetInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

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

deadline 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(GetInstanceGroupManagerResizeRequestRequest, CallOptions)

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

Returns all of the details about the specified resize request.

Parameters
Name Description
request GetInstanceGroupManagerResizeRequestRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallInstanceGroupManagerResizeRequest

The call object.

GetAsync(GetInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

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

Returns all of the details about the specified resize request.

Parameters
Name Description
request GetInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

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

deadline 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(InsertInstanceGroupManagerResizeRequestRequest, CallOptions)

public virtual Operation Insert(InsertInstanceGroupManagerResizeRequestRequest request, CallOptions options)

Creates a new resize request that starts provisioning VMs immediately or queues VM creation.

Parameters
Name Description
request InsertInstanceGroupManagerResizeRequestRequest

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(InsertInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Insert(InsertInstanceGroupManagerResizeRequestRequest 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 InsertInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

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

deadline 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(InsertInstanceGroupManagerResizeRequestRequest, CallOptions)

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

Creates a new resize request that starts provisioning VMs immediately or queues VM creation.

Parameters
Name Description
request InsertInstanceGroupManagerResizeRequestRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertInstanceGroupManagerResizeRequestRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertInstanceGroupManagerResizeRequestRequest 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 InsertInstanceGroupManagerResizeRequestRequest

The request to send to the server.

headers Metadata

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

deadline 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(ListInstanceGroupManagerResizeRequestsRequest, CallOptions)

public virtual InstanceGroupManagerResizeRequestsListResponse List(ListInstanceGroupManagerResizeRequestsRequest request, CallOptions options)

Retrieves a list of resize requests that are contained in the managed instance group.

Parameters
Name Description
request ListInstanceGroupManagerResizeRequestsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
InstanceGroupManagerResizeRequestsListResponse

The response received from the server.

List(ListInstanceGroupManagerResizeRequestsRequest, Metadata, DateTime?, CancellationToken)

public virtual InstanceGroupManagerResizeRequestsListResponse List(ListInstanceGroupManagerResizeRequestsRequest 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 ListInstanceGroupManagerResizeRequestsRequest

The request to send to the server.

headers Metadata

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

deadline 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
InstanceGroupManagerResizeRequestsListResponse

The response received from the server.

ListAsync(ListInstanceGroupManagerResizeRequestsRequest, CallOptions)

public virtual AsyncUnaryCall<InstanceGroupManagerResizeRequestsListResponse> ListAsync(ListInstanceGroupManagerResizeRequestsRequest request, CallOptions options)

Retrieves a list of resize requests that are contained in the managed instance group.

Parameters
Name Description
request ListInstanceGroupManagerResizeRequestsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallInstanceGroupManagerResizeRequestsListResponse

The call object.

ListAsync(ListInstanceGroupManagerResizeRequestsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<InstanceGroupManagerResizeRequestsListResponse> ListAsync(ListInstanceGroupManagerResizeRequestsRequest 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 ListInstanceGroupManagerResizeRequestsRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallInstanceGroupManagerResizeRequestsListResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override InstanceGroupManagerResizeRequests.InstanceGroupManagerResizeRequestsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
InstanceGroupManagerResizeRequestsInstanceGroupManagerResizeRequestsClient
Overrides