Class ProjectsResource.LocationsResource.DiscoveryConfigsResource
The "discoveryConfigs" collection of methods.
Inherited Members
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class ProjectsResource.LocationsResource.DiscoveryConfigsResource
Constructors
DiscoveryConfigsResource(IClientService)
Constructs a new resource.
Declaration
public DiscoveryConfigsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GooglePrivacyDlpV2CreateDiscoveryConfigRequest, string)
Creates a config for discovery to scan and profile storage.
Declaration
public virtual ProjectsResource.LocationsResource.DiscoveryConfigsResource.CreateRequest Create(GooglePrivacyDlpV2CreateDiscoveryConfigRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GooglePrivacyDlpV2CreateDiscoveryConfigRequest | body | The body of the request. |
string | parent | Required. Parent resource name. The format of this value varies depending on the scope of the
request (project or organization): + Projects scope:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DiscoveryConfigsResource.CreateRequest |
Delete(string)
Deletes a discovery configuration.
Declaration
public virtual ProjectsResource.LocationsResource.DiscoveryConfigsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the project and the config, for example
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DiscoveryConfigsResource.DeleteRequest |
Get(string)
Gets a discovery configuration.
Declaration
public virtual ProjectsResource.LocationsResource.DiscoveryConfigsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the project and the configuration, for example
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DiscoveryConfigsResource.GetRequest |
List(string)
Lists discovery configurations.
Declaration
public virtual ProjectsResource.LocationsResource.DiscoveryConfigsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent resource name. The format of this value is as follows:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DiscoveryConfigsResource.ListRequest |
Patch(GooglePrivacyDlpV2UpdateDiscoveryConfigRequest, string)
Updates a discovery configuration.
Declaration
public virtual ProjectsResource.LocationsResource.DiscoveryConfigsResource.PatchRequest Patch(GooglePrivacyDlpV2UpdateDiscoveryConfigRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GooglePrivacyDlpV2UpdateDiscoveryConfigRequest | body | The body of the request. |
string | name | Required. Resource name of the project and the configuration, for example
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DiscoveryConfigsResource.PatchRequest |