Class RegionInstanceGroupsResource
The "regionInstanceGroups" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class RegionInstanceGroupsResource
Constructors
RegionInstanceGroupsResource(IClientService)
Constructs a new resource.
Declaration
public RegionInstanceGroupsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(string, string, string)
Returns the specified instance group resource.
Declaration
public virtual RegionInstanceGroupsResource.GetRequest Get(string project, string region, string instanceGroup)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | instanceGroup | Name of the instance group resource to return. |
Returns
Type | Description |
---|---|
RegionInstanceGroupsResource.GetRequest |
List(string, string)
Retrieves the list of instance group resources contained within the specified region.
Declaration
public virtual RegionInstanceGroupsResource.ListRequest List(string project, string region)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
Returns
Type | Description |
---|---|
RegionInstanceGroupsResource.ListRequest |
ListInstances(RegionInstanceGroupsListInstancesRequest, string, string, string)
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.
Declaration
public virtual RegionInstanceGroupsResource.ListInstancesRequest ListInstances(RegionInstanceGroupsListInstancesRequest body, string project, string region, string instanceGroup)
Parameters
Type | Name | Description |
---|---|---|
RegionInstanceGroupsListInstancesRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | instanceGroup | Name of the regional instance group for which we want to list the instances. |
Returns
Type | Description |
---|---|
RegionInstanceGroupsResource.ListInstancesRequest |
SetNamedPorts(RegionInstanceGroupsSetNamedPortsRequest, string, string, string)
Sets the named ports for the specified regional instance group.
Declaration
public virtual RegionInstanceGroupsResource.SetNamedPortsRequest SetNamedPorts(RegionInstanceGroupsSetNamedPortsRequest body, string project, string region, string instanceGroup)
Parameters
Type | Name | Description |
---|---|---|
RegionInstanceGroupsSetNamedPortsRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | instanceGroup | The name of the regional instance group where the named ports are updated. |
Returns
Type | Description |
---|---|
RegionInstanceGroupsResource.SetNamedPortsRequest |
TestIamPermissions(TestPermissionsRequest, string, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual RegionInstanceGroupsResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string region, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestPermissionsRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | region | The name of the region for this request. |
string | resource | Name or id of the resource for this request. |
Returns
Type | Description |
---|---|
RegionInstanceGroupsResource.TestIamPermissionsRequest |