Google Cloud Ces V1 Client - Class EnforcementScope (0.2.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class EnforcementScope.

Defines the scope in which this policy's allowed_origins list is enforced.

Protobuf type google.cloud.ces.v1.EndpointControlPolicy.EnforcementScope

Namespace

Google \ Cloud \ Ces \ V1 \ EndpointControlPolicy

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ENFORCEMENT_SCOPE_UNSPECIFIED

Value: 0

Unspecified. This policy will be treated as VPCSC_ONLY.

Generated from protobuf enum ENFORCEMENT_SCOPE_UNSPECIFIED = 0;

VPCSC_ONLY

Value: 1

This policy applies only when VPC-SC is active.

Generated from protobuf enum VPCSC_ONLY = 1;

ALWAYS

Value: 2

This policy ALWAYS applies, regardless of VPC-SC status.

Generated from protobuf enum ALWAYS = 2;