Class: Google::Apis::DnsV1::ManagedZoneCloudLoggingConfig

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

Overview

Cloud Logging configurations for publicly visible zones.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedZoneCloudLoggingConfig

Returns a new instance of ManagedZoneCloudLoggingConfig.



492
493
494
# File 'lib/google/apis/dns_v1/classes.rb', line 492

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

Instance Attribute Details

#enable_loggingBoolean Also known as: enable_logging?

If set, enable query logging for this ManagedZone. False by default, making logging opt-in. Corresponds to the JSON property enableLogging

Returns:

  • (Boolean)


484
485
486
# File 'lib/google/apis/dns_v1/classes.rb', line 484

def enable_logging
  @enable_logging
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


490
491
492
# File 'lib/google/apis/dns_v1/classes.rb', line 490

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



497
498
499
500
# File 'lib/google/apis/dns_v1/classes.rb', line 497

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