Compute V1 Client - Class PolicyType (2.3.0)

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

The type of the firewall policy. This field can be eitherVPC_POLICY or RDMA_ROCE_POLICY.

Note: if not specified then VPC_POLICY will be used.

Protobuf type google.cloud.compute.v1.FirewallPolicy.PolicyType

Namespace

Google \ Cloud \ Compute \ V1 \ FirewallPolicy

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNDEFINED_POLICY_TYPE

Value: 0

A value indicating that the enum field is not set.

Generated from protobuf enum UNDEFINED_POLICY_TYPE = 0;

RDMA_ROCE_POLICY

Value: 148757145

Generated from protobuf enum RDMA_ROCE_POLICY = 148757145;

VPC_POLICY

Value: 74319208

Generated from protobuf enum VPC_POLICY = 74319208;