Class OrganizationsResource.LocationsResource.InspectTemplatesResource.ListRequest
Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class OrganizationsResource.LocationsResource.InspectTemplatesResource.ListRequest : DLPBaseServiceRequest<GooglePrivacyDlpV2ListInspectTemplatesResponse>, IClientServiceRequest<GooglePrivacyDlpV2ListInspectTemplatesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
LocationId
Deprecated. This field has no effect.
Declaration
[RequestParameter("locationId", RequestParameterType.Query)]
public virtual string LocationId { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
OrderBy
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.
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
string |
PageSize
Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Page token to continue retrieval. Comes from the previous call to ListInspectTemplates
.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | 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
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()