|
409 | 409 | "https://www.googleapis.com/auth/cloud-platform" |
410 | 410 | ] |
411 | 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": "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 | + }, |
412 | 440 | "list": { |
413 | 441 | "description": "Lists notes for the specified project.", |
414 | 442 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/notes", |
|
483 | 511 | "scopes": [ |
484 | 512 | "https://www.googleapis.com/auth/cloud-platform" |
485 | 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": "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 | + ] |
486 | 570 | } |
487 | 571 | }, |
488 | 572 | "resources": { |
|
641 | 725 | "https://www.googleapis.com/auth/cloud-platform" |
642 | 726 | ] |
643 | 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": "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 | + }, |
644 | 756 | "getNotes": { |
645 | 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.", |
646 | 758 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}/notes", |
|
770 | 882 | "scopes": [ |
771 | 883 | "https://www.googleapis.com/auth/cloud-platform" |
772 | 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": "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 | + ] |
773 | 941 | } |
774 | 942 | } |
775 | 943 | }, |
|
1543 | 1711 | } |
1544 | 1712 | } |
1545 | 1713 | }, |
1546 | | - "revision": "20240816", |
| 1714 | + "revision": "20240830", |
1547 | 1715 | "rootUrl": "https://containeranalysis.googleapis.com/", |
1548 | 1716 | "schemas": { |
1549 | 1717 | "AliasContext": { |
|
0 commit comments