Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ResponseFormatList

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1ResponseFormatList

Returns a new instance of GenaiVertexV1beta1ResponseFormatList.



4504
4505
4506
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4504

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

Instance Attribute Details

#response_formatsArray<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ResponseFormat>

Corresponds to the JSON property responseFormats



4502
4503
4504
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4502

def response_formats
  @response_formats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4509
4510
4511
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4509

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