Class: Google::Apis::ComputeBeta::FirewallPolicyRuleSecureTag
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::FirewallPolicyRuleSecureTag
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#name ⇒ String
Name of the secure tag, created with TagManager's TagValue API.
-
#state ⇒ String
Output only.
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.
13342 13343 13344 |
# File 'lib/google/apis/compute_beta/classes.rb', line 13342 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
13333 13334 13335 |
# File 'lib/google/apis/compute_beta/classes.rb', line 13333 def name @name end |
#state ⇒ String
Output only. [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
13340 13341 13342 |
# File 'lib/google/apis/compute_beta/classes.rb', line 13340 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13347 13348 13349 13350 |
# File 'lib/google/apis/compute_beta/classes.rb', line 13347 def update!(**args) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) end |