Class: Google::Apis::LoggingV2::LocationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/logging_v2/classes.rb,
lib/google/apis/logging_v2/representations.rb,
lib/google/apis/logging_v2/representations.rb

Overview

Cloud Logging specific location metadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LocationMetadata

Returns a new instance of LocationMetadata.



2032
2033
2034
# File 'lib/google/apis/logging_v2/classes.rb', line 2032

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#log_analytics_enabledBoolean Also known as: log_analytics_enabled?

Indicates whether or not Log Analytics features are supported in the given location. Corresponds to the JSON property logAnalyticsEnabled

Returns:

  • (Boolean)


2029
2030
2031
# File 'lib/google/apis/logging_v2/classes.rb', line 2029

def log_analytics_enabled
  @log_analytics_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2037
2038
2039
# File 'lib/google/apis/logging_v2/classes.rb', line 2037

def update!(**args)
  @log_analytics_enabled = args[:log_analytics_enabled] if args.key?(:log_analytics_enabled)
end