Class: Google::Apis::WalletobjectsV1::AuthenticationKey
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::AuthenticationKey
- 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
-
#id ⇒ Fixnum
Available only to Smart Tap enabled partners.
-
#public_key_pem ⇒ String
Available only to Smart Tap enabled partners.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthenticationKey
constructor
A new instance of AuthenticationKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#id ⇒ Fixnum
Available only to Smart Tap enabled partners. Contact support for additional
guidance.
Corresponds to the JSON property id
254 255 256 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 254 def id @id end |
#public_key_pem ⇒ String
Available only to Smart Tap enabled partners. Contact support for additional
guidance.
Corresponds to the JSON property publicKeyPem
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 |