Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListSessionsResponse

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

Response for ListSessions method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListSessionsResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaListSessionsResponse.



12420
12421
12422
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12420

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

Instance Attribute Details

#next_page_tokenString

Pagination token, if not returned indicates the last page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


12413
12414
12415
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12413

def next_page_token
  @next_page_token
end

#sessionsArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSession>

All the Sessions for a given data store. Corresponds to the JSON property sessions



12418
12419
12420
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12418

def sessions
  @sessions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12425
12426
12427
12428
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12425

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