Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultDelta

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1UrlContextResultDelta

Returns a new instance of GenaiVertexV1beta1UrlContextResultDelta.



5980
5981
5982
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5980

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

Instance Attribute Details

#is_errorBoolean Also known as: is_error?

Corresponds to the JSON property isError

Returns:

  • (Boolean)


5972
5973
5974
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5972

def is_error
  @is_error
end

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

Corresponds to the JSON property result



5978
5979
5980
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5978

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5985
5986
5987
5988
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5985

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