Skip to content

Commit

Permalink
google doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyaven committed Sep 19, 2024
1 parent 771711f commit 5e49b93
Show file tree
Hide file tree
Showing 1,617 changed files with 58,958 additions and 30,950 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ preferredRequestExpirationDays,
requestScopeMaxWidthPreference,
requireCustomerVisibleJustification
FROM google.accessapproval.access_approval_settings
WHERE foldersId = '{{ foldersId }}';
WHERE foldersId = '{{ foldersId }}';
```

## `UPDATE` example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ requestedReason,
requestedResourceName,
requestedResourceProperties
FROM google.accessapproval.approval_requests
WHERE foldersId = '{{ foldersId }}';
WHERE foldersId = '{{ foldersId }}';
```
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ SELECT
name,
accountEmail
FROM google.accessapproval.service_account
WHERE foldersId = '{{ foldersId }}';
WHERE foldersId = '{{ foldersId }}';
```
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ basic,
custom,
title
FROM google.accesscontextmanager.access_levels
WHERE accessPoliciesId = '{{ accessPoliciesId }}';
WHERE accessPoliciesId = '{{ accessPoliciesId }}';
```

## `INSERT` example
Expand Down Expand Up @@ -98,48 +98,77 @@ SELECT
<TabItem value="manifest">

```yaml
name: string
title: string
description: string
basic:
conditions:
- ipSubnetworks:
- type: string
devicePolicy:
requireScreenlock: boolean
allowedEncryptionStatuses:
- type: string
enumDescriptions: string
enum: string
osConstraints:
- osType: string
minimumVersion: string
requireVerifiedChromeOs: boolean
allowedDeviceManagementLevels:
- type: string
enumDescriptions: string
enum: string
requireAdminApproval: boolean
requireCorpOwned: boolean
requiredAccessLevels:
- type: string
negate: boolean
members:
- type: string
regions:
- type: string
vpcNetworkSources:
- vpcSubnetwork:
network: string
vpcIpSubnetworks:
- type: string
combiningFunction: string
custom:
expr:
expression: string
title: string
description: string
location: string
- name: your_resource_model_name
props:
- name: name
value: string
- name: title
value: string
- name: description
value: string
- name: basic
value:
- name: conditions
value:
- - name: ipSubnetworks
value:
- string
- name: devicePolicy
value:
- name: requireScreenlock
value: boolean
- name: allowedEncryptionStatuses
value:
- string
- name: osConstraints
value:
- - name: osType
value: string
- name: minimumVersion
value: string
- name: requireVerifiedChromeOs
value: boolean
- name: allowedDeviceManagementLevels
value:
- string
- name: requireAdminApproval
value: boolean
- name: requireCorpOwned
value: boolean
- name: requiredAccessLevels
value:
- string
- name: negate
value: boolean
- name: members
value:
- string
- name: regions
value:
- string
- name: vpcNetworkSources
value:
- - name: vpcSubnetwork
value:
- name: network
value: string
- name: vpcIpSubnetworks
value:
- string
- name: combiningFunction
value: string
- name: custom
value:
- name: expr
value:
- name: expression
value: string
- name: title
value: string
- name: description
value: string
- name: location
value: string

```
</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ parent,
scopes,
title
FROM google.accesscontextmanager.access_policies
WHERE = '{{ }}';
;
```

## `INSERT` example
Expand All @@ -77,14 +77,12 @@ Use the following StackQL query and manifest file to create a new <code>access_p
```sql
/*+ create */
INSERT INTO google.accesscontextmanager.access_policies (
,
name,
parent,
title,
scopes
)
SELECT
'{{ }}',
'{{ name }}',
'{{ parent }}',
'{{ title }}',
Expand All @@ -95,12 +93,19 @@ SELECT
<TabItem value="manifest">

```yaml
name: string
parent: string
title: string
scopes:
- type: string
etag: string
- name: your_resource_model_name
props:
- name: name
value: string
- name: parent
value: string
- name: title
value: string
- name: scopes
value:
- string
- name: etag
value: string

```
</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ condition,
members,
role
FROM google.accesscontextmanager.access_policies_iam_policies
WHERE accessPoliciesId = '{{ accessPoliciesId }}';
WHERE accessPoliciesId = '{{ accessPoliciesId }}';
```

## `REPLACE` example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ authorizationDirection,
authorizationType,
orgs
FROM google.accesscontextmanager.authorized_orgs_descs
WHERE accessPoliciesId = '{{ accessPoliciesId }}';
WHERE accessPoliciesId = '{{ accessPoliciesId }}';
```

## `INSERT` example
Expand Down Expand Up @@ -97,12 +97,19 @@ SELECT
<TabItem value="manifest">

```yaml
name: string
authorizationType: string
assetType: string
authorizationDirection: string
orgs:
- type: string
- name: your_resource_model_name
props:
- name: name
value: string
- name: authorizationType
value: string
- name: assetType
value: string
- name: authorizationDirection
value: string
- name: orgs
value:
- string

```
</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ reauthSettings,
restrictedClientApplications,
scopedAccessSettings
FROM google.accesscontextmanager.gcp_user_access_bindings
WHERE organizationsId = '{{ organizationsId }}';
WHERE organizationsId = '{{ organizationsId }}';
```

## `INSERT` example
Expand Down Expand Up @@ -105,30 +105,53 @@ SELECT
<TabItem value="manifest">

```yaml
name: string
groupKey: string
accessLevels:
- type: string
dryRunAccessLevels:
- type: string
reauthSettings:
reauthMethod: string
sessionLength: string
maxInactivity: string
useOidcMaxAge: boolean
sessionLengthEnabled: boolean
restrictedClientApplications:
- clientId: string
name: string
scopedAccessSettings:
- scope:
clientScope:
restrictedClientApplication:
clientId: string
name: string
activeSettings:
accessLevels:
- type: string
- name: your_resource_model_name
props:
- name: name
value: string
- name: groupKey
value: string
- name: accessLevels
value:
- string
- name: dryRunAccessLevels
value:
- string
- name: reauthSettings
value:
- name: reauthMethod
value: string
- name: sessionLength
value: string
- name: maxInactivity
value: string
- name: useOidcMaxAge
value: boolean
- name: sessionLengthEnabled
value: boolean
- name: restrictedClientApplications
value:
- - name: clientId
value: string
- name: name
value: string
- name: scopedAccessSettings
value:
- - name: scope
value:
- name: clientScope
value:
- name: restrictedClientApplication
value:
- name: clientId
value: string
- name: name
value: string
- name: activeSettings
value:
- name: accessLevels
value:
- string

```
</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ error,
metadata,
response
FROM google.accesscontextmanager.operations
WHERE = '{{ }}';
;
```

## `DELETE` example
Expand Down
Loading

0 comments on commit 5e49b93

Please sign in to comment.