Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListSessionsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb

Overview

Response for ListSessions method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ListSessionsResponse

Returns a new instance of GoogleCloudDiscoveryengineV1ListSessionsResponse.



4931
4932
4933
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4931

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)


4924
4925
4926
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4924

def next_page_token
  @next_page_token
end

#sessionsArray<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Session>

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



4929
4930
4931
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4929

def sessions
  @sessions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4936
4937
4938
4939
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4936

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