Skip to content

Commit 46cc153

Browse files
authored
Merge pull request #182 from stackql/feature/doc-updates
google updates
2 parents db8ccf3 + 32a538a commit 46cc153

File tree

924 files changed

+22328
-17586
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

924 files changed

+22328
-17586
lines changed

docs/google-docs/providers/google/accesscontextmanager/access_levels/index.md

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Creates, updates, deletes, gets or lists a <code>access_levels</code> resource.
4545
| <CopyableCode code="create" /> | `INSERT` | <CopyableCode code="accessPoliciesId" /> | Creates an access level. The long-running operation from this RPC has a successful status after the access level propagates to long-lasting storage. If access levels contain errors, an error response is returned for the first error encountered. |
4646
| <CopyableCode code="delete" /> | `DELETE` | <CopyableCode code="accessLevelsId, accessPoliciesId" /> | Deletes an access level based on the resource name. The long-running operation from this RPC has a successful status after the access level has been removed from long-lasting storage. |
4747
| <CopyableCode code="patch" /> | `UPDATE` | <CopyableCode code="accessLevelsId, accessPoliciesId" /> | Updates an access level. The long-running operation from this RPC has a successful status after the changes to the access level propagate to long-lasting storage. If access levels contain errors, an error response is returned for the first error encountered. |
48-
| <CopyableCode code="replace_all" /> | `EXEC` | <CopyableCode code="accessPoliciesId" /> | Replaces all existing access levels in an access policy with the access levels provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. If the replacement contains errors, an error response is returned for the first error encountered. Upon error, the replacement is cancelled, and existing access levels are not affected. The Operation.response field contains ReplaceAccessLevelsResponse. Removing access levels contained in existing service perimeters result in an error. |
48+
| <CopyableCode code="replace_all" /> | `REPLACE` | <CopyableCode code="accessPoliciesId" /> | Replaces all existing access levels in an access policy with the access levels provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. If the replacement contains errors, an error response is returned for the first error encountered. Upon error, the replacement is cancelled, and existing access levels are not affected. The Operation.response field contains ReplaceAccessLevelsResponse. Removing access levels contained in existing service perimeters result in an error. |
4949

5050
## `SELECT` examples
5151

@@ -98,19 +98,18 @@ SELECT
9898
<TabItem value="manifest">
9999

100100
```yaml
101-
resources:
102-
- name: instance
103-
props:
104-
- name: name
105-
value: '{{ name }}'
106-
- name: title
107-
value: '{{ title }}'
108-
- name: description
109-
value: '{{ description }}'
110-
- name: basic
111-
value: '{{ basic }}'
112-
- name: custom
113-
value: '{{ custom }}'
101+
- name: your_resource_model_name
102+
props:
103+
- name: name
104+
value: '{{ name }}'
105+
- name: title
106+
value: '{{ title }}'
107+
- name: description
108+
value: '{{ description }}'
109+
- name: basic
110+
value: '{{ basic }}'
111+
- name: custom
112+
value: '{{ custom }}'
114113

115114
```
116115
</TabItem>
@@ -134,6 +133,20 @@ accessLevelsId = '{{ accessLevelsId }}'
134133
AND accessPoliciesId = '{{ accessPoliciesId }}';
135134
```
136135

136+
## `UPDATE` example
137+
138+
Replaces all fields in the specified <code>access_levels</code> resource.
139+
140+
```sql
141+
/*+ update */
142+
REPLACE google.accesscontextmanager.access_levels
143+
SET
144+
accessLevels = '{{ accessLevels }}',
145+
etag = '{{ etag }}'
146+
WHERE
147+
accessPoliciesId = '{{ accessPoliciesId }}';
148+
```
149+
137150
## `DELETE` example
138151

139152
Deletes the specified <code>access_levels</code> resource.

docs/google-docs/providers/google/accesscontextmanager/access_policies/index.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,18 @@ SELECT
9797
<TabItem value="manifest">
9898

9999
```yaml
100-
resources:
101-
- name: instance
102-
props:
103-
- name: name
104-
value: '{{ name }}'
105-
- name: parent
106-
value: '{{ parent }}'
107-
- name: title
108-
value: '{{ title }}'
109-
- name: scopes
110-
value: '{{ scopes }}'
111-
- name: etag
112-
value: '{{ etag }}'
100+
- name: your_resource_model_name
101+
props:
102+
- name: name
103+
value: '{{ name }}'
104+
- name: parent
105+
value: '{{ parent }}'
106+
- name: title
107+
value: '{{ title }}'
108+
- name: scopes
109+
value: '{{ scopes }}'
110+
- name: etag
111+
value: '{{ etag }}'
113112

114113
```
115114
</TabItem>

docs/google-docs/providers/google/accesscontextmanager/access_policies_iam_policies/index.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Creates, updates, deletes, gets or lists a <code>access_policies_iam_policies</c
3939
| Name | Accessible by | Required Params | Description |
4040
|:-----|:--------------|:----------------|:------------|
4141
| <CopyableCode code="get_iam_policy" /> | `SELECT` | <CopyableCode code="accessPoliciesId" /> | Gets the IAM policy for the specified Access Context Manager access policy. |
42-
| <CopyableCode code="set_iam_policy" /> | `EXEC` | <CopyableCode code="accessPoliciesId" /> | Sets the IAM policy for the specified Access Context Manager access policy. This method replaces the existing IAM policy on the access policy. The IAM policy controls the set of users who can perform specific operations on the Access Context Manager access policy. |
42+
| <CopyableCode code="set_iam_policy" /> | `REPLACE` | <CopyableCode code="accessPoliciesId" /> | Sets the IAM policy for the specified Access Context Manager access policy. This method replaces the existing IAM policy on the access policy. The IAM policy controls the set of users who can perform specific operations on the Access Context Manager access policy. |
4343
| <CopyableCode code="test_iam_permissions" /> | `EXEC` | <CopyableCode code="accessPoliciesId" /> | Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an AccessPolicy, AccessLevel, or ServicePerimeter. This method does not support other resources. |
4444

4545
## `SELECT` examples
@@ -54,3 +54,17 @@ role
5454
FROM google.accesscontextmanager.access_policies_iam_policies
5555
WHERE accessPoliciesId = '{{ accessPoliciesId }}';
5656
```
57+
58+
## `UPDATE` example
59+
60+
Replaces all fields in the specified <code>access_policies_iam_policies</code> resource.
61+
62+
```sql
63+
/*+ update */
64+
REPLACE google.accesscontextmanager.access_policies_iam_policies
65+
SET
66+
policy = '{{ policy }}',
67+
updateMask = '{{ updateMask }}'
68+
WHERE
69+
accessPoliciesId = '{{ accessPoliciesId }}';
70+
```

docs/google-docs/providers/google/accesscontextmanager/authorized_orgs_descs/index.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,18 @@ SELECT
9797
<TabItem value="manifest">
9898

9999
```yaml
100-
resources:
101-
- name: instance
102-
props:
103-
- name: name
104-
value: '{{ name }}'
105-
- name: authorizationType
106-
value: '{{ authorizationType }}'
107-
- name: assetType
108-
value: '{{ assetType }}'
109-
- name: authorizationDirection
110-
value: '{{ authorizationDirection }}'
111-
- name: orgs
112-
value: '{{ orgs }}'
100+
- name: your_resource_model_name
101+
props:
102+
- name: name
103+
value: '{{ name }}'
104+
- name: authorizationType
105+
value: '{{ authorizationType }}'
106+
- name: assetType
107+
value: '{{ assetType }}'
108+
- name: authorizationDirection
109+
value: '{{ authorizationDirection }}'
110+
- name: orgs
111+
value: '{{ orgs }}'
113112

114113
```
115114
</TabItem>

docs/google-docs/providers/google/accesscontextmanager/gcp_user_access_bindings/index.md

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -105,23 +105,22 @@ SELECT
105105
<TabItem value="manifest">
106106

107107
```yaml
108-
resources:
109-
- name: instance
110-
props:
111-
- name: name
112-
value: '{{ name }}'
113-
- name: groupKey
114-
value: '{{ groupKey }}'
115-
- name: accessLevels
116-
value: '{{ accessLevels }}'
117-
- name: dryRunAccessLevels
118-
value: '{{ dryRunAccessLevels }}'
119-
- name: reauthSettings
120-
value: '{{ reauthSettings }}'
121-
- name: restrictedClientApplications
122-
value: '{{ restrictedClientApplications }}'
123-
- name: scopedAccessSettings
124-
value: '{{ scopedAccessSettings }}'
108+
- name: your_resource_model_name
109+
props:
110+
- name: name
111+
value: '{{ name }}'
112+
- name: groupKey
113+
value: '{{ groupKey }}'
114+
- name: accessLevels
115+
value: '{{ accessLevels }}'
116+
- name: dryRunAccessLevels
117+
value: '{{ dryRunAccessLevels }}'
118+
- name: reauthSettings
119+
value: '{{ reauthSettings }}'
120+
- name: restrictedClientApplications
121+
value: '{{ restrictedClientApplications }}'
122+
- name: scopedAccessSettings
123+
value: '{{ scopedAccessSettings }}'
125124

126125
```
127126
</TabItem>

docs/google-docs/providers/google/accesscontextmanager/service_perimeters/index.md

Lines changed: 31 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ Creates, updates, deletes, gets or lists a <code>service_perimeters</code> resou
4747
| <CopyableCode code="create" /> | `INSERT` | <CopyableCode code="accessPoliciesId" /> | Creates a service perimeter. The long-running operation from this RPC has a successful status after the service perimeter propagates to long-lasting storage. If a service perimeter contains errors, an error response is returned for the first error encountered. |
4848
| <CopyableCode code="delete" /> | `DELETE` | <CopyableCode code="accessPoliciesId, servicePerimetersId" /> | Deletes a service perimeter based on the resource name. The long-running operation from this RPC has a successful status after the service perimeter is removed from long-lasting storage. |
4949
| <CopyableCode code="patch" /> | `UPDATE` | <CopyableCode code="accessPoliciesId, servicePerimetersId" /> | Updates a service perimeter. The long-running operation from this RPC has a successful status after the service perimeter propagates to long-lasting storage. If a service perimeter contains errors, an error response is returned for the first error encountered. |
50+
| <CopyableCode code="replace_all" /> | `REPLACE` | <CopyableCode code="accessPoliciesId" /> | Replace all existing service perimeters in an access policy with the service perimeters provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. Replacements containing errors result in an error response for the first error encountered. Upon an error, replacement are cancelled and existing service perimeters are not affected. The Operation.response field contains ReplaceServicePerimetersResponse. |
5051
| <CopyableCode code="commit" /> | `EXEC` | <CopyableCode code="accessPoliciesId" /> | Commits the dry-run specification for all the service perimeters in an access policy. A commit operation on a service perimeter involves copying its `spec` field to the `status` field of the service perimeter. Only service perimeters with `use_explicit_dry_run_spec` field set to true are affected by a commit operation. The long-running operation from this RPC has a successful status after the dry-run specifications for all the service perimeters have been committed. If a commit fails, it causes the long-running operation to return an error response and the entire commit operation is cancelled. When successful, the Operation.response field contains CommitServicePerimetersResponse. The `dry_run` and the `spec` fields are cleared after a successful commit operation. |
51-
| <CopyableCode code="replace_all" /> | `EXEC` | <CopyableCode code="accessPoliciesId" /> | Replace all existing service perimeters in an access policy with the service perimeters provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. Replacements containing errors result in an error response for the first error encountered. Upon an error, replacement are cancelled and existing service perimeters are not affected. The Operation.response field contains ReplaceServicePerimetersResponse. |
5252

5353
## `SELECT` examples
5454

@@ -107,23 +107,22 @@ true|false
107107
<TabItem value="manifest">
108108

109109
```yaml
110-
resources:
111-
- name: instance
112-
props:
113-
- name: name
114-
value: '{{ name }}'
115-
- name: title
116-
value: '{{ title }}'
117-
- name: description
118-
value: '{{ description }}'
119-
- name: perimeterType
120-
value: '{{ perimeterType }}'
121-
- name: status
122-
value: '{{ status }}'
123-
- name: spec
124-
value: '{{ spec }}'
125-
- name: useExplicitDryRunSpec
126-
value: '{{ useExplicitDryRunSpec }}'
110+
- name: your_resource_model_name
111+
props:
112+
- name: name
113+
value: '{{ name }}'
114+
- name: title
115+
value: '{{ title }}'
116+
- name: description
117+
value: '{{ description }}'
118+
- name: perimeterType
119+
value: '{{ perimeterType }}'
120+
- name: status
121+
value: '{{ status }}'
122+
- name: spec
123+
value: '{{ spec }}'
124+
- name: useExplicitDryRunSpec
125+
value: '{{ useExplicitDryRunSpec }}'
127126

128127
```
129128
</TabItem>
@@ -149,6 +148,20 @@ accessPoliciesId = '{{ accessPoliciesId }}'
149148
AND servicePerimetersId = '{{ servicePerimetersId }}';
150149
```
151150

151+
## `UPDATE` example
152+
153+
Replaces all fields in the specified <code>service_perimeters</code> resource.
154+
155+
```sql
156+
/*+ update */
157+
REPLACE google.accesscontextmanager.service_perimeters
158+
SET
159+
servicePerimeters = '{{ servicePerimeters }}',
160+
etag = '{{ etag }}'
161+
WHERE
162+
accessPoliciesId = '{{ accessPoliciesId }}';
163+
```
164+
152165
## `DELETE` example
153166

154167
Deletes the specified <code>service_perimeters</code> resource.

docs/google-docs/providers/google/aiplatform/artifacts/index.md

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -133,33 +133,32 @@ SELECT
133133
<TabItem value="manifest">
134134

135135
```yaml
136-
resources:
137-
- name: instance
138-
props:
139-
- name: etag
140-
value: '{{ etag }}'
141-
- name: schemaTitle
142-
value: '{{ schemaTitle }}'
143-
- name: name
144-
value: '{{ name }}'
145-
- name: metadata
146-
value: '{{ metadata }}'
147-
- name: updateTime
148-
value: '{{ updateTime }}'
149-
- name: labels
150-
value: '{{ labels }}'
151-
- name: schemaVersion
152-
value: '{{ schemaVersion }}'
153-
- name: state
154-
value: '{{ state }}'
155-
- name: displayName
156-
value: '{{ displayName }}'
157-
- name: description
158-
value: '{{ description }}'
159-
- name: uri
160-
value: '{{ uri }}'
161-
- name: createTime
162-
value: '{{ createTime }}'
136+
- name: your_resource_model_name
137+
props:
138+
- name: etag
139+
value: '{{ etag }}'
140+
- name: schemaTitle
141+
value: '{{ schemaTitle }}'
142+
- name: name
143+
value: '{{ name }}'
144+
- name: metadata
145+
value: '{{ metadata }}'
146+
- name: updateTime
147+
value: '{{ updateTime }}'
148+
- name: labels
149+
value: '{{ labels }}'
150+
- name: schemaVersion
151+
value: '{{ schemaVersion }}'
152+
- name: state
153+
value: '{{ state }}'
154+
- name: displayName
155+
value: '{{ displayName }}'
156+
- name: description
157+
value: '{{ description }}'
158+
- name: uri
159+
value: '{{ uri }}'
160+
- name: createTime
161+
value: '{{ createTime }}'
163162

164163
```
165164
</TabItem>

0 commit comments

Comments
 (0)