Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1SpeakerConfig

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

Configuration for multi-speaker and speech generation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1SpeakerConfig

Returns a new instance of GenaiVertexV1beta1SpeakerConfig.



5261
5262
5263
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5261

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

Instance Attribute Details

#speakersArray<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1SpeechConfig>

Individual speaker configurations. Corresponds to the JSON property speakers



5259
5260
5261
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5259

def speakers
  @speakers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5266
5267
5268
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5266

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