Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListContextsResponse

Inherits:
Object
  • Object
show all
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 MetadataService.ListContexts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ListContextsResponse

Returns a new instance of GoogleCloudAiplatformV1ListContextsResponse.



9375
9376
9377
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9375

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

Instance Attribute Details

#contextsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Context>

The Contexts retrieved from the MetadataStore. Corresponds to the JSON property contexts



9367
9368
9369
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9367

def contexts
  @contexts
end

#next_page_tokenString

A token, which can be sent as ListContextsRequest.page_token to retrieve the next page. If this field is not populated, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


9373
9374
9375
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9373

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9380
9381
9382
9383
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9380

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