Google Cloud Data Loss Prevention v2 API - Class CreateConnectionRequest (4.14.0)

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

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

Request message for CreateConnection.

Inheritance

object > CreateConnectionRequest

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

CreateConnectionRequest()

public CreateConnectionRequest()

CreateConnectionRequest(CreateConnectionRequest)

public CreateConnectionRequest(CreateConnectionRequest other)
Parameter
Name Description
other CreateConnectionRequest

Properties

Connection

public Connection Connection { get; set; }

Required. The connection resource.

Property Value
Type Description
Connection

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}
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

ParentAsOrganizationLocationName

public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }

OrganizationLocationName-typed view over the Parent resource name property.

Property Value
Type Description
OrganizationLocationName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
Type Description
IResourceName