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.



1192
1193
1194
# File 'lib/google/apis/dns_v1/classes.rb', line 1192

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



1180
1181
1182
# File 'lib/google/apis/dns_v1/classes.rb', line 1180

def gke_clusters
  @gke_clusters
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1185
1186
1187
# File 'lib/google/apis/dns_v1/classes.rb', line 1185

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



1190
1191
1192
# File 'lib/google/apis/dns_v1/classes.rb', line 1190

def networks
  @networks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1197
1198
1199
1200
1201
# File 'lib/google/apis/dns_v1/classes.rb', line 1197

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