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.



8972
8973
8974
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8972

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)


8970
8971
8972
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8970

def private_image_id
  @private_image_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8977
8978
8979
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8977

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