Class: Google::Apis::DnsV1beta2::ManagedZoneCloudLoggingConfig

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



923
924
925
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 923

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)


915
916
917
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 915

def enable_logging
  @enable_logging
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


921
922
923
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 921

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



928
929
930
931
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 928

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