policyName property

String? policyName
getter/setter pair

The name of the policy initially applied to the enrolled device, in the form enterprises/{enterpriseId}/policies/{policyId}.

If not specified, the policy_name for the device’s user is applied. If user_name is also not specified, enterprises/{enterpriseId}/policies/default is applied by default. When updating this field, you can specify only the policyId as long as the policyId doesn’t contain any slashes. The rest of the policy name will be inferred.

Implementation

core.String? policyName;