Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListSessionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListSessionsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Response message for SessionService.ListSessions.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as ListSessionsRequest.page_token to retrieve the next page.
-
#sessions ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Session>
A list of sessions matching the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1ListSessionsResponse
constructor
A new instance of GoogleCloudAiplatformV1ListSessionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1ListSessionsResponse
Returns a new instance of GoogleCloudAiplatformV1ListSessionsResponse.
20803 20804 20805 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20803 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as ListSessionsRequest.page_token to retrieve the
next page. Absence of this field indicates there are no subsequent pages.
Corresponds to the JSON property nextPageToken
20796 20797 20798 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20796 def next_page_token @next_page_token end |
#sessions ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Session>
A list of sessions matching the request.
Corresponds to the JSON property sessions
20801 20802 20803 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20801 def sessions @sessions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20808 20809 20810 20811 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20808 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @sessions = args[:sessions] if args.key?(:sessions) end |