public sealed class InspectTemplateName : IResourceName, IEquatable<InspectTemplateName>
Resource name for the InspectTemplate
resource.
Namespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
InspectTemplateName(String, String)
public InspectTemplateName(string organizationId, string inspectTemplateId)
Constructs a new instance of a InspectTemplateName class from the component parts of pattern
organizations/{organization}/inspectTemplates/{inspect_template}
Parameters | |
---|---|
Name | Description |
organizationId | String The |
inspectTemplateId | String The |
Properties
InspectTemplateId
public string InspectTemplateId { get; }
The InspectTemplate
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 |
Boolean |
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 |
OrganizationId
public string OrganizationId { get; }
The Organization
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 InspectTemplateName.ResourceNameType Type { get; }
The InspectTemplateName.ResourceNameType of the contained resource name.
Property Value | |
---|---|
Type | Description |
InspectTemplateName.ResourceNameType |
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 organizationId, string inspectTemplateId)
Formats the IDs into the string representation of this InspectTemplateName with pattern
organizations/{organization}/inspectTemplates/{inspect_template}
.
Parameters | |
---|---|
Name | Description |
organizationId | String The |
inspectTemplateId | String The |
Returns | |
---|---|
Type | Description |
String | The string representation of this InspectTemplateName with pattern
|
FormatOrganizationInspectTemplate(String, String)
public static string FormatOrganizationInspectTemplate(string organizationId, string inspectTemplateId)
Formats the IDs into the string representation of this InspectTemplateName with pattern
organizations/{organization}/inspectTemplates/{inspect_template}
.
Parameters | |
---|---|
Name | Description |
organizationId | String The |
inspectTemplateId | String The |
Returns | |
---|---|
Type | Description |
String | The string representation of this InspectTemplateName with pattern
|
FormatOrganizationLocationInspectTemplate(String, String, String)
public static string FormatOrganizationLocationInspectTemplate(string organizationId, string locationId, string inspectTemplateId)
Formats the IDs into the string representation of this InspectTemplateName with pattern
organizations/{organization}/locations/{location}/inspectTemplates/{inspect_template}
.
Parameters | |
---|---|
Name | Description |
organizationId | String The |
locationId | String The |
inspectTemplateId | String The |
Returns | |
---|---|
Type | Description |
String | The string representation of this InspectTemplateName with pattern
|