Class ProjectsResource.KeysResource.AddIpOverrideRequest
Adds an IP override to a key. The following restrictions hold: * The maximum number of IP overrides per key is 100. * For any conflict (such as IP already exists or IP part of an existing IP range), an error is returned.
Inheritance
ProjectsResource.KeysResource.AddIpOverrideRequest
Implements
Inherited Members
Namespace: Google.Apis.RecaptchaEnterprise.v1
Assembly: Google.Apis.RecaptchaEnterprise.v1.dll
Syntax
public class ProjectsResource.KeysResource.AddIpOverrideRequest : RecaptchaEnterpriseBaseServiceRequest<GoogleCloudRecaptchaenterpriseV1AddIpOverrideResponse>, IClientServiceRequest<GoogleCloudRecaptchaenterpriseV1AddIpOverrideResponse>, IClientServiceRequest
Constructors
AddIpOverrideRequest(IClientService, GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest, string)
Constructs a new AddIpOverride request.
Declaration
public AddIpOverrideRequest(IClientService service, GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the key to which the IP override is added, in the format
projects/{project}/keys/{key}
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes AddIpOverride parameter list.
Declaration
protected override void InitParameters()