Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchResultContent

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

File Search result content.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1FileSearchResultContent

Returns a new instance of GenaiVertexV1beta1FileSearchResultContent.



1876
1877
1878
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1876

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

Instance Attribute Details

#resultArray<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchResultContentFileSearchResult>

Optional. The results of the File Search. Corresponds to the JSON property result



1874
1875
1876
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1874

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1881
1882
1883
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1881

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