Interface CreateKeyRequestOrBuilder (3.20.0)

public interface CreateKeyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract Key getKey()

Required. Information to create a reCAPTCHA Enterprise key.

.google.cloud.recaptchaenterprise.v1.Key key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Key

The key.

getKeyOrBuilder()

public abstract KeyOrBuilder getKeyOrBuilder()

Required. Information to create a reCAPTCHA Enterprise key.

.google.cloud.recaptchaenterprise.v1.Key key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KeyOrBuilder

getParent()

public abstract String getParent()

Required. The name of the project in which the key will be created, 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 in which the key will be created, in the format "projects/{project}".

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasKey()

public abstract boolean hasKey()

Required. Information to create a reCAPTCHA Enterprise key.

.google.cloud.recaptchaenterprise.v1.Key key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the key field is set.