Google Cloud Data Loss Prevention v2 API - Class CreateDiscoveryConfigRequest (4.12.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
Name Description
other CreateDiscoveryConfigRequest

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
Type Description
string

DiscoveryConfig

public DiscoveryConfig DiscoveryConfig { get; set; }

Required. The DiscoveryConfig to create.

Property Value
Type Description
DiscoveryConfig

Parent

public string Parent { get; set; }

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
Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName