Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageDelta
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageDelta
- 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
-
#data ⇒ String
Corresponds to the JSON property
dataNOTE: Values are automatically base64 encoded/decoded in the client library. -
#mime_type ⇒ String
Corresponds to the JSON property
mime_type. -
#resolution ⇒ String
The resolution of the media.
-
#uri ⇒ String
Corresponds to the JSON property
uri.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1ImageDelta
constructor
A new instance of GenaiVertexV1beta1ImageDelta.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1ImageDelta
Returns a new instance of GenaiVertexV1beta1ImageDelta.
2944 2945 2946 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2944 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
2927 2928 2929 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2927 def data @data end |
#mime_type ⇒ String
Corresponds to the JSON property mime_type
2932 2933 2934 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2932 def mime_type @mime_type end |
#resolution ⇒ String
The resolution of the media.
Corresponds to the JSON property resolution
2937 2938 2939 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2937 def resolution @resolution end |
#uri ⇒ String
Corresponds to the JSON property uri
2942 2943 2944 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2942 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2949 2950 2951 2952 2953 2954 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2949 def update!(**args) @data = args[:data] if args.key?(:data) @mime_type = args[:mime_type] if args.key?(:mime_type) @resolution = args[:resolution] if args.key?(:resolution) @uri = args[:uri] if args.key?(:uri) end |