Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest
- 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 DeleteSession method.
Instance Attribute Summary collapse
-
#name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest
Returns a new instance of GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest.
8545 8546 8547 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8545 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Required. The resource name of the Session to delete. Format: projects/
project/locations/
location/collections/
collection/dataStores/
data_store_id/sessions/
session_id`
Corresponds to the JSON property
name`
8543 8544 8545 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8543 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8550 8551 8552 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8550 def update!(**args) @name = args[:name] if args.key?(:name) end |