Class: Google::Cloud::SecurityCenter::V1::ListFindingsResponse::ListFindingsResult::Resource
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V1::ListFindingsResponse::ListFindingsResult::Resource
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb
Overview
Information related to the Google Cloud resource that is associated with this finding.
Instance Attribute Summary collapse
-
#aws_metadata ⇒ ::Google::Cloud::SecurityCenter::V1::AwsMetadata
The AWS metadata associated with the finding.
-
#azure_metadata ⇒ ::Google::Cloud::SecurityCenter::V1::AzureMetadata
The Azure metadata associated with the finding.
-
#cloud_provider ⇒ ::Google::Cloud::SecurityCenter::V1::CloudProvider
Indicates which cloud provider the finding is from.
-
#display_name ⇒ ::String
The human readable name of the resource.
-
#folders ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::Folder>
Contains a Folder message for each folder in the assets ancestry.
-
#location ⇒ ::String
The region or location of the service (if applicable).
-
#name ⇒ ::String
The full resource name of the resource.
-
#organization ⇒ ::String
Indicates which organization / tenant the finding is for.
-
#parent_display_name ⇒ ::String
The human readable name of resource's parent.
-
#parent_name ⇒ ::String
The full resource name of resource's parent.
-
#project_display_name ⇒ ::String
The project ID that the resource belongs to.
-
#project_name ⇒ ::String
The full resource name of project that the resource belongs to.
-
#resource_path ⇒ ::Google::Cloud::SecurityCenter::V1::ResourcePath
Provides the path to the resource within the resource hierarchy.
-
#resource_path_string ⇒ ::String
A string representation of the resource path.
-
#service ⇒ ::String
The service or resource provider associated with the resource.
-
#type ⇒ ::String
The full resource type of the resource.
Instance Attribute Details
#aws_metadata ⇒ ::Google::Cloud::SecurityCenter::V1::AwsMetadata
Returns The AWS metadata associated with the finding.
1535 1536 1537 1538 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1535 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#azure_metadata ⇒ ::Google::Cloud::SecurityCenter::V1::AzureMetadata
Returns The Azure metadata associated with the finding.
1535 1536 1537 1538 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1535 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#cloud_provider ⇒ ::Google::Cloud::SecurityCenter::V1::CloudProvider
Returns Indicates which cloud provider the finding is from.
1535 1536 1537 1538 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1535 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#display_name ⇒ ::String
Returns The human readable name of the resource.
1535 1536 1537 1538 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1535 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#folders ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::Folder>
Returns Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
1535 1536 1537 1538 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1535 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#location ⇒ ::String
Returns The region or location of the service (if applicable).
1535 1536 1537 1538 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1535 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name.
1535 1536 1537 1538 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1535 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#organization ⇒ ::String
Returns Indicates which organization / tenant the finding is for.
1535 1536 1537 1538 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1535 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent_display_name ⇒ ::String
Returns The human readable name of resource's parent.
1535 1536 1537 1538 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1535 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent_name ⇒ ::String
Returns The full resource name of resource's parent.
1535 1536 1537 1538 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1535 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#project_display_name ⇒ ::String
Returns The project ID that the resource belongs to.
1535 1536 1537 1538 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1535 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#project_name ⇒ ::String
Returns The full resource name of project that the resource belongs to.
1535 1536 1537 1538 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1535 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#resource_path ⇒ ::Google::Cloud::SecurityCenter::V1::ResourcePath
Returns Provides the path to the resource within the resource hierarchy.
1535 1536 1537 1538 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1535 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#resource_path_string ⇒ ::String
Returns A string representation of the resource path.
For Google Cloud, it has the format of
org/{organization_id}/folder/{folder_id}/folder/{folder_id}/project/{project_id}
where there can be any number of folders.
For AWS, it has the format of
org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}
where there can be any number of organizational units.
For Azure, it has the format of
mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}
where there can be any number of management groups.
1535 1536 1537 1538 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1535 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#service ⇒ ::String
Returns The service or resource provider associated with the resource.
1535 1536 1537 1538 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1535 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |