Show / Hide Table of Contents

Class ProjectsResource.InspectTemplatesResource

The "inspectTemplates" collection of methods.

Inheritance
object
ProjectsResource.InspectTemplatesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class ProjectsResource.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.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: projects/{project_id}/locations/{location_id} + Projects scope, no location specified (defaults to global): projects/{project_id} + Organizations scope, location specified: organizations/{org_id}/locations/{location_id} + Organizations scope, no location specified (defaults to global): organizations/{org_id} The following example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3

Returns
Type Description
ProjectsResource.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.InspectTemplatesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Resource name of the organization and inspectTemplate to be deleted, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

Returns
Type Description
ProjectsResource.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.InspectTemplatesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Resource name of the organization and inspectTemplate to be read, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

Returns
Type Description
ProjectsResource.InspectTemplatesResource.GetRequest

List(string)

Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.

Declaration
public virtual ProjectsResource.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: projects/{project_id}/locations/{location_id} + Projects scope, no location specified (defaults to global): projects/{project_id} + Organizations scope, location specified: organizations/{org_id}/locations/{location_id} + Organizations scope, no location specified (defaults to global): organizations/{org_id} The following example parent string specifies a parent project with the identifier example-project, and specifies the europe-west3 location for processing data: parent=projects/example-project/locations/europe-west3

Returns
Type Description
ProjectsResource.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.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 organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

Returns
Type Description
ProjectsResource.InspectTemplatesResource.PatchRequest
In this article
Back to top Generated by DocFX