Service Client: Google::Container::V1alpha1::ClusterService::ClusterManagerClient
Client stub representing the remote ClusterManager gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to container.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Container::V1alpha1::ClusterService - Compiled Protocol Buffers messages for google/container/v1alpha1/cluster_service.proto
SYNOPSIS
use Google::Container::V1alpha1::ClusterService;
my $msg = Google::Container::V1alpha1::ClusterService::NodeConfig->new({
machine_type => $machine_type,
disk_size_gb => $disk_size_gb,
oauth_scopes => $oauth_scopes,
service_account => $service_account,
});
# Read or update a field
my $val = $msg->machine_type();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Container::V1alpha1::ClusterService::NodeConfig->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/container/v1alpha1/cluster_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Container::V1alpha1::ClusterService::NodeConfig
Parameters that describe the nodes in a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->machine_type()/$msg->machine_type($value)Type:
StringThe name of a Google Compute Engine [machine type](/compute/docs/machine-types) (e.g. `n1-standard-1`).
If unspecified, the default machine type is `n1-standard-1`.
$msg->disk_size_gb()/$msg->disk_size_gb($value)Type:
Int32Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB.
If unspecified, the default disk size is 100GB.
$msg->oauth_scopes()/$msg->oauth_scopes($value)Type:
StringThe set of Google API scopes to be made available on all of the node VMs under the "default" service account.
The following scopes are recommended, but not required, and by default are not included:
* `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with gcr.io (the [Google Container Registry](/container-registry/)).
If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
$msg->service_account()/$msg->service_account($value)Type:
StringThe Google Cloud Platform Service Account to be used by the node VMs. If no Service Account is specified, the "default" service account is used.
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NodeConfig::MetadataEntry)The metadata key/value pairs assigned to instances in the cluster.
Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the four reserved keys: "instance-template", "kube-env", "startup-script", and "user-data"
Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB.
The total size of all keys and values must be less than 512 KB.
$msg->image_type()/$msg->image_type($value)Type:
StringThe image type to use for this node. Note that for a given image type, the latest version of it will be used.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NodeConfig::LabelsEntry)The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
$msg->local_ssd_count()/$msg->local_ssd_count($value)Type:
Int32The number of local SSD disks to be attached to the node.
The limit for this value is dependant upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits for more information.
$msg->tags()/$msg->tags($value)Type:
StringThe list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
$msg->preemptible()/$msg->preemptible($value)Type:
BoolWhether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more inforamtion about preemptible VM instances.
$msg->accelerators()/$msg->accelerators($value)Type:
Message(Google::Container::V1alpha1::ClusterService::AcceleratorConfig)A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
$msg->min_cpu_platform()/$msg->min_cpu_platform($value)Type:
StringMinimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as <code>minCpuPlatform: "Intel Haswell"</code> or <code>minCpuPlatform: "Intel Sandy Bridge"</code>. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
$msg->taints()/$msg->taints($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NodeTaint)List of kubernetes taints to be applied to each node.
For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
Google::Container::V1alpha1::ClusterService::NodeTaint
Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
Inherits from Protobuf::Message.
Accessors
$msg->key()/$msg->key($value)Type:
StringKey for taint.
$msg->value()/$msg->value($value)Type:
StringValue for taint.
$msg->effect()/$msg->effect($value)Type:
Enum(Google::Container::V1alpha1::NodeTaint::Effect)Effect for taint.
Enum: NodeTaint::Effect
EFFECT_UNSPECIFIED=>0NO_SCHEDULE=>1PREFER_NO_SCHEDULE=>2NO_EXECUTE=>3
Google::Container::V1alpha1::ClusterService::MasterAuth
The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.
Inherits from Protobuf::Message.
Accessors
$msg->username()/$msg->username($value)Type:
StringThe username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, you can disable basic authentication by providing an empty username.
$msg->password()/$msg->password($value)Type:
StringThe password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty.
$msg->client_certificate_config()/$msg->client_certificate_config($value)Type:
Message(Google::Container::V1alpha1::ClusterService::ClientCertificateConfig)Configuration for client certificate authentication on the cluster. If no configuration is specified, a client certificate is issued.
$msg->cluster_ca_certificate()/$msg->cluster_ca_certificate($value)Type:
String[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
$msg->client_certificate()/$msg->client_certificate($value)Type:
String[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
$msg->client_key()/$msg->client_key($value)Type:
String[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
Google::Container::V1alpha1::ClusterService::ClientCertificateConfig
Configuration for client certificates on the cluster.
Inherits from Protobuf::Message.
Accessors
$msg->issue_client_certificate()/$msg->issue_client_certificate($value)Type:
BoolIssue a client certificate.
Google::Container::V1alpha1::ClusterService::AddonsConfig
Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.
Inherits from Protobuf::Message.
Accessors
$msg->http_load_balancing()/$msg->http_load_balancing($value)Type:
Message(Google::Container::V1alpha1::ClusterService::HttpLoadBalancing)Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
$msg->horizontal_pod_autoscaling()/$msg->horizontal_pod_autoscaling($value)Type:
Message(Google::Container::V1alpha1::ClusterService::HorizontalPodAutoscaling)Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
$msg->kubernetes_dashboard()/$msg->kubernetes_dashboard($value)Type:
Message(Google::Container::V1alpha1::ClusterService::KubernetesDashboard)Configuration for the Kubernetes Dashboard.
$msg->network_policy_config()/$msg->network_policy_config($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NetworkPolicyConfig)Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
Google::Container::V1alpha1::ClusterService::HttpLoadBalancing
Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->disabled()/$msg->disabled($value)Type:
BoolWhether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.
Google::Container::V1alpha1::ClusterService::HorizontalPodAutoscaling
Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
Inherits from Protobuf::Message.
Accessors
$msg->disabled()/$msg->disabled($value)Type:
BoolWhether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that a Heapster pod is running in the cluster, which is also used by the Cloud Monitoring service.
Google::Container::V1alpha1::ClusterService::KubernetesDashboard
Configuration for the Kubernetes Dashboard.
Inherits from Protobuf::Message.
Accessors
$msg->disabled()/$msg->disabled($value)Type:
BoolWhether the Kubernetes Dashboard is enabled for this cluster.
Google::Container::V1alpha1::ClusterService::NetworkPolicyConfig
Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
Inherits from Protobuf::Message.
Accessors
$msg->disabled()/$msg->disabled($value)Type:
BoolWhether NetworkPolicy is enabled for this cluster.
Google::Container::V1alpha1::ClusterService::MasterAuthorizedNetworksConfig
Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
Inherits from Protobuf::Message.
Accessors
$msg->enabled()/$msg->enabled($value)Type:
BoolWhether or not master authorized networks is enabled.
$msg->cidr_blocks()/$msg->cidr_blocks($value)Type:
Message(Google::Container::V1alpha1::ClusterService::MasterAuthorizedNetworksConfig::CidrBlock)cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
Google::Container::V1alpha1::ClusterService::NetworkPolicy
Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
Inherits from Protobuf::Message.
Accessors
$msg->provider()/$msg->provider($value)Type:
Enum(Google::Container::V1alpha1::NetworkPolicy::Provider)The selected network policy provider.
$msg->enabled()/$msg->enabled($value)Type:
BoolWhether network policy is enabled on the cluster.
Enum: NetworkPolicy::Provider
PROVIDER_UNSPECIFIED=>0CALICO=>1
Google::Container::V1alpha1::ClusterService::IPAllocationPolicy
Configuration for controlling how IPs are allocated in the cluster.
Inherits from Protobuf::Message.
Accessors
$msg->use_ip_aliases()/$msg->use_ip_aliases($value)Type:
BoolWhether alias IPs will be used for pod IPs in the cluster.
$msg->create_subnetwork()/$msg->create_subnetwork($value)Type:
BoolWhether a new subnetwork will be created automatically for the cluster.
This field is only applicable when `use_ip_aliases` is true.
$msg->subnetwork_name()/$msg->subnetwork_name($value)Type:
StringA custom subnetwork name to be used if `create_subnetwork` is true. If this field is empty, then an automatic name will be chosen for the new subnetwork.
$msg->cluster_ipv4_cidr()/$msg->cluster_ipv4_cidr($value)Type:
StringThis field is deprecated, use cluster_ipv4_cidr_block.
$msg->node_ipv4_cidr()/$msg->node_ipv4_cidr($value)Type:
StringThis field is deprecated, use node_ipv4_cidr_block.
$msg->services_ipv4_cidr()/$msg->services_ipv4_cidr($value)Type:
StringThis field is deprecated, use services_ipv4_cidr_block.
$msg->cluster_secondary_range_name()/$msg->cluster_secondary_range_name($value)Type:
StringThe name of the secondary range to be used for the cluster CIDR block. The secondary range will be used for pod IP addresses. This must be an existing secondary range associated with the cluster subnetwork.
This field is only applicable if use_ip_aliases is true and create_subnetwork is false.
$msg->services_secondary_range_name()/$msg->services_secondary_range_name($value)Type:
StringThe name of the secondary range to be used as for the services CIDR block. The secondary range will be used for service ClusterIPs. This must be an existing secondary range associated with the cluster subnetwork.
This field is only applicable with use_ip_aliases is true and create_subnetwork is false.
$msg->cluster_ipv4_cidr_block()/$msg->cluster_ipv4_cidr_block($value)Type:
StringThe IP address range for the cluster pod IPs. If this field is set, then `cluster.cluster_ipv4_cidr` must be left blank.
This field is only applicable when `use_ip_aliases` is true.
Set to blank to have a range chosen with the default size.
Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask.
Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
$msg->node_ipv4_cidr_block()/$msg->node_ipv4_cidr_block($value)Type:
StringThe IP address range of the instance IPs in this cluster.
This is applicable only if `create_subnetwork` is true.
Set to blank to have a range chosen with the default size.
Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask.
Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
$msg->services_ipv4_cidr_block()/$msg->services_ipv4_cidr_block($value)Type:
StringThe IP address range of the services IPs in this cluster. If blank, a range will be automatically chosen with the default size.
This field is only applicable when `use_ip_aliases` is true.
Set to blank to have a range chosen with the default size.
Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask.
Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
Google::Container::V1alpha1::ClusterService::PodSecurityPolicyConfig
Configuration for the PodSecurityPolicy feature.
Inherits from Protobuf::Message.
Accessors
$msg->enabled()/$msg->enabled($value)Type:
BoolEnable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.
Google::Container::V1alpha1::ClusterService::Cluster
A Google Container Engine cluster.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of this cluster. The name must be unique within this project and zone, and can be up to 40 characters with the following restrictions:
* Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
$msg->description()/$msg->description($value)Type:
StringAn optional description of this cluster.
$msg->initial_node_count()/$msg->initial_node_count($value)Type:
Int32The number of nodes to create in this cluster. You must ensure that your Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a> is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "node_config") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time.
$msg->node_config()/$msg->node_config($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NodeConfig)Parameters used in creating the cluster's nodes. See `nodeConfig` for the description of its properties. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool.
If unspecified, the defaults are used.
$msg->master_auth()/$msg->master_auth($value)Type:
Message(Google::Container::V1alpha1::ClusterService::MasterAuth)The authentication information for accessing the master endpoint.
$msg->logging_service()/$msg->logging_service($value)Type:
StringThe logging service the cluster should use to write logs. Currently available options:
* `logging.googleapis.com` - the Google Cloud Logging service. * `none` - no logs will be exported from the cluster. * if left as an empty string,`logging.googleapis.com` will be used.
$msg->monitoring_service()/$msg->monitoring_service($value)Type:
StringThe monitoring service the cluster should use to write metrics. Currently available options:
* `monitoring.googleapis.com` - the Google Cloud Monitoring service. * `none` - no metrics will be exported from the cluster. * if left as an empty string, `monitoring.googleapis.com` will be used.
$msg->network()/$msg->network($value)Type:
StringThe name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used.
$msg->cluster_ipv4_cidr()/$msg->cluster_ipv4_cidr($value)Type:
StringThe IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
$msg->addons_config()/$msg->addons_config($value)Type:
Message(Google::Container::V1alpha1::ClusterService::AddonsConfig)Configurations for the various addons available to run in the cluster.
$msg->subnetwork()/$msg->subnetwork($value)Type:
StringThe name of the Google Compute Engine [subnetwork](/compute/docs/subnetworks) to which the cluster is connected.
$msg->node_pools()/$msg->node_pools($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NodePool)The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
$msg->locations()/$msg->locations($value)Type:
StringThe list of Google Compute Engine [locations](/compute/docs/zones#available) in which the cluster's nodes should be located.
$msg->enable_kubernetes_alpha()/$msg->enable_kubernetes_alpha($value)Type:
BoolKubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1alpha1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
$msg->network_policy()/$msg->network_policy($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NetworkPolicy)Configuration options for the NetworkPolicy feature.
$msg->ip_allocation_policy()/$msg->ip_allocation_policy($value)Type:
Message(Google::Container::V1alpha1::ClusterService::IPAllocationPolicy)Configuration for cluster IP allocation.
$msg->master_authorized_networks_config()/$msg->master_authorized_networks_config($value)Type:
Message(Google::Container::V1alpha1::ClusterService::MasterAuthorizedNetworksConfig)The configuration options for master authorized networks feature.
$msg->maintenance_policy()/$msg->maintenance_policy($value)Type:
Message(Google::Container::V1alpha1::ClusterService::MaintenancePolicy)Configure the maintenance policy for this cluster.
$msg->pod_security_policy_config()/$msg->pod_security_policy_config($value)Type:
Message(Google::Container::V1alpha1::ClusterService::PodSecurityPolicyConfig)Configuration for the PodSecurityPolicy feature.
$msg->self_link()/$msg->self_link($value)Type:
String[Output only] Server-defined URL for the resource.
$msg->zone()/$msg->zone($value)Type:
String[Output only] The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use location instead.
$msg->endpoint()/$msg->endpoint($value)Type:
String[Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`.
See the `masterAuth` property of this resource for username and password information.
$msg->initial_cluster_version()/$msg->initial_cluster_version($value)Type:
StringThe initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion.
$msg->current_master_version()/$msg->current_master_version($value)Type:
String[Output only] The current software version of the master endpoint.
$msg->current_node_version()/$msg->current_node_version($value)Type:
String[Output only] The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.
$msg->create_time()/$msg->create_time($value)Type:
String[Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
$msg->status()/$msg->status($value)Type:
Enum(Google::Container::V1alpha1::Cluster::Status)[Output only] The current status of this cluster.
$msg->status_message()/$msg->status_message($value)Type:
String[Output only] Additional information about the current status of this cluster, if available.
$msg->node_ipv4_cidr_size()/$msg->node_ipv4_cidr_size($value)Type:
Int32[Output only] The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range.
$msg->services_ipv4_cidr()/$msg->services_ipv4_cidr($value)Type:
String[Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR.
$msg->instance_group_urls()/$msg->instance_group_urls($value)Type:
String[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated with this cluster.
$msg->current_node_count()/$msg->current_node_count($value)Type:
Int32[Output only] The number of nodes currently in the cluster.
$msg->expire_time()/$msg->expire_time($value)Type:
String[Output only] The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
$msg->location()/$msg->location($value)Type:
String[Output only] The name of the Google Compute Engine [zone](/compute/docs/regions-zones/regions-zones#available) or [region](/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
Enum: Cluster::Status
STATUS_UNSPECIFIED=>0PROVISIONING=>1RUNNING=>2RECONCILING=>3STOPPING=>4ERROR=>5
Google::Container::V1alpha1::ClusterService::ClusterUpdate
ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.
Inherits from Protobuf::Message.
Accessors
$msg->desired_node_version()/$msg->desired_node_version($value)Type:
StringThe Kubernetes version to change the nodes to (typically an upgrade). Use `-` to upgrade to the latest version supported by the server.
$msg->desired_monitoring_service()/$msg->desired_monitoring_service($value)Type:
StringThe monitoring service the cluster should use to write metrics. Currently available options:
* "monitoring.googleapis.com" - the Google Cloud Monitoring service * "none" - no metrics will be exported from the cluster
$msg->desired_addons_config()/$msg->desired_addons_config($value)Type:
Message(Google::Container::V1alpha1::ClusterService::AddonsConfig)Configurations for the various addons available to run in the cluster.
$msg->desired_node_pool_id()/$msg->desired_node_pool_id($value)Type:
StringThe node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family" or "desired_node_pool_autoscaling" is specified and there is more than one node pool on the cluster.
$msg->desired_image_type()/$msg->desired_image_type($value)Type:
StringThe desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.
$msg->desired_node_pool_autoscaling()/$msg->desired_node_pool_autoscaling($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NodePoolAutoscaling)Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.
$msg->desired_locations()/$msg->desired_locations($value)Type:
StringThe desired list of Google Compute Engine [locations](/compute/docs/zones#available) in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed.
This list must always include the cluster's primary zone.
$msg->desired_master_authorized_networks_config()/$msg->desired_master_authorized_networks_config($value)Type:
Message(Google::Container::V1alpha1::ClusterService::MasterAuthorizedNetworksConfig)The desired configuration options for master authorized networks feature.
$msg->desired_pod_security_policy_config()/$msg->desired_pod_security_policy_config($value)Type:
Message(Google::Container::V1alpha1::ClusterService::PodSecurityPolicyConfig)The desired configuration options for the PodSecurityPolicy feature.
$msg->desired_master_version()/$msg->desired_master_version($value)Type:
StringThe Kubernetes version to change the master to. The only valid value is the latest supported version. Use "-" to have the server automatically select the latest version.
Google::Container::V1alpha1::ClusterService::Operation
This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe server-assigned ID for the operation.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
$msg->operation_type()/$msg->operation_type($value)Type:
Enum(Google::Container::V1alpha1::Operation::Type)The operation type.
$msg->status()/$msg->status($value)Type:
Enum(Google::Container::V1alpha1::Operation::Status)The current status of the operation.
$msg->detail()/$msg->detail($value)Type:
StringDetailed operation progress, if available.
$msg->status_message()/$msg->status_message($value)Type:
StringIf an error has occurred, a textual description of the error.
$msg->self_link()/$msg->self_link($value)Type:
StringServer-defined URL for the resource.
$msg->target_link()/$msg->target_link($value)Type:
StringServer-defined URL for the target of the operation.
$msg->location()/$msg->location($value)Type:
String[Output only] The name of the Google Compute Engine [zone](/compute/docs/regions-zones/regions-zones#available) or [region](/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
$msg->start_time()/$msg->start_time($value)Type:
String[Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
$msg->end_time()/$msg->end_time($value)Type:
String[Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Enum: Operation::Status
STATUS_UNSPECIFIED=>0PENDING=>1RUNNING=>2DONE=>3ABORTING=>4
Enum: Operation::Type
TYPE_UNSPECIFIED=>0CREATE_CLUSTER=>1DELETE_CLUSTER=>2UPGRADE_MASTER=>3UPGRADE_NODES=>4REPAIR_CLUSTER=>5UPDATE_CLUSTER=>6CREATE_NODE_POOL=>7DELETE_NODE_POOL=>8SET_NODE_POOL_MANAGEMENT=>9AUTO_REPAIR_NODES=>10AUTO_UPGRADE_NODES=>11SET_LABELS=>12SET_MASTER_AUTH=>13SET_NODE_POOL_SIZE=>14SET_NETWORK_POLICY=>15SET_MAINTENANCE_POLICY=>16
Google::Container::V1alpha1::ClusterService::CreateClusterRequest
CreateClusterRequest creates a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use parent instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use parent instead.
$msg->cluster()/$msg->cluster($value)Type:
Message(Google::Container::V1alpha1::ClusterService::Cluster)A [cluster resource](/container-engine/reference/rest/v1alpha1/projects.zones.clusters)
$msg->parent()/$msg->parent($value)Type:
StringThe parent (project and location) where the cluster will be created. Specified in the format 'projects/*/locations/*'.
Google::Container::V1alpha1::ClusterService::GetClusterRequest
GetClusterRequest gets the settings of a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to retrieve. This field is deprecated, use name instead.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster) of the cluster to retrieve. Specified in the format 'projects/*/locations/*/clusters/*'.
Google::Container::V1alpha1::ClusterService::UpdateClusterRequest
UpdateClusterRequest updates the settings of a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to upgrade. This field is deprecated, use name instead.
$msg->update()/$msg->update($value)Type:
Message(Google::Container::V1alpha1::ClusterService::ClusterUpdate)A description of the update.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster) of the cluster to update. Specified in the format 'projects/*/locations/*/clusters/*'.
Google::Container::V1alpha1::ClusterService::UpdateNodePoolRequest
SetNodePoolVersionRequest updates the version of a node pool.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to upgrade. This field is deprecated, use name instead.
$msg->node_pool_id()/$msg->node_pool_id($value)Type:
StringThe name of the node pool to upgrade. This field is deprecated, use name instead.
$msg->node_version()/$msg->node_version($value)Type:
StringThe Kubernetes version to change the nodes to (typically an upgrade). Use `-` to upgrade to the latest version supported by the server.
$msg->image_type()/$msg->image_type($value)Type:
StringThe desired image type for the node pool.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster, node pool) of the node pool to update. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
Google::Container::V1alpha1::ClusterService::SetNodePoolAutoscalingRequest
SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to upgrade. This field is deprecated, use name instead.
$msg->node_pool_id()/$msg->node_pool_id($value)Type:
StringThe name of the node pool to upgrade. This field is deprecated, use name instead.
$msg->autoscaling()/$msg->autoscaling($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NodePoolAutoscaling)Autoscaling configuration for the node pool.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
Google::Container::V1alpha1::ClusterService::SetLoggingServiceRequest
SetLoggingServiceRequest sets the logging service of a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to upgrade. This field is deprecated, use name instead.
$msg->logging_service()/$msg->logging_service($value)Type:
StringThe logging service the cluster should use to write metrics. Currently available options:
* "logging.googleapis.com" - the Google Cloud Logging service * "none" - no metrics will be exported from the cluster
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster) of the cluster to set logging. Specified in the format 'projects/*/locations/*/clusters/*'.
Google::Container::V1alpha1::ClusterService::SetMonitoringServiceRequest
SetMonitoringServiceRequest sets the monitoring service of a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to upgrade. This field is deprecated, use name instead.
$msg->monitoring_service()/$msg->monitoring_service($value)Type:
StringThe monitoring service the cluster should use to write metrics. Currently available options:
* "monitoring.googleapis.com" - the Google Cloud Monitoring service * "none" - no metrics will be exported from the cluster
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster) of the cluster to set monitoring. Specified in the format 'projects/*/locations/*/clusters/*'.
Google::Container::V1alpha1::ClusterService::SetAddonsConfigRequest
SetAddonsRequest sets the addons associated with the cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to upgrade. This field is deprecated, use name instead.
$msg->addons_config()/$msg->addons_config($value)Type:
Message(Google::Container::V1alpha1::ClusterService::AddonsConfig)The desired configurations for the various addons available to run in the cluster.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster) of the cluster to set addons. Specified in the format 'projects/*/locations/*/clusters/*'.
Google::Container::V1alpha1::ClusterService::SetLocationsRequest
SetLocationsRequest sets the locations of the cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to upgrade. This field is deprecated, use name instead.
$msg->locations()/$msg->locations($value)Type:
StringThe desired list of Google Compute Engine [locations](/compute/docs/zones#available) in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed.
This list must always include the cluster's primary zone.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster) of the cluster to set locations. Specified in the format 'projects/*/locations/*/clusters/*'.
Google::Container::V1alpha1::ClusterService::UpdateMasterRequest
UpdateMasterRequest updates the master of the cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to upgrade. This field is deprecated, use name instead.
$msg->master_version()/$msg->master_version($value)Type:
StringThe Kubernetes version to change the master to. The only valid value is the latest supported version. Use "-" to have the server automatically select the latest version.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster) of the cluster to update. Specified in the format 'projects/*/locations/*/clusters/*'.
Google::Container::V1alpha1::ClusterService::SetMasterAuthRequest
SetMasterAuthRequest updates the admin password of a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to upgrade. This field is deprecated, use name instead.
$msg->action()/$msg->action($value)Type:
Enum(Google::Container::V1alpha1::SetMasterAuthRequest::Action)The exact form of action to be taken on the master auth.
$msg->update()/$msg->update($value)Type:
Message(Google::Container::V1alpha1::ClusterService::MasterAuth)A description of the update.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster) of the cluster to set auth. Specified in the format 'projects/*/locations/*/clusters/*'.
Enum: SetMasterAuthRequest::Action
UNKNOWN=>0SET_PASSWORD=>1GENERATE_PASSWORD=>2SET_USERNAME=>3
Google::Container::V1alpha1::ClusterService::DeleteClusterRequest
DeleteClusterRequest deletes a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to delete. This field is deprecated, use name instead.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster) of the cluster to delete. Specified in the format 'projects/*/locations/*/clusters/*'.
Google::Container::V1alpha1::ClusterService::ListClustersRequest
ListClustersRequest lists clusters.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use parent instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides, or "-" for all zones. This field is deprecated, use parent instead.
$msg->parent()/$msg->parent($value)Type:
StringThe parent (project and location) where the clusters will be listed. Specified in the format 'projects/*/locations/*'. Location "-" matches all zones and all regions.
Google::Container::V1alpha1::ClusterService::ListClustersResponse
ListClustersResponse is the result of ListClustersRequest.
Inherits from Protobuf::Message.
Accessors
$msg->clusters()/$msg->clusters($value)Type:
Message(Google::Container::V1alpha1::ClusterService::Cluster)A list of clusters in the project in the specified zone, or across all ones.
$msg->missing_zones()/$msg->missing_zones($value)Type:
StringIf any zones are listed here, the list of clusters returned may be missing those zones.
Google::Container::V1alpha1::ClusterService::GetOperationRequest
GetOperationRequest gets a single operation.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->operation_id()/$msg->operation_id($value)Type:
StringThe server-assigned `name` of the operation. This field is deprecated, use name instead.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, operation id) of the operation to get. Specified in the format 'projects/*/locations/*/operations/*'.
Google::Container::V1alpha1::ClusterService::ListOperationsRequest
ListOperationsRequest lists operations.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use parent instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) to return operations for, or `-` for all zones. This field is deprecated, use parent instead.
$msg->parent()/$msg->parent($value)Type:
StringThe parent (project and location) where the operations will be listed. Specified in the format 'projects/*/locations/*'. Location "-" matches all zones and all regions.
Google::Container::V1alpha1::ClusterService::CancelOperationRequest
CancelOperationRequest cancels a single operation.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation resides. This field is deprecated, use name instead.
$msg->operation_id()/$msg->operation_id($value)Type:
StringThe server-assigned `name` of the operation. This field is deprecated, use name instead.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, operation id) of the operation to cancel. Specified in the format 'projects/*/locations/*/operations/*'.
Google::Container::V1alpha1::ClusterService::ListOperationsResponse
ListOperationsResponse is the result of ListOperationsRequest.
Inherits from Protobuf::Message.
Accessors
$msg->operations()/$msg->operations($value)Type:
Message(Google::Container::V1alpha1::ClusterService::Operation)A list of operations in the project in the specified zone.
$msg->missing_zones()/$msg->missing_zones($value)Type:
StringIf any zones are listed here, the list of operations returned may be missing the operations from those zones.
Google::Container::V1alpha1::ClusterService::GetServerConfigRequest
Gets the current Container Engine service configuration.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) to return operations for. This field is deprecated, use name instead.
$msg->name()/$msg->name($value)Type:
StringThe name (project and location) of the server config to get Specified in the format 'projects/*/locations/*'.
Google::Container::V1alpha1::ClusterService::ServerConfig
Container Engine service configuration.
Inherits from Protobuf::Message.
Accessors
$msg->default_cluster_version()/$msg->default_cluster_version($value)Type:
StringVersion of Kubernetes the service deploys by default.
$msg->valid_node_versions()/$msg->valid_node_versions($value)Type:
StringList of valid node upgrade target versions.
$msg->default_image_type()/$msg->default_image_type($value)Type:
StringDefault image type.
$msg->valid_image_types()/$msg->valid_image_types($value)Type:
StringList of valid image types.
$msg->valid_master_versions()/$msg->valid_master_versions($value)Type:
StringList of valid master versions.
Google::Container::V1alpha1::ClusterService::CreateNodePoolRequest
CreateNodePoolRequest creates a node pool for a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field is deprecated, use parent instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use parent instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster. This field is deprecated, use parent instead.
$msg->node_pool()/$msg->node_pool($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NodePool)The node pool to create.
$msg->parent()/$msg->parent($value)Type:
StringThe parent (project, location, cluster id) where the node pool will be created. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
Google::Container::V1alpha1::ClusterService::DeleteNodePoolRequest
DeleteNodePoolRequest deletes a node pool for a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster. This field is deprecated, use name instead.
$msg->node_pool_id()/$msg->node_pool_id($value)Type:
StringThe name of the node pool to delete. This field is deprecated, use name instead.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
Google::Container::V1alpha1::ClusterService::ListNodePoolsRequest
ListNodePoolsRequest lists the node pool(s) for a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field is deprecated, use parent instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use parent instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster. This field is deprecated, use parent instead.
$msg->parent()/$msg->parent($value)Type:
StringThe parent (project, location, cluster id) where the node pools will be listed. Specified in the format 'projects/*/locations/*/clusters/*'.
Google::Container::V1alpha1::ClusterService::GetNodePoolRequest
GetNodePoolRequest retrieves a node pool for a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster. This field is deprecated, use name instead.
$msg->node_pool_id()/$msg->node_pool_id($value)Type:
StringThe name of the node pool. This field is deprecated, use name instead.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster, node pool id) of the node pool to get. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
Google::Container::V1alpha1::ClusterService::NodePool
NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the node pool.
$msg->config()/$msg->config($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NodeConfig)The node configuration of the pool.
$msg->initial_node_count()/$msg->initial_node_count($value)Type:
Int32The initial node count for the pool. You must ensure that your Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a> is sufficient for this number of instances. You must also have available firewall and routes quota.
$msg->autoscaling()/$msg->autoscaling($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NodePoolAutoscaling)Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
$msg->management()/$msg->management($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NodeManagement)NodeManagement configuration for this NodePool.
$msg->self_link()/$msg->self_link($value)Type:
String[Output only] Server-defined URL for the resource.
$msg->version()/$msg->version($value)Type:
String[Output only] The version of the Kubernetes of this node.
$msg->instance_group_urls()/$msg->instance_group_urls($value)Type:
String[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated with this node pool.
$msg->status()/$msg->status($value)Type:
Enum(Google::Container::V1alpha1::NodePool::Status)[Output only] The status of the nodes in this pool instance.
$msg->status_message()/$msg->status_message($value)Type:
String[Output only] Additional information about the current status of this node pool instance, if available.
Enum: NodePool::Status
STATUS_UNSPECIFIED=>0PROVISIONING=>1RUNNING=>2RUNNING_WITH_ERROR=>3RECONCILING=>4STOPPING=>5ERROR=>6
Google::Container::V1alpha1::ClusterService::NodeManagement
NodeManagement defines the set of node management services turned on for the node pool.
Inherits from Protobuf::Message.
Accessors
$msg->auto_upgrade()/$msg->auto_upgrade($value)Type:
BoolWhether the nodes will be automatically upgraded.
$msg->auto_repair()/$msg->auto_repair($value)Type:
BoolWhether the nodes will be automatically repaired.
$msg->upgrade_options()/$msg->upgrade_options($value)Type:
Message(Google::Container::V1alpha1::ClusterService::AutoUpgradeOptions)Specifies the Auto Upgrade knobs for the node pool.
Google::Container::V1alpha1::ClusterService::AutoUpgradeOptions
AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.
Inherits from Protobuf::Message.
Accessors
$msg->auto_upgrade_start_time()/$msg->auto_upgrade_start_time($value)Type:
String[Output only] This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
$msg->description()/$msg->description($value)Type:
String[Output only] This field is set when upgrades are about to commence with the description of the upgrade.
Google::Container::V1alpha1::ClusterService::MaintenancePolicy
MaintenancePolicy defines the maintenance policy to be used for the cluster.
Inherits from Protobuf::Message.
Accessors
$msg->window()/$msg->window($value)Type:
Message(Google::Container::V1alpha1::ClusterService::MaintenanceWindow)Specifies the maintenance window in which maintenance may be performed.
Google::Container::V1alpha1::ClusterService::MaintenanceWindow
MaintenanceWindow defines the maintenance window to be used for the cluster.
Inherits from Protobuf::Message.
Accessors
$msg->daily_maintenance_window()/$msg->daily_maintenance_window($value)Type:
Message(Google::Container::V1alpha1::ClusterService::DailyMaintenanceWindow)DailyMaintenanceWindow specifies a daily maintenance operation window.
Google::Container::V1alpha1::ClusterService::DailyMaintenanceWindow
Time window specified for daily maintenance operations.
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
StringTime within the maintenance window to start the maintenance operations. It must be in format "HH:MM”, where HH : [00-23] and MM : [00-59] GMT.
$msg->duration()/$msg->duration($value)Type:
String[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
Google::Container::V1alpha1::ClusterService::SetNodePoolManagementRequest
SetNodePoolManagementRequest sets the node management properties of a node pool.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to update. This field is deprecated, use name instead.
$msg->node_pool_id()/$msg->node_pool_id($value)Type:
StringThe name of the node pool to update. This field is deprecated, use name instead.
$msg->management()/$msg->management($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NodeManagement)NodeManagement configuration for the node pool.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
Google::Container::V1alpha1::ClusterService::SetNodePoolSizeRequest
SetNodePoolSizeRequest sets the size a node pool.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to update. This field is deprecated, use name instead.
$msg->node_pool_id()/$msg->node_pool_id($value)Type:
StringThe name of the node pool to update. This field is deprecated, use name instead.
$msg->node_count()/$msg->node_count($value)Type:
Int32The desired node count for the pool.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
Google::Container::V1alpha1::ClusterService::RollbackNodePoolUpgradeRequest
RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to rollback. This field is deprecated, use name instead.
$msg->node_pool_id()/$msg->node_pool_id($value)Type:
StringThe name of the node pool to rollback. This field is deprecated, use name instead.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
Google::Container::V1alpha1::ClusterService::ListNodePoolsResponse
ListNodePoolsResponse is the result of ListNodePoolsRequest.
Inherits from Protobuf::Message.
Accessors
$msg->node_pools()/$msg->node_pools($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NodePool)A list of node pools for a cluster.
Google::Container::V1alpha1::ClusterService::NodePoolAutoscaling
NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.
Inherits from Protobuf::Message.
Accessors
$msg->enabled()/$msg->enabled($value)Type:
BoolIs autoscaling enabled for this node pool.
$msg->min_node_count()/$msg->min_node_count($value)Type:
Int32Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
$msg->max_node_count()/$msg->max_node_count($value)Type:
Int32Maximum number of nodes in the NodePool. Must be >= min_node_count. There has to enough quota to scale up the cluster.
Google::Container::V1alpha1::ClusterService::SetLabelsRequest
SetLabelsRequest sets the Google Cloud Platform labels on a Google Container Engine cluster, which will in turn set them for Google Compute Engine resources used by that cluster
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster. This field is deprecated, use name instead.
$msg->resource_labels()/$msg->resource_labels($value)Type:
Message(Google::Container::V1alpha1::ClusterService::SetLabelsRequest::ResourceLabelsEntry)The labels to set for that cluster.
$msg->label_fingerprint()/$msg->label_fingerprint($value)Type:
StringThe fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Container Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels. Make a <code>get()</code> request to the resource to get the latest fingerprint.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster id) of the cluster to set labels. Specified in the format 'projects/*/locations/*/clusters/*'.
Google::Container::V1alpha1::ClusterService::SetLegacyAbacRequest
SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to update. This field is deprecated, use name instead.
$msg->enabled()/$msg->enabled($value)Type:
BoolWhether ABAC authorization will be enabled in the cluster.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster id) of the cluster to set legacy abac. Specified in the format 'projects/*/locations/*/clusters/*'.
Google::Container::V1alpha1::ClusterService::StartIPRotationRequest
StartIPRotationRequest creates a new IP for the cluster and then performs a node upgrade on each node pool to point to the new IP.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster. This field is deprecated, use name instead.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster id) of the cluster to start IP rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
Google::Container::V1alpha1::ClusterService::CompleteIPRotationRequest
CompleteIPRotationRequest moves the cluster master back into single-IP mode.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster. This field is deprecated, use name instead.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
Google::Container::V1alpha1::ClusterService::AcceleratorConfig
AcceleratorConfig represents a Hardware Accelerator request.
Inherits from Protobuf::Message.
Accessors
$msg->accelerator_count()/$msg->accelerator_count($value)Type:
Int64The number of the accelerator cards exposed to an instance.
$msg->accelerator_type()/$msg->accelerator_type($value)Type:
StringThe accelerator type resource name. List of supported accelerators [here](/compute/docs/gpus/#Introduction)
Google::Container::V1alpha1::ClusterService::SetNetworkPolicyRequest
SetNetworkPolicyRequest enables/disables network policy for a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field is deprecated, use name instead.
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use name instead.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster. This field is deprecated, use name instead.
$msg->network_policy()/$msg->network_policy($value)Type:
Message(Google::Container::V1alpha1::ClusterService::NetworkPolicy)Configuration options for the NetworkPolicy feature.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster id) of the cluster to set networking policy. Specified in the format 'projects/*/locations/*/clusters/*'.
Google::Container::V1alpha1::ClusterService::SetMaintenancePolicyRequest
SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).
$msg->zone()/$msg->zone($value)Type:
StringThe name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringThe name of the cluster to update.
$msg->maintenance_policy()/$msg->maintenance_policy($value)Type:
Message(Google::Container::V1alpha1::ClusterService::MaintenancePolicy)The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
$msg->name()/$msg->name($value)Type:
StringThe name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format 'projects/*/locations/*/clusters/*'.
SEE ALSO
Protobuf, Protobuf::Message, Google::Container::V1alpha1::ClusterService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.