Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListSessionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListSessionsResponse
- 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
-
#next_page_token ⇒ String
Pagination token, if not returned indicates the last page.
-
#sessions ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSession>
All the Sessions for a given data store.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListSessionsResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaListSessionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListSessionsResponse
Returns a new instance of GoogleCloudDiscoveryengineV1alphaListSessionsResponse.
8691 8692 8693 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8691 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
8684 8685 8686 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8684 def next_page_token @next_page_token end |
#sessions ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSession>
All the Sessions for a given data store.
Corresponds to the JSON property sessions
8689 8690 8691 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8689 def sessions @sessions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8696 8697 8698 8699 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8696 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @sessions = args[:sessions] if args.key?(:sessions) end |