Compute V1 Client - Class Type (2.0.0)

Reference documentation and code samples for the Compute V1 Client class Type.

The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE (preview only): Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time.

Protobuf type google.cloud.compute.v1.SecurityPolicy.Type

Namespace

Google \ Cloud \ Compute \ V1 \ SecurityPolicy

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNDEFINED_TYPE

Value: 0

A value indicating that the enum field is not set.

Generated from protobuf enum UNDEFINED_TYPE = 0;

CLOUD_ARMOR

Value: 260640373

Generated from protobuf enum CLOUD_ARMOR = 260640373;

CLOUD_ARMOR_EDGE

Value: 250728775

Generated from protobuf enum CLOUD_ARMOR_EDGE = 250728775;

CLOUD_ARMOR_NETWORK

Value: 488527428

Generated from protobuf enum CLOUD_ARMOR_NETWORK = 488527428;