![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.Compute.RegionInstanceGroups.html Maven / Gradle / Ivy
Compute.RegionInstanceGroups (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute
Class Compute.RegionInstanceGroups
- java.lang.Object
-
- com.google.api.services.compute.Compute.RegionInstanceGroups
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.RegionInstanceGroups.Get
class
Compute.RegionInstanceGroups.List
class
Compute.RegionInstanceGroups.ListInstances
class
Compute.RegionInstanceGroups.SetNamedPorts
class
Compute.RegionInstanceGroups.TestIamPermissions
-
Constructor Summary
Constructors
Constructor and Description
RegionInstanceGroups()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.RegionInstanceGroups.Get
get(String project,
String region,
String instanceGroup)
Returns the specified instance group resource.
Compute.RegionInstanceGroups.List
list(String project,
String region)
Retrieves the list of instance group resources contained within the specified region.
Compute.RegionInstanceGroups.ListInstances
listInstances(String project,
String region,
String instanceGroup,
RegionInstanceGroupsListInstancesRequest content)
Lists the instances in the specified instance group and displays information about the named
ports.
Compute.RegionInstanceGroups.SetNamedPorts
setNamedPorts(String project,
String region,
String instanceGroup,
RegionInstanceGroupsSetNamedPortsRequest content)
Sets the named ports for the specified regional instance group.
Compute.RegionInstanceGroups.TestIamPermissions
testIamPermissions(String project,
String region,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
-
-
Method Detail
-
get
public Compute.RegionInstanceGroups.Get get(String project,
String region,
String instanceGroup)
throws IOException
Returns the specified instance group resource.
Create a request for the method "regionInstanceGroups.get".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- Name of the region scoping this request.
instanceGroup
- Name of the instance group resource to return.
- Returns:
- the request
- Throws:
IOException
-
list
public Compute.RegionInstanceGroups.List list(String project,
String region)
throws IOException
Retrieves the list of instance group resources contained within the specified region.
Create a request for the method "regionInstanceGroups.list".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- Name of the region scoping this request.
- Returns:
- the request
- Throws:
IOException
-
listInstances
public Compute.RegionInstanceGroups.ListInstances listInstances(String project,
String region,
String instanceGroup,
RegionInstanceGroupsListInstancesRequest content)
throws IOException
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.
Create a request for the method "regionInstanceGroups.listInstances".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- Name of the region scoping this request.
instanceGroup
- Name of the regional instance group for which we want to list the instances.
content
- the RegionInstanceGroupsListInstancesRequest
- Returns:
- the request
- Throws:
IOException
-
setNamedPorts
public Compute.RegionInstanceGroups.SetNamedPorts setNamedPorts(String project,
String region,
String instanceGroup,
RegionInstanceGroupsSetNamedPortsRequest content)
throws IOException
Sets the named ports for the specified regional instance group.
Create a request for the method "regionInstanceGroups.setNamedPorts".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- Name of the region scoping this request.
instanceGroup
- The name of the regional instance group where the named ports are updated.
content
- the RegionInstanceGroupsSetNamedPortsRequest
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public Compute.RegionInstanceGroups.TestIamPermissions testIamPermissions(String project,
String region,
String resource,
TestPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource.
Create a request for the method "regionInstanceGroups.testIamPermissions".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- The name of the region for this request.
resource
- Name or id of the resource for this request.
content
- the TestPermissionsRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy