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.



10947
10948
10949
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10947

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



10939
10940
10941
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10939

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)


10945
10946
10947
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10945

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10952
10953
10954
10955
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10952

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