class Google::Apis::ComputeV1::FirewallPolicyAssociation
Attributes
attachment_target[RW]
The target that the firewall policy is attached to. Corresponds to the JSON property `attachmentTarget` @return [String]
display_name[RW]
- Output Only
-
Deprecated, please use short name instead. The display name of
the firewall policy of the association. Corresponds to the JSON property `displayName` @return [String]
firewall_policy_id[RW]
- Output Only
-
The firewall policy ID of the association.
Corresponds to the JSON property `firewallPolicyId` @return [String]
name[RW]
The name for an association. Corresponds to the JSON property `name` @return [String]
short_name[RW]
- Output Only
-
The short name of the firewall policy of the association.
Corresponds to the JSON property `shortName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 8138 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_v1/classes.rb, line 8143 def update!(**args) @attachment_target = args[:attachment_target] if args.key?(:attachment_target) @display_name = args[:display_name] if args.key?(:display_name) @firewall_policy_id = args[:firewall_policy_id] if args.key?(:firewall_policy_id) @name = args[:name] if args.key?(:name) @short_name = args[:short_name] if args.key?(:short_name) end