Class: Google::Apis::ConnectorsV1::ConnectorsLogConfig
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::ConnectorsLogConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
Log configuration for the connection.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Enabled represents whether logging is enabled or not for a connection.
-
#level ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectorsLogConfig
constructor
A new instance of ConnectorsLogConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectorsLogConfig
Returns a new instance of ConnectorsLogConfig.
1249 1250 1251 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1249 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Enabled represents whether logging is enabled or not for a connection.
Corresponds to the JSON property enabled
1241 1242 1243 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1241 def enabled @enabled end |
#level ⇒ String
Optional. Log configuration level.
Corresponds to the JSON property level
1247 1248 1249 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1247 def level @level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1254 1255 1256 1257 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1254 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @level = args[:level] if args.key?(:level) end |