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

[BindServiceMethod(typeof(RegionInstanceGroups), "BindService")]
public abstract class 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
NameDescription
requestGetRegionInstanceGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<InstanceGroup>

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
NameDescription
requestListRegionInstanceGroupsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<RegionInstanceGroupList>

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
NameDescription
requestListInstancesRegionInstanceGroupsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<RegionInstanceGroupsListInstances>

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
NameDescription
requestSetNamedPortsRegionInstanceGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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