Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationFileInputSource
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationFileInputSource
- 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
-
#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) ⇒ GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationFileInputSource
constructor
A new instance of GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationFileInputSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationFileInputSource
Returns a new instance of GoogleCloudAiplatformV1beta1SchemaPromptSpecTranslationFileInputSource.
50960 50961 50962 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50960 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
The file's contents.
Corresponds to the JSON property content
50948 50949 50950 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50948 def content @content end |
#display_name ⇒ String
The file's display name.
Corresponds to the JSON property displayName
50953 50954 50955 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50953 def display_name @display_name end |
#mime_type ⇒ String
The file's mime type.
Corresponds to the JSON property mimeType
50958 50959 50960 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50958 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
50965 50966 50967 50968 50969 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50965 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 |