Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput

Returns a new instance of GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput.



29096
29097
29098
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29096

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

Instance Attribute Details

#file_input_sourceGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource

Inlined file source. Corresponds to the JSON property fileInputSource



29089
29090
29091
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29089

def file_input_source
  @file_input_source
end

#gcs_input_sourceGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecTranslationGcsInputSource

Cloud Storage file source. Corresponds to the JSON property gcsInputSource



29094
29095
29096
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29094

def gcs_input_source
  @gcs_input_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29101
29102
29103
29104
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29101

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