Class: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfigGkeCluster
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfigGkeCluster
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dns_v1beta2/classes.rb,
lib/google/apis/dns_v1beta2/representations.rb,
lib/google/apis/dns_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#gke_cluster_name ⇒ String
The resource name of the cluster to bind this ManagedZone to.
-
#kind ⇒ String
Corresponds to the JSON property
kind.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedZonePrivateVisibilityConfigGkeCluster
constructor
A new instance of ManagedZonePrivateVisibilityConfigGkeCluster.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ManagedZonePrivateVisibilityConfigGkeCluster
Returns a new instance of ManagedZonePrivateVisibilityConfigGkeCluster.
730 731 732 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 730 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gke_cluster_name ⇒ String
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
723 724 725 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 723 def gke_cluster_name @gke_cluster_name end |
#kind ⇒ String
Corresponds to the JSON property kind
728 729 730 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 728 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
735 736 737 738 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 735 def update!(**args) @gke_cluster_name = args[:gke_cluster_name] if args.key?(:gke_cluster_name) @kind = args[:kind] if args.key?(:kind) end |