policies_policy
Creates, updates, deletes, gets or lists a policies_policy
resource.
Overview
Name | policies_policy |
Type | Resource |
Id | google.iamv2beta.policies_policy |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
create_policy | INSERT | policiesId, policiesId1 | Creates a policy. |
INSERT
example
Use the following StackQL query and manifest file to create a new policies_policy
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.iamv2beta.policies_policy (
policiesId,
policiesId1,
name,
uid,
displayName,
annotations,
etag,
rules
)
SELECT
'{{ policiesId }}',
'{{ policiesId1 }}',
'{{ name }}',
'{{ uid }}',
'{{ displayName }}',
'{{ annotations }}',
'{{ etag }}',
'{{ rules }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: uid
value: string
- name: kind
value: string
- name: displayName
value: string
- name: annotations
value: object
- name: etag
value: string
- name: createTime
value: string
- name: updateTime
value: string
- name: deleteTime
value: string
- name: rules
value:
- - name: denyRule
value:
- name: deniedPrincipals
value:
- string
- name: exceptionPrincipals
value:
- string
- name: deniedPermissions
value:
- string
- name: exceptionPermissions
value:
- string
- name: denialCondition
value:
- name: expression
value: string
- name: title
value: string
- name: description
value: string
- name: location
value: string
- name: description
value: string