class Google::Apis::DfareportingV2_1::AccountPermission

AccountPermissions contains information about a particular account permission. Some features of DCM 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 [String]

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 [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_1/classes.rb, line 308
def update!(**args)
  @account_profiles = args[:account_profiles] unless args[:account_profiles].nil?
  @id = args[:id] unless args[:id].nil?
  @kind = args[:kind] unless args[:kind].nil?
  @level = args[:level] unless args[:level].nil?
  @name = args[:name] unless args[:name].nil?
  @permission_group_id = args[:permission_group_id] unless args[:permission_group_id].nil?
end