Class: Google::Apis::ClouduseraccountsVmAlpha::LogConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/clouduseraccounts_vm_alpha/classes.rb,
generated/google/apis/clouduseraccounts_vm_alpha/representations.rb,
generated/google/apis/clouduseraccounts_vm_alpha/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



474
475
476
# File 'generated/google/apis/clouduseraccounts_vm_alpha/classes.rb', line 474

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

Instance Attribute Details

#counterGoogle::Apis::ClouduseraccountsVmAlpha::LogConfigCounterOptions

Options for counters Corresponds to the JSON property counter



472
473
474
# File 'generated/google/apis/clouduseraccounts_vm_alpha/classes.rb', line 472

def counter
  @counter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



479
480
481
# File 'generated/google/apis/clouduseraccounts_vm_alpha/classes.rb', line 479

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