Skip to content

Commit c7c3605

Browse files
feat(containeranalysis): update the API
#### containeranalysis:v1beta1 The following keys were added: - resources.projects.resources.locations.resources.notes.methods.getIamPolicy.description - resources.projects.resources.locations.resources.notes.methods.getIamPolicy.flatPath - resources.projects.resources.locations.resources.notes.methods.getIamPolicy.httpMethod - resources.projects.resources.locations.resources.notes.methods.getIamPolicy.id - resources.projects.resources.locations.resources.notes.methods.getIamPolicy.parameterOrder - resources.projects.resources.locations.resources.notes.methods.getIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.notes.methods.getIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.notes.methods.getIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.notes.methods.getIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.notes.methods.getIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.notes.methods.getIamPolicy.path - resources.projects.resources.locations.resources.notes.methods.getIamPolicy.request.$ref - resources.projects.resources.locations.resources.notes.methods.getIamPolicy.response.$ref - resources.projects.resources.locations.resources.notes.methods.getIamPolicy.scopes - resources.projects.resources.locations.resources.notes.methods.setIamPolicy.description - resources.projects.resources.locations.resources.notes.methods.setIamPolicy.flatPath - resources.projects.resources.locations.resources.notes.methods.setIamPolicy.httpMethod - resources.projects.resources.locations.resources.notes.methods.setIamPolicy.id - resources.projects.resources.locations.resources.notes.methods.setIamPolicy.parameterOrder - resources.projects.resources.locations.resources.notes.methods.setIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.notes.methods.setIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.notes.methods.setIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.notes.methods.setIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.notes.methods.setIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.notes.methods.setIamPolicy.path - resources.projects.resources.locations.resources.notes.methods.setIamPolicy.request.$ref - resources.projects.resources.locations.resources.notes.methods.setIamPolicy.response.$ref - resources.projects.resources.locations.resources.notes.methods.setIamPolicy.scopes - resources.projects.resources.locations.resources.notes.methods.testIamPermissions.description - resources.projects.resources.locations.resources.notes.methods.testIamPermissions.flatPath - resources.projects.resources.locations.resources.notes.methods.testIamPermissions.httpMethod - resources.projects.resources.locations.resources.notes.methods.testIamPermissions.id - resources.projects.resources.locations.resources.notes.methods.testIamPermissions.parameterOrder - resources.projects.resources.locations.resources.notes.methods.testIamPermissions.parameters.resource.description - resources.projects.resources.locations.resources.notes.methods.testIamPermissions.parameters.resource.location - resources.projects.resources.locations.resources.notes.methods.testIamPermissions.parameters.resource.pattern - resources.projects.resources.locations.resources.notes.methods.testIamPermissions.parameters.resource.required - resources.projects.resources.locations.resources.notes.methods.testIamPermissions.parameters.resource.type - resources.projects.resources.locations.resources.notes.methods.testIamPermissions.path - resources.projects.resources.locations.resources.notes.methods.testIamPermissions.request.$ref - resources.projects.resources.locations.resources.notes.methods.testIamPermissions.response.$ref - resources.projects.resources.locations.resources.notes.methods.testIamPermissions.scopes - resources.projects.resources.locations.resources.occurrences.methods.getIamPolicy.description - resources.projects.resources.locations.resources.occurrences.methods.getIamPolicy.flatPath - resources.projects.resources.locations.resources.occurrences.methods.getIamPolicy.httpMethod - resources.projects.resources.locations.resources.occurrences.methods.getIamPolicy.id - resources.projects.resources.locations.resources.occurrences.methods.getIamPolicy.parameterOrder - resources.projects.resources.locations.resources.occurrences.methods.getIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.occurrences.methods.getIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.occurrences.methods.getIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.occurrences.methods.getIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.occurrences.methods.getIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.occurrences.methods.getIamPolicy.path - resources.projects.resources.locations.resources.occurrences.methods.getIamPolicy.request.$ref - resources.projects.resources.locations.resources.occurrences.methods.getIamPolicy.response.$ref - resources.projects.resources.locations.resources.occurrences.methods.getIamPolicy.scopes - resources.projects.resources.locations.resources.occurrences.methods.setIamPolicy.description - resources.projects.resources.locations.resources.occurrences.methods.setIamPolicy.flatPath - resources.projects.resources.locations.resources.occurrences.methods.setIamPolicy.httpMethod - resources.projects.resources.locations.resources.occurrences.methods.setIamPolicy.id - resources.projects.resources.locations.resources.occurrences.methods.setIamPolicy.parameterOrder - resources.projects.resources.locations.resources.occurrences.methods.setIamPolicy.parameters.resource.description - resources.projects.resources.locations.resources.occurrences.methods.setIamPolicy.parameters.resource.location - resources.projects.resources.locations.resources.occurrences.methods.setIamPolicy.parameters.resource.pattern - resources.projects.resources.locations.resources.occurrences.methods.setIamPolicy.parameters.resource.required - resources.projects.resources.locations.resources.occurrences.methods.setIamPolicy.parameters.resource.type - resources.projects.resources.locations.resources.occurrences.methods.setIamPolicy.path - resources.projects.resources.locations.resources.occurrences.methods.setIamPolicy.request.$ref - resources.projects.resources.locations.resources.occurrences.methods.setIamPolicy.response.$ref - resources.projects.resources.locations.resources.occurrences.methods.setIamPolicy.scopes - resources.projects.resources.locations.resources.occurrences.methods.testIamPermissions.description - resources.projects.resources.locations.resources.occurrences.methods.testIamPermissions.flatPath - resources.projects.resources.locations.resources.occurrences.methods.testIamPermissions.httpMethod - resources.projects.resources.locations.resources.occurrences.methods.testIamPermissions.id - resources.projects.resources.locations.resources.occurrences.methods.testIamPermissions.parameterOrder - resources.projects.resources.locations.resources.occurrences.methods.testIamPermissions.parameters.resource.description - resources.projects.resources.locations.resources.occurrences.methods.testIamPermissions.parameters.resource.location - resources.projects.resources.locations.resources.occurrences.methods.testIamPermissions.parameters.resource.pattern - resources.projects.resources.locations.resources.occurrences.methods.testIamPermissions.parameters.resource.required - resources.projects.resources.locations.resources.occurrences.methods.testIamPermissions.parameters.resource.type - resources.projects.resources.locations.resources.occurrences.methods.testIamPermissions.path - resources.projects.resources.locations.resources.occurrences.methods.testIamPermissions.request.$ref - resources.projects.resources.locations.resources.occurrences.methods.testIamPermissions.response.$ref - resources.projects.resources.locations.resources.occurrences.methods.testIamPermissions.scopes
1 parent 72ef216 commit c7c3605

File tree

2 files changed

+820
-28
lines changed

2 files changed

+820
-28
lines changed

discovery/containeranalysis-v1beta1.json

Lines changed: 169 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,34 @@
409409
"https://www.googleapis.com/auth/cloud-platform"
410410
]
411411
},
412+
"getIamPolicy": {
413+
"description": "Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.",
414+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}:getIamPolicy",
415+
"httpMethod": "POST",
416+
"id": "containeranalysis.projects.locations.notes.getIamPolicy",
417+
"parameterOrder": [
418+
"resource"
419+
],
420+
"parameters": {
421+
"resource": {
422+
"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.",
423+
"location": "path",
424+
"pattern": "^projects/[^/]+/locations/[^/]+/notes/[^/]+$",
425+
"required": true,
426+
"type": "string"
427+
}
428+
},
429+
"path": "v1beta1/{+resource}:getIamPolicy",
430+
"request": {
431+
"$ref": "GetIamPolicyRequest"
432+
},
433+
"response": {
434+
"$ref": "Policy"
435+
},
436+
"scopes": [
437+
"https://www.googleapis.com/auth/cloud-platform"
438+
]
439+
},
412440
"list": {
413441
"description": "Lists notes for the specified project.",
414442
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/notes",
@@ -483,6 +511,62 @@
483511
"scopes": [
484512
"https://www.googleapis.com/auth/cloud-platform"
485513
]
514+
},
515+
"setIamPolicy": {
516+
"description": "Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.",
517+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}:setIamPolicy",
518+
"httpMethod": "POST",
519+
"id": "containeranalysis.projects.locations.notes.setIamPolicy",
520+
"parameterOrder": [
521+
"resource"
522+
],
523+
"parameters": {
524+
"resource": {
525+
"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.",
526+
"location": "path",
527+
"pattern": "^projects/[^/]+/locations/[^/]+/notes/[^/]+$",
528+
"required": true,
529+
"type": "string"
530+
}
531+
},
532+
"path": "v1beta1/{+resource}:setIamPolicy",
533+
"request": {
534+
"$ref": "SetIamPolicyRequest"
535+
},
536+
"response": {
537+
"$ref": "Policy"
538+
},
539+
"scopes": [
540+
"https://www.googleapis.com/auth/cloud-platform"
541+
]
542+
},
543+
"testIamPermissions": {
544+
"description": "Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.",
545+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}:testIamPermissions",
546+
"httpMethod": "POST",
547+
"id": "containeranalysis.projects.locations.notes.testIamPermissions",
548+
"parameterOrder": [
549+
"resource"
550+
],
551+
"parameters": {
552+
"resource": {
553+
"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.",
554+
"location": "path",
555+
"pattern": "^projects/[^/]+/locations/[^/]+/notes/[^/]+$",
556+
"required": true,
557+
"type": "string"
558+
}
559+
},
560+
"path": "v1beta1/{+resource}:testIamPermissions",
561+
"request": {
562+
"$ref": "TestIamPermissionsRequest"
563+
},
564+
"response": {
565+
"$ref": "TestIamPermissionsResponse"
566+
},
567+
"scopes": [
568+
"https://www.googleapis.com/auth/cloud-platform"
569+
]
486570
}
487571
},
488572
"resources": {
@@ -641,6 +725,34 @@
641725
"https://www.googleapis.com/auth/cloud-platform"
642726
]
643727
},
728+
"getIamPolicy": {
729+
"description": "Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.",
730+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}:getIamPolicy",
731+
"httpMethod": "POST",
732+
"id": "containeranalysis.projects.locations.occurrences.getIamPolicy",
733+
"parameterOrder": [
734+
"resource"
735+
],
736+
"parameters": {
737+
"resource": {
738+
"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.",
739+
"location": "path",
740+
"pattern": "^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$",
741+
"required": true,
742+
"type": "string"
743+
}
744+
},
745+
"path": "v1beta1/{+resource}:getIamPolicy",
746+
"request": {
747+
"$ref": "GetIamPolicyRequest"
748+
},
749+
"response": {
750+
"$ref": "Policy"
751+
},
752+
"scopes": [
753+
"https://www.googleapis.com/auth/cloud-platform"
754+
]
755+
},
644756
"getNotes": {
645757
"description": "Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.",
646758
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}/notes",
@@ -770,6 +882,62 @@
770882
"scopes": [
771883
"https://www.googleapis.com/auth/cloud-platform"
772884
]
885+
},
886+
"setIamPolicy": {
887+
"description": "Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.",
888+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}:setIamPolicy",
889+
"httpMethod": "POST",
890+
"id": "containeranalysis.projects.locations.occurrences.setIamPolicy",
891+
"parameterOrder": [
892+
"resource"
893+
],
894+
"parameters": {
895+
"resource": {
896+
"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.",
897+
"location": "path",
898+
"pattern": "^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$",
899+
"required": true,
900+
"type": "string"
901+
}
902+
},
903+
"path": "v1beta1/{+resource}:setIamPolicy",
904+
"request": {
905+
"$ref": "SetIamPolicyRequest"
906+
},
907+
"response": {
908+
"$ref": "Policy"
909+
},
910+
"scopes": [
911+
"https://www.googleapis.com/auth/cloud-platform"
912+
]
913+
},
914+
"testIamPermissions": {
915+
"description": "Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.",
916+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}:testIamPermissions",
917+
"httpMethod": "POST",
918+
"id": "containeranalysis.projects.locations.occurrences.testIamPermissions",
919+
"parameterOrder": [
920+
"resource"
921+
],
922+
"parameters": {
923+
"resource": {
924+
"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.",
925+
"location": "path",
926+
"pattern": "^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$",
927+
"required": true,
928+
"type": "string"
929+
}
930+
},
931+
"path": "v1beta1/{+resource}:testIamPermissions",
932+
"request": {
933+
"$ref": "TestIamPermissionsRequest"
934+
},
935+
"response": {
936+
"$ref": "TestIamPermissionsResponse"
937+
},
938+
"scopes": [
939+
"https://www.googleapis.com/auth/cloud-platform"
940+
]
773941
}
774942
}
775943
},
@@ -1543,7 +1711,7 @@
15431711
}
15441712
}
15451713
},
1546-
"revision": "20240816",
1714+
"revision": "20240830",
15471715
"rootUrl": "https://containeranalysis.googleapis.com/",
15481716
"schemas": {
15491717
"AliasContext": {

0 commit comments

Comments
 (0)