Interface CreateFirewallPolicyRequestOrBuilder (3.45.0)

public interface CreateFirewallPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFirewallPolicy()

public abstract FirewallPolicy getFirewallPolicy()

Required. Information to create the policy.

.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FirewallPolicy

The firewallPolicy.

getFirewallPolicyOrBuilder()

public abstract FirewallPolicyOrBuilder getFirewallPolicyOrBuilder()

Required. Information to create the policy.

.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FirewallPolicyOrBuilder

getParent()

public abstract String getParent()

Required. The name of the project this policy will apply to, in the format projects/{project}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the project this policy will apply to, in the format projects/{project}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasFirewallPolicy()

public abstract boolean hasFirewallPolicy()

Required. Information to create the policy.

.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the firewallPolicy field is set.