Class: Google::Apis::ComputeAlpha::SecurityPolicyReference
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SecurityPolicyReference
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ SecurityPolicyReference
Returns a new instance of SecurityPolicyReference
25223 25224 25225 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 25223 def initialize(**args) update!(**args) end |
Instance Attribute Details
#security_policy ⇒ String
Corresponds to the JSON property securityPolicy
25221 25222 25223 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 25221 def security_policy @security_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
25228 25229 25230 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 25228 def update!(**args) @security_policy = args[:security_policy] if args.key?(:security_policy) end |