Class: Google::Apis::ComputeV1::FirewallPoliciesScopedList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FirewallPoliciesScopedList

Returns a new instance of FirewallPoliciesScopedList.



9074
9075
9076
# File 'lib/google/apis/compute_v1/classes.rb', line 9074

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#firewall_policiesArray<Google::Apis::ComputeV1::FirewallPolicy>

A list of firewall policies contained in this scope. Corresponds to the JSON property firewallPolicies



9066
9067
9068
# File 'lib/google/apis/compute_v1/classes.rb', line 9066

def firewall_policies
  @firewall_policies
end

#warningGoogle::Apis::ComputeV1::FirewallPoliciesScopedList::Warning

Informational warning which replaces the list of firewall policies when the list is empty. Corresponds to the JSON property warning



9072
9073
9074
# File 'lib/google/apis/compute_v1/classes.rb', line 9072

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9079
9080
9081
9082
# File 'lib/google/apis/compute_v1/classes.rb', line 9079

def update!(**args)
  @firewall_policies = args[:firewall_policies] if args.key?(:firewall_policies)
  @warning = args[:warning] if args.key?(:warning)
end