Class: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#name ⇒ String
Name of the secure tag, created with TagManager's TagValue API.
-
#state ⇒ String
[Output Only] State of the secure tag, either
EFFECTIVE
orINEFFECTIVE
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FirewallPolicyRuleSecureTag
constructor
A new instance of FirewallPolicyRuleSecureTag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FirewallPolicyRuleSecureTag
Returns a new instance of FirewallPolicyRuleSecureTag.
9820 9821 9822 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9820 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Name of the secure tag, created with TagManager's TagValue API.
Corresponds to the JSON property name
9812 9813 9814 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9812 def name @name end |
#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.
Corresponds to the JSON property state
9818 9819 9820 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9818 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9825 9826 9827 9828 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9825 def update!(**args) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) end |