Compute Engine v1 API - Class RegionInstanceGroups.RegionInstanceGroupsBase (2.15.0)

[BindServiceMethod(typeof(RegionInstanceGroups), "BindService")]
public abstract class RegionInstanceGroups.RegionInstanceGroupsBase

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

Base class for server-side implementations of RegionInstanceGroups

Inheritance

object > RegionInstanceGroups.RegionInstanceGroupsBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Get(GetRegionInstanceGroupRequest, ServerCallContext)

public virtual Task<InstanceGroup> Get(GetRegionInstanceGroupRequest request, ServerCallContext context)

Returns the specified instance group resource.

Parameters
Name Description
request GetRegionInstanceGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskInstanceGroup

The response to send back to the client (wrapped by a task).

List(ListRegionInstanceGroupsRequest, ServerCallContext)

public virtual Task<RegionInstanceGroupList> List(ListRegionInstanceGroupsRequest request, ServerCallContext context)

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

Parameters
Name Description
request ListRegionInstanceGroupsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskRegionInstanceGroupList

The response to send back to the client (wrapped by a task).

ListInstances(ListInstancesRegionInstanceGroupsRequest, ServerCallContext)

public virtual Task<RegionInstanceGroupsListInstances> ListInstances(ListInstancesRegionInstanceGroupsRequest request, ServerCallContext context)

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 received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskRegionInstanceGroupsListInstances

The response to send back to the client (wrapped by a task).

SetNamedPorts(SetNamedPortsRegionInstanceGroupRequest, ServerCallContext)

public virtual Task<Operation> SetNamedPorts(SetNamedPortsRegionInstanceGroupRequest request, ServerCallContext context)

Sets the named ports for the specified regional instance group.

Parameters
Name Description
request SetNamedPortsRegionInstanceGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).