Show / Hide Table of Contents

Class ProjectsResource.DeidentifyTemplatesResource

The "deidentifyTemplates" collection of methods.

Inheritance
object
ProjectsResource.DeidentifyTemplatesResource
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.DeidentifyTemplatesResource

Constructors

DeidentifyTemplatesResource(IClientService)

Constructs a new resource.

Declaration
public DeidentifyTemplatesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(GooglePrivacyDlpV2CreateDeidentifyTemplateRequest, string)

Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.

Declaration
public virtual ProjectsResource.DeidentifyTemplatesResource.CreateRequest Create(GooglePrivacyDlpV2CreateDeidentifyTemplateRequest body, string parent)
Parameters
Type Name Description
GooglePrivacyDlpV2CreateDeidentifyTemplateRequest 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.DeidentifyTemplatesResource.CreateRequest

Delete(string)

Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.

Declaration
public virtual ProjectsResource.DeidentifyTemplatesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

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

Returns
Type Description
ProjectsResource.DeidentifyTemplatesResource.DeleteRequest

Get(string)

Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.

Declaration
public virtual ProjectsResource.DeidentifyTemplatesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

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

Returns
Type Description
ProjectsResource.DeidentifyTemplatesResource.GetRequest

List(string)

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

Declaration
public virtual ProjectsResource.DeidentifyTemplatesResource.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.DeidentifyTemplatesResource.ListRequest

Patch(GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest, string)

Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.

Declaration
public virtual ProjectsResource.DeidentifyTemplatesResource.PatchRequest Patch(GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest body, string name)
Parameters
Type Name Description
GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest body

The body of the request.

string name

Required. Resource name of organization and deidentify template to be updated, for example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.

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