class ProjectsSubmissions extends Resource (View source)

The "submissions" collection of methods.

Typical usage is:

 $webriskService = new Google\Service\WebRisk(...);
 $submissions = $webriskService->projects_submissions;

Methods

create(string $parent, GoogleCloudWebriskV1Submission $postBody, array $optParams = [])

Creates a Submission of a URI suspected of containing phishing content to be reviewed. If the result verifies the existence of malicious phishing content, the site will be added to the Google's Social Engineering lists 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. (submissions.create)

Details

GoogleCloudWebriskV1Submission create(string $parent, GoogleCloudWebriskV1Submission $postBody, array $optParams = [])

Creates a Submission of a URI suspected of containing phishing content to be reviewed. If the result verifies the existence of malicious phishing content, the site will be added to the Google's Social Engineering lists 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. (submissions.create)

Parameters

string $parent

Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".

GoogleCloudWebriskV1Submission $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudWebriskV1Submission

Exceptions

Exception