Class: Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfig

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

Contains information about Service Directory-backed zones.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedZoneServiceDirectoryConfig

Returns a new instance of ManagedZoneServiceDirectoryConfig.



1292
1293
1294
# File 'lib/google/apis/dns_v1/classes.rb', line 1292

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1285
1286
1287
# File 'lib/google/apis/dns_v1/classes.rb', line 1285

def kind
  @kind
end

#namespaceGoogle::Apis::DnsV1::ManagedZoneServiceDirectoryConfigNamespace

Contains information about the namespace associated with the zone. Corresponds to the JSON property namespace



1290
1291
1292
# File 'lib/google/apis/dns_v1/classes.rb', line 1290

def namespace
  @namespace
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1297
1298
1299
1300
# File 'lib/google/apis/dns_v1/classes.rb', line 1297

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