Class: Google::Cloud::SecurityCenter::V1::ListFindingsResponse::ListFindingsResult::Resource

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#aws_metadata::Google::Cloud::SecurityCenter::V1::AwsMetadata

Returns The AWS metadata associated with the finding.

Returns:



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.

Returns:



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.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:

  • (::Array<::Google::Cloud::SecurityCenter::V1::Folder>)

    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).

Returns:

  • (::String)

    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.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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

#type::String

Returns The full resource type of the resource.

Returns:

  • (::String)

    The full resource type 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