![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.Compute.NodeGroups.html Maven / Gradle / Ivy
Compute.NodeGroups (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute
Class Compute.NodeGroups
- java.lang.Object
-
- com.google.api.services.compute.Compute.NodeGroups
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.NodeGroups.AddNodes
class
Compute.NodeGroups.AggregatedList
class
Compute.NodeGroups.Delete
class
Compute.NodeGroups.DeleteNodes
class
Compute.NodeGroups.Get
class
Compute.NodeGroups.GetIamPolicy
class
Compute.NodeGroups.Insert
class
Compute.NodeGroups.List
class
Compute.NodeGroups.ListNodes
class
Compute.NodeGroups.Patch
class
Compute.NodeGroups.SetIamPolicy
class
Compute.NodeGroups.SetNodeTemplate
class
Compute.NodeGroups.TestIamPermissions
-
Constructor Summary
Constructors
Constructor and Description
NodeGroups()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.NodeGroups.AddNodes
addNodes(String project,
String zone,
String nodeGroup,
NodeGroupsAddNodesRequest content)
Adds specified number of nodes to the node group.
Compute.NodeGroups.AggregatedList
aggregatedList(String project)
Retrieves an aggregated list of node groups.
Compute.NodeGroups.Delete
delete(String project,
String zone,
String nodeGroup)
Deletes the specified NodeGroup resource.
Compute.NodeGroups.DeleteNodes
deleteNodes(String project,
String zone,
String nodeGroup,
NodeGroupsDeleteNodesRequest content)
Deletes specified nodes from the node group.
Compute.NodeGroups.Get
get(String project,
String zone,
String nodeGroup)
Returns the specified NodeGroup.
Compute.NodeGroups.GetIamPolicy
getIamPolicy(String project,
String zone,
String resource)
Gets the access control policy for a resource.
Compute.NodeGroups.Insert
insert(String project,
String zone,
Integer initialNodeCount,
NodeGroup content)
Creates a NodeGroup resource in the specified project using the data included in the request.
Compute.NodeGroups.List
list(String project,
String zone)
Retrieves a list of node groups available to the specified project.
Compute.NodeGroups.ListNodes
listNodes(String project,
String zone,
String nodeGroup)
Lists nodes in the node group.
Compute.NodeGroups.Patch
patch(String project,
String zone,
String nodeGroup,
NodeGroup content)
Updates the specified node group.
Compute.NodeGroups.SetIamPolicy
setIamPolicy(String project,
String zone,
String resource,
ZoneSetPolicyRequest content)
Sets the access control policy on the specified resource.
Compute.NodeGroups.SetNodeTemplate
setNodeTemplate(String project,
String zone,
String nodeGroup,
NodeGroupsSetNodeTemplateRequest content)
Updates the node template of the node group.
Compute.NodeGroups.TestIamPermissions
testIamPermissions(String project,
String zone,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
-
-
Method Detail
-
addNodes
public Compute.NodeGroups.AddNodes addNodes(String project,
String zone,
String nodeGroup,
NodeGroupsAddNodesRequest content)
throws IOException
Adds specified number of nodes to the node group.
Create a request for the method "nodeGroups.addNodes".
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.
zone
- The name of the zone for this request.
nodeGroup
- Name of the NodeGroup resource.
content
- the NodeGroupsAddNodesRequest
- Returns:
- the request
- Throws:
IOException
-
aggregatedList
public Compute.NodeGroups.AggregatedList aggregatedList(String project)
throws IOException
Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details
about each group.
Create a request for the method "nodeGroups.aggregatedList".
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.
- Returns:
- the request
- Throws:
IOException
-
delete
public Compute.NodeGroups.Delete delete(String project,
String zone,
String nodeGroup)
throws IOException
Deletes the specified NodeGroup resource.
Create a request for the method "nodeGroups.delete".
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.
zone
- The name of the zone for this request.
nodeGroup
- Name of the NodeGroup resource to delete.
- Returns:
- the request
- Throws:
IOException
-
deleteNodes
public Compute.NodeGroups.DeleteNodes deleteNodes(String project,
String zone,
String nodeGroup,
NodeGroupsDeleteNodesRequest content)
throws IOException
Deletes specified nodes from the node group.
Create a request for the method "nodeGroups.deleteNodes".
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.
zone
- The name of the zone for this request.
nodeGroup
- Name of the NodeGroup resource whose nodes will be deleted.
content
- the NodeGroupsDeleteNodesRequest
- Returns:
- the request
- Throws:
IOException
-
get
public Compute.NodeGroups.Get get(String project,
String zone,
String nodeGroup)
throws IOException
Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request.
Note: the "nodes" field should not be used. Use nodeGroups.listNodes instead.
Create a request for the method "nodeGroups.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.
zone
- The name of the zone for this request.
nodeGroup
- Name of the node group to return.
- Returns:
- the request
- Throws:
IOException
-
getIamPolicy
public Compute.NodeGroups.GetIamPolicy getIamPolicy(String project,
String zone,
String resource)
throws IOException
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Create a request for the method "nodeGroups.getIamPolicy".
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.
zone
- The name of the zone for this request.
resource
- Name or id of the resource for this request.
- Returns:
- the request
- Throws:
IOException
-
insert
public Compute.NodeGroups.Insert insert(String project,
String zone,
Integer initialNodeCount,
NodeGroup content)
throws IOException
Creates a NodeGroup resource in the specified project using the data included in the request.
Create a request for the method "nodeGroups.insert".
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.
zone
- The name of the zone for this request.
initialNodeCount
- Initial count of nodes in the node group.
content
- the NodeGroup
- Returns:
- the request
- Throws:
IOException
-
list
public Compute.NodeGroups.List list(String project,
String zone)
throws IOException
Retrieves a list of node groups available to the specified project. Note: use
nodeGroups.listNodes for more details about each group.
Create a request for the method "nodeGroups.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.
zone
- The name of the zone for this request.
- Returns:
- the request
- Throws:
IOException
-
listNodes
public Compute.NodeGroups.ListNodes listNodes(String project,
String zone,
String nodeGroup)
throws IOException
Lists nodes in the node group.
Create a request for the method "nodeGroups.listNodes".
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.
zone
- The name of the zone for this request.
nodeGroup
- Name of the NodeGroup resource whose nodes you want to list.
- Returns:
- the request
- Throws:
IOException
-
patch
public Compute.NodeGroups.Patch patch(String project,
String zone,
String nodeGroup,
NodeGroup content)
throws IOException
Updates the specified node group.
Create a request for the method "nodeGroups.patch".
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.
zone
- The name of the zone for this request.
nodeGroup
- Name of the NodeGroup resource to update.
content
- the NodeGroup
- Returns:
- the request
- Throws:
IOException
-
setIamPolicy
public Compute.NodeGroups.SetIamPolicy setIamPolicy(String project,
String zone,
String resource,
ZoneSetPolicyRequest content)
throws IOException
Sets the access control policy on the specified resource. Replaces any existing policy.
Create a request for the method "nodeGroups.setIamPolicy".
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.
zone
- The name of the zone for this request.
resource
- Name or id of the resource for this request.
content
- the ZoneSetPolicyRequest
- Returns:
- the request
- Throws:
IOException
-
setNodeTemplate
public Compute.NodeGroups.SetNodeTemplate setNodeTemplate(String project,
String zone,
String nodeGroup,
NodeGroupsSetNodeTemplateRequest content)
throws IOException
Updates the node template of the node group.
Create a request for the method "nodeGroups.setNodeTemplate".
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.
zone
- The name of the zone for this request.
nodeGroup
- Name of the NodeGroup resource to update.
content
- the NodeGroupsSetNodeTemplateRequest
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public Compute.NodeGroups.TestIamPermissions testIamPermissions(String project,
String zone,
String resource,
TestPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource.
Create a request for the method "nodeGroups.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.
zone
- The name of the zone 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