public class Dataproc.Projects.Locations.Sessions extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Dataproc.Projects.Locations.Sessions.Create |
class |
Dataproc.Projects.Locations.Sessions.Delete |
class |
Dataproc.Projects.Locations.Sessions.Get |
class |
Dataproc.Projects.Locations.Sessions.List |
class |
Dataproc.Projects.Locations.Sessions.Terminate |
| Constructor and Description |
|---|
Sessions() |
| Modifier and Type | Method and Description |
|---|---|
Dataproc.Projects.Locations.Sessions.Create |
create(String parent,
Session content)
Create an interactive session asynchronously.
|
Dataproc.Projects.Locations.Sessions.Delete |
delete(String name)
Deletes the interactive session resource.
|
Dataproc.Projects.Locations.Sessions.Get |
get(String name)
Gets the resource representation for an interactive session.
|
Dataproc.Projects.Locations.Sessions.List |
list(String parent)
Lists interactive sessions.
|
Dataproc.Projects.Locations.Sessions.Terminate |
terminate(String name,
TerminateSessionRequest content)
Terminates the interactive session.
|
public Dataproc.Projects.Locations.Sessions.Create create(String parent, Session content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent resource where this session will be created.content - the SessionIOExceptionpublic Dataproc.Projects.Locations.Sessions.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the session resource to delete.IOExceptionpublic Dataproc.Projects.Locations.Sessions.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the session to retrieve.IOExceptionpublic Dataproc.Projects.Locations.Sessions.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent, which owns this collection of sessions.IOExceptionpublic Dataproc.Projects.Locations.Sessions.Terminate terminate(String name, TerminateSessionRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the session resource to terminate.content - the TerminateSessionRequestIOExceptionCopyright © 2011–2023 Google. All rights reserved.