Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AwsMetadata
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AwsMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#account ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AwsAccount
Corresponds to the JSON property
account. -
#organization ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AwsOrganization
Corresponds to the JSON property
organization. -
#organizational_units ⇒ Array<Google::Apis::SecuritycenterV1beta1::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.
4824 4825 4826 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4824 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AwsAccount
Corresponds to the JSON property account
4812 4813 4814 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4812 def account @account end |
#organization ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AwsOrganization
Corresponds to the JSON property organization
4817 4818 4819 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4817 def organization @organization end |
#organizational_units ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AwsOrganizationalUnit>
Corresponds to the JSON property organizationalUnits
4822 4823 4824 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4822 def organizational_units @organizational_units end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4829 4830 4831 4832 4833 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4829 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 |