Class: Google::Apis::ClouddeployV1::GkeCluster
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::GkeCluster
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb
Overview
Information specifying a GKE Cluster.
Instance Attribute Summary collapse
-
#cluster ⇒ String
Information specifying a GKE Cluster.
-
#internal_ip ⇒ Boolean
(also: #internal_ip?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GkeCluster
constructor
A new instance of GkeCluster.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GkeCluster
Returns a new instance of GkeCluster.
799 800 801 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 799 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster ⇒ String
Information specifying a GKE Cluster. Format is projects/project_id/
locations/location_id/clusters/cluster_id.
Corresponds to the JSON propertycluster`
785 786 787 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 785 def cluster @cluster end |
#internal_ip ⇒ Boolean Also known as: internal_ip?
Optional. If true, cluster is accessed using the private IP address of the
control plane endpoint. Otherwise, the default IP address of the control plane
endpoint is used. The default IP address is the private IP address for
clusters with private control-plane endpoints and the public IP address
otherwise. Only specify this option when cluster is a private GKE cluster.
Corresponds to the JSON property internalIp
796 797 798 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 796 def internal_ip @internal_ip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
804 805 806 807 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 804 def update!(**args) @cluster = args[:cluster] if args.key?(:cluster) @internal_ip = args[:internal_ip] if args.key?(:internal_ip) end |