Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsMetadata
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsMetadata
- 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::GoogleCloudSecuritycenterV2AwsAccount
Corresponds to the JSON property
account. -
#organization ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsOrganization
Corresponds to the JSON property
organization. -
#organizational_units ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsOrganizationalUnit>
Corresponds to the JSON property
organizationalUnits.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2AwsMetadata
constructor
A new instance of GoogleCloudSecuritycenterV2AwsMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2AwsMetadata
Returns a new instance of GoogleCloudSecuritycenterV2AwsMetadata.
4649 4650 4651 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4649 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsAccount
Corresponds to the JSON property account
4637 4638 4639 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4637 def account @account end |
#organization ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsOrganization
Corresponds to the JSON property organization
4642 4643 4644 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4642 def organization @organization end |
#organizational_units ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsOrganizationalUnit>
Corresponds to the JSON property organizationalUnits
4647 4648 4649 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4647 def organizational_units @organizational_units end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4654 4655 4656 4657 4658 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4654 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 |