Class: Google::Apis::WalletobjectsV1::Permissions

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) ⇒ Permissions

Returns a new instance of Permissions.



6889
6890
6891
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6889

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

Instance Attribute Details

#issuer_idFixnum

ID of the issuer the list of permissions refer to. Corresponds to the JSON property issuerId

Returns:

  • (Fixnum)


6882
6883
6884
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6882

def issuer_id
  @issuer_id
end

#permissionsArray<Google::Apis::WalletobjectsV1::Permission>

The complete list of permissions for the issuer account. Corresponds to the JSON property permissions



6887
6888
6889
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6887

def permissions
  @permissions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6894
6895
6896
6897
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6894

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