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
6961 6962 6963 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6961 def initialize(**args) update!(**args) end |
Instance Attribute Details
#counter ⇒ Google::Apis::ComputeBeta::LogConfigCounterOptions
Options for counters
Corresponds to the JSON property counter
6959 6960 6961 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6959 def counter @counter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6966 6967 6968 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6966 def update!(**args) @counter = args[:counter] if args.key?(:counter) end |