ProjectsLocationsSessions
class ProjectsLocationsSessions extends Resource (View source)
The "sessions" collection of methods.
Typical usage is:
$dataprocService = new Google\Service\Dataproc(...);
$sessions = $dataprocService->projects_locations_sessions;
Methods
Deletes the interactive session resource. If the session is not in terminal state, it is terminated, and then deleted. (sessions.delete)
Gets the resource representation for an interactive session. (sessions.get)
Lists interactive sessions. (sessions.listProjectsLocationsSessions)
Terminates the interactive session. (sessions.terminate)
Details
Operation
create(string $parent, Session $postBody, array $optParams = [])
Create an interactive session asynchronously. (sessions.create)
Operation
delete(string $name, array $optParams = [])
Deletes the interactive session resource. If the session is not in terminal state, it is terminated, and then deleted. (sessions.delete)
Session
get(string $name, array $optParams = [])
Gets the resource representation for an interactive session. (sessions.get)
ListSessionsResponse
listProjectsLocationsSessions(string $parent, array $optParams = [])
Lists interactive sessions. (sessions.listProjectsLocationsSessions)
Operation
terminate(string $name, TerminateSessionRequest $postBody, array $optParams = [])
Terminates the interactive session. (sessions.terminate)