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