Class RegionInstanceGroups.RegionInstanceGroupsClient (1.1.0)

public class RegionInstanceGroupsClient : ClientBase<RegionInstanceGroups.RegionInstanceGroupsClient>

Client for RegionInstanceGroups

Inheritance

Object > ClientBase > ClientBase<RegionInstanceGroups.RegionInstanceGroupsClient> > 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(ClientBase.ClientBaseConfiguration)

protected RegionInstanceGroupsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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
Operations.OperationsClient

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<InstanceGroup>

The call object.

GetAsync(GetRegionInstanceGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<InstanceGroup>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<RegionInstanceGroupList>

The call object.

ListAsync(ListRegionInstanceGroupsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<RegionInstanceGroupList>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<RegionInstanceGroupsListInstances>

The call object.

ListInstancesAsync(ListInstancesRegionInstanceGroupsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<RegionInstanceGroupsListInstances>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
RegionInstanceGroups.RegionInstanceGroupsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.RegionInstanceGroups.RegionInstanceGroupsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

SetNamedPortsAsync(SetNamedPortsRegionInstanceGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.