Class OrganizationsResource.LocationsResource.DiscoveryConfigsResource
The "discoveryConfigs" collection of methods.
Inherited Members
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class OrganizationsResource.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 OrganizationsResource.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 |
---|---|
OrganizationsResource.LocationsResource.DiscoveryConfigsResource.CreateRequest |
Delete(string)
Deletes a discovery configuration.
Declaration
public virtual OrganizationsResource.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 |
---|---|
OrganizationsResource.LocationsResource.DiscoveryConfigsResource.DeleteRequest |
Get(string)
Gets a discovery configuration.
Declaration
public virtual OrganizationsResource.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 |
---|---|
OrganizationsResource.LocationsResource.DiscoveryConfigsResource.GetRequest |
List(string)
Lists discovery configurations.
Declaration
public virtual OrganizationsResource.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 |
---|---|
OrganizationsResource.LocationsResource.DiscoveryConfigsResource.ListRequest |
Patch(GooglePrivacyDlpV2UpdateDiscoveryConfigRequest, string)
Updates a discovery configuration.
Declaration
public virtual OrganizationsResource.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 |
---|---|
OrganizationsResource.LocationsResource.DiscoveryConfigsResource.PatchRequest |