Class: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig

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

Returns a new instance of ManagedZonePrivateVisibilityConfig.



1170
1171
1172
# File 'lib/google/apis/dns_v1/classes.rb', line 1170

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

Instance Attribute Details

#gke_clustersArray<Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfigGkeCluster>

The list of Google Kubernetes Engine clusters that can see this zone. Corresponds to the JSON property gkeClusters



1158
1159
1160
# File 'lib/google/apis/dns_v1/classes.rb', line 1158

def gke_clusters
  @gke_clusters
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1163
1164
1165
# File 'lib/google/apis/dns_v1/classes.rb', line 1163

def kind
  @kind
end

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

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



1168
1169
1170
# File 'lib/google/apis/dns_v1/classes.rb', line 1168

def networks
  @networks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1175
1176
1177
1178
1179
# File 'lib/google/apis/dns_v1/classes.rb', line 1175

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