Class: Google::Apis::DnsV1beta2::ManagedZoneServiceDirectoryConfig

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

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.



1295
1296
1297
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1295

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1288
1289
1290
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1288

def kind
  @kind
end

#namespaceGoogle::Apis::DnsV1beta2::ManagedZoneServiceDirectoryConfigNamespace

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



1293
1294
1295
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1293

def namespace
  @namespace
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1300
1301
1302
1303
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1300

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