Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationSentenceFileInput

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) ⇒ GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationSentenceFileInput

Returns a new instance of GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationSentenceFileInput.



31865
31866
31867
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31865

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

Instance Attribute Details

#file_input_sourceGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationFileInputSource

Inlined file source. Corresponds to the JSON property fileInputSource



31858
31859
31860
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31858

def file_input_source
  @file_input_source
end

#gcs_input_sourceGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationGcsInputSource

Cloud Storage file source. Corresponds to the JSON property gcsInputSource



31863
31864
31865
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31863

def gcs_input_source
  @gcs_input_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31870
31871
31872
31873
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31870

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