Compute V1 Client - Class FirewallPolicyRuleSecureTag (1.6.1)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

hasName

clearName

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this