/// <summary>Snippet for ReportPhishing</summary> public void ReportPhishing() { // Snippet: ReportPhishing(string, string, CallSettings) // Create client PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = PhishingProtectionServiceV1Beta1Client.Create(); // Initialize request argument(s) string parent = "projects/[PROJECT]"; string uri = ""; // Make the request ReportPhishingResponse response = phishingProtectionServiceV1Beta1Client.ReportPhishing(parent, uri); // End snippet }
/// <summary>Snippet for ReportPhishing</summary> public void ReportPhishingResourceNames() { // Snippet: ReportPhishing(ProjectName, string, CallSettings) // Create client PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = PhishingProtectionServiceV1Beta1Client.Create(); // Initialize request argument(s) ProjectName parent = ProjectName.FromProject("[PROJECT]"); string uri = ""; // Make the request ReportPhishingResponse response = phishingProtectionServiceV1Beta1Client.ReportPhishing(parent, uri); // End snippet }
/// <summary>Snippet for ReportPhishing</summary> public void ReportPhishingRequestObject() { // Snippet: ReportPhishing(ReportPhishingRequest, CallSettings) // Create client PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = PhishingProtectionServiceV1Beta1Client.Create(); // Initialize request argument(s) ReportPhishingRequest request = new ReportPhishingRequest { ParentAsProjectName = ProjectName.FromProject("[PROJECT]"), Uri = "", }; // Make the request ReportPhishingResponse response = phishingProtectionServiceV1Beta1Client.ReportPhishing(request); // End snippet }