class Google::Apis::DfareportingV3_3::AccountPermission

AccountPermissions contains information about a particular account permission. Some features of Campaign Manager require an account permission to be present in the account.

Attributes

account_profiles[RW]

Account profiles associated with this account permission. Possible values are:

  • “ACCOUNT_PROFILE_BASIC” - “ACCOUNT_PROFILE_STANDARD”

Corresponds to the JSON property `accountProfiles` @return [Array<String>]

id[RW]

ID of this account permission. Corresponds to the JSON property `id` @return [Fixnum]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#accountPermission”. Corresponds to the JSON property `kind` @return [String]

level[RW]

Administrative level required to enable this account permission. Corresponds to the JSON property `level` @return [String]

name[RW]

Name of this account permission. Corresponds to the JSON property `name` @return [String]

permission_group_id[RW]

Permission group of this account permission. Corresponds to the JSON property `permissionGroupId` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_3/classes.rb, line 258
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_3/classes.rb, line 263
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