Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::Connection (v1.15.1)

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

#cloud_sql=

defcloud_sql=(value)->::Google::Cloud::Dlp::V2::CloudSqlProperties
Parameter
Returns

#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

#state=

defstate=(value)->::Google::Cloud::Dlp::V2::ConnectionState
Parameter
Returns

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.