Compute Engine v1 API - Class RegionInstanceGroups.RegionInstanceGroupsClient (2.10.0)

public class RegionInstanceGroups.RegionInstanceGroupsClient : ClientBase<RegionInstanceGroups.RegionInstanceGroupsClient>

Reference documentation and code samples for the Compute Engine v1 API class RegionInstanceGroups.RegionInstanceGroupsClient.

Client for RegionInstanceGroups

Inheritance

object > ClientBase > ClientBaseRegionInstanceGroupsRegionInstanceGroupsClient > RegionInstanceGroups.RegionInstanceGroupsClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RegionInstanceGroupsClient()

protected RegionInstanceGroupsClient()

Protected parameterless constructor to allow creation of test doubles.

RegionInstanceGroupsClient(CallInvoker)

public RegionInstanceGroupsClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

RegionInstanceGroupsClient(ChannelBase)

public RegionInstanceGroupsClient(ChannelBase channel)

Creates a new client for RegionInstanceGroups

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

RegionInstanceGroupsClient(ClientBaseConfiguration)

protected RegionInstanceGroupsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

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
TypeDescription
OperationsOperationsClient

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

Get(GetRegionInstanceGroupRequest, CallOptions)

public virtual InstanceGroup Get(GetRegionInstanceGroupRequest request, CallOptions options)

Returns the specified instance group resource.

Parameters
NameDescription
requestGetRegionInstanceGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
InstanceGroup

The response received from the server.

Get(GetRegionInstanceGroupRequest, Metadata, DateTime?, CancellationToken)

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

Returns the specified instance group resource.

Parameters
NameDescription
requestGetRegionInstanceGroupRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
InstanceGroup

The response received from the server.

GetAsync(GetRegionInstanceGroupRequest, CallOptions)

public virtual AsyncUnaryCall<InstanceGroup> GetAsync(GetRegionInstanceGroupRequest request, CallOptions options)

Returns the specified instance group resource.

Parameters
NameDescription
requestGetRegionInstanceGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallInstanceGroup

The call object.

GetAsync(GetRegionInstanceGroupRequest, Metadata, DateTime?, CancellationToken)

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

Returns the specified instance group resource.

Parameters
NameDescription
requestGetRegionInstanceGroupRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallInstanceGroup

The call object.

List(ListRegionInstanceGroupsRequest, CallOptions)

public virtual RegionInstanceGroupList List(ListRegionInstanceGroupsRequest request, CallOptions options)

Retrieves the list of instance group resources contained within the specified region.

Parameters
NameDescription
requestListRegionInstanceGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
RegionInstanceGroupList

The response received from the server.

List(ListRegionInstanceGroupsRequest, Metadata, DateTime?, CancellationToken)

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

Retrieves the list of instance group resources contained within the specified region.

Parameters
NameDescription
requestListRegionInstanceGroupsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
RegionInstanceGroupList

The response received from the server.

ListAsync(ListRegionInstanceGroupsRequest, CallOptions)

public virtual AsyncUnaryCall<RegionInstanceGroupList> ListAsync(ListRegionInstanceGroupsRequest request, CallOptions options)

Retrieves the list of instance group resources contained within the specified region.

Parameters
NameDescription
requestListRegionInstanceGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallRegionInstanceGroupList

The call object.

ListAsync(ListRegionInstanceGroupsRequest, Metadata, DateTime?, CancellationToken)

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

Retrieves the list of instance group resources contained within the specified region.

Parameters
NameDescription
requestListRegionInstanceGroupsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallRegionInstanceGroupList

The call object.

ListInstances(ListInstancesRegionInstanceGroupsRequest, CallOptions)

public virtual RegionInstanceGroupsListInstances ListInstances(ListInstancesRegionInstanceGroupsRequest request, CallOptions options)

Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported.

Parameters
NameDescription
requestListInstancesRegionInstanceGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
RegionInstanceGroupsListInstances

The response received from the server.

ListInstances(ListInstancesRegionInstanceGroupsRequest, Metadata, DateTime?, CancellationToken)

public virtual RegionInstanceGroupsListInstances ListInstances(ListInstancesRegionInstanceGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported.

Parameters
NameDescription
requestListInstancesRegionInstanceGroupsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
RegionInstanceGroupsListInstances

The response received from the server.

ListInstancesAsync(ListInstancesRegionInstanceGroupsRequest, CallOptions)

public virtual AsyncUnaryCall<RegionInstanceGroupsListInstances> ListInstancesAsync(ListInstancesRegionInstanceGroupsRequest request, CallOptions options)

Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported.

Parameters
NameDescription
requestListInstancesRegionInstanceGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallRegionInstanceGroupsListInstances

The call object.

ListInstancesAsync(ListInstancesRegionInstanceGroupsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<RegionInstanceGroupsListInstances> ListInstancesAsync(ListInstancesRegionInstanceGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported.

Parameters
NameDescription
requestListInstancesRegionInstanceGroupsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallRegionInstanceGroupsListInstances

The call object.

NewInstance(ClientBaseConfiguration)

protected override RegionInstanceGroups.RegionInstanceGroupsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
RegionInstanceGroupsRegionInstanceGroupsClient
Overrides

SetNamedPorts(SetNamedPortsRegionInstanceGroupRequest, CallOptions)

public virtual Operation SetNamedPorts(SetNamedPortsRegionInstanceGroupRequest request, CallOptions options)

Sets the named ports for the specified regional instance group.

Parameters
NameDescription
requestSetNamedPortsRegionInstanceGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

SetNamedPorts(SetNamedPortsRegionInstanceGroupRequest, Metadata, DateTime?, CancellationToken)

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

Sets the named ports for the specified regional instance group.

Parameters
NameDescription
requestSetNamedPortsRegionInstanceGroupRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

SetNamedPortsAsync(SetNamedPortsRegionInstanceGroupRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> SetNamedPortsAsync(SetNamedPortsRegionInstanceGroupRequest request, CallOptions options)

Sets the named ports for the specified regional instance group.

Parameters
NameDescription
requestSetNamedPortsRegionInstanceGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

SetNamedPortsAsync(SetNamedPortsRegionInstanceGroupRequest, Metadata, DateTime?, CancellationToken)

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

Sets the named ports for the specified regional instance group.

Parameters
NameDescription
requestSetNamedPortsRegionInstanceGroupRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.