Class: Google::Apis::WalletobjectsV1::Permissions
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::Permissions
- 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
-
#issuer_id ⇒ Fixnum
ID of the issuer the list of permissions refer to.
-
#permissions ⇒ Array<Google::Apis::WalletobjectsV1::Permission>
The complete list of permissions for the issuer account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Permissions
constructor
A new instance of Permissions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Permissions
Returns a new instance of Permissions.
6527 6528 6529 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6527 def initialize(**args) update!(**args) end |
Instance Attribute Details
#issuer_id ⇒ Fixnum
ID of the issuer the list of permissions refer to.
Corresponds to the JSON property issuerId
6520 6521 6522 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6520 def issuer_id @issuer_id end |
#permissions ⇒ Array<Google::Apis::WalletobjectsV1::Permission>
The complete list of permissions for the issuer account.
Corresponds to the JSON property permissions
6525 6526 6527 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6525 def @permissions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6532 6533 6534 6535 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6532 def update!(**args) @issuer_id = args[:issuer_id] if args.key?(:issuer_id) @permissions = args[:permissions] if args.key?(:permissions) end |