Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListSessionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListSessionsResponse
- 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
-
#next_page_token ⇒ String
Pagination token, if not returned indicates the last page.
-
#sessions ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSession>
All the Sessions for a given data store.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaListSessionsResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1betaListSessionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaListSessionsResponse
Returns a new instance of GoogleCloudDiscoveryengineV1betaListSessionsResponse.
9973 9974 9975 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9973 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
9966 9967 9968 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9966 def next_page_token @next_page_token end |
#sessions ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSession>
All the Sessions for a given data store.
Corresponds to the JSON property sessions
9971 9972 9973 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9971 def sessions @sessions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9978 9979 9980 9981 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9978 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @sessions = args[:sessions] if args.key?(:sessions) end |