Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1StepStop
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1StepStop
- 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
Instance Attribute Summary collapse
-
#index ⇒ Fixnum
Corresponds to the JSON property
index. -
#step_usage ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionUsage
Statistics on the interaction request's token usage.
-
#usage ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionUsage
Statistics on the interaction request's token usage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1StepStop
constructor
A new instance of GenaiVertexV1beta1StepStop.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1StepStop
Returns a new instance of GenaiVertexV1beta1StepStop.
5505 5506 5507 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5505 def initialize(**args) update!(**args) end |
Instance Attribute Details
#index ⇒ Fixnum
Corresponds to the JSON property index
5493 5494 5495 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5493 def index @index end |
#step_usage ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionUsage
Statistics on the interaction request's token usage.
Corresponds to the JSON property stepUsage
5498 5499 5500 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5498 def step_usage @step_usage end |
#usage ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionUsage
Statistics on the interaction request's token usage.
Corresponds to the JSON property usage
5503 5504 5505 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5503 def usage @usage end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5510 5511 5512 5513 5514 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5510 def update!(**args) @index = args[:index] if args.key?(:index) @step_usage = args[:step_usage] if args.key?(:step_usage) @usage = args[:usage] if args.key?(:usage) end |