Class: Google::Apis::ComputeV1::FirewallPoliciesListAssociationsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FirewallPoliciesListAssociationsResponse

Returns a new instance of FirewallPoliciesListAssociationsResponse.



11207
11208
11209
# File 'lib/google/apis/compute_v1/classes.rb', line 11207

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

Instance Attribute Details

#associationsArray<Google::Apis::ComputeV1::FirewallPolicyAssociation>

A list of associations. Corresponds to the JSON property associations



11198
11199
11200
# File 'lib/google/apis/compute_v1/classes.rb', line 11198

def associations
  @associations
end

#kindString

Output only. [Output Only] Type of firewallPolicy associations. Alwayscompute# FirewallPoliciesListAssociations for lists of firewallPolicy associations. Corresponds to the JSON property kind

Returns:

  • (String)


11205
11206
11207
# File 'lib/google/apis/compute_v1/classes.rb', line 11205

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11212
11213
11214
11215
# File 'lib/google/apis/compute_v1/classes.rb', line 11212

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