Google Cloud Data Loss Prevention v2 API - Class ListInspectTemplatesRequest (4.7.0)

public sealed class ListInspectTemplatesRequest : IMessage<ListInspectTemplatesRequest>, IEquatable<ListInspectTemplatesRequest>, IDeepCloneable<ListInspectTemplatesRequest>, IBufferMessage, IMessage, IPageRequest

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class ListInspectTemplatesRequest.

Request message for ListInspectTemplates.

Inheritance

object > ListInspectTemplatesRequest

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

ListInspectTemplatesRequest()

public ListInspectTemplatesRequest()

ListInspectTemplatesRequest(ListInspectTemplatesRequest)

public ListInspectTemplatesRequest(ListInspectTemplatesRequest other)
Parameter
NameDescription
otherListInspectTemplatesRequest

Properties

LocationId

public string LocationId { get; set; }

Deprecated. This field has no effect.

Property Value
TypeDescription
string

OrderBy

public string OrderBy { get; set; }

Comma separated list of fields to order by, followed by asc or desc postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant.

Example: name asc,update_time, create_time desc

Supported fields are:

  • create_time: corresponds to the time the template was created.
  • update_time: corresponds to the time the template was last updated.
  • name: corresponds to the template's name.
  • display_name: corresponds to the template's display name.
Property Value
TypeDescription
string

PageSize

public int PageSize { get; set; }

Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.

Property Value
TypeDescription
int

PageToken

public string PageToken { get; set; }

Page token to continue retrieval. Comes from the previous call to ListInspectTemplates.

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