class Google::Apis::ClouddeployV1::GkeCluster

Information specifying a GKE Cluster.

Attributes

cluster[RW]

Information specifying a GKE Cluster. Format is ‘projects/`project_id`/ locations/`location_id`/clusters/`cluster_id`. Corresponds to the JSON property `cluster` @return [String]

internal_ip[RW]

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]( cloud.google.com/kubernetes-engine/docs/concepts/private-cluster- concept). Corresponds to the JSON property `internalIp` @return [Boolean]

internal_ip?[RW]

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]( cloud.google.com/kubernetes-engine/docs/concepts/private-cluster- concept). Corresponds to the JSON property `internalIp` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/clouddeploy_v1/classes.rb, line 597
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/clouddeploy_v1/classes.rb, line 602
def update!(**args)
  @cluster = args[:cluster] if args.key?(:cluster)
  @internal_ip = args[:internal_ip] if args.key?(:internal_ip)
end