Class: Google::Apis::ComputeBeta::SecurityPolicyReference
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::SecurityPolicyReference
- 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
-
#security_policy ⇒ String
Corresponds to the JSON property
securityPolicy.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityPolicyReference
constructor
A new instance of SecurityPolicyReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityPolicyReference
Returns a new instance of SecurityPolicyReference.
39227 39228 39229 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39227 def initialize(**args) update!(**args) end |
Instance Attribute Details
#security_policy ⇒ String
Corresponds to the JSON property securityPolicy
39225 39226 39227 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39225 def security_policy @security_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39232 39233 39234 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39232 def update!(**args) @security_policy = args[:security_policy] if args.key?(:security_policy) end |