Class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionGenerateVideoRequestImage
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionGenerateVideoRequestImage
- 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
Overview
The image bytes or Cloud Storage URI to make the prediction on.
Instance Attribute Summary collapse
-
#blob_id ⇒ String
Blob ID of the image.
-
#bytes_base64_encoded ⇒ String
Base64 encoded bytes string representing the image.
-
#gcs_uri ⇒ String
Corresponds to the JSON property
gcsUri. -
#mime_type ⇒ String
The MIME type of the content of the image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiLargeModelsVisionGenerateVideoRequestImage
constructor
A new instance of CloudAiLargeModelsVisionGenerateVideoRequestImage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAiLargeModelsVisionGenerateVideoRequestImage
Returns a new instance of CloudAiLargeModelsVisionGenerateVideoRequestImage.
142 143 144 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 142 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blob_id ⇒ String
Blob ID of the image. This is used for storing the large images in the request.
Corresponds to the JSON property blobId
124 125 126 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 124 def blob_id @blob_id end |
#bytes_base64_encoded ⇒ String
Base64 encoded bytes string representing the image.
Corresponds to the JSON property bytesBase64Encoded
129 130 131 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 129 def bytes_base64_encoded @bytes_base64_encoded end |
#gcs_uri ⇒ String
Corresponds to the JSON property gcsUri
134 135 136 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 134 def gcs_uri @gcs_uri end |
#mime_type ⇒ String
The MIME type of the content of the image. Only the images in below listed
MIME types are supported. - image/jpeg - image/png
Corresponds to the JSON property mimeType
140 141 142 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 140 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
147 148 149 150 151 152 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 147 def update!(**args) @blob_id = args[:blob_id] if args.key?(:blob_id) @bytes_base64_encoded = args[:bytes_base64_encoded] if args.key?(:bytes_base64_encoded) @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) @mime_type = args[:mime_type] if args.key?(:mime_type) end |