class Google::Apis::ComputeV1::InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Attributes
display_name[RW]
- Output Only
-
Deprecated, please use short name instead. The display name of
the firewall policy. Corresponds to the JSON property `displayName` @return [String]
name[RW]
- Output Only
-
The name of the firewall policy.
Corresponds to the JSON property `name` @return [String]
rules[RW]
The rules that apply to the network. Corresponds to the JSON property `rules` @return [Array<Google::Apis::ComputeV1::FirewallPolicyRule>]
short_name[RW]
- Output Only
-
The short name of the firewall policy.
Corresponds to the JSON property `shortName` @return [String]
type[RW]
- Output Only
-
The type of the firewall policy. Can be one of HIERARCHY,
NETWORK, NETWORK_REGIONAL. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 15735 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 15740 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @rules = args[:rules] if args.key?(:rules) @short_name = args[:short_name] if args.key?(:short_name) @type = args[:type] if args.key?(:type) end