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.



3438
3439
3440
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3438

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

Instance Attribute Details

#countFixnum

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

Returns:

  • (Fixnum)


3431
3432
3433
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3431

def count
  @count
end

#typeString

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

Returns:

  • (String)


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