Class: Google::Apis::DnsV1beta2::PolicyDns64ConfigScope

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_queriesBoolean Also known as: all_queries?

Controls whether DNS64 is enabled globally at the network level. Corresponds to the JSON property allQueries

Returns:

  • (Boolean)


1741
1742
1743
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1741

def all_queries
  @all_queries
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


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