Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1LogConfig
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1LogConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/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.
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.
5496 5497 5498 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5496 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
5493 5494 5495 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5493 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5501 5502 5503 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5501 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) end |