public sealed class Resource : IMessage<Resource>, IEquatable<Resource>, IDeepCloneable<Resource>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Security Command Center v1p1beta1 API class Resource.
Information related to the Google Cloud resource.
Namespace
Google.Cloud.SecurityCenter.V1P1Beta1Assembly
Google.Cloud.SecurityCenter.V1P1Beta1.dll
Constructors
Resource()
public Resource()
Resource(Resource)
public Resource(Resource other)
Parameter | |
---|---|
Name | Description |
other |
Resource |
Properties
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 |
Name
public string Name { get; set; }
The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
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 human readable name of project that the resource belongs to.
Property Value | |
---|---|
Type | Description |
string |