All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.Compute.NodeTemplates.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250107-2.0.0
Show newest version






Compute.NodeTemplates (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute

Class Compute.NodeTemplates

  • Enclosing class:
    Compute


    public class Compute.NodeTemplates
    extends Object
    The "nodeTemplates" collection of methods.
    • Constructor Detail

      • NodeTemplates

        public NodeTemplates()
    • 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

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy