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.
Namespace
Google.Cloud.SecurityCenter.V1Assembly
Google.Cloud.SecurityCenter.V1.dll
Constructors
Resource()
public Resource()
Resource(Resource)
public Resource(Resource other)
Parameter | |
---|---|
Name | Description |
other | Resource |
Properties
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 |
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 project ID that the resource belongs to.
Property Value | |
---|---|
Type | Description |
string |
Type
public string Type { get; set; }
The full resource type of the resource.
Property Value | |
---|---|
Type | Description |
string |