Class: Google::Apis::DnsV1beta2::PolicyDns64Config

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

Overview

DNS64 policies

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1716
1717
1718
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1716

def kind
  @kind
end

#scopeGoogle::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