Class: Google::Apis::ComputeBeta::LogConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LogConfig

Returns a new instance of LogConfig



6992
6993
6994
# File 'generated/google/apis/compute_beta/classes.rb', line 6992

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#counterGoogle::Apis::ComputeBeta::LogConfigCounterOptions

Options for counters Corresponds to the JSON property counter



6990
6991
6992
# File 'generated/google/apis/compute_beta/classes.rb', line 6990

def counter
  @counter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6997
6998
6999
# File 'generated/google/apis/compute_beta/classes.rb', line 6997

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