Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::CreateSessionRequest.
Request for CreateSession method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::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
Parameter
-
value (::String) — Required. Full resource name of parent data store. Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}
Returns
-
(::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::V1::Session
Returns
- (::Google::Cloud::DiscoveryEngine::V1::Session) — Required. The session to create.
#session=
def session=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Session
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1::Session) — Required. The session to create.
Returns
- (::Google::Cloud::DiscoveryEngine::V1::Session) — Required. The session to create.