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.
4830 4831 4832 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4830 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AwsAccount
Corresponds to the JSON property account
4818 4819 4820 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4818 def account @account end |
#organization ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AwsOrganization
Corresponds to the JSON property organization
4823 4824 4825 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4823 def organization @organization end |
#organizational_units ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AwsOrganizationalUnit>
Corresponds to the JSON property organizationalUnits
4828 4829 4830 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4828 def organizational_units @organizational_units end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4835 4836 4837 4838 4839 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4835 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 |