GoogleApi.OrgPolicy.V2.Model.GoogleCloudOrgpolicyV2Policy (google_api_org_policy v0.2.0) View Source
Defines a Cloud Organization Policy
which is used to specify Constraints
for configurations of Cloud Platform resources.
Attributes
-
name
(type:String.t
, default:nil
) - 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. -
spec
(type:GoogleApi.OrgPolicy.V2.Model.GoogleCloudOrgpolicyV2PolicySpec.t
, default:nil
) - Basic information about the Organization Policy.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.OrgPolicy.V2.Model.GoogleCloudOrgpolicyV2Policy{ name: String.t() | nil, spec: GoogleApi.OrgPolicy.V2.Model.GoogleCloudOrgpolicyV2PolicySpec.t() | nil }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.