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.



9027
9028
9029
# File 'lib/google/apis/compute_alpha/classes.rb', line 9027

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

Instance Attribute Details

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

A list of associations. Corresponds to the JSON property associations



9019
9020
9021
# File 'lib/google/apis/compute_alpha/classes.rb', line 9019

def associations
  @associations
end

#kindString

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

Returns:

  • (String)


9025
9026
9027
# File 'lib/google/apis/compute_alpha/classes.rb', line 9025

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9032
9033
9034
9035
# File 'lib/google/apis/compute_alpha/classes.rb', line 9032

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