Web Risk API . projects . submissions

Instance Methods

close()

Close httplib2 connections.

create(parent, body=None, x__xgafv=None)

Creates a Submission of a URI suspected of containing phishing content for review. If the review confirms malicious phishing content, Google adds the site to [Google's Social Engineering lists](https://support.google.com/webmasters/answer/6350487/) to help protect users. Only allowlisted projects can use this method during Early Access. To obtain access, contact Sales or your customer engineer.

Method Details

close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a Submission of a URI suspected of containing phishing content for review. If the review confirms malicious phishing content, Google adds the site to [Google's Social Engineering lists](https://support.google.com/webmasters/answer/6350487/) to help protect users. Only allowlisted projects can use this method during Early Access. To obtain access, contact Sales or your customer engineer.

Args:
  parent: string, Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}". (required)
  body: object, The request body.
    The object takes the form of:

{ # Wraps a URI that might be displaying malicious content.
  "uri": "A String", # Required. The URI that is being reported for malicious content to be analyzed.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Wraps a URI that might be displaying malicious content.
  "uri": "A String", # Required. The URI that is being reported for malicious content to be analyzed.
}