Google Cloud Resource Manager V3 Client - Class Purpose (1.0.2)

Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class Purpose.

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 type google.cloud.resourcemanager.v3.Purpose

Namespace

Google \ Cloud \ ResourceManager \ V3

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

PURPOSE_UNSPECIFIED

Value: 0

Unspecified purpose.

Generated from protobuf enum PURPOSE_UNSPECIFIED = 0;

GCE_FIREWALL

Value: 1

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}

  • {project_id}/{network_name} Examples: - https://www.googleapis.com/compute/staging_v1/projects/fail-closed-load-testing/global/networks/6992953698831725600
  • fail-closed-load-testing/load-testing-network

Generated from protobuf enum GCE_FIREWALL = 1;