Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

Response message for SessionService.ListSessions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ListSessionsResponse

Returns a new instance of GoogleCloudAiplatformV1beta1ListSessionsResponse.



31486
31487
31488
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31486

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


31479
31480
31481
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31479

def next_page_token
  @next_page_token
end

#sessionsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session>

A list of sessions matching the request. Corresponds to the JSON property sessions



31484
31485
31486
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31484

def sessions
  @sessions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31491
31492
31493
31494
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31491

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