Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCloudLoggingConfig
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCloudLoggingConfig
- 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
Config info for Cloud Logging
Instance Attribute Summary collapse
-
#bucket ⇒ String
Cloud bucket name for the project.
-
#enable_cloud_logging ⇒ Boolean
(also: #enable_cloud_logging?)
This field determines whether the logs should be sent to cloud logging api Corresponds to the JSON property
enableCloudLogging.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaCloudLoggingConfig
constructor
A new instance of GoogleCloudIntegrationsV1alphaCloudLoggingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaCloudLoggingConfig
Returns a new instance of GoogleCloudIntegrationsV1alphaCloudLoggingConfig.
6060 6061 6062 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6060 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket ⇒ String
Cloud bucket name for the project.
Corresponds to the JSON property bucket
6052 6053 6054 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6052 def bucket @bucket end |
#enable_cloud_logging ⇒ Boolean Also known as: enable_cloud_logging?
This field determines whether the logs should be sent to cloud logging api
Corresponds to the JSON property enableCloudLogging
6057 6058 6059 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6057 def enable_cloud_logging @enable_cloud_logging end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6065 6066 6067 6068 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6065 def update!(**args) @bucket = args[:bucket] if args.key?(:bucket) @enable_cloud_logging = args[:enable_cloud_logging] if args.key?(:enable_cloud_logging) end |