Class: Google::Apis::DnsV1beta2::ManagedZoneCloudLoggingConfig
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::ManagedZoneCloudLoggingConfig
- 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
-
#enable_logging ⇒ Boolean
(also: #enable_logging?)
If set, enable query logging for this ManagedZone.
-
#kind ⇒ String
Corresponds to the JSON property
kind
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedZoneCloudLoggingConfig
constructor
A new instance of ManagedZoneCloudLoggingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ManagedZoneCloudLoggingConfig
Returns a new instance of ManagedZoneCloudLoggingConfig.
941 942 943 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 941 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_logging ⇒ Boolean 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
933 934 935 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 933 def enable_logging @enable_logging end |
#kind ⇒ String
Corresponds to the JSON property kind
939 940 941 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 939 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
946 947 948 949 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 946 def update!(**args) @enable_logging = args[:enable_logging] if args.key?(:enable_logging) @kind = args[:kind] if args.key?(:kind) end |