class Google::Apis::ComputeBeta::SecurityPolicyAssociation
Attributes
attachment_id[RW]
The resource that the security policy is attached to. Corresponds to the JSON property `attachmentId` @return [String]
display_name[RW]
- Output Only
-
The display name of the security policy of the association.
Corresponds to the JSON property `displayName` @return [String]
name[RW]
The name for an association. Corresponds to the JSON property `name` @return [String]
security_policy_id[RW]
- Output Only
-
The security policy ID of the association.
Corresponds to the JSON property `securityPolicyId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 31103 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_beta/classes.rb, line 31108 def update!(**args) @attachment_id = args[:attachment_id] if args.key?(:attachment_id) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @security_policy_id = args[:security_policy_id] if args.key?(:security_policy_id) end