Class: Google::Apis::DnsV1beta2::PolicyAlternativeNameServerConfigTargetNameServer
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::PolicyAlternativeNameServerConfigTargetNameServer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dns_v1beta2/classes.rb,
generated/google/apis/dns_v1beta2/representations.rb,
generated/google/apis/dns_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#forwarding_path ⇒ String
Forwarding path for this TargetNameServer, if unset or set to DEFAULT, Cloud DNS will make forwarding decision based on address ranges, i.e.
-
#ipv4_address ⇒ String
IPv4 address to forward to.
-
#kind ⇒ String
Identifies what kind of resource this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicyAlternativeNameServerConfigTargetNameServer
constructor
A new instance of PolicyAlternativeNameServerConfigTargetNameServer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PolicyAlternativeNameServerConfigTargetNameServer
Returns a new instance of PolicyAlternativeNameServerConfigTargetNameServer.
1139 1140 1141 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1139 def initialize(**args) update!(**args) end |
Instance Attribute Details
#forwarding_path ⇒ String
Forwarding path for this TargetNameServer, if unset or set to DEFAULT, Cloud
DNS will make forwarding decision based on address ranges, i.e. RFC1918
addresses go to the VPC, Non-RFC1918 addresses go to the Internet. When set to
PRIVATE, Cloud DNS will always send queries through VPC for this target
Corresponds to the JSON property forwardingPath
1126 1127 1128 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1126 def forwarding_path @forwarding_path end |
#ipv4_address ⇒ String
IPv4 address to forward to.
Corresponds to the JSON property ipv4Address
1131 1132 1133 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1131 def ipv4_address @ipv4_address end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "dns#
policyAlternativeNameServerConfigTargetNameServer".
Corresponds to the JSON property kind
1137 1138 1139 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1137 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1144 1145 1146 1147 1148 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1144 def update!(**args) @forwarding_path = args[:forwarding_path] if args.key?(:forwarding_path) @ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address) @kind = args[:kind] if args.key?(:kind) end |