Class: Google::Apis::WalletobjectsV1::UploadPrivateImageResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/walletobjects_v1/classes.rb,
lib/google/apis/walletobjects_v1/representations.rb,
lib/google/apis/walletobjects_v1/representations.rb

Overview

Response for uploading the private image.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UploadPrivateImageResponse

Returns a new instance of UploadPrivateImageResponse.



9026
9027
9028
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 9026

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

Instance Attribute Details

#private_image_idString

Unique ID of the uploaded image to be referenced later in Image. private_image_id. Corresponds to the JSON property privateImageId

Returns:

  • (String)


9024
9025
9026
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 9024

def private_image_id
  @private_image_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9031
9032
9033
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 9031

def update!(**args)
  @private_image_id = args[:private_image_id] if args.key?(:private_image_id)
end