Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments

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

The arguments to pass to the URL context.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments

Returns a new instance of GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments.



5434
5435
5436
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5434

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

Instance Attribute Details

#urlsArray<String>

The URLs to fetch. Corresponds to the JSON property urls

Returns:

  • (Array<String>)


5432
5433
5434
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5432

def urls
  @urls
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5439
5440
5441
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5439

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