Skip to content

Commit

Permalink
feat(containeranalysis): update the API
Browse files Browse the repository at this point in the history
#### containeranalysis:v1alpha1

The following keys were changed:
- endpoints

#### containeranalysis:v1beta1

The following keys were changed:
- endpoints

#### containeranalysis:v1

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

The following keys were changed:
- endpoints
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 27, 2024
1 parent c798230 commit f67b2f1
Show file tree
Hide file tree
Showing 4 changed files with 1,362 additions and 30 deletions.
350 changes: 349 additions & 1 deletion discovery/containeranalysis-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,190 @@
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/",
"endpoints": [
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.asia-east1.rep.googleapis.com/",
"location": "asia-east1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.asia-east2.rep.googleapis.com/",
"location": "asia-east2"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.asia-northeast1.rep.googleapis.com/",
"location": "asia-northeast1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.asia-northeast3.rep.googleapis.com/",
"location": "asia-northeast3"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.asia-south1.rep.googleapis.com/",
"location": "asia-south1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.asia-south2.rep.googleapis.com/",
"location": "asia-south2"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.asia-southeast1.rep.googleapis.com/",
"location": "asia-southeast1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.asia-southeast2.rep.googleapis.com/",
"location": "asia-southeast2"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.australia-southeast1.rep.googleapis.com/",
"location": "australia-southeast1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.europe-central2.rep.googleapis.com/",
"location": "europe-central2"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.europe-north1.rep.googleapis.com/",
"location": "europe-north1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.europe-southwest1.rep.googleapis.com/",
"location": "europe-southwest1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.europe-west1.rep.googleapis.com/",
"location": "europe-west1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.europe-west2.rep.googleapis.com/",
"location": "europe-west2"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.europe-west3.rep.googleapis.com/",
"location": "europe-west3"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.europe-west4.rep.googleapis.com/",
"location": "europe-west4"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.europe-west6.rep.googleapis.com/",
"location": "europe-west6"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.europe-west8.rep.googleapis.com/",
"location": "europe-west8"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.europe-west9.rep.googleapis.com/",
"location": "europe-west9"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.me-central1.rep.googleapis.com/",
"location": "me-central1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.me-central2.rep.googleapis.com/",
"location": "me-central2"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.me-west1.rep.googleapis.com/",
"location": "me-west1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.northamerica-northeast1.rep.googleapis.com/",
"location": "northamerica-northeast1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.northamerica-northeast2.rep.googleapis.com/",
"location": "northamerica-northeast2"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.southamerica-east1.rep.googleapis.com/",
"location": "southamerica-east1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.southamerica-west1.rep.googleapis.com/",
"location": "southamerica-west1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.us-central1.rep.googleapis.com/",
"location": "us-central1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.us-central2.rep.googleapis.com/",
"location": "us-central2"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.us-east1.rep.googleapis.com/",
"location": "us-east1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.us-east4.rep.googleapis.com/",
"location": "us-east4"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.us-east5.rep.googleapis.com/",
"location": "us-east5"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.us-east7.rep.googleapis.com/",
"location": "us-east7"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.us-south1.rep.googleapis.com/",
"location": "us-south1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.us-west1.rep.googleapis.com/",
"location": "us-west1"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.us-west2.rep.googleapis.com/",
"location": "us-west2"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.us-west3.rep.googleapis.com/",
"location": "us-west3"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://containeranalysis.us-west4.rep.googleapis.com/",
"location": "us-west4"
}
],
"fullyEncodeReservedExpansion": true,
Expand Down Expand Up @@ -229,6 +409,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getIamPolicy": {
"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.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}:getIamPolicy",
"httpMethod": "POST",
"id": "containeranalysis.projects.locations.notes.getIamPolicy",
"parameterOrder": [
"resource"
],
"parameters": {
"resource": {
"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.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/notes/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+resource}:getIamPolicy",
"request": {
"$ref": "GetIamPolicyRequest"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists notes for the specified project.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notes",
Expand Down Expand Up @@ -303,6 +511,62 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setIamPolicy": {
"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.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}:setIamPolicy",
"httpMethod": "POST",
"id": "containeranalysis.projects.locations.notes.setIamPolicy",
"parameterOrder": [
"resource"
],
"parameters": {
"resource": {
"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.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/notes/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+resource}:setIamPolicy",
"request": {
"$ref": "SetIamPolicyRequest"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"testIamPermissions": {
"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.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}:testIamPermissions",
"httpMethod": "POST",
"id": "containeranalysis.projects.locations.notes.testIamPermissions",
"parameterOrder": [
"resource"
],
"parameters": {
"resource": {
"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.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/notes/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+resource}:testIamPermissions",
"request": {
"$ref": "TestIamPermissionsRequest"
},
"response": {
"$ref": "TestIamPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
Expand Down Expand Up @@ -461,6 +725,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getIamPolicy": {
"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.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}:getIamPolicy",
"httpMethod": "POST",
"id": "containeranalysis.projects.locations.occurrences.getIamPolicy",
"parameterOrder": [
"resource"
],
"parameters": {
"resource": {
"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.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+resource}:getIamPolicy",
"request": {
"$ref": "GetIamPolicyRequest"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getNotes": {
"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.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}/notes",
Expand Down Expand Up @@ -590,6 +882,62 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setIamPolicy": {
"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.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}:setIamPolicy",
"httpMethod": "POST",
"id": "containeranalysis.projects.locations.occurrences.setIamPolicy",
"parameterOrder": [
"resource"
],
"parameters": {
"resource": {
"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.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+resource}:setIamPolicy",
"request": {
"$ref": "SetIamPolicyRequest"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"testIamPermissions": {
"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.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}:testIamPermissions",
"httpMethod": "POST",
"id": "containeranalysis.projects.locations.occurrences.testIamPermissions",
"parameterOrder": [
"resource"
],
"parameters": {
"resource": {
"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.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+resource}:testIamPermissions",
"request": {
"$ref": "TestIamPermissionsRequest"
},
"response": {
"$ref": "TestIamPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
Expand Down Expand Up @@ -1307,7 +1655,7 @@
}
}
},
"revision": "20240726",
"revision": "20240816",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"AliasContext": {
Expand Down
Loading

0 comments on commit f67b2f1

Please sign in to comment.