Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListSessionsResponse

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

Response for ListSessions method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaListSessionsResponse

Returns a new instance of GoogleCloudDiscoveryengineV1betaListSessionsResponse.



10067
10068
10069
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10067

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)


10060
10061
10062
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10060

def next_page_token
  @next_page_token
end

#sessionsArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSession>

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



10065
10066
10067
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10065

def sessions
  @sessions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10072
10073
10074
10075
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10072

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