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.



9019
9020
9021
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 9019

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)


9017
9018
9019
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 9017

def private_image_id
  @private_image_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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