Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionUsageGroundingToolCount

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 number of grounding tool counts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1InteractionUsageGroundingToolCount

Returns a new instance of GenaiVertexV1beta1InteractionUsageGroundingToolCount.



4215
4216
4217
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4215

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

Instance Attribute Details

#countFixnum

The number of grounding tool counts. Corresponds to the JSON property count

Returns:

  • (Fixnum)


4208
4209
4210
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4208

def count
  @count
end

#typeString

The grounding tool type associated with the count. Corresponds to the JSON property type

Returns:

  • (String)


4213
4214
4215
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4213

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4220
4221
4222
4223
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4220

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