Show / Hide Table of Contents

Class OrganizationsResource.LocationsResource.ConnectionsResource

The "connections" collection of methods.

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

Delete(string)

Delete a Connection.

Declaration
public virtual OrganizationsResource.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
OrganizationsResource.LocationsResource.ConnectionsResource.DeleteRequest

Get(string)

Get a Connection by name.

Declaration
public virtual OrganizationsResource.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
OrganizationsResource.LocationsResource.ConnectionsResource.GetRequest

List(string)

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

Declaration
public virtual OrganizationsResource.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
OrganizationsResource.LocationsResource.ConnectionsResource.ListRequest

Patch(GooglePrivacyDlpV2UpdateConnectionRequest, string)

Update a Connection.

Declaration
public virtual OrganizationsResource.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
OrganizationsResource.LocationsResource.ConnectionsResource.PatchRequest

Search(string)

Searches for Connections in a parent.

Declaration
public virtual OrganizationsResource.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
OrganizationsResource.LocationsResource.ConnectionsResource.SearchRequest
In this article
Back to top Generated by DocFX