Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DiscoveryConfigsResource

The "discoveryConfigs" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.DiscoveryConfigsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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: 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
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 projects/dlp-test-project/discoveryConfigs/53234423.

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 projects/dlp-test-project/discoveryConfigs/53234423.

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: 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
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 projects/dlp-test-project/discoveryConfigs/53234423.

Returns
Type Description
ProjectsResource.LocationsResource.DiscoveryConfigsResource.PatchRequest
In this article
Back to top Generated by DocFX