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.



1726
1727
1728
# File 'lib/google/apis/logging_v2/classes.rb', line 1726

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)


1723
1724
1725
# File 'lib/google/apis/logging_v2/classes.rb', line 1723

def log_analytics_enabled
  @log_analytics_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1731
1732
1733
# File 'lib/google/apis/logging_v2/classes.rb', line 1731

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