Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaGetSessionRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaGetSessionRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
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.
7127 7128 7129 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7127 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
7117 7118 7119 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7117 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 propertyname`
7125 7126 7127 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7125 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7132 7133 7134 7135 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7132 def update!(**args) @include_answer_details = args[:include_answer_details] if args.key?(:include_answer_details) @name = args[:name] if args.key?(:name) end |