Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UrlContextMetadata

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

Metadata returned when the model uses the url_context tool to get information from a user-provided URL.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1UrlContextMetadata

Returns a new instance of GoogleCloudAiplatformV1beta1UrlContextMetadata.



57377
57378
57379
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 57377

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

Instance Attribute Details

#url_metadataArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UrlMetadata>

Output only. A list of URL metadata, with one entry for each URL retrieved by the tool. Corresponds to the JSON property urlMetadata



57375
57376
57377
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 57375

def 
  @url_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



57382
57383
57384
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 57382

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