Class Resource (2.8.0)

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

Information related to the Google Cloud resource.

Inheritance

System.Object > Resource

Namespace

Google.Cloud.SecurityCenter.V1

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
System.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
RepeatedField<Folder>

Name

public string Name { get; set; }
Property Value
TypeDescription
System.String

Parent

public string Parent { get; set; }

The full resource name of resource's parent.

Property Value
TypeDescription
System.String

ParentDisplayName

public string ParentDisplayName { get; set; }

The human readable name of resource's parent.

Property Value
TypeDescription
System.String

Project

public string Project { get; set; }

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

Property Value
TypeDescription
System.String

ProjectDisplayName

public string ProjectDisplayName { get; set; }

The human readable name of project that the resource belongs to.

Property Value
TypeDescription
System.String

Type

public string Type { get; set; }

The full resource type of the resource.

Property Value
TypeDescription
System.String