Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListRagFilesResponse

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 VertexRagDataService.ListRagFiles.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ListRagFilesResponse

Returns a new instance of GoogleCloudAiplatformV1beta1ListRagFilesResponse.



14183
14184
14185
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14183

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

Instance Attribute Details

#next_page_tokenString

A token to retrieve the next page of results. Pass to ListRagFilesRequest. page_token to obtain that page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


14176
14177
14178
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14176

def next_page_token
  @next_page_token
end

#rag_filesArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFile>

List of RagFiles in the requested page. Corresponds to the JSON property ragFiles



14181
14182
14183
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14181

def rag_files
  @rag_files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14188
14189
14190
14191
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14188

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