# Cloud Security Command Center V1 API - Class Google::Cloud::SecurityCenter::V1::ListFindingsResponse::ListFindingsResult::Resource (v1.10.0)

1.10.0 (latest) 1.9.1 1.8.0 1.7.1 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.0 0.41.0 0.40.0 0.39.0 0.38.0 0.37.0 0.36.0 0.35.0 0.34.2 0.33.0 0.32.0 0.31.1 0.30.0 0.29.1 0.28.0 0.27.0 0.26.0 0.25.1 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.1 0.11.1 Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::ListFindingsResponse::ListFindingsResult::Resource.

Information related to the Google Cloud resource that is
associated with this finding.

## Inherits

- [Object](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/Google-Cloud-SecurityCenter-V1-Kubernetes-Object)

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #aws_metadata

    def aws_metadata() -> ::Google::Cloud::SecurityCenter::V1::AwsMetadata

**Returns**

- ([::Google::Cloud::SecurityCenter::V1::AwsMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/Google-Cloud-SecurityCenter-V1-AwsMetadata)) --- The AWS metadata associated with the finding.


  Note: The following fields are mutually exclusive: `aws_metadata`, `azure_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #aws_metadata=

    def aws_metadata=(value) -> ::Google::Cloud::SecurityCenter::V1::AwsMetadata

**Parameter**

- **value** ([::Google::Cloud::SecurityCenter::V1::AwsMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/Google-Cloud-SecurityCenter-V1-AwsMetadata)) --- The AWS metadata associated with the finding.


  Note: The following fields are mutually exclusive: `aws_metadata`, `azure_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::SecurityCenter::V1::AwsMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/Google-Cloud-SecurityCenter-V1-AwsMetadata)) --- The AWS metadata associated with the finding.


  Note: The following fields are mutually exclusive: `aws_metadata`, `azure_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #azure_metadata

    def azure_metadata() -> ::Google::Cloud::SecurityCenter::V1::AzureMetadata

**Returns**

- ([::Google::Cloud::SecurityCenter::V1::AzureMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/Google-Cloud-SecurityCenter-V1-AzureMetadata)) --- The Azure metadata associated with the finding.


  Note: The following fields are mutually exclusive: `azure_metadata`, `aws_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #azure_metadata=

    def azure_metadata=(value) -> ::Google::Cloud::SecurityCenter::V1::AzureMetadata

**Parameter**

- **value** ([::Google::Cloud::SecurityCenter::V1::AzureMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/Google-Cloud-SecurityCenter-V1-AzureMetadata)) --- The Azure metadata associated with the finding.


  Note: The following fields are mutually exclusive: `azure_metadata`, `aws_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::SecurityCenter::V1::AzureMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/Google-Cloud-SecurityCenter-V1-AzureMetadata)) --- The Azure metadata associated with the finding.


  Note: The following fields are mutually exclusive: `azure_metadata`, `aws_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #cloud_provider

    def cloud_provider() -> ::Google::Cloud::SecurityCenter::V1::CloudProvider

**Returns**

- ([::Google::Cloud::SecurityCenter::V1::CloudProvider](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/Google-Cloud-SecurityCenter-V1-CloudProvider)) --- Indicates which cloud provider the finding is from.

### #cloud_provider=

    def cloud_provider=(value) -> ::Google::Cloud::SecurityCenter::V1::CloudProvider

**Parameter**

- **value** ([::Google::Cloud::SecurityCenter::V1::CloudProvider](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/Google-Cloud-SecurityCenter-V1-CloudProvider)) --- Indicates which cloud provider the finding is from.
**Returns**

- ([::Google::Cloud::SecurityCenter::V1::CloudProvider](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/Google-Cloud-SecurityCenter-V1-CloudProvider)) --- Indicates which cloud provider the finding is from.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- The human readable name of the resource.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The human readable name of the resource.
**Returns**

- (::String) --- The human readable name of the resource.

### #folders

    def folders() -> ::Array<::Google::Cloud::SecurityCenter::V1::Folder>

**Returns**

- (::Array\<[::Google::Cloud::SecurityCenter::V1::Folder](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/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.

### #folders=

    def folders=(value) -> ::Array<::Google::Cloud::SecurityCenter::V1::Folder>

**Parameter**

- **value** (::Array\<[::Google::Cloud::SecurityCenter::V1::Folder](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/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.
**Returns**

- (::Array\<[::Google::Cloud::SecurityCenter::V1::Folder](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/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.

### #location

    def location() -> ::String

**Returns**

- (::String) --- The region or location of the service (if applicable).

### #location=

    def location=(value) -> ::String

**Parameter**

- **value** (::String) --- The region or location of the service (if applicable).
**Returns**

- (::String) --- The region or location of the service (if applicable).

### #name

    def name() -> ::String

**Returns**

- (::String) --- The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
**Returns**

- (::String) --- The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name

### #organization

    def organization() -> ::String

**Returns**

- (::String) --- Indicates which organization / tenant the finding is for.

### #organization=

    def organization=(value) -> ::String

**Parameter**

- **value** (::String) --- Indicates which organization / tenant the finding is for.
**Returns**

- (::String) --- Indicates which organization / tenant the finding is for.

### #parent_display_name

    def parent_display_name() -> ::String

**Returns**

- (::String) --- The human readable name of resource's parent.

### #parent_display_name=

    def parent_display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The human readable name of resource's parent.
**Returns**

- (::String) --- The human readable name of resource's parent.

### #parent_name

    def parent_name() -> ::String

**Returns**

- (::String) --- The full resource name of resource's parent.

### #parent_name=

    def parent_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The full resource name of resource's parent.
**Returns**

- (::String) --- The full resource name of resource's parent.

### #project_display_name

    def project_display_name() -> ::String

**Returns**

- (::String) --- The project ID that the resource belongs to.

### #project_display_name=

    def project_display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The project ID that the resource belongs to.
**Returns**

- (::String) --- The project ID that the resource belongs to.

### #project_name

    def project_name() -> ::String

**Returns**

- (::String) --- The full resource name of project that the resource belongs to.

### #project_name=

    def project_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The full resource name of project that the resource belongs to.
**Returns**

- (::String) --- The full resource name of project that the resource belongs to.

### #resource_path

    def resource_path() -> ::Google::Cloud::SecurityCenter::V1::ResourcePath

**Returns**

- ([::Google::Cloud::SecurityCenter::V1::ResourcePath](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/Google-Cloud-SecurityCenter-V1-ResourcePath)) --- Provides the path to the resource within the resource hierarchy.

### #resource_path=

    def resource_path=(value) -> ::Google::Cloud::SecurityCenter::V1::ResourcePath

**Parameter**

- **value** ([::Google::Cloud::SecurityCenter::V1::ResourcePath](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/Google-Cloud-SecurityCenter-V1-ResourcePath)) --- Provides the path to the resource within the resource hierarchy.
**Returns**

- ([::Google::Cloud::SecurityCenter::V1::ResourcePath](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1/latest/Google-Cloud-SecurityCenter-V1-ResourcePath)) --- Provides the path to the resource within the resource hierarchy.

### #resource_path_string

    def resource_path_string() -> ::String

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

### #resource_path_string=

    def resource_path_string=(value) -> ::String

**Parameter**

- **value** (::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.
**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.

### #service

    def service() -> ::String

**Returns**

- (::String) --- The service or resource provider associated with the resource.

### #service=

    def service=(value) -> ::String

**Parameter**

- **value** (::String) --- The service or resource provider associated with the resource.
**Returns**

- (::String) --- The service or resource provider associated with the resource.

### #type

    def type() -> ::String

**Returns**

- (::String) --- The full resource type of the resource.

### #type=

    def type=(value) -> ::String

**Parameter**

- **value** (::String) --- The full resource type of the resource.
**Returns**

- (::String) --- The full resource type of the resource.