Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListContextsResponse

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 MetadataService.ListContexts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ListContextsResponse

Returns a new instance of GoogleCloudAiplatformV1beta1ListContextsResponse.



13159
13160
13161
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13159

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

Instance Attribute Details

#contextsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Context>

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



13151
13152
13153
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13151

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)


13157
13158
13159
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13157

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13164
13165
13166
13167
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13164

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