As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

Types for Google Cloud Phishingprotection v1beta1 API

class google.cloud.phishingprotection_v1beta1.types.ReportPhishingRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

The ReportPhishing request message.

parent

Required. The name of the project for which the report will be created, in the format “projects/{project_number}”.

Type

str

uri

Required. The URI that is being reported for phishing content to be analyzed.

Type

str

class google.cloud.phishingprotection_v1beta1.types.ReportPhishingResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

The ReportPhishing (empty) response message.