|
16 | 16 | "discoveryVersion": "v1",
|
17 | 17 | "documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/",
|
18 | 18 | "endpoints": [
|
| 19 | + { |
| 20 | + "description": "Regional Endpoint", |
| 21 | + "endpointUrl": "https://containeranalysis.asia-east1.rep.googleapis.com/", |
| 22 | + "location": "asia-east1" |
| 23 | + }, |
| 24 | + { |
| 25 | + "description": "Regional Endpoint", |
| 26 | + "endpointUrl": "https://containeranalysis.asia-east2.rep.googleapis.com/", |
| 27 | + "location": "asia-east2" |
| 28 | + }, |
| 29 | + { |
| 30 | + "description": "Regional Endpoint", |
| 31 | + "endpointUrl": "https://containeranalysis.asia-northeast1.rep.googleapis.com/", |
| 32 | + "location": "asia-northeast1" |
| 33 | + }, |
| 34 | + { |
| 35 | + "description": "Regional Endpoint", |
| 36 | + "endpointUrl": "https://containeranalysis.asia-northeast3.rep.googleapis.com/", |
| 37 | + "location": "asia-northeast3" |
| 38 | + }, |
| 39 | + { |
| 40 | + "description": "Regional Endpoint", |
| 41 | + "endpointUrl": "https://containeranalysis.asia-south1.rep.googleapis.com/", |
| 42 | + "location": "asia-south1" |
| 43 | + }, |
| 44 | + { |
| 45 | + "description": "Regional Endpoint", |
| 46 | + "endpointUrl": "https://containeranalysis.asia-south2.rep.googleapis.com/", |
| 47 | + "location": "asia-south2" |
| 48 | + }, |
| 49 | + { |
| 50 | + "description": "Regional Endpoint", |
| 51 | + "endpointUrl": "https://containeranalysis.asia-southeast1.rep.googleapis.com/", |
| 52 | + "location": "asia-southeast1" |
| 53 | + }, |
| 54 | + { |
| 55 | + "description": "Regional Endpoint", |
| 56 | + "endpointUrl": "https://containeranalysis.asia-southeast2.rep.googleapis.com/", |
| 57 | + "location": "asia-southeast2" |
| 58 | + }, |
| 59 | + { |
| 60 | + "description": "Regional Endpoint", |
| 61 | + "endpointUrl": "https://containeranalysis.australia-southeast1.rep.googleapis.com/", |
| 62 | + "location": "australia-southeast1" |
| 63 | + }, |
| 64 | + { |
| 65 | + "description": "Regional Endpoint", |
| 66 | + "endpointUrl": "https://containeranalysis.europe-central2.rep.googleapis.com/", |
| 67 | + "location": "europe-central2" |
| 68 | + }, |
| 69 | + { |
| 70 | + "description": "Regional Endpoint", |
| 71 | + "endpointUrl": "https://containeranalysis.europe-north1.rep.googleapis.com/", |
| 72 | + "location": "europe-north1" |
| 73 | + }, |
| 74 | + { |
| 75 | + "description": "Regional Endpoint", |
| 76 | + "endpointUrl": "https://containeranalysis.europe-southwest1.rep.googleapis.com/", |
| 77 | + "location": "europe-southwest1" |
| 78 | + }, |
| 79 | + { |
| 80 | + "description": "Regional Endpoint", |
| 81 | + "endpointUrl": "https://containeranalysis.europe-west1.rep.googleapis.com/", |
| 82 | + "location": "europe-west1" |
| 83 | + }, |
| 84 | + { |
| 85 | + "description": "Regional Endpoint", |
| 86 | + "endpointUrl": "https://containeranalysis.europe-west2.rep.googleapis.com/", |
| 87 | + "location": "europe-west2" |
| 88 | + }, |
| 89 | + { |
| 90 | + "description": "Regional Endpoint", |
| 91 | + "endpointUrl": "https://containeranalysis.europe-west3.rep.googleapis.com/", |
| 92 | + "location": "europe-west3" |
| 93 | + }, |
| 94 | + { |
| 95 | + "description": "Regional Endpoint", |
| 96 | + "endpointUrl": "https://containeranalysis.europe-west4.rep.googleapis.com/", |
| 97 | + "location": "europe-west4" |
| 98 | + }, |
| 99 | + { |
| 100 | + "description": "Regional Endpoint", |
| 101 | + "endpointUrl": "https://containeranalysis.europe-west6.rep.googleapis.com/", |
| 102 | + "location": "europe-west6" |
| 103 | + }, |
| 104 | + { |
| 105 | + "description": "Regional Endpoint", |
| 106 | + "endpointUrl": "https://containeranalysis.europe-west8.rep.googleapis.com/", |
| 107 | + "location": "europe-west8" |
| 108 | + }, |
| 109 | + { |
| 110 | + "description": "Regional Endpoint", |
| 111 | + "endpointUrl": "https://containeranalysis.europe-west9.rep.googleapis.com/", |
| 112 | + "location": "europe-west9" |
| 113 | + }, |
| 114 | + { |
| 115 | + "description": "Regional Endpoint", |
| 116 | + "endpointUrl": "https://containeranalysis.me-central1.rep.googleapis.com/", |
| 117 | + "location": "me-central1" |
| 118 | + }, |
19 | 119 | {
|
20 | 120 | "description": "Regional Endpoint",
|
21 | 121 | "endpointUrl": "https://containeranalysis.me-central2.rep.googleapis.com/",
|
22 | 122 | "location": "me-central2"
|
| 123 | + }, |
| 124 | + { |
| 125 | + "description": "Regional Endpoint", |
| 126 | + "endpointUrl": "https://containeranalysis.me-west1.rep.googleapis.com/", |
| 127 | + "location": "me-west1" |
| 128 | + }, |
| 129 | + { |
| 130 | + "description": "Regional Endpoint", |
| 131 | + "endpointUrl": "https://containeranalysis.northamerica-northeast1.rep.googleapis.com/", |
| 132 | + "location": "northamerica-northeast1" |
| 133 | + }, |
| 134 | + { |
| 135 | + "description": "Regional Endpoint", |
| 136 | + "endpointUrl": "https://containeranalysis.northamerica-northeast2.rep.googleapis.com/", |
| 137 | + "location": "northamerica-northeast2" |
| 138 | + }, |
| 139 | + { |
| 140 | + "description": "Regional Endpoint", |
| 141 | + "endpointUrl": "https://containeranalysis.southamerica-east1.rep.googleapis.com/", |
| 142 | + "location": "southamerica-east1" |
| 143 | + }, |
| 144 | + { |
| 145 | + "description": "Regional Endpoint", |
| 146 | + "endpointUrl": "https://containeranalysis.southamerica-west1.rep.googleapis.com/", |
| 147 | + "location": "southamerica-west1" |
| 148 | + }, |
| 149 | + { |
| 150 | + "description": "Regional Endpoint", |
| 151 | + "endpointUrl": "https://containeranalysis.us-central1.rep.googleapis.com/", |
| 152 | + "location": "us-central1" |
| 153 | + }, |
| 154 | + { |
| 155 | + "description": "Regional Endpoint", |
| 156 | + "endpointUrl": "https://containeranalysis.us-central2.rep.googleapis.com/", |
| 157 | + "location": "us-central2" |
| 158 | + }, |
| 159 | + { |
| 160 | + "description": "Regional Endpoint", |
| 161 | + "endpointUrl": "https://containeranalysis.us-east1.rep.googleapis.com/", |
| 162 | + "location": "us-east1" |
| 163 | + }, |
| 164 | + { |
| 165 | + "description": "Regional Endpoint", |
| 166 | + "endpointUrl": "https://containeranalysis.us-east4.rep.googleapis.com/", |
| 167 | + "location": "us-east4" |
| 168 | + }, |
| 169 | + { |
| 170 | + "description": "Regional Endpoint", |
| 171 | + "endpointUrl": "https://containeranalysis.us-east5.rep.googleapis.com/", |
| 172 | + "location": "us-east5" |
| 173 | + }, |
| 174 | + { |
| 175 | + "description": "Regional Endpoint", |
| 176 | + "endpointUrl": "https://containeranalysis.us-east7.rep.googleapis.com/", |
| 177 | + "location": "us-east7" |
| 178 | + }, |
| 179 | + { |
| 180 | + "description": "Regional Endpoint", |
| 181 | + "endpointUrl": "https://containeranalysis.us-south1.rep.googleapis.com/", |
| 182 | + "location": "us-south1" |
| 183 | + }, |
| 184 | + { |
| 185 | + "description": "Regional Endpoint", |
| 186 | + "endpointUrl": "https://containeranalysis.us-west1.rep.googleapis.com/", |
| 187 | + "location": "us-west1" |
| 188 | + }, |
| 189 | + { |
| 190 | + "description": "Regional Endpoint", |
| 191 | + "endpointUrl": "https://containeranalysis.us-west2.rep.googleapis.com/", |
| 192 | + "location": "us-west2" |
| 193 | + }, |
| 194 | + { |
| 195 | + "description": "Regional Endpoint", |
| 196 | + "endpointUrl": "https://containeranalysis.us-west3.rep.googleapis.com/", |
| 197 | + "location": "us-west3" |
| 198 | + }, |
| 199 | + { |
| 200 | + "description": "Regional Endpoint", |
| 201 | + "endpointUrl": "https://containeranalysis.us-west4.rep.googleapis.com/", |
| 202 | + "location": "us-west4" |
23 | 203 | }
|
24 | 204 | ],
|
25 | 205 | "fullyEncodeReservedExpansion": true,
|
|
229 | 409 | "https://www.googleapis.com/auth/cloud-platform"
|
230 | 410 | ]
|
231 | 411 | },
|
| 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": "v1/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": "v1/{+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 | + }, |
232 | 440 | "list": {
|
233 | 441 | "description": "Lists notes for the specified project.",
|
234 | 442 | "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notes",
|
|
303 | 511 | "scopes": [
|
304 | 512 | "https://www.googleapis.com/auth/cloud-platform"
|
305 | 513 | ]
|
| 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": "v1/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": "v1/{+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": "v1/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": "v1/{+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 | + ] |
306 | 570 | }
|
307 | 571 | },
|
308 | 572 | "resources": {
|
|
461 | 725 | "https://www.googleapis.com/auth/cloud-platform"
|
462 | 726 | ]
|
463 | 727 | },
|
| 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": "v1/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": "v1/{+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 | + }, |
464 | 756 | "getNotes": {
|
465 | 757 | "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.",
|
466 | 758 | "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}/notes",
|
|
590 | 882 | "scopes": [
|
591 | 883 | "https://www.googleapis.com/auth/cloud-platform"
|
592 | 884 | ]
|
| 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": "v1/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": "v1/{+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": "v1/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": "v1/{+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 | + ] |
593 | 941 | }
|
594 | 942 | }
|
595 | 943 | },
|
|
1307 | 1655 | }
|
1308 | 1656 | }
|
1309 | 1657 | },
|
1310 |
| - "revision": "20240726", |
| 1658 | + "revision": "20240816", |
1311 | 1659 | "rootUrl": "https://containeranalysis.googleapis.com/",
|
1312 | 1660 | "schemas": {
|
1313 | 1661 | "AliasContext": {
|
|
0 commit comments