Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageDelta

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1ImageDelta

Returns a new instance of GenaiVertexV1beta1ImageDelta.



3426
3427
3428
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3426

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dataString

Corresponds to the JSON property data NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


3409
3410
3411
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3409

def data
  @data
end

#mime_typeString

Corresponds to the JSON property mimeType

Returns:

  • (String)


3414
3415
3416
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3414

def mime_type
  @mime_type
end

#resolutionString

The resolution of the media. Corresponds to the JSON property resolution

Returns:

  • (String)


3419
3420
3421
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3419

def resolution
  @resolution
end

#uriString

Corresponds to the JSON property uri

Returns:

  • (String)


3424
3425
3426
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3424

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3431
3432
3433
3434
3435
3436
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3431

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