Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionUsageGroundingToolCount
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionUsageGroundingToolCount
- 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 number of grounding tool counts.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
The number of grounding tool counts.
-
#type ⇒ String
The grounding tool type associated with the count.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1InteractionUsageGroundingToolCount
constructor
A new instance of GenaiVertexV1beta1InteractionUsageGroundingToolCount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1InteractionUsageGroundingToolCount
Returns a new instance of GenaiVertexV1beta1InteractionUsageGroundingToolCount.
3438 3439 3440 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3438 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
The number of grounding tool counts.
Corresponds to the JSON property count
3431 3432 3433 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3431 def count @count end |
#type ⇒ String
The grounding tool type associated with the count.
Corresponds to the JSON property type
3436 3437 3438 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3436 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3443 3444 3445 3446 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3443 def update!(**args) @count = args[:count] if args.key?(:count) @type = args[:type] if args.key?(:type) end |