Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::CreateSessionRequest.
Request for CreateSession method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String-
(::String) — Required. Full resource name of parent data store. Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}
#parent=
def parent=(value) -> ::String-
value (::String) — Required. Full resource name of parent data store. Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}
-
(::String) — Required. Full resource name of parent data store. Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}
#session
def session() -> ::Google::Cloud::DiscoveryEngine::V1beta::Session- (::Google::Cloud::DiscoveryEngine::V1beta::Session) — Required. The session to create.
#session=
def session=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::Session- value (::Google::Cloud::DiscoveryEngine::V1beta::Session) — Required. The session to create.
- (::Google::Cloud::DiscoveryEngine::V1beta::Session) — Required. The session to create.
#session_id
def session_id() -> ::String-
(::String) — Optional. The ID to use for the session, which will become the final
component of the session's resource name.
This value should be 1-63 characters, and valid characters are /[a-z0-9][a-z0-9-]{0,61}[a-z0-9]/. If not specified, a unique ID will be generated.
#session_id=
def session_id=(value) -> ::String-
value (::String) — Optional. The ID to use for the session, which will become the final
component of the session's resource name.
This value should be 1-63 characters, and valid characters are /[a-z0-9][a-z0-9-]{0,61}[a-z0-9]/. If not specified, a unique ID will be generated.
-
(::String) — Optional. The ID to use for the session, which will become the final
component of the session's resource name.
This value should be 1-63 characters, and valid characters are /[a-z0-9][a-z0-9-]{0,61}[a-z0-9]/. If not specified, a unique ID will be generated.