Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListCachedContentsResponse

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 with a list of CachedContents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ListCachedContentsResponse

Returns a new instance of GoogleCloudAiplatformV1beta1ListCachedContentsResponse.



13133
13134
13135
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13133

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

Instance Attribute Details

#cached_contentsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent>

List of cached contents. Corresponds to the JSON property cachedContents



13125
13126
13127
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13125

def cached_contents
  @cached_contents
end

#next_page_tokenString

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

Returns:

  • (String)


13131
13132
13133
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13131

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13138
13139
13140
13141
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13138

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