Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkWeb
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkWeb
- 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
-
#title ⇒ String
Title of the chunk.
-
#uri ⇒ String
URI reference of the chunk.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1GroundingChunkWeb
constructor
A new instance of GoogleCloudAiplatformV1beta1GroundingChunkWeb.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#title ⇒ String
Title of the chunk.
Corresponds to the JSON property title
803 804 805 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 803 def title @title end |
#uri ⇒ String
URI reference of the chunk.
Corresponds to the JSON property uri
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 |