Class ProjectsResource.DeidentifyTemplatesResource
The "deidentifyTemplates" collection of methods.
Inherited Members
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: |
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
|
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
|
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: |
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
|
Returns
Type | Description |
---|---|
ProjectsResource.DeidentifyTemplatesResource.PatchRequest |