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.



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

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)


248
249
250
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 248

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)


254
255
256
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 254

def public_key_pem
  @public_key_pem
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



261
262
263
264
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 261

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