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

target.apidocs.com.google.api.services.dataproc.Dataproc.Projects.Locations.Sessions.html Maven / Gradle / Ivy

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






Dataproc.Projects.Locations.Sessions (Cloud Dataproc API v1-rev20240605-2.0.0)












com.google.api.services.dataproc

Class Dataproc.Projects.Locations.Sessions

  • java.lang.Object
    • com.google.api.services.dataproc.Dataproc.Projects.Locations.Sessions
    • Constructor Detail

      • Sessions

        public Sessions()
    • Method Detail

      • create

        public Dataproc.Projects.Locations.Sessions.Create create(String parent,
                                                                  Session content)
                                                           throws IOException
        Create an interactive session asynchronously. Create a request for the method "sessions.create". This request holds the parameters needed by the dataproc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The parent resource where this session will be created.
        content - the Session
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Dataproc.Projects.Locations.Sessions.Delete delete(String name)
                                                           throws IOException
        Deletes the interactive session resource. If the session is not in terminal state, it is terminated, and then deleted. Create a request for the method "sessions.delete". This request holds the parameters needed by the dataproc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the session resource to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Dataproc.Projects.Locations.Sessions.Get get(String name)
                                                     throws IOException
        Gets the resource representation for an interactive session. Create a request for the method "sessions.get". This request holds the parameters needed by the dataproc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the session to retrieve.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Dataproc.Projects.Locations.Sessions.List list(String parent)
                                                       throws IOException
        Lists interactive sessions. Create a request for the method "sessions.list". This request holds the parameters needed by the dataproc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The parent, which owns this collection of sessions.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy