target.apidocs.com.google.api.services.dlp.v2.DLP.Organizations.Locations.Connections.html Maven / Gradle / Ivy
DLP.Organizations.Locations.Connections (Sensitive Data Protection (DLP) v2-rev20240609-2.0.0)
com.google.api.services.dlp.v2
Class DLP.Organizations.Locations.Connections
- java.lang.Object
-
- com.google.api.services.dlp.v2.DLP.Organizations.Locations.Connections
-
- Enclosing class:
- DLP.Organizations.Locations
public class DLP.Organizations.Locations.Connections
extends Object
The "connections" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
DLP.Organizations.Locations.Connections.Create
class
DLP.Organizations.Locations.Connections.Delete
class
DLP.Organizations.Locations.Connections.Get
class
DLP.Organizations.Locations.Connections.Patch
class
DLP.Organizations.Locations.Connections.Search
-
Constructor Summary
Constructors
Constructor and Description
Connections()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DLP.Organizations.Locations.Connections.Create
create(String parent,
GooglePrivacyDlpV2CreateConnectionRequest content)
Create a Connection to an external data source.
DLP.Organizations.Locations.Connections.Delete
delete(String name)
Delete a Connection.
DLP.Organizations.Locations.Connections.Get
get(String name)
Get a Connection by name.
DLP.Organizations.Locations.Connections.Patch
patch(String name,
GooglePrivacyDlpV2UpdateConnectionRequest content)
Update a Connection.
DLP.Organizations.Locations.Connections.Search
search(String parent)
Searches for Connections in a parent.
-
-
Method Detail
-
create
public DLP.Organizations.Locations.Connections.Create create(String parent,
GooglePrivacyDlpV2CreateConnectionRequest content)
throws IOException
Create a Connection to an external data source.
Create a request for the method "connections.create".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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
content
- the GooglePrivacyDlpV2CreateConnectionRequest
- Returns:
- the request
- Throws:
IOException
-
delete
public DLP.Organizations.Locations.Connections.Delete delete(String name)
throws IOException
Delete a Connection.
Create a request for the method "connections.delete".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Resource name of the Connection to be deleted, in the format:
`projects/{project}/locations/{location}/connections/{connection}`.
- Returns:
- the request
- Throws:
IOException
-
get
public DLP.Organizations.Locations.Connections.Get get(String name)
throws IOException
Get a Connection by name.
Create a request for the method "connections.get".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Resource name in the format:
`projects/{project}/locations/{location}/connections/{connection}`.
- Returns:
- the request
- Throws:
IOException
-
patch
public DLP.Organizations.Locations.Connections.Patch patch(String name,
GooglePrivacyDlpV2UpdateConnectionRequest content)
throws IOException
Update a Connection.
Create a request for the method "connections.patch".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Resource name in the format:
`projects/{project}/locations/{location}/connections/{connection}`.
content
- the GooglePrivacyDlpV2UpdateConnectionRequest
- Returns:
- the request
- Throws:
IOException
-
search
public DLP.Organizations.Locations.Connections.Search search(String parent)
throws IOException
Searches for Connections in a parent.
Create a request for the method "connections.search".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Parent name, typically an organization, without location. For example:
`organizations/12345678`.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy