Interface CreateFirewallPolicyRequestOrBuilder (3.33.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the firewallPolicy field is set.