Sensitive Data Protection (DLP) (dlp:v2)

2024-06-28

6 new methods

Additions

    Methods
  • dlp.projects.locations.fileStoreDataProfiles.get

      Flat Path: v2/projects/{projectsId}/locations/{locationsId}/fileStoreDataProfiles/{fileStoreDataProfilesId}

      Scopes: https://www.googleapis.com/auth/cloud-platform

      HTTP Method: GET

      Parameters:

        name

          Description: Required. Resource name, for example `organizations/12345/locations/us/fileStoreDataProfiles/53234423`.

          Location: path

          Type: string

          Pattern: ^projects/[^/]+/locations/[^/]+/fileStoreDataProfiles/[^/]+$

          Required: Yes

      Parameter Order: name

      Path: v2/{+name}

      Description: Gets a file store data profile.

  • dlp.projects.locations.fileStoreDataProfiles.list

      Flat Path: v2/projects/{projectsId}/locations/{locationsId}/fileStoreDataProfiles

      Parameters:

        parent

          Required: Yes

          Description: Required. Resource name of the organization or project, for example `organizations/433245324/locations/europe` or `projects/project-id/locations/asia`.

          Pattern: ^projects/[^/]+/locations/[^/]+$

          Type: string

          Location: path

        pageSize

          Type: integer

          Format: int32

          Location: query

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

        filter

          Description: Optional. 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: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like "gs://bucket". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` . * 'file_store_path = "gs://mybucket"` The length of this field should be no more than 500 characters.

          Location: query

          Type: string

        pageToken

          Description: Optional. Page token to continue retrieval.

          Location: query

          Type: string

        orderBy

          Location: query

          Type: string

          Description: Optional. 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 asc` * `name` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `sensitivity_level`: How sensitive the data in a table 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. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `name`: The name of the profile. - `create_time`: The time the file store was first created.

      HTTP Method: GET

      Parameter Order: parent

      Path: v2/{+parent}/fileStoreDataProfiles

      Description: Lists file store data profiles for an organization.

      Scopes: https://www.googleapis.com/auth/cloud-platform

  • dlp.projects.locations.fileStoreDataProfiles.delete

      Parameter Order: name

      Path: v2/{+name}

      Flat Path: v2/projects/{projectsId}/locations/{locationsId}/fileStoreDataProfiles/{fileStoreDataProfilesId}

      Parameters:

        name

          Type: string

          Location: path

          Description: Required. Resource name of the file store data profile.

          Required: Yes

          Pattern: ^projects/[^/]+/locations/[^/]+/fileStoreDataProfiles/[^/]+$

      Description: Delete a FileStoreDataProfile. Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration.

      Scopes: https://www.googleapis.com/auth/cloud-platform

      HTTP Method: DELETE

  • dlp.organizations.locations.fileStoreDataProfiles.list

      Parameter Order: parent

      Parameters:

        pageSize

          Type: integer

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

          Location: query

          Format: int32

        orderBy

          Description: Optional. 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 asc` * `name` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `sensitivity_level`: How sensitive the data in a table 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. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `name`: The name of the profile. - `create_time`: The time the file store was first created.

          Type: string

          Location: query

        pageToken

          Location: query

          Description: Optional. Page token to continue retrieval.

          Type: string

        filter

          Location: query

          Type: string

          Description: Optional. 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: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like "gs://bucket". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` . * 'file_store_path = "gs://mybucket"` The length of this field should be no more than 500 characters.

        parent

          Location: path

          Description: Required. Resource name of the organization or project, for example `organizations/433245324/locations/europe` or `projects/project-id/locations/asia`.

          Type: string

          Required: Yes

          Pattern: ^organizations/[^/]+/locations/[^/]+$

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: Lists file store data profiles for an organization.

      Path: v2/{+parent}/fileStoreDataProfiles

      Flat Path: v2/organizations/{organizationsId}/locations/{locationsId}/fileStoreDataProfiles

      HTTP Method: GET

  • dlp.organizations.locations.fileStoreDataProfiles.get

      Parameters:

        name

          Description: Required. Resource name, for example `organizations/12345/locations/us/fileStoreDataProfiles/53234423`.

          Pattern: ^organizations/[^/]+/locations/[^/]+/fileStoreDataProfiles/[^/]+$

          Type: string

          Location: path

          Required: Yes

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Path: v2/{+name}

      HTTP Method: GET

      Flat Path: v2/organizations/{organizationsId}/locations/{locationsId}/fileStoreDataProfiles/{fileStoreDataProfilesId}

      Parameter Order: name

      Description: Gets a file store data profile.

  • dlp.organizations.locations.fileStoreDataProfiles.delete

      Description: Delete a FileStoreDataProfile. Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration.

      Path: v2/{+name}

      Flat Path: v2/organizations/{organizationsId}/locations/{locationsId}/fileStoreDataProfiles/{fileStoreDataProfilesId}

      Parameter Order: name

      Parameters:

        name

          Location: path

          Required: Yes

          Description: Required. Resource name of the file store data profile.

          Type: string

          Pattern: ^organizations/[^/]+/locations/[^/]+/fileStoreDataProfiles/[^/]+$

      Scopes: https://www.googleapis.com/auth/cloud-platform

      HTTP Method: DELETE