Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest
- 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
Overview
Request for UpdateSession method.
Instance Attribute Summary collapse
-
#session ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSession
External session proto definition.
-
#update_mask ⇒ String
Indicates which fields in the provided Session to update.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest
Returns a new instance of GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest.
18085 18086 18087 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 18085 def initialize(**args) update!(**args) end |
Instance Attribute Details
#session ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSession
External session proto definition.
Corresponds to the JSON property session
18076 18077 18078 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 18076 def session @session end |
#update_mask ⇒ String
Indicates which fields in the provided Session to update. The following are
NOT supported: * Session.name If not set or empty, all supported fields are
updated.
Corresponds to the JSON property updateMask
18083 18084 18085 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 18083 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18090 18091 18092 18093 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 18090 def update!(**args) @session = args[:session] if args.key?(:session) @update_mask = args[:update_mask] if args.key?(:update_mask) end |