Class: Google::Apis::DfareportingV2_8::AccountPermission
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DfareportingV2_8::AccountPermission
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/dfareporting_v2_8/classes.rb,
generated/google/apis/dfareporting_v2_8/representations.rb,
generated/google/apis/dfareporting_v2_8/representations.rb 
Overview
AccountPermissions contains information about a particular account permission. Some features of Campaign Manager require an account permission to be present in the account.
Instance Attribute Summary collapse
- 
  
    
      #account_profiles  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Account profiles associated with this account permission.
 - 
  
    
      #id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
ID of this account permission.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Identifies what kind of resource this is.
 - 
  
    
      #level  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Administrative level required to enable this account permission.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Name of this account permission.
 - 
  
    
      #permission_group_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Permission group of this account permission.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AccountPermission 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AccountPermission.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountPermission
Returns a new instance of AccountPermission
      313 314 315  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 313 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#account_profiles ⇒ Array<String>
Account profiles associated with this account permission. Possible values are:
- "ACCOUNT_PROFILE_BASIC"
 - "ACCOUNT_PROFILE_STANDARD"
Corresponds to the JSON property 
accountProfiles 
      285 286 287  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 285 def account_profiles @account_profiles end  | 
  
#id ⇒ Fixnum
ID of this account permission.
Corresponds to the JSON property id
      290 291 292  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 290 def id @id end  | 
  
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#accountPermission".
Corresponds to the JSON property kind
      296 297 298  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 296 def kind @kind end  | 
  
#level ⇒ String
Administrative level required to enable this account permission.
Corresponds to the JSON property level
      301 302 303  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 301 def level @level end  | 
  
#name ⇒ String
Name of this account permission.
Corresponds to the JSON property name
      306 307 308  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 306 def name @name end  | 
  
#permission_group_id ⇒ Fixnum
Permission group of this account permission.
Corresponds to the JSON property permissionGroupId
      311 312 313  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 311 def @permission_group_id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      318 319 320 321 322 323 324 325  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 318 def update!(**args) @account_profiles = args[:account_profiles] if args.key?(:account_profiles) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @level = args[:level] if args.key?(:level) @name = args[:name] if args.key?(:name) @permission_group_id = args[:permission_group_id] if args.key?(:permission_group_id) end  |