Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::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::V1::AwsMetadata::AwsAccount
Returns
- (::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsAccount) — The AWS account associated with the resource.
#account=
def account=(value) -> ::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsAccount
Parameter
- value (::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsAccount) — The AWS account associated with the resource.
Returns
- (::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsAccount) — The AWS account associated with the resource.
#organization
def organization() -> ::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsOrganization
Returns
- (::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsOrganization) — The AWS organization associated with the resource.
#organization=
def organization=(value) -> ::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsOrganization
Parameter
- value (::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsOrganization) — The AWS organization associated with the resource.
Returns
- (::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsOrganization) — The AWS organization associated with the resource.
#organizational_units
def organizational_units() -> ::Array<::Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsOrganizationalUnit>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::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::V1::AwsMetadata::AwsOrganizationalUnit>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V1::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::V1::AwsMetadata::AwsOrganizationalUnit>) — A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.