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.



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

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)


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

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)


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

def public_key_pem
  @public_key_pem
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



267
268
269
270
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 267

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