Class: Google::Apis::ComputeAlpha::OrganizationSecurityPoliciesListAssociationsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OrganizationSecurityPoliciesListAssociationsResponse

Returns a new instance of OrganizationSecurityPoliciesListAssociationsResponse.



22750
22751
22752
# File 'generated/google/apis/compute_alpha/classes.rb', line 22750

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

Instance Attribute Details

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

A list of associations. Corresponds to the JSON property associations



22741
22742
22743
# File 'generated/google/apis/compute_alpha/classes.rb', line 22741

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)


22748
22749
22750
# File 'generated/google/apis/compute_alpha/classes.rb', line 22748

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22755
22756
22757
22758
# File 'generated/google/apis/compute_alpha/classes.rb', line 22755

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