Google Cloud Data Loss Prevention v2 API - Class CreateDiscoveryConfigRequest (4.6.0)

public sealed class CreateDiscoveryConfigRequest : IMessage<CreateDiscoveryConfigRequest>, IEquatable<CreateDiscoveryConfigRequest>, IDeepCloneable<CreateDiscoveryConfigRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class CreateDiscoveryConfigRequest.

Request message for CreateDiscoveryConfig.

Inheritance

object > CreateDiscoveryConfigRequest

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

CreateDiscoveryConfigRequest()

public CreateDiscoveryConfigRequest()

CreateDiscoveryConfigRequest(CreateDiscoveryConfigRequest)

public CreateDiscoveryConfigRequest(CreateDiscoveryConfigRequest other)
Parameter
NameDescription
otherCreateDiscoveryConfigRequest

Properties

ConfigId

public string ConfigId { get; set; }

The config ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.

Property Value
TypeDescription
string

DiscoveryConfig

public DiscoveryConfig DiscoveryConfig { get; set; }

Required. The DiscoveryConfig to create.

Property Value
TypeDescription
DiscoveryConfig

Parent

public string Parent { get; set; }

Required. Parent resource name.

The format of this value is as follows: projects/<var>PROJECT_ID</var>/locations/<var>LOCATION_ID</var>

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
Property Value
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName