Get Policy Result
data class GetPolicyResult(val alternate: GoogleCloudOrgpolicyV2AlternatePolicySpecResponse, val dryRunSpec: GoogleCloudOrgpolicyV2PolicySpecResponse, val name: String, val spec: GoogleCloudOrgpolicyV2PolicySpecResponse)
Constructors
Link copied to clipboard
fun GetPolicyResult(alternate: GoogleCloudOrgpolicyV2AlternatePolicySpecResponse, dryRunSpec: GoogleCloudOrgpolicyV2PolicySpecResponse, name: String, spec: GoogleCloudOrgpolicyV2PolicySpecResponse)
Types
Properties
Link copied to clipboard
Link copied to clipboard
Immutable. The resource name of the policy. Must be one of the following forms, where constraint_name is the name of the constraint which this policy configures: * projects/{project_number}/policies/{constraint_name}
* folders/{folder_id}/policies/{constraint_name}
* organizations/{organization_id}/policies/{constraint_name}
For example, "projects/123/policies/compute.disableSerialPortAccess". Note: projects/{project_id}/policies/{constraint_name}
is also an acceptable name for API requests, but responses will return the name using the equivalent project number.
Link copied to clipboard