Class: Google::Apis::ComputeBeta::LogConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::LogConfig
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Overview
Specifies what kind of log the caller must write
Instance Attribute Summary collapse
-
#counter ⇒ Google::Apis::ComputeBeta::LogConfigCounterOptions
Options for counters Corresponds to the JSON property
counter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LogConfig
constructor
A new instance of LogConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ LogConfig
Returns a new instance of LogConfig
6838 6839 6840 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6838 def initialize(**args) update!(**args) end |
Instance Attribute Details
#counter ⇒ Google::Apis::ComputeBeta::LogConfigCounterOptions
Options for counters
Corresponds to the JSON property counter
6836 6837 6838 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6836 def counter @counter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6843 6844 6845 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6843 def update!(**args) @counter = args[:counter] if args.key?(:counter) end |