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.
5074 5075 5076 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5074 def initialize(**args) update!(**args) end |
Instance Attribute Details
#index ⇒ Fixnum
Corresponds to the JSON property index
5062 5063 5064 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5062 def index @index end |
#step_usage ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionUsage
Statistics on the interaction request's token usage.
Corresponds to the JSON property stepUsage
5067 5068 5069 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5067 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
5072 5073 5074 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5072 def usage @usage end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5079 5080 5081 5082 5083 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5079 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 |