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.



1820
1821
1822
# File 'lib/google/apis/logging_v2/classes.rb', line 1820

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)


1817
1818
1819
# File 'lib/google/apis/logging_v2/classes.rb', line 1817

def log_analytics_enabled
  @log_analytics_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1825
1826
1827
# File 'lib/google/apis/logging_v2/classes.rb', line 1825

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