Class ProjectsResource.LocationsResource.ConnectionsResource
The "connections" collection of methods.
Inherited Members
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:
|
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:
|
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:
|
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,
|
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:
|
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,
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.SearchRequest |