Google Cloud Dataproc V1 Client - Class GetSessionRequest (2.2.0)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class GetSessionRequest.

A request to get the resource representation for a session.

Generated from protobuf message google.cloud.dataproc.v1.GetSessionRequest

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the session to retrieve.

getName

Required. The name of the session to retrieve.

Returns
Type Description
string

setName

Required. The name of the session to retrieve.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the session to retrieve. Please see Google\Cloud\Dataproc\V1\SessionControllerClient::sessionName() for help formatting this field.

Returns
Type Description
Google\Cloud\Dataproc\V1\GetSessionRequest