Class: Google::Apis::SecuritycenterV1beta2::AwsMetadata
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::AwsMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#account ⇒ Google::Apis::SecuritycenterV1beta2::AwsAccount
Corresponds to the JSON property
account. -
#organization ⇒ Google::Apis::SecuritycenterV1beta2::AwsOrganization
Corresponds to the JSON property
organization. -
#organizational_units ⇒ Array<Google::Apis::SecuritycenterV1beta2::AwsOrganizationalUnit>
Corresponds to the JSON property
organizationalUnits.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AwsMetadata
constructor
A new instance of AwsMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AwsMetadata
Returns a new instance of AwsMetadata.
600 601 602 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 600 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account ⇒ Google::Apis::SecuritycenterV1beta2::AwsAccount
Corresponds to the JSON property account
588 589 590 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 588 def account @account end |
#organization ⇒ Google::Apis::SecuritycenterV1beta2::AwsOrganization
Corresponds to the JSON property organization
593 594 595 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 593 def organization @organization end |
#organizational_units ⇒ Array<Google::Apis::SecuritycenterV1beta2::AwsOrganizationalUnit>
Corresponds to the JSON property organizationalUnits
598 599 600 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 598 def organizational_units @organizational_units end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
605 606 607 608 609 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 605 def update!(**args) @account = args[:account] if args.key?(:account) @organization = args[:organization] if args.key?(:organization) @organizational_units = args[:organizational_units] if args.key?(:organizational_units) end |