Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkWeb

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/representations.rb

Overview

Chunk from the web.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1GroundingChunkWeb

Returns a new instance of GoogleCloudAiplatformV1beta1GroundingChunkWeb.



810
811
812
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 810

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

Instance Attribute Details

#titleString

Title of the chunk. Corresponds to the JSON property title

Returns:

  • (String)


803
804
805
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 803

def title
  @title
end

#uriString

URI reference of the chunk. Corresponds to the JSON property uri

Returns:

  • (String)


808
809
810
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 808

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



815
816
817
818
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 815

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