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.
1723 1724 1725 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1723 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Corresponds to the JSON property kind
1716 1717 1718 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1716 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
1721 1722 1723 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1721 def scope @scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1728 1729 1730 1731 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1728 def update!(**args) @kind = args[:kind] if args.key?(:kind) @scope = args[:scope] if args.key?(:scope) end |