Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::CreateSessionRequest.
A request to create a session.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
- (::String) — Required. The parent resource where this session will be created.
#parent=
def parent=(value) -> ::String
- value (::String) — Required. The parent resource where this session will be created.
- (::String) — Required. The parent resource where this session will be created.
#request_id
def request_id() -> ::String
-
(::String) — Optional. A unique ID used to identify the request. If the service
receives two
CreateSessionRequestss
with the same ID, the second request is ignored, and the
first Session is created and stored in
the backend.
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.
#request_id=
def request_id=(value) -> ::String
-
value (::String) — Optional. A unique ID used to identify the request. If the service
receives two
CreateSessionRequestss
with the same ID, the second request is ignored, and the
first Session is created and stored in
the backend.
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) — Optional. A unique ID used to identify the request. If the service
receives two
CreateSessionRequestss
with the same ID, the second request is ignored, and the
first Session is created and stored in
the backend.
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.
#session
def session() -> ::Google::Cloud::Dataproc::V1::Session
- (::Google::Cloud::Dataproc::V1::Session) — Required. The interactive session to create.
#session=
def session=(value) -> ::Google::Cloud::Dataproc::V1::Session
- value (::Google::Cloud::Dataproc::V1::Session) — Required. The interactive session to create.
- (::Google::Cloud::Dataproc::V1::Session) — Required. The interactive session to create.
#session_id
def session_id() -> ::String
-
(::String) — Required. The ID to use for the session, which becomes the final component
of the session's resource name.
This value must be 4-63 characters. Valid characters are /[a-z][0-9]-/.
#session_id=
def session_id=(value) -> ::String
-
value (::String) — Required. The ID to use for the session, which becomes the final component
of the session's resource name.
This value must be 4-63 characters. Valid characters are /[a-z][0-9]-/.
-
(::String) — Required. The ID to use for the session, which becomes the final component
of the session's resource name.
This value must be 4-63 characters. Valid characters are /[a-z][0-9]-/.