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.



12621
12622
12623
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12621

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



12613
12614
12615
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12613

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)


12619
12620
12621
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12619

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12626
12627
12628
12629
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12626

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