Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCloudLoggingConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#bucketString

Cloud bucket name for the project. Corresponds to the JSON property bucket

Returns:

  • (String)


6052
6053
6054
# File 'lib/google/apis/integrations_v1/classes.rb', line 6052

def bucket
  @bucket
end

#enable_cloud_loggingBoolean 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

Returns:

  • (Boolean)


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