Enum AutokeyConfig.KeyProjectResolutionMode (2.90.0)

public enum AutokeyConfig.KeyProjectResolutionMode extends Enum<AutokeyConfig.KeyProjectResolutionMode> implements ProtocolMessageEnum

Defines the resolution mode enum for the key project. The KeyProjectResolutionMode determines the mechanism by which AutokeyConfig identifies a key_project at its specific configuration node. This parameter also determines if Autokey can be used within this project or folder.

Protobuf enum google.cloud.kms.v1.AutokeyConfig.KeyProjectResolutionMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
DEDICATED_KEY_PROJECT

Keys are created in a dedicated project specified by key_project.

DEDICATED_KEY_PROJECT = 1;

DEDICATED_KEY_PROJECT_VALUE

Keys are created in a dedicated project specified by key_project.

DEDICATED_KEY_PROJECT = 1;

DISABLED

Disables the AutokeyConfig. When this mode is set, any AutokeyConfig from higher levels in the resource hierarchy are ignored for this resource and its descendants. This setting can be overridden by a more specific configuration at a lower level. For example, if Autokey is disabled on a folder, it can be re-enabled on a sub-folder or project within that folder by setting a different mode (e.g., DEDICATED_KEY_PROJECT or RESOURCE_PROJECT).

DISABLED = 3;

DISABLED_VALUE

Disables the AutokeyConfig. When this mode is set, any AutokeyConfig from higher levels in the resource hierarchy are ignored for this resource and its descendants. This setting can be overridden by a more specific configuration at a lower level. For example, if Autokey is disabled on a folder, it can be re-enabled on a sub-folder or project within that folder by setting a different mode (e.g., DEDICATED_KEY_PROJECT or RESOURCE_PROJECT).

DISABLED = 3;

KEY_PROJECT_RESOLUTION_MODE_UNSPECIFIED

Default value. KeyProjectResolutionMode when not specified will act as DEDICATED_KEY_PROJECT.

KEY_PROJECT_RESOLUTION_MODE_UNSPECIFIED = 0;

KEY_PROJECT_RESOLUTION_MODE_UNSPECIFIED_VALUE

Default value. KeyProjectResolutionMode when not specified will act as DEDICATED_KEY_PROJECT.

KEY_PROJECT_RESOLUTION_MODE_UNSPECIFIED = 0;

RESOURCE_PROJECT

Keys are created in the same project as the resource requesting the key. The key_project must not be set when this mode is used.

RESOURCE_PROJECT = 2;

RESOURCE_PROJECT_VALUE

Keys are created in the same project as the resource requesting the key. The key_project must not be set when this mode is used.

RESOURCE_PROJECT = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()