Class: Google::Apis::WalletobjectsV1::AuthenticationKey

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuthenticationKey

Returns a new instance of AuthenticationKey.



252
253
254
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 252

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

Instance Attribute Details

#idFixnum

Available only to Smart Tap enabled partners. Contact support for additional guidance. Corresponds to the JSON property id

Returns:

  • (Fixnum)


244
245
246
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 244

def id
  @id
end

#public_key_pemString

Available only to Smart Tap enabled partners. Contact support for additional guidance. Corresponds to the JSON property publicKeyPem

Returns:

  • (String)


250
251
252
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 250

def public_key_pem
  @public_key_pem
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



257
258
259
260
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 257

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