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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dns_v1beta2/classes.rb,
generated/google/apis/dns_v1beta2/representations.rb,
generated/google/apis/dns_v1beta2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ManagedZonePrivateVisibilityConfig

Returns a new instance of ManagedZonePrivateVisibilityConfig



594
595
596
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 594

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string "dns# managedZonePrivateVisibilityConfig". Corresponds to the JSON property kind

Returns:

  • (String)


587
588
589
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 587

def kind
  @kind
end

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

The list of GCE private network IDs that can see this zone. Corresponds to the JSON property networks



592
593
594
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 592

def networks
  @networks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



599
600
601
602
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 599

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