Class: Google::Apis::DnsV1beta2::PolicyDns64ConfigScope
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::PolicyDns64ConfigScope
- 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
-
#all_queries ⇒ Boolean
(also: #all_queries?)
Controls whether DNS64 is enabled globally at the network level.
-
#kind ⇒ String
Corresponds to the JSON property
kind
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicyDns64ConfigScope
constructor
A new instance of PolicyDns64ConfigScope.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PolicyDns64ConfigScope
Returns a new instance of PolicyDns64ConfigScope.
1749 1750 1751 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1749 def initialize(**args) update!(**args) end |
Instance Attribute Details
#all_queries ⇒ Boolean Also known as: all_queries?
Controls whether DNS64 is enabled globally at the network level.
Corresponds to the JSON property allQueries
1741 1742 1743 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1741 def all_queries @all_queries end |
#kind ⇒ String
Corresponds to the JSON property kind
1747 1748 1749 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1747 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1754 1755 1756 1757 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1754 def update!(**args) @all_queries = args[:all_queries] if args.key?(:all_queries) @kind = args[:kind] if args.key?(:kind) end |