Class: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dns_v1/classes.rb,
generated/google/apis/dns_v1/representations.rb,
generated/google/apis/dns_v1/representations.rb
Instance Attribute Summary collapse
-
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#networks ⇒ Array<Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfigNetwork>
The list of VPC networks that can see this zone.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedZonePrivateVisibilityConfig
constructor
A new instance of ManagedZonePrivateVisibilityConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ManagedZonePrivateVisibilityConfig
Returns a new instance of ManagedZonePrivateVisibilityConfig.
687 688 689 |
# File 'generated/google/apis/dns_v1/classes.rb', line 687 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Corresponds to the JSON property kind
680 681 682 |
# File 'generated/google/apis/dns_v1/classes.rb', line 680 def kind @kind end |
#networks ⇒ Array<Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfigNetwork>
The list of VPC networks that can see this zone.
Corresponds to the JSON property networks
685 686 687 |
# File 'generated/google/apis/dns_v1/classes.rb', line 685 def networks @networks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
692 693 694 695 |
# File 'generated/google/apis/dns_v1/classes.rb', line 692 def update!(**args) @kind = args[:kind] if args.key?(:kind) @networks = args[:networks] if args.key?(:networks) end |