Google Cloud Dataproc V1 Client - Class DeleteSessionRequest (3.13.3)

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

A request to delete a session.

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

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 resource to delete.

↳ request_id string

Optional. A unique ID used to identify the request. If the service receives two DeleteSessionRequests with the same ID, the second request is ignored. Recommendation: Set this value to a UUID. The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

getName

Required. The name of the session resource to delete.

Returns
Type Description
string

setName

Required. The name of the session resource to delete.

Parameter
Name Description
var string
Returns
Type Description
$this

getRequestId

Optional. A unique ID used to identify the request. If the service receives two DeleteSessionRequests with the same ID, the second request is ignored.

Recommendation: Set this value to a UUID. The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Returns
Type Description
string

setRequestId

Optional. A unique ID used to identify the request. If the service receives two DeleteSessionRequests with the same ID, the second request is ignored.

Recommendation: Set this value to a UUID. The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

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