Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::AwsMetadata.
AWS metadata associated with the resource, only applicable if the finding's cloud provider is Amazon Web Services.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#account
def account() -> ::Google::Cloud::SecurityCenter::V2::AwsMetadata::AwsAccount
Returns
- (::Google::Cloud::SecurityCenter::V2::AwsMetadata::AwsAccount) — The AWS account associated with the resource.
#account=
def account=(value) -> ::Google::Cloud::SecurityCenter::V2::AwsMetadata::AwsAccount
Parameter
- value (::Google::Cloud::SecurityCenter::V2::AwsMetadata::AwsAccount) — The AWS account associated with the resource.
Returns
- (::Google::Cloud::SecurityCenter::V2::AwsMetadata::AwsAccount) — The AWS account associated with the resource.
#organization
def organization() -> ::Google::Cloud::SecurityCenter::V2::AwsMetadata::AwsOrganization
Returns
- (::Google::Cloud::SecurityCenter::V2::AwsMetadata::AwsOrganization) — The AWS organization associated with the resource.
#organization=
def organization=(value) -> ::Google::Cloud::SecurityCenter::V2::AwsMetadata::AwsOrganization
Parameter
- value (::Google::Cloud::SecurityCenter::V2::AwsMetadata::AwsOrganization) — The AWS organization associated with the resource.
Returns
- (::Google::Cloud::SecurityCenter::V2::AwsMetadata::AwsOrganization) — The AWS organization associated with the resource.
#organizational_units
def organizational_units() -> ::Array<::Google::Cloud::SecurityCenter::V2::AwsMetadata::AwsOrganizationalUnit>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::AwsMetadata::AwsOrganizationalUnit>) — A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.
#organizational_units=
def organizational_units=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::AwsMetadata::AwsOrganizationalUnit>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V2::AwsMetadata::AwsOrganizationalUnit>) — A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::AwsMetadata::AwsOrganizationalUnit>) — A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.