Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_google_cloud_phishingprotection_v1beta1_phishingprotection_proto protoreflect.FileDescriptor

Functions

func RegisterPhishingProtectionServiceV1Beta1Server

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

Types

type PhishingProtectionServiceV1Beta1Client

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.

    type PhishingProtectionServiceV1Beta1Server

    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

      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

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

          Deprecated: Use ReportPhishingRequest.ProtoReflect.Descriptor instead.

          func (*ReportPhishingRequest) GetParent

          func (x *ReportPhishingRequest) GetParent() string

          func (*ReportPhishingRequest) GetUri

          func (x *ReportPhishingRequest) GetUri() string

          func (*ReportPhishingRequest) ProtoMessage

          func (*ReportPhishingRequest) ProtoMessage()

          func (*ReportPhishingRequest) ProtoReflect

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

          func (*ReportPhishingRequest) Reset

          func (x *ReportPhishingRequest) Reset()

          func (*ReportPhishingRequest) String

          func (x *ReportPhishingRequest) String() string

          type ReportPhishingResponse

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

            The ReportPhishing (empty) response message.

            func (*ReportPhishingResponse) Descriptor

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

              Deprecated: Use ReportPhishingResponse.ProtoReflect.Descriptor instead.

              func (*ReportPhishingResponse) ProtoMessage

              func (*ReportPhishingResponse) ProtoMessage()

              func (*ReportPhishingResponse) ProtoReflect

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

              func (*ReportPhishingResponse) Reset

              func (x *ReportPhishingResponse) Reset()

              func (*ReportPhishingResponse) String

              func (x *ReportPhishingResponse) String() string

              type UnimplementedPhishingProtectionServiceV1Beta1Server

              type UnimplementedPhishingProtectionServiceV1Beta1Server struct {
              }

                UnimplementedPhishingProtectionServiceV1Beta1Server can be embedded to have forward compatible implementations.

                func (*UnimplementedPhishingProtectionServiceV1Beta1Server) ReportPhishing