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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dns_v1/classes.rb,
generated/google/apis/dns_v1/representations.rb,
generated/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.



758
759
760
# File 'generated/google/apis/dns_v1/classes.rb', line 758

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


751
752
753
# File 'generated/google/apis/dns_v1/classes.rb', line 751

def kind
  @kind
end

#namespaceGoogle::Apis::DnsV1::ManagedZoneServiceDirectoryConfigNamespace

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



756
757
758
# File 'generated/google/apis/dns_v1/classes.rb', line 756

def namespace
  @namespace
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



763
764
765
766
# File 'generated/google/apis/dns_v1/classes.rb', line 763

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