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.



1183
1184
1185
# File 'lib/google/apis/dns_v1/classes.rb', line 1183

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



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

def gke_clusters
  @gke_clusters
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


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

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



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

def networks
  @networks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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