Google Cloud Network Security V1 Client - Class Action (1.0.4)

Reference documentation and code samples for the Google Cloud Network Security V1 Client class Action.

Possible values that define what action to take.

Protobuf type google.cloud.networksecurity.v1.AuthorizationPolicy.Action

Namespace

Google \ Cloud \ NetworkSecurity \ V1 \ AuthorizationPolicy

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ACTION_UNSPECIFIED

Value: 0

Default value.

Generated from protobuf enum ACTION_UNSPECIFIED = 0;

ALLOW

Value: 1

Grant access.

Generated from protobuf enum ALLOW = 1;

DENY

Value: 2

Deny access.

Deny rules should be avoided unless they are used to provide a default "deny all" fallback.

Generated from protobuf enum DENY = 2;

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.