Class CreateDeidentifyTemplateRequest (4.1.0)

public sealed class CreateDeidentifyTemplateRequest : IMessage<CreateDeidentifyTemplateRequest>, IEquatable<CreateDeidentifyTemplateRequest>, IDeepCloneable<CreateDeidentifyTemplateRequest>, IBufferMessage, IMessage

Request message for CreateDeidentifyTemplate.

Inheritance

Object > CreateDeidentifyTemplateRequest

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

CreateDeidentifyTemplateRequest()

public CreateDeidentifyTemplateRequest()

CreateDeidentifyTemplateRequest(CreateDeidentifyTemplateRequest)

public CreateDeidentifyTemplateRequest(CreateDeidentifyTemplateRequest other)
Parameter
NameDescription
otherCreateDeidentifyTemplateRequest

Properties

DeidentifyTemplate

public DeidentifyTemplate DeidentifyTemplate { get; set; }

Required. The DeidentifyTemplate to create.

Property Value
TypeDescription
DeidentifyTemplate

LocationId

public string LocationId { get; set; }

Deprecated. This field has no effect.

Property Value
TypeDescription
String

Parent

public string Parent { get; set; }

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:<br/> projects/<var>PROJECT_ID</var>/locations/<var>LOCATION_ID</var>
  • Projects scope, no location specified (defaults to global):<br/> projects/<var>PROJECT_ID</var>
  • Organizations scope, location specified:<br/> organizations/<var>ORG_ID</var>/locations/<var>LOCATION_ID</var>
  • Organizations scope, no location specified (defaults to global):<br/> organizations/<var>ORG_ID</var>

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

Property Value
TypeDescription
String

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

ParentAsOrganizationLocationName

public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }

OrganizationLocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
OrganizationLocationName

ParentAsOrganizationName

public OrganizationName ParentAsOrganizationName { get; set; }

OrganizationName-typed view over the Parent resource name property.

Property Value
TypeDescription
OrganizationName

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
TypeDescription
IResourceName

TemplateId

public string TemplateId { get; set; }

The template id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.

Property Value
TypeDescription
String