Class: Google::Apis::DnsV1beta2::ManagedZoneForwardingConfig
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::ManagedZoneForwardingConfig
- 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
Instance Attribute Summary collapse
-
#kind ⇒ String
Corresponds to the JSON property
kind. -
#target_name_servers ⇒ Array<Google::Apis::DnsV1beta2::ManagedZoneForwardingConfigNameServerTarget>
List of target name servers to forward to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedZoneForwardingConfig
constructor
A new instance of ManagedZoneForwardingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ManagedZoneForwardingConfig
Returns a new instance of ManagedZoneForwardingConfig.
1018 1019 1020 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1018 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Corresponds to the JSON property kind
1010 1011 1012 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1010 def kind @kind end |
#target_name_servers ⇒ Array<Google::Apis::DnsV1beta2::ManagedZoneForwardingConfigNameServerTarget>
List of target name servers to forward to. Cloud DNS selects the best
available name server if more than one target is given.
Corresponds to the JSON property targetNameServers
1016 1017 1018 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1016 def target_name_servers @target_name_servers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1023 1024 1025 1026 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1023 def update!(**args) @kind = args[:kind] if args.key?(:kind) @target_name_servers = args[:target_name_servers] if args.key?(:target_name_servers) end |