Class: Google::Apis::ComputeV1::LogConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Overview

This is deprecated and has no effect. Do not use.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LogConfig

Returns a new instance of LogConfig.



20257
20258
20259
# File 'lib/google/apis/compute_v1/classes.rb', line 20257

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

Instance Attribute Details

#cloud_auditGoogle::Apis::ComputeV1::LogConfigCloudAuditOptions

This is deprecated and has no effect. Do not use. Corresponds to the JSON property cloudAudit



20245
20246
20247
# File 'lib/google/apis/compute_v1/classes.rb', line 20245

def cloud_audit
  @cloud_audit
end

#counterGoogle::Apis::ComputeV1::LogConfigCounterOptions

This is deprecated and has no effect. Do not use. Corresponds to the JSON property counter



20250
20251
20252
# File 'lib/google/apis/compute_v1/classes.rb', line 20250

def counter
  @counter
end

#data_accessGoogle::Apis::ComputeV1::LogConfigDataAccessOptions

This is deprecated and has no effect. Do not use. Corresponds to the JSON property dataAccess



20255
20256
20257
# File 'lib/google/apis/compute_v1/classes.rb', line 20255

def data_access
  @data_access
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20262
20263
20264
20265
20266
# File 'lib/google/apis/compute_v1/classes.rb', line 20262

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