Class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1LogConfig
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1LogConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_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) ⇒ GoogleCloudConnectorsV1LogConfig
constructor
A new instance of GoogleCloudConnectorsV1LogConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudConnectorsV1LogConfig
Returns a new instance of GoogleCloudConnectorsV1LogConfig.
6168 6169 6170 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6168 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
6160 6161 6162 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6160 def enabled @enabled end |
#level ⇒ String
Optional. Log configuration level.
Corresponds to the JSON property level
6166 6167 6168 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6166 def level @level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6173 6174 6175 6176 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6173 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @level = args[:level] if args.key?(:level) end |