Class: Google::Apis::DnsV1::PolicyDns64ConfigScope

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PolicyDns64ConfigScope

Returns a new instance of PolicyDns64ConfigScope.



1756
1757
1758
# File 'lib/google/apis/dns_v1/classes.rb', line 1756

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#all_queriesBoolean Also known as: all_queries?

Controls whether DNS64 is enabled globally for all networks bound to the policy. Corresponds to the JSON property allQueries

Returns:

  • (Boolean)


1748
1749
1750
# File 'lib/google/apis/dns_v1/classes.rb', line 1748

def all_queries
  @all_queries
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1754
1755
1756
# File 'lib/google/apis/dns_v1/classes.rb', line 1754

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1761
1762
1763
1764
# File 'lib/google/apis/dns_v1/classes.rb', line 1761

def update!(**args)
  @all_queries = args[:all_queries] if args.key?(:all_queries)
  @kind = args[:kind] if args.key?(:kind)
end