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.



5029
5030
5031
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5029

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

Instance Attribute Details

#urlsArray<String>

The URLs to fetch. Corresponds to the JSON property urls

Returns:

  • (Array<String>)


5027
5028
5029
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5027

def urls
  @urls
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5034
5035
5036
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5034

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