Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListSessionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListSessionsResponse
- 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
-
#next_page_token ⇒ String
Pagination token, if not returned indicates the last page.
-
#sessions ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Session>
All the Sessions for a given data store.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ListSessionsResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1ListSessionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ListSessionsResponse
Returns a new instance of GoogleCloudDiscoveryengineV1ListSessionsResponse.
5429 5430 5431 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5429 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Pagination token, if not returned indicates the last page.
Corresponds to the JSON property nextPageToken
5422 5423 5424 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5422 def next_page_token @next_page_token end |
#sessions ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Session>
All the Sessions for a given data store.
Corresponds to the JSON property sessions
5427 5428 5429 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5427 def sessions @sessions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5434 5435 5436 5437 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5434 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @sessions = args[:sessions] if args.key?(:sessions) end |