public class RegionInstanceGroupsClient : ClientBase<RegionInstanceGroups.RegionInstanceGroupsClient>
Client for RegionInstanceGroups
Inheritance
Object > ClientBase > ClientBase<RegionInstanceGroups.RegionInstanceGroupsClient> > RegionInstanceGroups.RegionInstanceGroupsClientNamespace
Google.Cloud.Compute.V1Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
RegionInstanceGroupsClient(ChannelBase)
public RegionInstanceGroupsClient(ChannelBase channel)
Creates a new client for RegionInstanceGroups
Parameter | |
---|---|
Name | Description |
channel | ChannelBase 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 | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetRegionInstanceGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetRegionInstanceGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | GetRegionInstanceGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetRegionInstanceGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | ListRegionInstanceGroupsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListRegionInstanceGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | ListRegionInstanceGroupsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListRegionInstanceGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | ListInstancesRegionInstanceGroupsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListInstancesRegionInstanceGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | ListInstancesRegionInstanceGroupsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListInstancesRegionInstanceGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
RegionInstanceGroups.RegionInstanceGroupsClient |
SetNamedPorts(SetNamedPortsRegionInstanceGroupRequest, CallOptions)
public virtual Operation SetNamedPorts(SetNamedPortsRegionInstanceGroupRequest request, CallOptions options)
Sets the named ports for the specified regional instance group.
Parameters | |
---|---|
Name | Description |
request | SetNamedPortsRegionInstanceGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | SetNamedPortsRegionInstanceGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
SetNamedPortsAsync(SetNamedPortsRegionInstanceGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> SetNamedPortsAsync(SetNamedPortsRegionInstanceGroupRequest request, CallOptions options)
Sets the named ports for the specified regional instance group.
Parameters | |
---|---|
Name | Description |
request | SetNamedPortsRegionInstanceGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | SetNamedPortsRegionInstanceGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |