Class: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig

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) ⇒ ManagedZonePrivateVisibilityConfig

Returns a new instance of ManagedZonePrivateVisibilityConfig.



696
697
698
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 696

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


689
690
691
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 689

def kind
  @kind
end

#networksArray<Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfigNetwork>

The list of VPC networks that can see this zone. Corresponds to the JSON property networks



694
695
696
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 694

def networks
  @networks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



701
702
703
704
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 701

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