Class: Google::Apis::ComputeAlpha::FirewallPoliciesListAssociationsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FirewallPoliciesListAssociationsResponse

Returns a new instance of FirewallPoliciesListAssociationsResponse.



14114
14115
14116
# File 'lib/google/apis/compute_alpha/classes.rb', line 14114

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

Instance Attribute Details

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

A list of associations. Corresponds to the JSON property associations



14105
14106
14107
# File 'lib/google/apis/compute_alpha/classes.rb', line 14105

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)


14112
14113
14114
# File 'lib/google/apis/compute_alpha/classes.rb', line 14112

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14119
14120
14121
14122
# File 'lib/google/apis/compute_alpha/classes.rb', line 14119

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