Skip to content

Commit aa38de7

Browse files
yoshi-automationsofisl
authored andcommittedSep 26, 2023
feat(dataform): update the API
#### dataform:v1beta1 The following keys were added: - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.description - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.flatPath - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.httpMethod - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.id - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.parameterOrder - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.parameters.options.requestedPolicyVersion.description - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.parameters.options.requestedPolicyVersion.format - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.parameters.options.requestedPolicyVersion.location - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.parameters.options.requestedPolicyVersion.type - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.path - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.response.$ref - resources.projects.resources.locations.resources.collections.methods.getIamPolicy.scopes - resources.projects.resources.locations.resources.collections.methods.setIamPolicy.description - resources.projects.resources.locations.resources.collections.methods.setIamPolicy.flatPath - resources.projects.resources.locations.resources.collections.methods.setIamPolicy.httpMethod - resources.projects.resources.locations.resources.collections.methods.setIamPolicy.id - resources.projects.resources.locations.resources.collections.methods.setIamPolicy.parameterOrder - resources.projects.resources.locations.resources.collections.methods.setIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.collections.methods.setIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.collections.methods.setIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.collections.methods.setIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.collections.methods.setIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.collections.methods.setIamPolicy.path - resources.projects.resources.locations.resources.collections.methods.setIamPolicy.request.$ref - resources.projects.resources.locations.resources.collections.methods.setIamPolicy.response.$ref - resources.projects.resources.locations.resources.collections.methods.setIamPolicy.scopes - resources.projects.resources.locations.resources.collections.methods.testIamPermissions.description - resources.projects.resources.locations.resources.collections.methods.testIamPermissions.flatPath - resources.projects.resources.locations.resources.collections.methods.testIamPermissions.httpMethod - resources.projects.resources.locations.resources.collections.methods.testIamPermissions.id - resources.projects.resources.locations.resources.collections.methods.testIamPermissions.parameterOrder - resources.projects.resources.locations.resources.collections.methods.testIamPermissions.parameters.resource.description - resources.projects.resources.locations.resources.collections.methods.testIamPermissions.parameters.resource.location - resources.projects.resources.locations.resources.collections.methods.testIamPermissions.parameters.resource.pattern - resources.projects.resources.locations.resources.collections.methods.testIamPermissions.parameters.resource.required - resources.projects.resources.locations.resources.collections.methods.testIamPermissions.parameters.resource.type - resources.projects.resources.locations.resources.collections.methods.testIamPermissions.path - resources.projects.resources.locations.resources.collections.methods.testIamPermissions.request.$ref - resources.projects.resources.locations.resources.collections.methods.testIamPermissions.response.$ref - resources.projects.resources.locations.resources.collections.methods.testIamPermissions.scopes The following keys were changed: - schemas.CommitRepositoryChangesRequest.properties.fileOperations.description
1 parent edc8822 commit aa38de7

File tree

2 files changed

+412
-3
lines changed

2 files changed

+412
-3
lines changed
 

‎discovery/dataform-v1beta1.json

+93-2
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,97 @@
176176
}
177177
},
178178
"resources": {
179+
"collections": {
180+
"methods": {
181+
"getIamPolicy": {
182+
"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
183+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:getIamPolicy",
184+
"httpMethod": "GET",
185+
"id": "dataform.projects.locations.collections.getIamPolicy",
186+
"parameterOrder": [
187+
"resource"
188+
],
189+
"parameters": {
190+
"options.requestedPolicyVersion": {
191+
"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
192+
"format": "int32",
193+
"location": "query",
194+
"type": "integer"
195+
},
196+
"resource": {
197+
"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
198+
"location": "path",
199+
"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
200+
"required": true,
201+
"type": "string"
202+
}
203+
},
204+
"path": "v1beta1/{+resource}:getIamPolicy",
205+
"response": {
206+
"$ref": "Policy"
207+
},
208+
"scopes": [
209+
"https://www.googleapis.com/auth/cloud-platform"
210+
]
211+
},
212+
"setIamPolicy": {
213+
"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
214+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:setIamPolicy",
215+
"httpMethod": "POST",
216+
"id": "dataform.projects.locations.collections.setIamPolicy",
217+
"parameterOrder": [
218+
"resource"
219+
],
220+
"parameters": {
221+
"resource": {
222+
"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
223+
"location": "path",
224+
"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
225+
"required": true,
226+
"type": "string"
227+
}
228+
},
229+
"path": "v1beta1/{+resource}:setIamPolicy",
230+
"request": {
231+
"$ref": "SetIamPolicyRequest"
232+
},
233+
"response": {
234+
"$ref": "Policy"
235+
},
236+
"scopes": [
237+
"https://www.googleapis.com/auth/cloud-platform"
238+
]
239+
},
240+
"testIamPermissions": {
241+
"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
242+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}:testIamPermissions",
243+
"httpMethod": "POST",
244+
"id": "dataform.projects.locations.collections.testIamPermissions",
245+
"parameterOrder": [
246+
"resource"
247+
],
248+
"parameters": {
249+
"resource": {
250+
"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
251+
"location": "path",
252+
"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$",
253+
"required": true,
254+
"type": "string"
255+
}
256+
},
257+
"path": "v1beta1/{+resource}:testIamPermissions",
258+
"request": {
259+
"$ref": "TestIamPermissionsRequest"
260+
},
261+
"response": {
262+
"$ref": "TestIamPermissionsResponse"
263+
},
264+
"scopes": [
265+
"https://www.googleapis.com/auth/cloud-platform"
266+
]
267+
}
268+
}
269+
},
179270
"repositories": {
180271
"methods": {
181272
"commit": {
@@ -1961,7 +2052,7 @@
19612052
}
19622053
}
19632054
},
1964-
"revision": "20230909",
2055+
"revision": "20230916",
19652056
"rootUrl": "https://dataform.googleapis.com/",
19662057
"schemas": {
19672058
"Assertion": {
@@ -2174,7 +2265,7 @@
21742265
"additionalProperties": {
21752266
"$ref": "FileOperation"
21762267
},
2177-
"description": "A map to the path of the file to the operation. The path is the ull file path including filename, from repository root.",
2268+
"description": "A map to the path of the file to the operation. The path is the full file path including filename, from repository root.",
21782269
"type": "object"
21792270
},
21802271
"requiredHeadCommitSha": {

0 commit comments

Comments
 (0)
Please sign in to comment.