public sealed class DlpContentName : IResourceName, IEquatable<DlpContentName>
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DlpContentName.
Resource name for the DlpContent
resource.
Namespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
DlpContentName(String)
public DlpContentName(string projectId)
Constructs a new instance of a DlpContentName class from the component parts of pattern
projects/{project}/dlpContent
Name | Description |
projectId | String The |
Properties
IsKnownPattern
public bool IsKnownPattern { get; }
Whether this instance contains a resource name with a known pattern.
Type | Description |
Boolean |
LocationId
public string LocationId { get; }
The Location
ID. May be null
, depending on which resource name is contained by this instance.
Type | Description |
String |
ProjectId
public string ProjectId { get; }
The Project
ID. May be null
, depending on which resource name is contained by this instance.
Type | Description |
String |
Type
public DlpContentName.ResourceNameType Type { get; }
The DlpContentName.ResourceNameType of the contained resource name.
Type | Description |
DlpContentName.ResourceNameType |
UnparsedResource
public UnparsedResourceName UnparsedResource { get; }
The contained UnparsedResourceName. Only non-null
if this instance contains an
unparsed resource name.
Type | Description |
UnparsedResourceName |
Methods
Format(String)
public static string Format(string projectId)