Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.SessionsResource

The "sessions" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.SessionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dataproc.v1
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class ProjectsResource.LocationsResource.SessionsResource

Constructors

SessionsResource(IClientService)

Constructs a new resource.

Declaration
public SessionsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

SparkApplications

Gets the SparkApplications resource.

Declaration
public virtual ProjectsResource.LocationsResource.SessionsResource.SparkApplicationsResource SparkApplications { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.SessionsResource.SparkApplicationsResource

Methods

Create(Session, string)

Create an interactive session asynchronously.

Declaration
public virtual ProjectsResource.LocationsResource.SessionsResource.CreateRequest Create(Session body, string parent)
Parameters
Type Name Description
Session body

The body of the request.

string parent

Required. The parent resource where this session will be created.

Returns
Type Description
ProjectsResource.LocationsResource.SessionsResource.CreateRequest

Delete(string)

Deletes the interactive session resource. If the session is not in terminal state, it is terminated, and then deleted.

Declaration
public virtual ProjectsResource.LocationsResource.SessionsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the session resource to delete.

Returns
Type Description
ProjectsResource.LocationsResource.SessionsResource.DeleteRequest

Get(string)

Gets the resource representation for an interactive session.

Declaration
public virtual ProjectsResource.LocationsResource.SessionsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the session to retrieve.

Returns
Type Description
ProjectsResource.LocationsResource.SessionsResource.GetRequest

List(string)

Lists interactive sessions.

Declaration
public virtual ProjectsResource.LocationsResource.SessionsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent, which owns this collection of sessions.

Returns
Type Description
ProjectsResource.LocationsResource.SessionsResource.ListRequest

Terminate(TerminateSessionRequest, string)

Terminates the interactive session.

Declaration
public virtual ProjectsResource.LocationsResource.SessionsResource.TerminateRequest Terminate(TerminateSessionRequest body, string name)
Parameters
Type Name Description
TerminateSessionRequest body

The body of the request.

string name

Required. The name of the session resource to terminate.

Returns
Type Description
ProjectsResource.LocationsResource.SessionsResource.TerminateRequest
In this article
Back to top Generated by DocFX