Class ProjectsResource.LocationsResource.InspectTemplatesResource
The "inspectTemplates" collection of methods.
Inherited Members
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class ProjectsResource.LocationsResource.InspectTemplatesResource
Constructors
InspectTemplatesResource(IClientService)
Constructs a new resource.
Declaration
public InspectTemplatesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GooglePrivacyDlpV2CreateInspectTemplateRequest, string)
Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Declaration
public virtual ProjectsResource.LocationsResource.InspectTemplatesResource.CreateRequest Create(GooglePrivacyDlpV2CreateInspectTemplateRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GooglePrivacyDlpV2CreateInspectTemplateRequest | body | The body of the request. |
string | parent | Required. Parent resource name. The format of this value varies depending on the scope of the
request (project or organization) and whether you have specified a processing
location: + Projects
scope, location specified: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InspectTemplatesResource.CreateRequest |
Delete(string)
Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Declaration
public virtual ProjectsResource.LocationsResource.InspectTemplatesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the organization and inspectTemplate to be deleted, for example
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InspectTemplatesResource.DeleteRequest |
Get(string)
Gets an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Declaration
public virtual ProjectsResource.LocationsResource.InspectTemplatesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the organization and inspectTemplate to be read, for example
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InspectTemplatesResource.GetRequest |
List(string)
Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Declaration
public virtual ProjectsResource.LocationsResource.InspectTemplatesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent resource name. The format of this value varies depending on the scope of the
request (project or organization) and whether you have specified a processing
location: + Projects
scope, location specified: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InspectTemplatesResource.ListRequest |
Patch(GooglePrivacyDlpV2UpdateInspectTemplateRequest, string)
Updates the InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Declaration
public virtual ProjectsResource.LocationsResource.InspectTemplatesResource.PatchRequest Patch(GooglePrivacyDlpV2UpdateInspectTemplateRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GooglePrivacyDlpV2UpdateInspectTemplateRequest | body | The body of the request. |
string | name | Required. Resource name of organization and inspectTemplate to be updated, for example
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InspectTemplatesResource.PatchRequest |