Show / Hide Table of Contents

Class ThreatHitsResource.CreateRequest

Reports a Safe Browsing threat list hit to Google. Only projects with TRUSTED_REPORTER visibility can use this method.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleProtobufEmpty>
SafebrowsingBaseServiceRequest<GoogleProtobufEmpty>
ThreatHitsResource.CreateRequest
Implements
IClientServiceRequest<GoogleProtobufEmpty>
IClientServiceRequest
Inherited Members
SafebrowsingBaseServiceRequest<GoogleProtobufEmpty>.Xgafv
SafebrowsingBaseServiceRequest<GoogleProtobufEmpty>.AccessToken
SafebrowsingBaseServiceRequest<GoogleProtobufEmpty>.Alt
SafebrowsingBaseServiceRequest<GoogleProtobufEmpty>.Callback
SafebrowsingBaseServiceRequest<GoogleProtobufEmpty>.Fields
SafebrowsingBaseServiceRequest<GoogleProtobufEmpty>.Key
SafebrowsingBaseServiceRequest<GoogleProtobufEmpty>.OauthToken
SafebrowsingBaseServiceRequest<GoogleProtobufEmpty>.PrettyPrint
SafebrowsingBaseServiceRequest<GoogleProtobufEmpty>.QuotaUser
SafebrowsingBaseServiceRequest<GoogleProtobufEmpty>.UploadType
SafebrowsingBaseServiceRequest<GoogleProtobufEmpty>.UploadProtocol
ClientServiceRequest<GoogleProtobufEmpty>.Execute()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsStream()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsync()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleProtobufEmpty>.CreateRequest(bool?)
ClientServiceRequest<GoogleProtobufEmpty>.GenerateRequestUri()
ClientServiceRequest<GoogleProtobufEmpty>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleProtobufEmpty>.ETagAction
ClientServiceRequest<GoogleProtobufEmpty>.ModifyRequest
ClientServiceRequest<GoogleProtobufEmpty>.ValidateParameters
ClientServiceRequest<GoogleProtobufEmpty>.ApiVersion
ClientServiceRequest<GoogleProtobufEmpty>.RequestParameters
ClientServiceRequest<GoogleProtobufEmpty>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Safebrowsing.v4
Assembly: Google.Apis.Safebrowsing.v4.dll
Syntax
public class ThreatHitsResource.CreateRequest : SafebrowsingBaseServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest

Constructors

CreateRequest(IClientService, GoogleSecuritySafebrowsingV4ThreatHit)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, GoogleSecuritySafebrowsingV4ThreatHit body)
Parameters
Type Name Description
IClientService service
GoogleSecuritySafebrowsingV4ThreatHit body

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Safebrowsing.v4.Data.GoogleProtobufEmpty>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Safebrowsing.v4.Data.GoogleProtobufEmpty>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Safebrowsing.v4.Data.GoogleProtobufEmpty>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Safebrowsing.v4.Data.GoogleProtobufEmpty>.GetBody()

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
SafebrowsingBaseServiceRequest<GoogleProtobufEmpty>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX