Class: Google::Apis::DnsV1::PolicyDns64Config
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1::PolicyDns64Config
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dns_v1/classes.rb,
lib/google/apis/dns_v1/representations.rb,
lib/google/apis/dns_v1/representations.rb
Overview
DNS64 policies
Instance Attribute Summary collapse
-
#kind ⇒ String
Corresponds to the JSON property
kind. -
#scope ⇒ Google::Apis::DnsV1::PolicyDns64ConfigScope
The scope to which DNS64 config will be applied to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicyDns64Config
constructor
A new instance of PolicyDns64Config.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PolicyDns64Config
Returns a new instance of PolicyDns64Config.
1729 1730 1731 |
# File 'lib/google/apis/dns_v1/classes.rb', line 1729 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Corresponds to the JSON property kind
1722 1723 1724 |
# File 'lib/google/apis/dns_v1/classes.rb', line 1722 def kind @kind end |
#scope ⇒ Google::Apis::DnsV1::PolicyDns64ConfigScope
The scope to which DNS64 config will be applied to.
Corresponds to the JSON property scope
1727 1728 1729 |
# File 'lib/google/apis/dns_v1/classes.rb', line 1727 def scope @scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1734 1735 1736 1737 |
# File 'lib/google/apis/dns_v1/classes.rb', line 1734 def update!(**args) @kind = args[:kind] if args.key?(:kind) @scope = args[:scope] if args.key?(:scope) end |