Google Cloud Security Command Center v1 API - Class Resource (3.9.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

GoogleCloudGoogle.Cloud.SecurityCenterV1

Assembly

Google.Cloud.SecurityCenter.V1.dll

Constructors

Resource()

public Resource()

Resource(Resource)

public Resource(Resource other)
Parameter
NameDescription
otherResource

Properties

DisplayName

public string DisplayName { get; set; }

The human readable name of the resource.

Property Value
TypeDescription
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
TypeDescription
RepeatedFieldFolder

Name

public string Name { get; set; }
Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

The full resource name of resource's parent.

Property Value
TypeDescription
string

ParentDisplayName

public string ParentDisplayName { get; set; }

The human readable name of resource's parent.

Property Value
TypeDescription
string

Project

public string Project { get; set; }

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

Property Value
TypeDescription
string

ProjectDisplayName

public string ProjectDisplayName { get; set; }

The project ID that the resource belongs to.

Property Value
TypeDescription
string

Type

public string Type { get; set; }

The full resource type of the resource.

Property Value
TypeDescription
string