Class: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfigGkeCluster

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

Returns a new instance of ManagedZonePrivateVisibilityConfigGkeCluster.



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

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

Instance Attribute Details

#gke_cluster_nameString

The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects//locations//clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google. com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get Corresponds to the JSON property gkeClusterName

Returns:

  • (String)


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

def gke_cluster_name
  @gke_cluster_name
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


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

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1204
1205
1206
1207
# File 'lib/google/apis/dns_v1/classes.rb', line 1204

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