Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetSessionRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetSessionRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb more...
Overview
Request for GetSession method.
Instance Attribute Summary collapse
-
#include_answer_details ⇒ Boolean
(also: #include_answer_details?)
Optional.
-
#name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaGetSessionRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaGetSessionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaGetSessionRequest
Returns a new instance of GoogleCloudDiscoveryengineV1alphaGetSessionRequest.
10906 10907 10908 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10906 def initialize(**args) update!(**args) end |
Instance Attribute Details
#include_answer_details ⇒ Boolean Also known as: include_answer_details?
Optional. If set to true, the full session including all answer details will
be returned.
Corresponds to the JSON property includeAnswerDetails
10896 10897 10898 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10896 def include_answer_details @include_answer_details end |
#name ⇒ String
Required. The resource name of the Session to get. Format: projects/
project/
locations/
location/collections/
collection/dataStores/
data_store_id/
sessions/
session_id`
Corresponds to the JSON property
name`
10904 10905 10906 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10904 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10911 10912 10913 10914 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10911 def update!(**args) @include_answer_details = args[:include_answer_details] if args.key?(:include_answer_details) @name = args[:name] if args.key?(:name) end |