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 associated with this account permission. Possible values are:
-
“ACCOUNT_PROFILE_BASIC”
-
“ACCOUNT_PROFILE_STANDARD”
Corresponds to the JSON property `accountProfiles` @return [Array<String>]
ID of this account permission. Corresponds to the JSON property `id` @return [String]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#accountPermission”. Corresponds to the JSON property `kind` @return [String]
Administrative level required to enable this account permission. Corresponds to the JSON property `level` @return [String]
Name of this account permission. Corresponds to the JSON property `name` @return [String]
Permission group of this account permission. Corresponds to the JSON property `permissionGroupId` @return [String]
Public Class Methods
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 303 def initialize(**args) update!(**args) end
Public Instance Methods
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