target.apidocs.com.google.api.services.compute.Compute.NodeTemplates.html Maven / Gradle / Ivy
Compute.NodeTemplates (Compute Engine API alpha-rev20200526-1.30.9)
com.google.api.services.compute
Class Compute.NodeTemplates
- java.lang.Object
-
- com.google.api.services.compute.Compute.NodeTemplates
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.NodeTemplates.AggregatedList
class
Compute.NodeTemplates.Delete
class
Compute.NodeTemplates.Get
class
Compute.NodeTemplates.GetIamPolicy
class
Compute.NodeTemplates.Insert
class
Compute.NodeTemplates.List
class
Compute.NodeTemplates.SetIamPolicy
class
Compute.NodeTemplates.TestIamPermissions
-
Constructor Summary
Constructors
Constructor and Description
NodeTemplates()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.NodeTemplates.AggregatedList
aggregatedList(String project)
Retrieves an aggregated list of node templates.
Compute.NodeTemplates.Delete
delete(String project,
String region,
String nodeTemplate)
Deletes the specified NodeTemplate resource.
Compute.NodeTemplates.Get
get(String project,
String region,
String nodeTemplate)
Returns the specified node template.
Compute.NodeTemplates.GetIamPolicy
getIamPolicy(String project,
String region,
String resource)
Gets the access control policy for a resource.
Compute.NodeTemplates.Insert
insert(String project,
String region,
NodeTemplate content)
Creates a NodeTemplate resource in the specified project using the data included in the request.
Compute.NodeTemplates.List
list(String project,
String region)
Retrieves a list of node templates available to the specified project.
Compute.NodeTemplates.SetIamPolicy
setIamPolicy(String project,
String region,
String resource,
RegionSetPolicyRequest content)
Sets the access control policy on the specified resource.
Compute.NodeTemplates.TestIamPermissions
testIamPermissions(String project,
String region,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
-
-
Method Detail
-
aggregatedList
public Compute.NodeTemplates.AggregatedList aggregatedList(String project)
throws IOException
Retrieves an aggregated list of node templates.
Create a request for the method "nodeTemplates.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.NodeTemplates.Delete delete(String project,
String region,
String nodeTemplate)
throws IOException
Deletes the specified NodeTemplate resource.
Create a request for the method "nodeTemplates.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.
region
- The name of the region for this request.
nodeTemplate
- Name of the NodeTemplate resource to delete.
- Returns:
- the request
- Throws:
IOException
-
get
public Compute.NodeTemplates.Get get(String project,
String region,
String nodeTemplate)
throws IOException
Returns the specified node template. Gets a list of available node templates by making a list()
request.
Create a request for the method "nodeTemplates.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
- The name of the region for this request.
nodeTemplate
- Name of the node template to return.
- Returns:
- the request
- Throws:
IOException
-
getIamPolicy
public Compute.NodeTemplates.GetIamPolicy getIamPolicy(String project,
String region,
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 "nodeTemplates.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.
region
- The name of the region for this request.
resource
- Name or id of the resource for this request.
- Returns:
- the request
- Throws:
IOException
-
insert
public Compute.NodeTemplates.Insert insert(String project,
String region,
NodeTemplate content)
throws IOException
Creates a NodeTemplate resource in the specified project using the data included in the request.
Create a request for the method "nodeTemplates.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.
region
- The name of the region for this request.
content
- the NodeTemplate
- Returns:
- the request
- Throws:
IOException
-
list
public Compute.NodeTemplates.List list(String project,
String region)
throws IOException
Retrieves a list of node templates available to the specified project.
Create a request for the method "nodeTemplates.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
- The name of the region for this request.
- Returns:
- the request
- Throws:
IOException
-
setIamPolicy
public Compute.NodeTemplates.SetIamPolicy setIamPolicy(String project,
String region,
String resource,
RegionSetPolicyRequest content)
throws IOException
Sets the access control policy on the specified resource. Replaces any existing policy.
Create a request for the method "nodeTemplates.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.
region
- The name of the region for this request.
resource
- Name or id of the resource for this request.
content
- the RegionSetPolicyRequest
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public Compute.NodeTemplates.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 "nodeTemplates.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–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy