class Google::Apis::ComputeBeta::NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy

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::ComputeBeta::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.

Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 20962
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 20967
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