Class: Google::Apis::WalletobjectsV1::UploadPrivateDataResponse

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 user private data (text or URIs)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UploadPrivateDataResponse

Returns a new instance of UploadPrivateDataResponse.



8234
8235
8236
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8234

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

Instance Attribute Details

#private_content_idFixnum

A 64-bit content id for the private data that was uploaded by the Issuer. Corresponds to the JSON property privateContentId

Returns:

  • (Fixnum)


8232
8233
8234
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8232

def private_content_id
  @private_content_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8239
8240
8241
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8239

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