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

Constructor Details

#initialize(**args) ⇒ OrganizationSecurityPoliciesListAssociationsResponse

Returns a new instance of OrganizationSecurityPoliciesListAssociationsResponse.



25326
25327
25328
# File 'generated/google/apis/compute_alpha/classes.rb', line 25326

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

Instance Attribute Details

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

A list of associations. Corresponds to the JSON property associations



25317
25318
25319
# File 'generated/google/apis/compute_alpha/classes.rb', line 25317

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)


25324
25325
25326
# File 'generated/google/apis/compute_alpha/classes.rb', line 25324

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25331
25332
25333
25334
# File 'generated/google/apis/compute_alpha/classes.rb', line 25331

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