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.



3874
3875
3876
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3874

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

Instance Attribute Details

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

Corresponds to the JSON property response_formats



3872
3873
3874
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3872

def response_formats
  @response_formats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3879
3880
3881
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3879

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