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.



1754
1755
1756
# File 'lib/google/apis/logging_v2/classes.rb', line 1754

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)


1751
1752
1753
# File 'lib/google/apis/logging_v2/classes.rb', line 1751

def log_analytics_enabled
  @log_analytics_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1759
1760
1761
# File 'lib/google/apis/logging_v2/classes.rb', line 1759

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