Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput
- 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
-
#file_input_source ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource
Inlined file source.
-
#gcs_input_source ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecTranslationGcsInputSource
Cloud Storage file source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput
constructor
A new instance of GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput
Returns a new instance of GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput.
31077 31078 31079 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31077 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_input_source ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource
Inlined file source.
Corresponds to the JSON property fileInputSource
31070 31071 31072 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31070 def file_input_source @file_input_source end |
#gcs_input_source ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecTranslationGcsInputSource
Cloud Storage file source.
Corresponds to the JSON property gcsInputSource
31075 31076 31077 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31075 def gcs_input_source @gcs_input_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31082 31083 31084 31085 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31082 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 |