Reference documentation and code samples for the Google Cloud Dataproc V1 Client class TerminateSessionRequest.
A request to terminate an interactive session.
Generated from protobuf message google.cloud.dataproc.v1.TerminateSessionRequest
Namespace
Google \ Cloud \ Dataproc \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the session resource to terminate.
↳ request_id
string
Optional. A unique ID used to identify the request. If the service receives two TerminateSessionRequest s 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 terminate.
string
setName
Required. The name of the session resource to terminate.
var
string
$this
getRequestId
Optional. A unique ID used to identify the request. If the service receives two TerminateSessionRequest s 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.
string
setRequestId
Optional. A unique ID used to identify the request. If the service receives two TerminateSessionRequest s 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.
var
string
$this
static::build
name
string
Required. The name of the session resource to terminate. Please see SessionControllerClient::sessionName() for help formatting this field.