|
228 | 228 | ]
|
229 | 229 | },
|
230 | 230 | "list": {
|
231 |
| - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", |
| 231 | + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", |
232 | 232 | "flatPath": "v1/projects/{projectsId}/operations",
|
233 | 233 | "httpMethod": "GET",
|
234 | 234 | "id": "webrisk.projects.operations.list",
|
|
298 | 298 | ]
|
299 | 299 | }
|
300 | 300 | }
|
301 |
| - }, |
302 |
| - "uris": { |
303 |
| - "methods": { |
304 |
| - "submit": { |
305 |
| - "description": "Submits a URI suspected of containing malicious content to be reviewed. Returns a google.longrunning.Operation which, once the review is complete, is updated with its result. You can use the [Pub/Sub API] (https://cloud.google.com/pubsub) to receive notifications for the returned Operation. If the result verifies the existence of malicious content, the site will be added to the [Google's Social Engineering lists] (https://support.google.com/webmasters/answer/6350487/) in order to protect users that could get exposed to this threat in the future. Only allowlisted projects can use this method during Early Access. Please reach out to Sales or your customer engineer to obtain access.", |
306 |
| - "flatPath": "v1/projects/{projectsId}/uris:submit", |
307 |
| - "httpMethod": "POST", |
308 |
| - "id": "webrisk.projects.uris.submit", |
309 |
| - "parameterOrder": [ |
310 |
| - "parent" |
311 |
| - ], |
312 |
| - "parameters": { |
313 |
| - "parent": { |
314 |
| - "description": "Required. The name of the project that is making the submission. This string is in the format \"projects/{project_number}\".", |
315 |
| - "location": "path", |
316 |
| - "pattern": "^projects/[^/]+$", |
317 |
| - "required": true, |
318 |
| - "type": "string" |
319 |
| - } |
320 |
| - }, |
321 |
| - "path": "v1/{+parent}/uris:submit", |
322 |
| - "request": { |
323 |
| - "$ref": "GoogleCloudWebriskV1SubmitUriRequest" |
324 |
| - }, |
325 |
| - "response": { |
326 |
| - "$ref": "GoogleLongrunningOperation" |
327 |
| - }, |
328 |
| - "scopes": [ |
329 |
| - "https://www.googleapis.com/auth/cloud-platform" |
330 |
| - ] |
331 |
| - } |
332 |
| - } |
333 | 301 | }
|
334 | 302 | }
|
335 | 303 | },
|
|
452 | 420 | }
|
453 | 421 | }
|
454 | 422 | },
|
455 |
| - "revision": "20230226", |
| 423 | + "revision": "20230304", |
456 | 424 | "rootUrl": "https://webrisk.googleapis.com/",
|
457 | 425 | "schemas": {
|
458 | 426 | "GoogleCloudWebriskV1ComputeThreatListDiffResponse": {
|
|
671 | 639 | "description": "Wraps a URI that might be displaying malicious content.",
|
672 | 640 | "id": "GoogleCloudWebriskV1Submission",
|
673 | 641 | "properties": {
|
674 |
| - "threatTypes": { |
675 |
| - "description": "ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.", |
676 |
| - "items": { |
677 |
| - "enum": [ |
678 |
| - "THREAT_TYPE_UNSPECIFIED", |
679 |
| - "MALWARE", |
680 |
| - "SOCIAL_ENGINEERING", |
681 |
| - "UNWANTED_SOFTWARE", |
682 |
| - "SOCIAL_ENGINEERING_EXTENDED_COVERAGE" |
683 |
| - ], |
684 |
| - "enumDescriptions": [ |
685 |
| - "No entries should match this threat type. This threat type is unused.", |
686 |
| - "Malware targeting any platform.", |
687 |
| - "Social engineering targeting any platform.", |
688 |
| - "Unwanted software targeting any platform.", |
689 |
| - "A list of extended coverage social engineering URIs targeting any platform." |
690 |
| - ], |
691 |
| - "type": "string" |
692 |
| - }, |
693 |
| - "type": "array" |
694 |
| - }, |
695 | 642 | "uri": {
|
696 | 643 | "description": "Required. The URI that is being reported for malicious content to be analyzed.",
|
697 | 644 | "type": "string"
|
698 | 645 | }
|
699 | 646 | },
|
700 | 647 | "type": "object"
|
701 | 648 | },
|
702 |
| - "GoogleCloudWebriskV1SubmitUriMetadata": { |
703 |
| - "description": "Metadata for the Submit URI long-running operation.", |
704 |
| - "id": "GoogleCloudWebriskV1SubmitUriMetadata", |
705 |
| - "properties": { |
706 |
| - "createTime": { |
707 |
| - "description": "Creation time of the operation.", |
708 |
| - "format": "google-datetime", |
709 |
| - "type": "string" |
710 |
| - }, |
711 |
| - "state": { |
712 |
| - "description": "The state of the operation.", |
713 |
| - "enum": [ |
714 |
| - "STATE_UNSPECIFIED", |
715 |
| - "RUNNING", |
716 |
| - "SUCCEEDED", |
717 |
| - "CANCELLED", |
718 |
| - "FAILED", |
719 |
| - "CLOSED" |
720 |
| - ], |
721 |
| - "enumDescriptions": [ |
722 |
| - "Default unspecified state.", |
723 |
| - "The operation is currently running.", |
724 |
| - "The operation finished with a success status.", |
725 |
| - "The operation was cancelled.", |
726 |
| - "The operation finished with a failure status.", |
727 |
| - "The operation was closed with no action taken." |
728 |
| - ], |
729 |
| - "type": "string" |
730 |
| - }, |
731 |
| - "updateTime": { |
732 |
| - "description": "Latest update time of the operation.", |
733 |
| - "format": "google-datetime", |
734 |
| - "type": "string" |
735 |
| - } |
736 |
| - }, |
737 |
| - "type": "object" |
738 |
| - }, |
739 |
| - "GoogleCloudWebriskV1SubmitUriRequest": { |
740 |
| - "description": "Request to send a potentially malicious URI to WebRisk.", |
741 |
| - "id": "GoogleCloudWebriskV1SubmitUriRequest", |
742 |
| - "properties": { |
743 |
| - "submission": { |
744 |
| - "$ref": "GoogleCloudWebriskV1Submission", |
745 |
| - "description": "Required. The submission that contains the URI to be scanned." |
746 |
| - } |
747 |
| - }, |
748 |
| - "type": "object" |
749 |
| - }, |
750 | 649 | "GoogleCloudWebriskV1ThreatEntryAdditions": {
|
751 | 650 | "description": "Contains the set of entries to add to a local database. May contain a combination of compressed and raw data in a single response.",
|
752 | 651 | "id": "GoogleCloudWebriskV1ThreatEntryAdditions",
|
|
0 commit comments