Class: Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
A data connection to allow the DLP API to profile data in locations that require additional configuration.
Instance Attribute Summary collapse
-
#cloud_sql ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2CloudSqlProperties
Cloud SQL connection properties.
-
#errors ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>
Output only.
-
#name ⇒ String
Output only.
-
#state ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2Connection
constructor
A new instance of GooglePrivacyDlpV2Connection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2Connection
Returns a new instance of GooglePrivacyDlpV2Connection.
1860 1861 1862 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1860 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_sql ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2CloudSqlProperties
Cloud SQL connection properties.
Corresponds to the JSON property cloudSql
1841 1842 1843 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1841 def cloud_sql @cloud_sql end |
#errors ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>
Output only. Set if status == ERROR, to provide additional details. Will store
the last 10 errors sorted with the most recent first.
Corresponds to the JSON property errors
1847 1848 1849 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1847 def errors @errors end |
#name ⇒ String
Output only. Name of the connection: projects/project/locations/location/
connections/name`.
Corresponds to the JSON propertyname`
1853 1854 1855 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1853 def name @name end |
#state ⇒ String
Required. The connection's state in its lifecycle.
Corresponds to the JSON property state
1858 1859 1860 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1858 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1865 1866 1867 1868 1869 1870 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1865 def update!(**args) @cloud_sql = args[:cloud_sql] if args.key?(:cloud_sql) @errors = args[:errors] if args.key?(:errors) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) end |