Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::ListFindingsResponse::ListFindingsResult::Resource (v0.4.1)

Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::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::V2::AwsMetadata
Returns

#aws_metadata=

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

#azure_metadata

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

#azure_metadata=

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

#cloud_provider

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

#cloud_provider=

def cloud_provider=(value) -> ::Google::Cloud::SecurityCenter::V2::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.

#gcp_metadata

def gcp_metadata() -> ::Google::Cloud::SecurityCenter::V2::GcpMetadata
Returns

#gcp_metadata=

def gcp_metadata=(value) -> ::Google::Cloud::SecurityCenter::V2::GcpMetadata
Parameter
Returns

#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

#resource_path

def resource_path() -> ::Google::Cloud::SecurityCenter::V2::ResourcePath
Returns

#resource_path=

def resource_path=(value) -> ::Google::Cloud::SecurityCenter::V2::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 organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{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 organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{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 organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{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.