public sealed class RegionInstanceGroupsClientImpl : RegionInstanceGroupsClient
RegionInstanceGroups client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The RegionInstanceGroups API.
Constructors
RegionInstanceGroupsClientImpl(RegionInstanceGroups.RegionInstanceGroupsClient, RegionInstanceGroupsSettings, ILogger)
public RegionInstanceGroupsClientImpl(RegionInstanceGroups.RegionInstanceGroupsClient grpcClient, RegionInstanceGroupsSettings settings, ILogger logger)
Constructs a client wrapper for the RegionInstanceGroups service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | RegionInstanceGroups.RegionInstanceGroupsClient The underlying gRPC client. |
settings | RegionInstanceGroupsSettings The base RegionInstanceGroupsSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override RegionInstanceGroups.RegionInstanceGroupsClient GrpcClient { get; }
The underlying gRPC RegionInstanceGroups client
Property Value | |
---|---|
Type | Description |
RegionInstanceGroups.RegionInstanceGroupsClient |
SetNamedPortsOperationsClient
public override OperationsClient SetNamedPortsOperationsClient { get; }
The long-running operations client for SetNamedPorts
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
Get(GetRegionInstanceGroupRequest, CallSettings)
public override InstanceGroup Get(GetRegionInstanceGroupRequest request, CallSettings callSettings = null)
Returns the specified instance group resource.
Parameters | |
---|---|
Name | Description |
request | GetRegionInstanceGroupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
InstanceGroup | The RPC response. |
GetAsync(GetRegionInstanceGroupRequest, CallSettings)
public override Task<InstanceGroup> GetAsync(GetRegionInstanceGroupRequest request, CallSettings callSettings = null)
Returns the specified instance group resource.
Parameters | |
---|---|
Name | Description |
request | GetRegionInstanceGroupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<InstanceGroup> | A Task containing the RPC response. |
List(ListRegionInstanceGroupsRequest, CallSettings)
public override PagedEnumerable<RegionInstanceGroupList, InstanceGroup> List(ListRegionInstanceGroupsRequest request, CallSettings callSettings = null)
Retrieves the list of instance group resources contained within the specified region.
Parameters | |
---|---|
Name | Description |
request | ListRegionInstanceGroupsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<RegionInstanceGroupList, InstanceGroup> | A pageable sequence of InstanceGroup resources. |
ListAsync(ListRegionInstanceGroupsRequest, CallSettings)
public override PagedAsyncEnumerable<RegionInstanceGroupList, InstanceGroup> ListAsync(ListRegionInstanceGroupsRequest request, CallSettings callSettings = null)
Retrieves the list of instance group resources contained within the specified region.
Parameters | |
---|---|
Name | Description |
request | ListRegionInstanceGroupsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<RegionInstanceGroupList, InstanceGroup> | A pageable asynchronous sequence of InstanceGroup resources. |
ListInstances(ListInstancesRegionInstanceGroupsRequest, CallSettings)
public override PagedEnumerable<RegionInstanceGroupsListInstances, InstanceWithNamedPorts> ListInstances(ListInstancesRegionInstanceGroupsRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<RegionInstanceGroupsListInstances, InstanceWithNamedPorts> | A pageable sequence of InstanceWithNamedPorts resources. |
ListInstancesAsync(ListInstancesRegionInstanceGroupsRequest, CallSettings)
public override PagedAsyncEnumerable<RegionInstanceGroupsListInstances, InstanceWithNamedPorts> ListInstancesAsync(ListInstancesRegionInstanceGroupsRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<RegionInstanceGroupsListInstances, InstanceWithNamedPorts> | A pageable asynchronous sequence of InstanceWithNamedPorts resources. |
SetNamedPorts(SetNamedPortsRegionInstanceGroupRequest, CallSettings)
public override Operation<Operation, Operation> SetNamedPorts(SetNamedPortsRegionInstanceGroupRequest request, CallSettings callSettings = null)
Sets the named ports for the specified regional instance group.
Parameters | |
---|---|
Name | Description |
request | SetNamedPortsRegionInstanceGroupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
SetNamedPortsAsync(SetNamedPortsRegionInstanceGroupRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> SetNamedPortsAsync(SetNamedPortsRegionInstanceGroupRequest request, CallSettings callSettings = null)
Sets the named ports for the specified regional instance group.
Parameters | |
---|---|
Name | Description |
request | SetNamedPortsRegionInstanceGroupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |