Class: Google::Apis::ComputeBeta::OrganizationSecurityPoliciesListAssociationsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OrganizationSecurityPoliciesListAssociationsResponse

Returns a new instance of OrganizationSecurityPoliciesListAssociationsResponse.



22913
22914
22915
# File 'generated/google/apis/compute_beta/classes.rb', line 22913

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

Instance Attribute Details

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

A list of associations. Corresponds to the JSON property associations



22904
22905
22906
# File 'generated/google/apis/compute_beta/classes.rb', line 22904

def associations
  @associations
end

#kindString

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

Returns:

  • (String)


22911
22912
22913
# File 'generated/google/apis/compute_beta/classes.rb', line 22911

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22918
22919
22920
22921
# File 'generated/google/apis/compute_beta/classes.rb', line 22918

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