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

target.apidocs.com.google.api.services.tpu.v2.TPU.Projects.Locations.Nodes.html Maven / Gradle / Ivy







TPU.Projects.Locations.Nodes (Cloud TPU API v2-rev20240321-2.0.0)












com.google.api.services.tpu.v2

Class TPU.Projects.Locations.Nodes

    • Constructor Detail

      • Nodes

        public Nodes()
    • Method Detail

      • create

        public TPU.Projects.Locations.Nodes.Create create(String parent,
                                                          Node content)
                                                   throws IOException
        Creates a node. Create a request for the method "nodes.create". This request holds the parameters needed by the tpu server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The parent resource name.
        content - the Node
        Returns:
        the request
        Throws:
        IOException
      • delete

        public TPU.Projects.Locations.Nodes.Delete delete(String name)
                                                   throws IOException
        Deletes a node. Create a request for the method "nodes.delete". This request holds the parameters needed by the tpu server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The resource name.
        Returns:
        the request
        Throws:
        IOException
      • get

        public TPU.Projects.Locations.Nodes.Get get(String name)
                                             throws IOException
        Gets the details of a node. Create a request for the method "nodes.get". This request holds the parameters needed by the tpu server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The resource name.
        Returns:
        the request
        Throws:
        IOException
      • list

        public TPU.Projects.Locations.Nodes.List list(String parent)
                                               throws IOException
        Lists nodes. Create a request for the method "nodes.list". This request holds the parameters needed by the tpu server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The parent resource name.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public TPU.Projects.Locations.Nodes.Patch patch(String name,
                                                        Node content)
                                                 throws IOException
        Updates the configurations of a node. Create a request for the method "nodes.patch". This request holds the parameters needed by the tpu server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Output only. Immutable. The name of the TPU.
        content - the Node
        Returns:
        the request
        Throws:
        IOException
      • start

        public TPU.Projects.Locations.Nodes.Start start(String name,
                                                        StartNodeRequest content)
                                                 throws IOException
        Starts a node. Create a request for the method "nodes.start". This request holds the parameters needed by the tpu server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The resource name.
        content - the StartNodeRequest
        Returns:
        the request
        Throws:
        IOException
      • stop

        public TPU.Projects.Locations.Nodes.Stop stop(String name,
                                                      StopNodeRequest content)
                                               throws IOException
        Stops a node. This operation is only available with single TPU nodes. Create a request for the method "nodes.stop". This request holds the parameters needed by the tpu server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The resource name.
        content - the StopNodeRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy