Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::Connection (v1.15.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::Connection.
A data connection to allow the DLP API to profile data in locations that require additional configuration.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cloud_sql
defcloud_sql()->::Google::Cloud::Dlp::V2::CloudSqlProperties
Returns
- (::Google::Cloud::Dlp::V2::CloudSqlProperties) — Connect to a Cloud SQL instance.
#cloud_sql=
defcloud_sql=(value)->::Google::Cloud::Dlp::V2::CloudSqlProperties
Parameter
- value (::Google::Cloud::Dlp::V2::CloudSqlProperties) — Connect to a Cloud SQL instance.
Returns
- (::Google::Cloud::Dlp::V2::CloudSqlProperties) — Connect to a Cloud SQL instance.
#errors
deferrors()->::Array<::Google::Cloud::Dlp::V2::Error>
Returns
- (::Array<::Google::Cloud::Dlp::V2::Error>) — Output only. Set if status == ERROR, to provide additional details. Will store the last 10 errors sorted with the most recent first.
#name
defname()->::String
Returns
-
(::String) — Output only. Name of the connection:
projects/{project}/locations/{location}/connections/{name}.
#state
defstate()->::Google::Cloud::Dlp::V2::ConnectionState
Returns
- (::Google::Cloud::Dlp::V2::ConnectionState) — Required. The connection's state in its lifecycle.
#state=
defstate=(value)->::Google::Cloud::Dlp::V2::ConnectionState
Parameter
- value (::Google::Cloud::Dlp::V2::ConnectionState) — Required. The connection's state in its lifecycle.
Returns
- (::Google::Cloud::Dlp::V2::ConnectionState) — Required. The connection's state in its lifecycle.