Documentation
¶
Index ¶
- func RegisterPhishingProtectionServiceV1Beta1Server(s *grpc.Server, srv PhishingProtectionServiceV1Beta1Server)
- type PhishingProtectionServiceV1Beta1Client
- type PhishingProtectionServiceV1Beta1Server
- type ReportPhishingRequest
- func (*ReportPhishingRequest) Descriptor() ([]byte, []int)
- func (m *ReportPhishingRequest) GetParent() string
- func (m *ReportPhishingRequest) GetUri() string
- func (*ReportPhishingRequest) ProtoMessage()
- func (m *ReportPhishingRequest) Reset()
- func (m *ReportPhishingRequest) String() string
- func (m *ReportPhishingRequest) XXX_DiscardUnknown()
- func (m *ReportPhishingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportPhishingRequest) XXX_Merge(src proto.Message)
- func (m *ReportPhishingRequest) XXX_Size() int
- func (m *ReportPhishingRequest) XXX_Unmarshal(b []byte) error
- type ReportPhishingResponse
- func (*ReportPhishingResponse) Descriptor() ([]byte, []int)
- func (*ReportPhishingResponse) ProtoMessage()
- func (m *ReportPhishingResponse) Reset()
- func (m *ReportPhishingResponse) String() string
- func (m *ReportPhishingResponse) XXX_DiscardUnknown()
- func (m *ReportPhishingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportPhishingResponse) XXX_Merge(src proto.Message)
- func (m *ReportPhishingResponse) XXX_Size() int
- func (m *ReportPhishingResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedPhishingProtectionServiceV1Beta1Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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.
func NewPhishingProtectionServiceV1Beta1Client ¶
func NewPhishingProtectionServiceV1Beta1Client(cc grpc.ClientConnInterface) PhishingProtectionServiceV1Beta1Client
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The ReportPhishing request message.
func (*ReportPhishingRequest) Descriptor ¶
func (*ReportPhishingRequest) Descriptor() ([]byte, []int)
func (*ReportPhishingRequest) GetParent ¶
func (m *ReportPhishingRequest) GetParent() string
func (*ReportPhishingRequest) GetUri ¶
func (m *ReportPhishingRequest) GetUri() string
func (*ReportPhishingRequest) ProtoMessage ¶
func (*ReportPhishingRequest) ProtoMessage()
func (*ReportPhishingRequest) Reset ¶
func (m *ReportPhishingRequest) Reset()
func (*ReportPhishingRequest) String ¶
func (m *ReportPhishingRequest) String() string
func (*ReportPhishingRequest) XXX_DiscardUnknown ¶
func (m *ReportPhishingRequest) XXX_DiscardUnknown()
func (*ReportPhishingRequest) XXX_Marshal ¶
func (m *ReportPhishingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportPhishingRequest) XXX_Merge ¶
func (m *ReportPhishingRequest) XXX_Merge(src proto.Message)
func (*ReportPhishingRequest) XXX_Size ¶
func (m *ReportPhishingRequest) XXX_Size() int
func (*ReportPhishingRequest) XXX_Unmarshal ¶
func (m *ReportPhishingRequest) XXX_Unmarshal(b []byte) error
type ReportPhishingResponse ¶
type ReportPhishingResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The ReportPhishing (empty) response message.
func (*ReportPhishingResponse) Descriptor ¶
func (*ReportPhishingResponse) Descriptor() ([]byte, []int)
func (*ReportPhishingResponse) ProtoMessage ¶
func (*ReportPhishingResponse) ProtoMessage()
func (*ReportPhishingResponse) Reset ¶
func (m *ReportPhishingResponse) Reset()
func (*ReportPhishingResponse) String ¶
func (m *ReportPhishingResponse) String() string
func (*ReportPhishingResponse) XXX_DiscardUnknown ¶
func (m *ReportPhishingResponse) XXX_DiscardUnknown()
func (*ReportPhishingResponse) XXX_Marshal ¶
func (m *ReportPhishingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportPhishingResponse) XXX_Merge ¶
func (m *ReportPhishingResponse) XXX_Merge(src proto.Message)
func (*ReportPhishingResponse) XXX_Size ¶
func (m *ReportPhishingResponse) XXX_Size() int
func (*ReportPhishingResponse) XXX_Unmarshal ¶
func (m *ReportPhishingResponse) XXX_Unmarshal(b []byte) error
type UnimplementedPhishingProtectionServiceV1Beta1Server ¶
type UnimplementedPhishingProtectionServiceV1Beta1Server struct { }
UnimplementedPhishingProtectionServiceV1Beta1Server can be embedded to have forward compatible implementations.
func (*UnimplementedPhishingProtectionServiceV1Beta1Server) ReportPhishing ¶
func (*UnimplementedPhishingProtectionServiceV1Beta1Server) ReportPhishing(ctx context.Context, req *ReportPhishingRequest) (*ReportPhishingResponse, error)
Click to show internal directories.
Click to hide internal directories.