Class ListProjectDataProfilesRequest.Builder (3.49.0)

public static final class ListProjectDataProfilesRequest.Builder extends GeneratedMessageV3.Builder<ListProjectDataProfilesRequest.Builder> implements ListProjectDataProfilesRequestOrBuilder

Request to list the profiles generated for a given organization or project.

Protobuf type google.privacy.dlp.v2.ListProjectDataProfilesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListProjectDataProfilesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListProjectDataProfilesRequest.Builder
Overrides

build()

public ListProjectDataProfilesRequest build()
Returns
Type Description
ListProjectDataProfilesRequest

buildPartial()

public ListProjectDataProfilesRequest buildPartial()
Returns
Type Description
ListProjectDataProfilesRequest

clear()

public ListProjectDataProfilesRequest.Builder clear()
Returns
Type Description
ListProjectDataProfilesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListProjectDataProfilesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListProjectDataProfilesRequest.Builder
Overrides

clearFilter()

public ListProjectDataProfilesRequest.Builder clearFilter()

Allows filtering.

Supported syntax:

  • Filter expressions are made up of one or more restrictions.
  • Restrictions can be combined by AND or OR logical operators. A sequence of restrictions implicitly uses AND.
  • A restriction has the form of {field} {operator} {value}.
  • Supported fields/values:
  • The operator must be = or !=.

    Examples:

  • project_id = 12345 AND status_code = 1

  • project_id = 12345 AND sensitivity_level = HIGH

    The length of this field should be no more than 500 characters.

string filter = 5;

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListProjectDataProfilesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListProjectDataProfilesRequest.Builder
Overrides

clearOrderBy()

public ListProjectDataProfilesRequest.Builder clearOrderBy()

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. Only one order field at a time is allowed.

Examples:

  • project_id
  • sensitivity_level desc

    Supported fields are:

  • project_id: Google Cloud project ID

  • sensitivity_level: How sensitive the data in a project is, at most.
  • data_risk_level: How much risk is associated with this data.
  • profile_last_generated: When the profile was last updated in epoch seconds.

string order_by = 4;

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

clearPageSize()

public ListProjectDataProfilesRequest.Builder clearPageSize()

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

int32 page_size = 3;

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

clearPageToken()

public ListProjectDataProfilesRequest.Builder clearPageToken()

Page token to continue retrieval.

string page_token = 2;

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.

clearParent()

public ListProjectDataProfilesRequest.Builder clearParent()

Required. organizations/{org_id}/locations/{loc_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListProjectDataProfilesRequest.Builder

This builder for chaining.