Class: Google::Apis::ComputeBeta::FirewallPoliciesListAssociationsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FirewallPoliciesListAssociationsResponse

Returns a new instance of FirewallPoliciesListAssociationsResponse.



7966
7967
7968
# File 'lib/google/apis/compute_beta/classes.rb', line 7966

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

Instance Attribute Details

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

A list of associations. Corresponds to the JSON property associations



7958
7959
7960
# File 'lib/google/apis/compute_beta/classes.rb', line 7958

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)


7964
7965
7966
# File 'lib/google/apis/compute_beta/classes.rb', line 7964

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7971
7972
7973
7974
# File 'lib/google/apis/compute_beta/classes.rb', line 7971

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