Class: Google::Apis::DnsV1beta2::PolicyDns64Config
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::PolicyDns64Config
- 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
DNS64 policies
Instance Attribute Summary collapse
-
#kind ⇒ String
Corresponds to the JSON property
kind. -
#scope ⇒ Google::Apis::DnsV1beta2::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.
1791 1792 1793 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1791 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Corresponds to the JSON property kind
1784 1785 1786 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1784 def kind @kind end |
#scope ⇒ Google::Apis::DnsV1beta2::PolicyDns64ConfigScope
The scope to which DNS64 config will be applied to.
Corresponds to the JSON property scope
1789 1790 1791 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1789 def scope @scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1796 1797 1798 1799 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1796 def update!(**args) @kind = args[:kind] if args.key?(:kind) @scope = args[:scope] if args.key?(:scope) end |