Compute V1 Client - Class FirewallPolicyRuleSecureTag (1.18.0)

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

Generated from protobuf message google.cloud.compute.v1.FirewallPolicyRuleSecureTag

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Name of the secure tag, created with TagManager's TagValue API.

↳ state string

[Output Only] State of the secure tag, either EFFECTIVE or INEFFECTIVE. A secure tag is INEFFECTIVE when it is deleted or its network is deleted. Check the State enum for the list of possible values.

getName

Name of the secure tag, created with TagManager's TagValue API.

Returns
Type Description
string

hasName

clearName

setName

Name of the secure tag, created with TagManager's TagValue API.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

[Output Only] State of the secure tag, either EFFECTIVE or INEFFECTIVE. A secure tag is INEFFECTIVE when it is deleted or its network is deleted.

Check the State enum for the list of possible values.

Returns
Type Description
string

hasState

clearState

setState

[Output Only] State of the secure tag, either EFFECTIVE or INEFFECTIVE. A secure tag is INEFFECTIVE when it is deleted or its network is deleted.

Check the State enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this