Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource
- 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
-
#content ⇒ String
The file's contents.
-
#display_name ⇒ String
The file's display name.
-
#mime_type ⇒ String
The file's mime type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource
constructor
A new instance of GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource
Returns a new instance of GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource.
28870 28871 28872 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28870 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
The file's contents.
Corresponds to the JSON property content
28858 28859 28860 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28858 def content @content end |
#display_name ⇒ String
The file's display name.
Corresponds to the JSON property displayName
28863 28864 28865 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28863 def display_name @display_name end |
#mime_type ⇒ String
The file's mime type.
Corresponds to the JSON property mimeType
28868 28869 28870 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28868 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
28875 28876 28877 28878 28879 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28875 def update!(**args) @content = args[:content] if args.key?(:content) @display_name = args[:display_name] if args.key?(:display_name) @mime_type = args[:mime_type] if args.key?(:mime_type) end |