target.apidocs.com.google.api.services.dlp.v2.DLP.Organizations.Locations.DiscoveryConfigs.html Maven / Gradle / Ivy
DLP.Organizations.Locations.DiscoveryConfigs (Sensitive Data Protection (DLP) v2-rev20240609-2.0.0)
com.google.api.services.dlp.v2
Class DLP.Organizations.Locations.DiscoveryConfigs
- java.lang.Object
-
- com.google.api.services.dlp.v2.DLP.Organizations.Locations.DiscoveryConfigs
-
- Enclosing class:
- DLP.Organizations.Locations
public class DLP.Organizations.Locations.DiscoveryConfigs
extends Object
The "discoveryConfigs" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
DLP.Organizations.Locations.DiscoveryConfigs.Create
class
DLP.Organizations.Locations.DiscoveryConfigs.Delete
class
DLP.Organizations.Locations.DiscoveryConfigs.Get
class
DLP.Organizations.Locations.DiscoveryConfigs.List
class
DLP.Organizations.Locations.DiscoveryConfigs.Patch
-
Constructor Summary
Constructors
Constructor and Description
DiscoveryConfigs()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DLP.Organizations.Locations.DiscoveryConfigs.Create
create(String parent,
GooglePrivacyDlpV2CreateDiscoveryConfigRequest content)
Creates a config for discovery to scan and profile storage.
DLP.Organizations.Locations.DiscoveryConfigs.Delete
delete(String name)
Deletes a discovery configuration.
DLP.Organizations.Locations.DiscoveryConfigs.Get
get(String name)
Gets a discovery configuration.
DLP.Organizations.Locations.DiscoveryConfigs.List
list(String parent)
Lists discovery configurations.
DLP.Organizations.Locations.DiscoveryConfigs.Patch
patch(String name,
GooglePrivacyDlpV2UpdateDiscoveryConfigRequest content)
Updates a discovery configuration.
-
-
Method Detail
-
create
public DLP.Organizations.Locations.DiscoveryConfigs.Create create(String parent,
GooglePrivacyDlpV2CreateDiscoveryConfigRequest content)
throws IOException
Creates a config for discovery to scan and profile storage.
Create a request for the method "discoveryConfigs.create".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Parent resource name. The format of this value varies depending on the scope of the
request (project or organization): + Projects scope:
`projects/`PROJECT_ID`/locations/`LOCATION_ID + Organizations scope:
`organizations/`ORG_ID`/locations/`LOCATION_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
content
- the GooglePrivacyDlpV2CreateDiscoveryConfigRequest
- Returns:
- the request
- Throws:
IOException
-
delete
public DLP.Organizations.Locations.DiscoveryConfigs.Delete delete(String name)
throws IOException
Deletes a discovery configuration.
Create a request for the method "discoveryConfigs.delete".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Resource name of the project and the config, for example `projects/dlp-test-
project/discoveryConfigs/53234423`.
- Returns:
- the request
- Throws:
IOException
-
get
public DLP.Organizations.Locations.DiscoveryConfigs.Get get(String name)
throws IOException
Gets a discovery configuration.
Create a request for the method "discoveryConfigs.get".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Resource name of the project and the configuration, for example `projects/dlp-test-
project/discoveryConfigs/53234423`.
- Returns:
- the request
- Throws:
IOException
-
list
public DLP.Organizations.Locations.DiscoveryConfigs.List list(String parent)
throws IOException
Lists discovery configurations.
Create a request for the method "discoveryConfigs.list".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Parent resource name. The format of this value is as follows:
`projects/`PROJECT_ID`/locations/`LOCATION_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
- Returns:
- the request
- Throws:
IOException
-
patch
public DLP.Organizations.Locations.DiscoveryConfigs.Patch patch(String name,
GooglePrivacyDlpV2UpdateDiscoveryConfigRequest content)
throws IOException
Updates a discovery configuration.
Create a request for the method "discoveryConfigs.patch".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Resource name of the project and the configuration, for example `projects/dlp-test-
project/discoveryConfigs/53234423`.
content
- the GooglePrivacyDlpV2UpdateDiscoveryConfigRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy