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

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

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#aws_metadata

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

#aws_metadata=

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

#azure_metadata

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

#azure_metadata=

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

#cloud_provider

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

#cloud_provider=

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

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

#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

#resource_path=

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

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