Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ConnectionsResource

The "connections" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.ConnectionsResource
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.ConnectionsResource

Constructors

ConnectionsResource(IClientService)

Constructs a new resource.

Declaration
public ConnectionsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(GooglePrivacyDlpV2CreateConnectionRequest, string)

Create a Connection to an external data source.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.CreateRequest Create(GooglePrivacyDlpV2CreateConnectionRequest body, string parent)
Parameters
Type Name Description
GooglePrivacyDlpV2CreateConnectionRequest 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}
Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.CreateRequest

Delete(string)

Delete a Connection.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Resource name of the Connection to be deleted, in the format: projects/{project}/locations/{location}/connections/{connection}.

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.DeleteRequest

Get(string)

Get a Connection by name.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Resource name in the format: projects/{project}/locations/{location}/connections/{connection}.

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.GetRequest

List(string)

Lists Connections in a parent. Use SearchConnections to see all connections within an organization.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Resource name of the organization or project, for example, organizations/433245324/locations/europe or projects/project-id/locations/asia.

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.ListRequest

Patch(GooglePrivacyDlpV2UpdateConnectionRequest, string)

Update a Connection.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.PatchRequest Patch(GooglePrivacyDlpV2UpdateConnectionRequest body, string name)
Parameters
Type Name Description
GooglePrivacyDlpV2UpdateConnectionRequest body

The body of the request.

string name

Required. Resource name in the format: projects/{project}/locations/{location}/connections/{connection}.

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.PatchRequest

Search(string)

Searches for Connections in a parent.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.SearchRequest Search(string parent)
Parameters
Type Name Description
string parent

Required. Resource name of the organization or project with a wildcard location, for example, organizations/433245324/locations/- or projects/project-id/locations/-.

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.SearchRequest
In this article
Back to top Generated by DocFX