Class Resource
Information related to the Google Cloud resource that is associated with this finding.
Implements
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1.Data
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class Resource : IDirectResponseSchema
Properties
AwsMetadata
The AWS metadata associated with the finding.
Declaration
[JsonProperty("awsMetadata")]
public virtual AwsMetadata AwsMetadata { get; set; }
Property Value
Type | Description |
---|---|
AwsMetadata |
AzureMetadata
The Azure metadata associated with the finding.
Declaration
[JsonProperty("azureMetadata")]
public virtual AzureMetadata AzureMetadata { get; set; }
Property Value
Type | Description |
---|---|
AzureMetadata |
CloudProvider
Indicates which cloud provider the finding is from.
Declaration
[JsonProperty("cloudProvider")]
public virtual string CloudProvider { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
The human readable name of the resource.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Folders
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.
Declaration
[JsonProperty("folders")]
public virtual IList<Folder> Folders { get; set; }
Property Value
Type | Description |
---|---|
IList<Folder> |
Location
The region or location of the service (if applicable).
Declaration
[JsonProperty("location")]
public virtual string Location { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Organization
Indicates which organization / tenant the finding is for.
Declaration
[JsonProperty("organization")]
public virtual string Organization { get; set; }
Property Value
Type | Description |
---|---|
string |
ParentDisplayName
The human readable name of resource's parent.
Declaration
[JsonProperty("parentDisplayName")]
public virtual string ParentDisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ParentName
The full resource name of resource's parent.
Declaration
[JsonProperty("parentName")]
public virtual string ParentName { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectDisplayName
The project ID that the resource belongs to.
Declaration
[JsonProperty("projectDisplayName")]
public virtual string ProjectDisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectName
The full resource name of project that the resource belongs to.
Declaration
[JsonProperty("projectName")]
public virtual string ProjectName { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourcePath
Provides the path to the resource within the resource hierarchy.
Declaration
[JsonProperty("resourcePath")]
public virtual ResourcePath ResourcePath { get; set; }
Property Value
Type | Description |
---|---|
ResourcePath |
ResourcePathString
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.
Declaration
[JsonProperty("resourcePathString")]
public virtual string ResourcePathString { get; set; }
Property Value
Type | Description |
---|---|
string |
Service
The service or resource provider associated with the resource.
Declaration
[JsonProperty("service")]
public virtual string Service { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
The full resource type of the resource.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |