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.



1277
1278
1279
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1277

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


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

def kind
  @kind
end

#namespaceGoogle::Apis::DnsV1beta2::ManagedZoneServiceDirectoryConfigNamespace

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



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

def namespace
  @namespace
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1282
1283
1284
1285
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1282

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