Interface CreateKeyRingRequestOrBuilder (2.54.0)

public interface CreateKeyRingRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKeyRing()

public abstract KeyRing getKeyRing()

Required. A KeyRing with initial field values.

.google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
KeyRing

The keyRing.

getKeyRingId()

public abstract String getKeyRingId()

Required. It must be unique within a location and match the regular expression [a-zA-Z0-9_-]{1,63}

string key_ring_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The keyRingId.

getKeyRingIdBytes()

public abstract ByteString getKeyRingIdBytes()

Required. It must be unique within a location and match the regular expression [a-zA-Z0-9_-]{1,63}

string key_ring_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for keyRingId.

getKeyRingOrBuilder()

public abstract KeyRingOrBuilder getKeyRingOrBuilder()

Required. A KeyRing with initial field values.

.google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
KeyRingOrBuilder

getParent()

public abstract String getParent()

Required. The resource name of the location associated with the KeyRings, in the format projects/*/locations/*.

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 resource name of the location associated with the KeyRings, in the format projects/*/locations/*.

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

Returns
Type Description
ByteString

The bytes for parent.

hasKeyRing()

public abstract boolean hasKeyRing()

Required. A KeyRing with initial field values.

.google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the keyRing field is set.