Google Cloud Security Command Center v1 API - Class Resource (3.23.0)

public sealed class Resource : IMessage<Resource>, IEquatable<Resource>, IDeepCloneable<Resource>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Security Command Center v1 API class Resource.

Information related to the Google Cloud resource.

Inheritance

object > Resource

Namespace

Google.Cloud.SecurityCenter.V1

Assembly

Google.Cloud.SecurityCenter.V1.dll

Constructors

Resource()

public Resource()

Resource(Resource)

public Resource(Resource other)
Parameter
Name Description
other Resource

Properties

AwsMetadata

public AwsMetadata AwsMetadata { get; set; }

The AWS metadata associated with the finding.

Property Value
Type Description
AwsMetadata

AzureMetadata

public AzureMetadata AzureMetadata { get; set; }

The Azure metadata associated with the finding.

Property Value
Type Description
AzureMetadata

CloudProvider

public CloudProvider CloudProvider { get; set; }

Indicates which cloud provider the resource resides in.

Property Value
Type Description
CloudProvider

CloudProviderMetadataCase

public Resource.CloudProviderMetadataOneofCase CloudProviderMetadataCase { get; }
Property Value
Type Description
ResourceCloudProviderMetadataOneofCase

DisplayName

public string DisplayName { get; set; }

The human readable name of the resource.

Property Value
Type Description
string

Folders

public RepeatedField<Folder> Folders { get; }

Output only. 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.

Property Value
Type Description
RepeatedFieldFolder

Location

public string Location { get; set; }

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

Property Value
Type Description
string

Name

public string Name { get; set; }
Property Value
Type Description
string

Organization

public string Organization { get; set; }

Indicates which organization or tenant in the cloud provider the finding applies to.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

The full resource name of resource's parent.

Property Value
Type Description
string

ParentDisplayName

public string ParentDisplayName { get; set; }

The human readable name of resource's parent.

Property Value
Type Description
string

Project

public string Project { get; set; }

The full resource name of project that the resource belongs to.

Property Value
Type Description
string

ProjectDisplayName

public string ProjectDisplayName { get; set; }

The project ID that the resource belongs to.

Property Value
Type Description
string

ResourcePath

public ResourcePath ResourcePath { get; set; }

Provides the path to the resource within the resource hierarchy.

Property Value
Type Description
ResourcePath

ResourcePathString

public string ResourcePathString { get; set; }

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.

Property Value
Type Description
string

Service

public string Service { get; set; }

The parent service or product from which the resource is provided, for example, GKE or SNS.

Property Value
Type Description
string

Type

public string Type { get; set; }

The full resource type of the resource.

Property Value
Type Description
string