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.



21812
21813
21814
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21812

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



21804
21805
21806
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21804

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)


21810
21811
21812
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21810

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21817
21818
21819
21820
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21817

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