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.
4643 4644 4645 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4643 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsAccount
Corresponds to the JSON property account
4631 4632 4633 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4631 def account @account end |
#organization ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsOrganization
Corresponds to the JSON property organization
4636 4637 4638 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4636 def organization @organization end |
#organizational_units ⇒ Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsOrganizationalUnit>
Corresponds to the JSON property organizationalUnits
4641 4642 4643 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4641 def organizational_units @organizational_units end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4648 4649 4650 4651 4652 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4648 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 |