Class: Google::Apis::LoggingV2::LocationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::LoggingV2::LocationMetadata
- 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
-
#log_analytics_enabled ⇒ Boolean
(also: #log_analytics_enabled?)
Indicates whether or not Log Analytics features are supported in the given location.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LocationMetadata
constructor
A new instance of LocationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_enabled ⇒ Boolean 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
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 |