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.



1270
1271
1272
# File 'lib/google/apis/dns_v1/classes.rb', line 1270

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1263
1264
1265
# File 'lib/google/apis/dns_v1/classes.rb', line 1263

def kind
  @kind
end

#namespaceGoogle::Apis::DnsV1::ManagedZoneServiceDirectoryConfigNamespace

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



1268
1269
1270
# File 'lib/google/apis/dns_v1/classes.rb', line 1268

def namespace
  @namespace
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1275
1276
1277
1278
# File 'lib/google/apis/dns_v1/classes.rb', line 1275

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