Class: Google::Apis::DeploymentmanagerV2::LogConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/deploymentmanager_v2/classes.rb,
generated/google/apis/deploymentmanager_v2/representations.rb,
generated/google/apis/deploymentmanager_v2/representations.rb

Overview

Specifies what kind of log the caller must write

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LogConfig

Returns a new instance of LogConfig.



453
454
455
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 453

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

Instance Attribute Details

#counterGoogle::Apis::DeploymentmanagerV2::LogConfigCounterOptions

Options for counters Corresponds to the JSON property counter



451
452
453
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 451

def counter
  @counter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



458
459
460
# File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 458

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