genproto: google.golang.org/genproto/googleapis/cloud/phishingprotection/v1beta1 Index | Files

package phishingprotection

import "google.golang.org/genproto/googleapis/cloud/phishingprotection/v1beta1"

Index

Package Files

phishingprotection.pb.go

Variables

var File_google_cloud_phishingprotection_v1beta1_phishingprotection_proto protoreflect.FileDescriptor

func RegisterPhishingProtectionServiceV1Beta1Server Uses

func RegisterPhishingProtectionServiceV1Beta1Server(s *grpc.Server, srv PhishingProtectionServiceV1Beta1Server)

type PhishingProtectionServiceV1Beta1Client Uses

type PhishingProtectionServiceV1Beta1Client interface {
    // Reports a URI suspected of containing phishing content to be reviewed. Once
    // the report review is complete, its result can be found in the Cloud
    // Security Command Center findings dashboard for Phishing Protection. If the
    // result verifies the existence of malicious phishing content, the site will
    // be added the to [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.
    ReportPhishing(ctx context.Context, in *ReportPhishingRequest, opts ...grpc.CallOption) (*ReportPhishingResponse, error)
}

PhishingProtectionServiceV1Beta1Client is the client API for PhishingProtectionServiceV1Beta1 service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPhishingProtectionServiceV1Beta1Client Uses

func NewPhishingProtectionServiceV1Beta1Client(cc grpc.ClientConnInterface) PhishingProtectionServiceV1Beta1Client

type PhishingProtectionServiceV1Beta1Server Uses

type PhishingProtectionServiceV1Beta1Server interface {
    // Reports a URI suspected of containing phishing content to be reviewed. Once
    // the report review is complete, its result can be found in the Cloud
    // Security Command Center findings dashboard for Phishing Protection. If the
    // result verifies the existence of malicious phishing content, the site will
    // be added the to [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.
    ReportPhishing(context.Context, *ReportPhishingRequest) (*ReportPhishingResponse, error)
}

PhishingProtectionServiceV1Beta1Server is the server API for PhishingProtectionServiceV1Beta1 service.

type ReportPhishingRequest Uses

type ReportPhishingRequest struct {

    // Required. The name of the project for which the report will be created,
    // in the format "projects/{project_number}".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The URI that is being reported for phishing content to be analyzed.
    Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
    // contains filtered or unexported fields
}

The ReportPhishing request message.

func (*ReportPhishingRequest) Descriptor Uses

func (*ReportPhishingRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReportPhishingRequest.ProtoReflect.Descriptor instead.

func (*ReportPhishingRequest) GetParent Uses

func (x *ReportPhishingRequest) GetParent() string

func (*ReportPhishingRequest) GetUri Uses

func (x *ReportPhishingRequest) GetUri() string

func (*ReportPhishingRequest) ProtoMessage Uses

func (*ReportPhishingRequest) ProtoMessage()

func (*ReportPhishingRequest) ProtoReflect Uses

func (x *ReportPhishingRequest) ProtoReflect() protoreflect.Message

func (*ReportPhishingRequest) Reset Uses

func (x *ReportPhishingRequest) Reset()

func (*ReportPhishingRequest) String Uses

func (x *ReportPhishingRequest) String() string

type ReportPhishingResponse Uses

type ReportPhishingResponse struct {
    // contains filtered or unexported fields
}

The ReportPhishing (empty) response message.

func (*ReportPhishingResponse) Descriptor Uses

func (*ReportPhishingResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReportPhishingResponse.ProtoReflect.Descriptor instead.

func (*ReportPhishingResponse) ProtoMessage Uses

func (*ReportPhishingResponse) ProtoMessage()

func (*ReportPhishingResponse) ProtoReflect Uses

func (x *ReportPhishingResponse) ProtoReflect() protoreflect.Message

func (*ReportPhishingResponse) Reset Uses

func (x *ReportPhishingResponse) Reset()

func (*ReportPhishingResponse) String Uses

func (x *ReportPhishingResponse) String() string

type UnimplementedPhishingProtectionServiceV1Beta1Server Uses

type UnimplementedPhishingProtectionServiceV1Beta1Server struct {
}

UnimplementedPhishingProtectionServiceV1Beta1Server can be embedded to have forward compatible implementations.

func (*UnimplementedPhishingProtectionServiceV1Beta1Server) ReportPhishing Uses

func (*UnimplementedPhishingProtectionServiceV1Beta1Server) ReportPhishing(context.Context, *ReportPhishingRequest) (*ReportPhishingResponse, error)

Package phishingprotection imports 10 packages (graph) and is imported by 1 packages. Updated 2020-08-05. Refresh now. Tools for package owners.