Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest

Inherits:
Object
  • Object
show all
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 DeleteSession method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest

Returns a new instance of GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest.



5320
5321
5322
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5320

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

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 propertyname`

Returns:

  • (String)


5318
5319
5320
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5318

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5325
5326
5327
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5325

def update!(**args)
  @name = args[:name] if args.key?(:name)
end