Enum Purpose (1.53.0)

See more code actions.
public enum Purpose extends Enum<Purpose> implements ProtocolMessageEnum

A purpose for each policy engine requiring such an integration. A single policy engine may have multiple purposes defined, however a TagKey may only specify a single purpose.

Protobuf enum google.cloud.resourcemanager.v3.Purpose

ProtocolMessageEnum

Static Fields

Name Description
GCE_FIREWALL

Purpose for Compute Engine firewalls. A corresponding purpose_data should be set for the network the tag is intended for. The key should be network and the value should be in either of these two formats:

- https://www.googleapis.com/compute/{compute_version}/projects/{project_id}/global/networks/{network_id}

GCE_FIREWALL = 1;

GCE_FIREWALL_VALUE

Purpose for Compute Engine firewalls. A corresponding purpose_data should be set for the network the tag is intended for. The key should be network and the value should be in either of these two formats:

- https://www.googleapis.com/compute/{compute_version}/projects/{project_id}/global/networks/{network_id}

GCE_FIREWALL = 1;

PURPOSE_UNSPECIFIED

Unspecified purpose.

PURPOSE_UNSPECIFIED = 0;

PURPOSE_UNSPECIFIED_VALUE

Unspecified purpose.

PURPOSE_UNSPECIFIED = 0;

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()