/* Type definitions for non-npm package Kubernetes Engine API v1beta1 0.0 */ // Project: https://cloud.google.com/kubernetes-engine/docs/ // Definitions by: Maxim Mazurok // Nick Amoscato // Declan Vong // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // IMPORTANT // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually. // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator // Generated from: https://container.googleapis.com/$discovery/rest?version=v1beta1 // Revision: 20260616 /// declare namespace gapi.client { /** Load Kubernetes Engine API v1beta1 */ function load( urlOrObject: 'https://container.googleapis.com/$discovery/rest?version=v1beta1', ): Promise; /** @deprecated Please load APIs with discovery documents. */ function load(name: 'container', version: 'v1beta1'): Promise; /** @deprecated Please load APIs with discovery documents. */ function load( name: 'container', version: 'v1beta1', callback: () => any, ): void; namespace container { interface AcceleratorConfig { /** The number of the accelerator cards exposed to an instance. */ acceleratorCount?: string; /** The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) */ acceleratorType?: string; /** The configuration for auto installation of GPU driver. */ gpuDriverInstallationConfig?: GPUDriverInstallationConfig; /** Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). */ gpuPartitionSize?: string; /** The configuration for GPU sharing options. */ gpuSharingConfig?: GPUSharingConfig; /** The number of time-shared GPU resources to expose for each physical GPU. */ maxTimeSharedClientsPerGpu?: string; } interface AccurateTimeConfig { /** Enables enhanced time synchronization using PTP-KVM. */ enablePtpKvmTimeSync?: boolean; } interface AdditionalIPRangesConfig { /** List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2 */ podIpv4RangeNames?: string[]; /** Draining status of the additional subnet. */ status?: 'STATUS_UNSPECIFIED' | 'ACTIVE' | 'DRAINING'; /** Name of the subnetwork. This can be the full path of the subnetwork or just the name. Example1: my-subnet Example2: projects/gke-project/regions/us-central1/subnetworks/my-subnet */ subnetwork?: string; } interface AdditionalNodeNetworkConfig { /** Name of the VPC where the additional interface belongs */ network?: string; /** Name of the subnetwork where the additional interface belongs */ subnetwork?: string; } interface AdditionalPodNetworkConfig { /** The maximum number of pods per node which use this pod network. */ maxPodsPerNode?: MaxPodsConstraint; /** The name of the network attachment for pods to communicate to; cannot be specified along with subnetwork or secondary_pod_range. */ networkAttachment?: string; /** The name of the secondary range on the subnet which provides IP address for this pod range. */ secondaryPodRange?: string; /** Name of the subnetwork where the additional pod network belongs. */ subnetwork?: string; } interface AdditionalPodRangesConfig { /** Output only. Information for additional pod range. */ podRangeInfo?: RangeInfo[]; /** Name for pod secondary ipv4 range which has the actual range defined ahead. */ podRangeNames?: string[]; } interface AddonsConfig { /** Optional. Configuration for the AgentSandbox addon. */ agentSandboxConfig?: AgentSandboxConfig; /** Configuration for the Cloud Run addon. The `IstioConfig` addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time. */ cloudRunConfig?: CloudRunConfig; /** Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted Google Cloud services through the Kubernetes API. */ configConnectorConfig?: ConfigConnectorConfig; /** Configuration for NodeLocalDNS, a dns cache running on cluster nodes */ dnsCacheConfig?: DnsCacheConfig; /** Configuration for the Compute Engine Persistent Disk CSI driver. */ gcePersistentDiskCsiDriverConfig?: GcePersistentDiskCsiDriverConfig; /** Configuration for the Filestore CSI driver. */ gcpFilestoreCsiDriverConfig?: GcpFilestoreCsiDriverConfig; /** Configuration for the Cloud Storage Fuse CSI driver. */ gcsFuseCsiDriverConfig?: GcsFuseCsiDriverConfig; /** Configuration for the Backup for GKE agent addon. */ gkeBackupAgentConfig?: GkeBackupAgentConfig; /** Configuration for the High Scale Checkpointing add-on. */ highScaleCheckpointingConfig?: HighScaleCheckpointingConfig; /** 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. */ horizontalPodAutoscaling?: HorizontalPodAutoscaling; /** Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster. */ httpLoadBalancing?: HttpLoadBalancing; /** Configuration for Istio, an open platform to connect, manage, and secure microservices. */ istioConfig?: IstioConfig; /** Configuration for the KALM addon, which manages the lifecycle of k8s applications. */ kalmConfig?: KalmConfig; /** Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards */ kubernetesDashboard?: KubernetesDashboard; /** Configuration for the Lustre CSI driver. */ lustreCsiDriverConfig?: LustreCsiDriverConfig; /** 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. */ networkPolicyConfig?: NetworkPolicyConfig; /** Optional. Configuration for NodeReadinessController add-on. */ nodeReadinessConfig?: NodeReadinessConfig; /** Configuration for the Cloud Storage Parallelstore CSI driver. */ parallelstoreCsiDriverConfig?: ParallelstoreCsiDriverConfig; /** Configuration for the Pod Snapshot feature. */ podSnapshotConfig?: PodSnapshotConfig; /** Optional. Configuration for Ray Operator addon. */ rayOperatorConfig?: RayOperatorConfig; /** Optional. Configuration for the slice controller add-on. */ sliceControllerConfig?: SliceControllerConfig; /** Configuration for the Slurm Operator. */ slurmOperatorConfig?: SlurmOperatorConfig; /** Optional. Configuration for the StatefulHA add-on. */ statefulHaConfig?: StatefulHAConfig; } interface AdvancedDatapathObservabilityConfig { /** Expose flow metrics on nodes */ enableMetrics?: boolean; /** Enable Relay component */ enableRelay?: boolean; /** Method used to make Relay available */ relayMode?: | 'RELAY_MODE_UNSPECIFIED' | 'DISABLED' | 'INTERNAL_VPC_LB' | 'EXTERNAL_LB'; } interface AdvancedMachineFeatures { /** Whether or not to enable nested virtualization (defaults to false). */ enableNestedVirtualization?: boolean; /** Type of Performance Monitoring Unit (PMU) requested on node pool instances. If unset, PMU will not be available to the node. */ performanceMonitoringUnit?: | 'PERFORMANCE_MONITORING_UNIT_UNSPECIFIED' | 'ARCHITECTURAL' | 'STANDARD' | 'ENHANCED'; /** The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. */ threadsPerCore?: string; } interface AgentSandboxConfig { /** Optional. Whether AgentSandbox is enabled for this cluster. */ enabled?: boolean; } interface AnonymousAuthenticationConfig { /** Defines the mode of limiting anonymous access in the cluster. */ mode?: 'MODE_UNSPECIFIED' | 'ENABLED' | 'LIMITED'; } interface AuthenticatorGroupsConfig { /** Whether this cluster should return group membership lookups during authentication using a group of security groups. */ enabled?: boolean; /** The name of the security group-of-groups to be used. Only relevant if enabled = true. */ securityGroup?: string; } interface AutoIpamConfig { /** The flag that enables Auto IPAM on this cluster */ enabled?: boolean; } interface AutoMonitoringConfig { /** Scope for GKE Workload Auto-Monitoring. */ scope?: 'SCOPE_UNSPECIFIED' | 'ALL' | 'NONE'; } interface Autopilot { /** ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster. */ clusterPolicyConfig?: ClusterPolicyConfig; /** Output only. ConversionStatus shows conversion status. */ conversionStatus?: AutopilotConversionStatus; /** Enable Autopilot */ enabled?: boolean; /** PrivilegedAdmissionConfig is the configuration related to privileged admission control. */ privilegedAdmissionConfig?: PrivilegedAdmissionConfig; /** WorkloadPolicyConfig is the configuration related to GCW workload policy */ workloadPolicyConfig?: WorkloadPolicyConfig; } interface AutopilotCompatibilityIssue { /** The constraint type of the issue. */ constraintType?: string; /** The description of the issue. */ description?: string; /** A URL to a public documentation, which addresses resolving this issue. */ documentationUrl?: string; /** The incompatibility type of this issue. */ incompatibilityType?: | 'UNSPECIFIED' | 'INCOMPATIBILITY' | 'ADDITIONAL_CONFIG_REQUIRED' | 'PASSED_WITH_OPTIONAL_CONFIG'; /** The last time when this issue was observed. */ lastObservation?: string; /** The name of the resources which are subject to this issue. */ subjects?: string[]; } interface AutopilotConfig { /** Denotes that nodes belonging to this node pool are Autopilot nodes. */ enabled?: boolean; } interface AutopilotConversionStatus { /** Output only. The current state of the conversion. */ state?: 'STATE_UNSPECIFIED' | 'DONE'; } interface AutoprovisioningNodePoolDefaults { /** The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption */ bootDiskKmsKey?: string; /** Size 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. */ diskSizeGb?: number; /** Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard' */ diskType?: string; /** The image type to use for NAP created node. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types. */ imageType?: string; /** DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead. */ insecureKubeletReadonlyPortEnabled?: boolean; /** NodeManagement configuration for this NodePool. */ management?: NodeManagement; /** Deprecated. Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). This field is deprecated, min_cpu_platform should be specified using `cloud.google.com/requested-min-cpu-platform` label selector on the pod. To unset the min cpu platform field pass "automatic" as field value. */ minCpuPlatform?: string; /** The 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 [Artifact Registry](https://cloud.google.com/artifact-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added. */ oauthScopes?: string[]; /** The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the "default" service account is used. */ serviceAccount?: string; /** Shielded Instance options. */ shieldedInstanceConfig?: ShieldedInstanceConfig; /** Upgrade settings control disruption and speed of the upgrade. */ upgradeSettings?: UpgradeSettings; } interface AutoscaledRolloutPolicy { /** Optional. Time to wait after cordoning the blue pool before draining the nodes. Defaults to 3 days. The value can be set between 0 and 7 days, inclusive. */ waitForDrainDuration?: string; } interface AutoUpgradeOptions { /** 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. */ autoUpgradeStartTime?: string; /** Output only. This field is set when upgrades are about to commence with the description of the upgrade. */ description?: string; } interface AvailableVersion { /** Reason for availability. */ reason?: string; /** Kubernetes version. */ version?: string; } interface BestEffortProvisioning { /** When this is enabled, cluster/node pool creations will ignore non-fatal errors like stockout to best provision as many nodes as possible right now and eventually bring up all target number of nodes */ enabled?: boolean; /** Minimum number of nodes to be provisioned to be considered as succeeded, and the rest of nodes will be provisioned gradually and eventually when stockout issue has been resolved. */ minProvisionNodes?: number; } interface BigQueryDestination { /** The ID of a BigQuery Dataset. */ datasetId?: string; } interface BinaryAuthorization { /** This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored. */ enabled?: boolean; /** Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED. */ evaluationMode?: | 'EVALUATION_MODE_UNSPECIFIED' | 'DISABLED' | 'PROJECT_SINGLETON_POLICY_ENFORCE' | 'POLICY_BINDINGS' | 'POLICY_BINDINGS_AND_PROJECT_SINGLETON_POLICY_ENFORCE'; /** Optional. Binauthz policies that apply to this cluster. */ policyBindings?: PolicyBinding[]; } interface BlueGreenInfo { /** The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool. */ blueInstanceGroupUrls?: string[]; /** Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. */ bluePoolDeletionStartTime?: string; /** The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool. */ greenInstanceGroupUrls?: string[]; /** Version of green pool. */ greenPoolVersion?: string; /** Current blue-green upgrade phase. */ phase?: | 'PHASE_UNSPECIFIED' | 'UPDATE_STARTED' | 'CREATING_GREEN_POOL' | 'CORDONING_BLUE_POOL' | 'WAITING_TO_DRAIN_BLUE_POOL' | 'DRAINING_BLUE_POOL' | 'NODE_POOL_SOAKING' | 'DELETING_BLUE_POOL' | 'ROLLBACK_STARTED'; } interface BlueGreenSettings { /** Autoscaled policy for cluster autoscaler enabled blue-green upgrade. */ autoscaledRolloutPolicy?: AutoscaledRolloutPolicy; /** Time needed after draining entire blue pool. After this period, blue pool will be cleaned up. */ nodePoolSoakDuration?: string; /** Standard policy for the blue-green upgrade. */ standardRolloutPolicy?: StandardRolloutPolicy; } interface BootDisk { /** Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.) */ diskType?: string; /** For Hyperdisk-Balanced only, the provisioned IOPS config value. */ provisionedIops?: string; /** For Hyperdisk-Balanced only, the provisioned throughput config value. */ provisionedThroughput?: string; /** Disk size in GB. Replaces NodeConfig.disk_size_gb */ sizeGb?: string; } interface BootDiskProfile { /** Specifies the size of the swap space in gibibytes (GiB). */ swapSizeGib?: string; /** Specifies the size of the swap space as a percentage of the boot disk size. */ swapSizePercent?: number; } interface CancelOperationRequest { /** The name (project, location, operation id) of the operation to cancel. Specified in the format `projects/*‍/locations/*‍/operations/*`. */ name?: string; /** Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field. */ operationId?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface CertificateAuthorityDomainConfig { /** List of fully qualified domain names (FQDN). Specifying port is supported. Wildcards are NOT supported. Examples: - `my.customdomain.com` - `10.0.1.2:5000` */ fqdns?: string[]; /** Secret Manager certificate configuration. */ gcpSecretManagerCertificateConfig?: GCPSecretManagerCertificateConfig; } interface CertificateConfig { /** The URI configures a secret from [Secret Manager](https://cloud.google.com/secret-manager) in the format "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION" for global secret or "projects/$PROJECT_ID/locations/$REGION/secrets/$SECRET_NAME/versions/$VERSION" for regional secret. Version can be fixed (e.g. "2") or "latest" */ gcpSecretManagerSecretUri?: string; } interface CertificateConfigPair { /** Cert configures the client certificate. */ cert?: CertificateConfig; /** Key configures the client private key. Optional. */ key?: CertificateConfig; } interface CheckAutopilotCompatibilityResponse { /** The list of issues for the given operation. */ issues?: AutopilotCompatibilityIssue[]; /** The summary of the autopilot compatibility response. */ summary?: string; } interface CidrBlock { /** cidr_block must be specified in CIDR notation. */ cidrBlock?: string; /** display_name is an optional field for users to identify CIDR blocks. */ displayName?: string; } interface ClientCertificateConfig { /** Issue a client certificate. */ issueClientCertificate?: boolean; } interface CloudRunConfig { /** Whether Cloud Run addon is enabled for this cluster. */ disabled?: boolean; /** Which load balancer type is installed for Cloud Run. */ loadBalancerType?: | 'LOAD_BALANCER_TYPE_UNSPECIFIED' | 'LOAD_BALANCER_TYPE_EXTERNAL' | 'LOAD_BALANCER_TYPE_INTERNAL'; } interface Cluster { /** Configurations for the various addons available to run in the cluster. */ addonsConfig?: AddonsConfig; /** The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false") */ alphaClusterFeatureGates?: string[]; /** Configuration for limiting anonymous access to all endpoints except the health checks. */ anonymousAuthenticationConfig?: AnonymousAuthenticationConfig; /** Configuration controlling RBAC group membership information. */ authenticatorGroupsConfig?: AuthenticatorGroupsConfig; /** Autopilot configuration for the cluster. */ autopilot?: Autopilot; /** Cluster-level autoscaling configuration. */ autoscaling?: ClusterAutoscaling; /** Configuration for Binary Authorization. */ binaryAuthorization?: BinaryAuthorization; /** The IP address range of the container pods in this cluster, in [CIDR](https://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`. */ clusterIpv4Cidr?: string; /** Telemetry integration for the cluster. */ clusterTelemetry?: ClusterTelemetry; /** Optional. Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster. */ compliancePostureConfig?: CompliancePostureConfig; /** Which conditions caused the current cluster state. */ conditions?: StatusCondition[]; /** Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled. */ confidentialNodes?: ConfidentialNodes; /** Configuration for control plane egress control. */ controlPlaneEgress?: ControlPlaneEgress; /** Configuration for all cluster's control plane endpoints. */ controlPlaneEndpointsConfig?: ControlPlaneEndpointsConfig; /** Configuration for the fine-grained cost management feature. */ costManagementConfig?: CostManagementConfig; /** Output only. The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. */ createTime?: string; /** Output only. The current emulated version of the master endpoint. The version is in minor version format, e.g. 1.30. No value or empty string means the cluster has no emulated version. */ currentEmulatedVersion?: string; /** Output only. The current software version of the master endpoint. */ currentMasterVersion?: string; /** Output only. The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information. */ currentNodeCount?: number; /** Output only. Deprecated, use [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools) instead. 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. */ currentNodeVersion?: string; /** Configuration of etcd encryption. */ databaseEncryption?: DatabaseEncryption; /** The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support. */ defaultMaxPodsConstraint?: MaxPodsConstraint; /** An optional description of this cluster. */ description?: string; /** Kubernetes open source beta apis enabled on the cluster. Only beta apis. */ enableK8sBetaApis?: K8sBetaAPIConfig; /** Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1beta1) 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. */ enableKubernetesAlpha?: boolean; /** Enable the ability to use Cloud TPUs in this cluster. This field is deprecated, use tpu_config.enabled instead. This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25. */ enableTpu?: boolean; /** 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. */ endpoint?: string; /** GKE Enterprise Configuration. Deprecated: GKE Enterprise features are now available without an Enterprise tier. */ enterpriseConfig?: EnterpriseConfig; /** This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding. */ etag?: string; /** Output only. The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. */ expireTime?: string; /** Fleet information for the cluster. */ fleet?: Fleet; /** Configuration for GKE auto upgrades. */ gkeAutoUpgradeConfig?: GkeAutoUpgradeConfig; /** Output only. Unique id for the cluster. */ id?: string; /** Configuration for Identity Service component. */ identityServiceConfig?: IdentityServiceConfig; /** The 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. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "","-": picks the default Kubernetes version */ initialClusterVersion?: string; /** The number of nodes to create in this cluster. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) 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. This field is deprecated, use node_pool.initial_node_count instead. */ initialNodeCount?: number; /** Output only. Deprecated. Use node_pools.instance_group_urls. */ instanceGroupUrls?: string[]; /** Configuration for cluster IP allocation. */ ipAllocationPolicy?: IPAllocationPolicy; /** The fingerprint of the set of labels for this cluster. */ labelFingerprint?: string; /** Configuration for the legacy ABAC authorization mode. */ legacyAbac?: LegacyAbac; /** Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides. */ location?: string; /** The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. This field provides a default value if [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) are not specified during node pool creation. Warning: changing cluster locations will update the [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node pools and will result in nodes being added and/or removed. */ locations?: string[]; /** Logging configuration for the cluster. */ loggingConfig?: LoggingConfig; /** The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions. */ loggingService?: string; /** Configure the maintenance policy for this cluster. */ maintenancePolicy?: MaintenancePolicy; /** Configuration for managed machine learning diagnostics. */ managedMachineLearningDiagnosticsConfig?: ManagedMachineLearningDiagnosticsConfig; /** Configuration for Managed OpenTelemetry pipeline. */ managedOpentelemetryConfig?: ManagedOpenTelemetryConfig; /** Configuration for master components. */ master?: Master; /** The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified, `username` will be set to "admin", a random password will be generated, and a client certificate will be issued. */ masterAuth?: MasterAuth; /** The configuration options for master authorized networks feature. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config instead. */ masterAuthorizedNetworksConfig?: MasterAuthorizedNetworksConfig; /** The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use private_cluster_config.master_ipv4_cidr_block instead. */ masterIpv4CidrBlock?: string; /** Configuration for issuance of mTLS keys and certificates to Kubernetes pods. */ meshCertificates?: MeshCertificates; /** Monitoring configuration for the cluster. */ monitoringConfig?: MonitoringConfig; /** The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions. */ monitoringService?: string; /** The name of this cluster. The name must be unique within this project and location (e.g. zone or region), 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. */ name?: string; /** The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. On output this shows the network ID instead of the name. */ network?: string; /** Configuration for cluster networking. */ networkConfig?: NetworkConfig; /** Configuration options for the NetworkPolicy feature. */ networkPolicy?: NetworkPolicy; /** Parameters used in creating the cluster's nodes. 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. (For configuration of each node pool, see `node_pool.config`) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead. */ nodeConfig?: NodeConfig; /** Optional. Configuration for Node Creation Mode. */ nodeCreationConfig?: NodeCreationConfig; /** Output only. The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode. */ nodeIpv4CidrSize?: number; /** Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. */ nodePoolAutoConfig?: NodePoolAutoConfig; /** Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object. */ nodePoolDefaults?: NodePoolDefaults; /** The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified. */ nodePools?: NodePool[]; /** The node pool upgrade concurrency config of the cluster. This field is used for auto upgrade. */ nodePoolUpgradeConcurrencyConfig?: NodePoolUpgradeConcurrencyConfig; /** Notification configuration of the cluster. */ notificationConfig?: NotificationConfig; /** The configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of the GKE cluster and take the ownership of the cluster. */ parentProductConfig?: ParentProductConfig; /** The config for pod autoscaling. */ podAutoscaling?: PodAutoscaling; /** Configuration for the PodSecurityPolicy feature. */ podSecurityPolicyConfig?: PodSecurityPolicyConfig; /** If this is a private cluster setup. Private clusters are clusters that, by default have no external IP addresses on the nodes and where nodes and the master communicate over private IP addresses. This field is deprecated, use private_cluster_config.enable_private_nodes instead. */ privateCluster?: boolean; /** Configuration for private cluster. */ privateClusterConfig?: PrivateClusterConfig; /** Deprecated: Use SecurityPostureConfig instead. Enable/Disable Protect API features for the cluster. */ protectConfig?: ProtectConfig; /** RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. */ rbacBindingConfig?: RBACBindingConfig; /** Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version. */ releaseChannel?: ReleaseChannel; /** The resource labels for the cluster to use to annotate any related Google Compute Engine resources. */ resourceLabels?: {[P in string]: string}; /** Configuration for exporting resource usages. Resource usage export is disabled when this config unspecified. */ resourceUsageExportConfig?: ResourceUsageExportConfig; /** The rollback safe upgrade information of the cluster. This field is used when user manually triggers a rollback safe upgrade. */ rollbackSafeUpgrade?: RollbackSafeUpgrade; /** Output only. Reserved for future use. */ satisfiesPzi?: boolean; /** Output only. Reserved for future use. */ satisfiesPzs?: boolean; /** Optional. Configuration for scheduled upgrades. */ scheduleUpgradeConfig?: ScheduleUpgradeConfig; /** Secret CSI driver configuration. */ secretManagerConfig?: SecretManagerConfig; /** Configuration for sync Secret Manager secrets as k8s secrets. */ secretSyncConfig?: SecretSyncConfig; /** Optional. Enable/Disable Security Posture API features for the cluster. */ securityPostureConfig?: SecurityPostureConfig; /** Output only. Server-defined URL for the resource. */ selfLink?: string; /** Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://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. */ servicesIpv4Cidr?: string; /** Shielded Nodes configuration. */ shieldedNodes?: ShieldedNodes; /** Output only. The current status of this cluster. */ status?: | 'STATUS_UNSPECIFIED' | 'PROVISIONING' | 'RUNNING' | 'RECONCILING' | 'STOPPING' | 'ERROR' | 'DEGRADED'; /** Output only. Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available. */ statusMessage?: string; /** The name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which the cluster is connected. On output this shows the subnetwork ID instead of the name. */ subnetwork?: string; /** Configuration for Cloud TPU support; This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25. */ tpuConfig?: TpuConfig; /** Output only. The IP address range of the Cloud TPUs in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25. */ tpuIpv4CidrBlock?: string; /** The Custom keys configuration for the cluster. */ userManagedKeysConfig?: UserManagedKeysConfig; /** Cluster-level Vertical Pod Autoscaling configuration. */ verticalPodAutoscaling?: VerticalPodAutoscaling; /** Configuration for direct-path (via ALTS) with workload identity. This feature is not officially supported for external customers in Kubernetes Engine when using Workload Identity. */ workloadAltsConfig?: WorkloadALTSConfig; /** Configuration for issuance of mTLS keys and certificates to Kubernetes pods. */ workloadCertificates?: WorkloadCertificates; /** Configuration for the use of Kubernetes Service Accounts in IAM policies. */ workloadIdentityConfig?: WorkloadIdentityConfig; /** Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use location instead. */ zone?: string; } interface ClusterAutoscaling { /** Autopilot general profile for the cluster, which defines the configuration for the cluster. */ autopilotGeneralProfile?: 'AUTOPILOT_GENERAL_PROFILE_UNSPECIFIED' | 'NO_PERFORMANCE' | 'NONE'; /** The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP. */ autoprovisioningLocations?: string[]; /** AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP. */ autoprovisioningNodePoolDefaults?: AutoprovisioningNodePoolDefaults; /** Defines autoscaling behaviour. */ autoscalingProfile?: 'PROFILE_UNSPECIFIED' | 'OPTIMIZE_UTILIZATION' | 'BALANCED'; /** Default compute class is a configuration for default compute class. */ defaultComputeClassConfig?: DefaultComputeClassConfig; /** Enables automatic node pool creation and deletion. */ enableNodeAutoprovisioning?: boolean; /** Contains global constraints regarding minimum and maximum amount of resources in the cluster. */ resourceLimits?: ResourceLimit[]; } interface ClusterNetworkPerformanceConfig { /** Specifies the total network bandwidth tier for the NodePool. */ totalEgressBandwidthTier?: 'TIER_UNSPECIFIED' | 'TIER_1'; } interface ClusterPolicyConfig { /** Denotes preventing standard node pools and requiring only autopilot node pools. */ noStandardNodePools?: boolean; /** Denotes preventing impersonation and CSRs for GKE System users. */ noSystemImpersonation?: boolean; /** Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources . */ noSystemMutation?: boolean; /** Denotes preventing unsafe webhooks. */ noUnsafeWebhooks?: boolean; } interface ClusterTelemetry { /** Type of the integration. */ type?: 'UNSPECIFIED' | 'DISABLED' | 'ENABLED' | 'SYSTEM_ONLY'; } interface ClusterUpdate { /** The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs. */ additionalPodRangesConfig?: AdditionalPodRangesConfig; /** The desired config for additional subnetworks attached to the cluster. */ desiredAdditionalIpRangesConfig?: DesiredAdditionalIPRangesConfig; /** Configurations for the various addons available to run in the cluster. */ desiredAddonsConfig?: AddonsConfig; /** Configuration for limiting anonymous access to all endpoints except the health checks. */ desiredAnonymousAuthenticationConfig?: AnonymousAuthenticationConfig; /** AuthenticatorGroupsConfig specifies the config for the cluster security groups settings. */ desiredAuthenticatorGroupsConfig?: AuthenticatorGroupsConfig; /** AutoIpamConfig contains all information related to Auto IPAM */ desiredAutoIpamConfig?: AutoIpamConfig; /** The desired autopilot cluster policies that to be enforced in the cluster. */ desiredAutopilotClusterPolicyConfig?: ClusterPolicyConfig; /** WorkloadPolicyConfig is the configuration related to GCW workload policy */ desiredAutopilotWorkloadPolicyConfig?: WorkloadPolicyConfig; /** The desired configuration options for the Binary Authorization feature. */ desiredBinaryAuthorization?: BinaryAuthorization; /** Cluster-level autoscaling configuration. */ desiredClusterAutoscaling?: ClusterAutoscaling; /** The desired telemetry integration for the cluster. */ desiredClusterTelemetry?: ClusterTelemetry; /** Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster. */ desiredCompliancePostureConfig?: CompliancePostureConfig; /** The desired containerd config for the cluster. */ desiredContainerdConfig?: ContainerdConfig; /** The desired control plane egress control config for the cluster. */ desiredControlPlaneEgress?: ControlPlaneEgress; /** Control plane endpoints configuration. */ desiredControlPlaneEndpointsConfig?: ControlPlaneEndpointsConfig; /** The desired configuration for the fine-grained cost management feature. */ desiredCostManagementConfig?: CostManagementConfig; /** Configuration of etcd encryption. */ desiredDatabaseEncryption?: DatabaseEncryption; /** The desired datapath provider for the cluster. */ desiredDatapathProvider?: | 'DATAPATH_PROVIDER_UNSPECIFIED' | 'LEGACY_DATAPATH' | 'ADVANCED_DATAPATH'; /** Override the default setting of whether future created nodes have private IP addresses only, namely NetworkConfig.default_enable_private_nodes */ desiredDefaultEnablePrivateNodes?: boolean; /** The desired status of whether to disable default sNAT for this cluster. */ desiredDefaultSnatStatus?: DefaultSnatStatus; /** Enable/Disable L4 LB VPC firewall reconciliation for the cluster. */ desiredDisableL4LbFirewallReconciliation?: boolean; /** DNSConfig contains clusterDNS config for this cluster. */ desiredDnsConfig?: DNSConfig; /** Enable/Disable Cilium Clusterwide Network Policy for the cluster. */ desiredEnableCiliumClusterwideNetworkPolicy?: boolean; /** Enable/Disable FQDN Network Policy for the cluster. */ desiredEnableFqdnNetworkPolicy?: boolean; /** Enable/Disable Multi-Networking for the cluster */ desiredEnableMultiNetworking?: boolean; /** Enable/Disable private endpoint for the cluster's master. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true. */ desiredEnablePrivateEndpoint?: boolean; /** The desired enterprise configuration for the cluster. Deprecated: GKE Enterprise features are now available without an Enterprise tier. */ desiredEnterpriseConfig?: DesiredEnterpriseConfig; /** The desired fleet configuration for the cluster. */ desiredFleet?: Fleet; /** The desired config of Gateway API on this cluster. */ desiredGatewayApiConfig?: GatewayAPIConfig; /** The desired GCFS config for the cluster. */ desiredGcfsConfig?: GcfsConfig; /** HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts. */ desiredHostMaintenancePolicy?: HostMaintenancePolicy; /** The desired Identity Service component configuration. */ desiredIdentityServiceConfig?: IdentityServiceConfig; /** The desired name of the image to use for this node. This is used to create clusters using a custom image. */ desiredImage?: string; /** The project containing the desired image to use for this node. This is used to create clusters using a custom image. */ desiredImageProject?: string; /** The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well. */ desiredImageType?: string; /** The desired config of Intra-node visibility. */ desiredIntraNodeVisibilityConfig?: IntraNodeVisibilityConfig; /** Specify the details of in-transit encryption. Now named inter-node transparent encryption. */ desiredInTransitEncryptionConfig?: | 'IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED' | 'IN_TRANSIT_ENCRYPTION_DISABLED' | 'IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT'; /** Beta APIs enabled for cluster. */ desiredK8sBetaApis?: K8sBetaAPIConfig; /** The desired L4 Internal Load Balancer Subsetting configuration. */ desiredL4ilbSubsettingConfig?: ILBSubsettingConfig; /** The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed. */ desiredLocations?: string[]; /** The desired logging configuration. */ desiredLoggingConfig?: LoggingConfig; /** The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions. */ desiredLoggingService?: string; /** The desired managed machine learning diagnostics configuration. */ desiredManagedMachineLearningDiagnosticsConfig?: ManagedMachineLearningDiagnosticsConfig; /** The desired managed open telemetry configuration. */ desiredManagedOpentelemetryConfig?: ManagedOpenTelemetryConfig; /** Configuration for master components. */ desiredMaster?: Master; /** The desired configuration options for master authorized networks feature. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead. */ desiredMasterAuthorizedNetworksConfig?: MasterAuthorizedNetworksConfig; /** The Kubernetes version to change the master to. The only valid value is the latest supported version. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default Kubernetes version */ desiredMasterVersion?: string; /** Configuration for issuance of mTLS keys and certificates to Kubernetes pods. */ desiredMeshCertificates?: MeshCertificates; /** The desired monitoring configuration. */ desiredMonitoringConfig?: MonitoringConfig; /** The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions. */ desiredMonitoringService?: string; /** The desired network performance config. */ desiredNetworkPerformanceConfig?: ClusterNetworkPerformanceConfig; /** The desired network tier configuration for the cluster. */ desiredNetworkTierConfig?: NetworkTierConfig; /** Optional. The desired NodeCreationConfig for the cluster. */ desiredNodeCreationConfig?: NodeCreationConfig; /** The desired node kubelet config for the cluster. */ desiredNodeKubeletConfig?: NodeKubeletConfig; /** The desired node kubelet config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. */ desiredNodePoolAutoConfigKubeletConfig?: NodeKubeletConfig; /** The desired Linux node config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. Currently only `cgroup_mode` can be set here. */ desiredNodePoolAutoConfigLinuxNodeConfig?: LinuxNodeConfig; /** The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. */ desiredNodePoolAutoConfigNetworkTags?: NetworkTags; /** The desired resource manager tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. */ desiredNodePoolAutoConfigResourceManagerTags?: ResourceManagerTags; /** 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. */ desiredNodePoolAutoscaling?: NodePoolAutoscaling; /** The node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family", "desired_node_pool_autoscaling", or "desired_workload_metadata_config" is specified and there is more than one node pool on the cluster. */ desiredNodePoolId?: string; /** The desired node pool logging configuration defaults for the cluster. */ desiredNodePoolLoggingConfig?: NodePoolLoggingConfig; /** The desired node pool upgrade concurrency configuration. */ desiredNodePoolUpgradeConcurrencyConfig?: NodePoolUpgradeConcurrencyConfig; /** The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version */ desiredNodeVersion?: string; /** The desired notification configuration. */ desiredNotificationConfig?: NotificationConfig; /** The desired parent product config for the cluster. */ desiredParentProductConfig?: ParentProductConfig; /** The desired config for pod autoscaling. */ desiredPodAutoscaling?: PodAutoscaling; /** The desired configuration options for the PodSecurityPolicy feature. */ desiredPodSecurityPolicyConfig?: PodSecurityPolicyConfig; /** The desired private cluster configuration. master_global_access_config is the only field that can be changed via this field. See also ClusterUpdate.desired_enable_private_endpoint for modifying other fields within PrivateClusterConfig. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.global_access instead. */ desiredPrivateClusterConfig?: PrivateClusterConfig; /** The desired state of IPv6 connectivity to Google Services. */ desiredPrivateIpv6GoogleAccess?: | 'PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED' | 'PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED' | 'PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE' | 'PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL'; /** The desired privileged admission config for the cluster. */ desiredPrivilegedAdmissionConfig?: PrivilegedAdmissionConfig; /** Deprecated: Use DesiredSecurityPostureConfig instead. Enable/Disable Protect API features for the cluster. */ desiredProtectConfig?: ProtectConfig; /** RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. */ desiredRbacBindingConfig?: RBACBindingConfig; /** The desired release channel configuration. */ desiredReleaseChannel?: ReleaseChannel; /** The desired configuration for exporting resource usage. */ desiredResourceUsageExportConfig?: ResourceUsageExportConfig; /** The desired rollback safe upgrade configuration. */ desiredRollbackSafeUpgrade?: RollbackSafeUpgrade; /** Optional. The desired scheduled upgrades configuration for the cluster. */ desiredScheduleUpgradeConfig?: ScheduleUpgradeConfig; /** Enable/Disable Secret Manager Config. */ desiredSecretManagerConfig?: SecretManagerConfig; /** Configuration for sync Secret Manager secrets as k8s secrets. */ desiredSecretSyncConfig?: SecretSyncConfig; /** Enable/Disable Security Posture API features for the cluster. */ desiredSecurityPostureConfig?: SecurityPostureConfig; /** ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field. */ desiredServiceExternalIpsConfig?: ServiceExternalIPsConfig; /** Configuration for Shielded Nodes. */ desiredShieldedNodes?: ShieldedNodes; /** The desired stack type of the cluster. If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type. */ desiredStackType?: 'STACK_TYPE_UNSPECIFIED' | 'IPV4' | 'IPV4_IPV6'; /** The desired Cloud TPU configuration. This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25. */ desiredTpuConfig?: TpuConfig; /** The desired user managed keys config for the cluster. */ desiredUserManagedKeysConfig?: UserManagedKeysConfig; /** Cluster-level Vertical Pod Autoscaling configuration. */ desiredVerticalPodAutoscaling?: VerticalPodAutoscaling; /** Configuration for direct-path (via ALTS) with workload identity. This feature is not officially supported for external customers in Kubernetes Engine when using Workload Identity. */ desiredWorkloadAltsConfig?: WorkloadALTSConfig; /** Configuration for issuance of mTLS keys and certificates to Kubernetes pods. */ desiredWorkloadCertificates?: WorkloadCertificates; /** Configuration for Workload Identity. */ desiredWorkloadIdentityConfig?: WorkloadIdentityConfig; /** Kubernetes open source beta apis enabled on the cluster. Only beta apis */ enableK8sBetaApis?: K8sBetaAPIConfig; /** The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned. */ etag?: string; /** Configuration for GKE auto upgrade. */ gkeAutoUpgradeConfig?: GkeAutoUpgradeConfig; /** The desired private cluster configuration. Has no effect. Use desired_private_cluster_config instead. */ privateClusterConfig?: PrivateClusterConfig; /** The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument. */ removedAdditionalPodRangesConfig?: AdditionalPodRangesConfig; /** The Custom keys configuration for the cluster. This field is deprecated. Use ClusterUpdate.desired_user_managed_keys_config instead. */ userManagedKeysConfig?: UserManagedKeysConfig; } interface ClusterUpgradeInfo { /** The auto upgrade status. */ autoUpgradeStatus?: 'UNKNOWN' | 'ACTIVE' | 'MINOR_UPGRADE_PAUSED' | 'UPGRADE_PAUSED'[]; /** The cluster's current minor version's end of extended support timestamp. */ endOfExtendedSupportTimestamp?: string; /** The cluster's current minor version's end of standard support timestamp. */ endOfStandardSupportTimestamp?: string; /** minor_target_version indicates the target version for minor upgrade. */ minorTargetVersion?: string; /** patch_target_version indicates the target version for patch upgrade. */ patchTargetVersion?: string; /** The auto upgrade paused reason. */ pausedReason?: | 'AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED' | 'MAINTENANCE_WINDOW' | 'MAINTENANCE_EXCLUSION_NO_UPGRADES' | 'MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES' | 'CLUSTER_DISRUPTION_BUDGET' | 'CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE' | 'SYSTEM_CONFIG'[]; /** The cluster's rollback-safe upgrade status. */ rollbackSafeUpgradeStatus?: RollbackSafeUpgradeStatus; /** The list of past auto upgrades. */ upgradeDetails?: UpgradeDetails[]; } interface CompatibilityStatus { /** Output only. The GKE version that the cluster can be safely downgraded to if the cluster is emulating the previous minor version. It is usually the cluster's previous version before a minor version upgrade. */ downgradableVersion?: string; /** Output only. Last time the control plane became available after a minor version binary upgrade with emulated version set. It indicates the last time the cluster entered the rollback safe mode. */ emulatedVersionTime?: string; } interface CompleteControlPlaneUpgradeRequest { /** API request version that initiates this operation. */ version?: string; } interface CompleteIPRotationRequest { /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** The name (project, location, cluster name) of the cluster to complete IP rotation. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface CompleteNodePoolUpgradeRequest {} interface CompliancePostureConfig { /** List of enabled compliance standards. */ complianceStandards?: ComplianceStandard[]; /** Defines the enablement mode for Compliance Posture. */ mode?: 'MODE_UNSPECIFIED' | 'DISABLED' | 'ENABLED'; } interface ComplianceStandard { /** Name of the compliance standard. */ standard?: string; } interface ConfidentialNodes { /** Defines the type of technology used by the confidential node. */ confidentialInstanceType?: 'CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED' | 'SEV' | 'SEV_SNP' | 'TDX'; /** Whether Confidential Nodes feature is enabled. */ enabled?: boolean; } interface ConfigConnectorConfig { /** Whether Cloud Connector is enabled for this cluster. */ enabled?: boolean; } interface ConsumptionMeteringConfig { /** Whether to enable consumption metering for this cluster. If enabled, a second BigQuery table will be created to hold resource consumption records. */ enabled?: boolean; } interface ContainerdConfig { /** PrivateRegistryAccessConfig is used to configure access configuration for private container registries. */ privateRegistryAccessConfig?: PrivateRegistryAccessConfig; /** RegistryHostConfig configures containerd registry host configuration. Each registry_hosts represents a hosts.toml file. At most 25 registry_hosts are allowed. */ registryHosts?: RegistryHostConfig[]; /** Optional. WritableCgroups defines writable cgroups configuration for the node pool. */ writableCgroups?: WritableCgroups; } interface ControlPlaneEgress { /** Defines the mode of control plane egress. */ mode?: 'MODE_UNSPECIFIED' | 'VIA_CONTROL_PLANE' | 'NONE'; } interface ControlPlaneEndpointsConfig { /** DNS endpoint configuration. */ dnsEndpointConfig?: DNSEndpointConfig; /** IP endpoints configuration. */ ipEndpointsConfig?: IPEndpointsConfig; } interface CostManagementConfig { /** Whether the feature is enabled or not. */ enabled?: boolean; } interface CrashLoopBackOffConfig { /** Optional. The maximum duration the backoff delay can accrue to for container restarts, minimum 1 second, maximum 300 seconds. If not set, defaults to the internal crashloopbackoff maximum. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". See https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-restart-delay for more details. */ maxContainerRestartPeriod?: string; } interface CreateClusterRequest { /** Required. A [cluster resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters) */ cluster?: Cluster; /** The parent (project and location) where the cluster will be created. Specified in the format `projects/*‍/locations/*`. */ parent?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field. */ projectId?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field. */ zone?: string; } interface CreateNodePoolRequest { /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field. */ clusterId?: string; /** Required. The node pool to create. */ nodePool?: NodePool; /** The parent (project, location, cluster name) where the node pool will be created. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ parent?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field. */ projectId?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field. */ zone?: string; } interface CustomImageConfig { /** The name of the image to use for this node. */ image?: string; /** The project containing the image to use for this node. */ imageProject?: string; } interface CustomImageInfo { /** Output only. The human-readable upgrade message for the custom image. */ upgradeMessage?: string; } interface CustomNodeInit { /** Optional. The init script to be executed on the node. */ initScript?: InitScript; } interface DailyMaintenanceWindow { /** Output only. Duration of the time window, automatically chosen to be smallest possible in the given scenario. */ duration?: string; /** Time 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. */ startTime?: string; } interface DatabaseEncryption { /** Output only. The current state of etcd encryption. */ currentState?: | 'CURRENT_STATE_UNSPECIFIED' | 'CURRENT_STATE_ENCRYPTED' | 'CURRENT_STATE_DECRYPTED' | 'CURRENT_STATE_ENCRYPTION_PENDING' | 'CURRENT_STATE_ENCRYPTION_ERROR' | 'CURRENT_STATE_DECRYPTION_PENDING' | 'CURRENT_STATE_DECRYPTION_ERROR' | 'CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ENABLED' | 'CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_PENDING' | 'CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ERROR'; /** Output only. Keys in use by the cluster for decrypting existing objects, in addition to the key in `key_name`. Each item is a CloudKMS key resource. */ decryptionKeys?: string[]; /** Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key */ keyName?: string; /** Output only. Records errors seen during DatabaseEncryption update operations. */ lastOperationErrors?: OperationError[]; /** The desired state of etcd encryption. */ state?: | 'UNKNOWN' | 'ENCRYPTED' | 'DECRYPTED' | 'ALL_OBJECTS_ENCRYPTION_ENABLED'; } interface DataplaneV2Config { /** Optional. Scalability mode for the cluster. */ scalabilityMode?: 'SCALABILITY_MODE_UNSPECIFIED' | 'DISABLED' | 'SCALE_OPTIMIZED'; } interface Date { /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */ day?: number; /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */ month?: number; /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */ year?: number; } interface DedicatedLocalSsdProfile { /** The number of physical local NVMe SSD disks to attach. */ diskCount?: string; } interface DefaultComputeClassConfig { /** Enables default compute class. */ enabled?: boolean; } interface DefaultSnatStatus { /** Disables cluster default sNAT rules. */ disabled?: boolean; } interface DesiredAdditionalIPRangesConfig { /** List of additional IP ranges configs where each AdditionalIPRangesConfig corresponds to one subnetwork's IP ranges */ additionalIpRangesConfigs?: AdditionalIPRangesConfig[]; } interface DesiredEnterpriseConfig { /** desired_tier specifies the desired tier of the cluster. */ desiredTier?: 'CLUSTER_TIER_UNSPECIFIED' | 'STANDARD' | 'ENTERPRISE'; } interface DisruptionBudget { /** Output only. The last time a disruption was performed on the control plane. */ lastDisruptionTime?: string; /** Output only. The last time a minor version upgrade was performed on the control plane. */ lastMinorVersionDisruptionTime?: string; /** Optional. The minimum duration between two minor version upgrades of the control plane. */ minorVersionDisruptionInterval?: string; /** Optional. The minimum duration between two patch version upgrades of the control plane. */ patchVersionDisruptionInterval?: string; } interface DisruptionEvent { /** The type of the disruption event. */ disruptionType?: | 'DISRUPTION_TYPE_UNSPECIFIED' | 'POD_NOT_ENOUGH_PDB' | 'POD_PDB_VIOLATION'; /** The node whose drain is blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event. */ pdbBlockedNode?: string; /** The pods whose evictions are blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event. */ pdbBlockedPod?: PdbBlockedPod[]; /** The timeout in seconds for which the node drain is blocked by PDB. After this timeout, pods are forcefully evicted. This field is only populated when event_type is POD_PDB_VIOLATION. */ pdbViolationTimeout?: string; } interface DnsCacheConfig { /** Whether NodeLocal DNSCache is enabled for this cluster. */ enabled?: boolean; } interface DNSConfig { /** Optional. The domain used in Additive VPC scope. */ additiveVpcScopeDnsDomain?: string; /** cluster_dns indicates which in-cluster DNS provider should be used. */ clusterDns?: 'PROVIDER_UNSPECIFIED' | 'PLATFORM_DEFAULT' | 'CLOUD_DNS' | 'KUBE_DNS'; /** cluster_dns_domain is the suffix used for all cluster service records. */ clusterDnsDomain?: string; /** cluster_dns_scope indicates the scope of access to cluster DNS records. */ clusterDnsScope?: 'DNS_SCOPE_UNSPECIFIED' | 'CLUSTER_SCOPE' | 'VPC_SCOPE'; } interface DNSEndpointConfig { /** Controls whether user traffic is allowed over this endpoint. Note that Google-managed services may still use the endpoint even if this is false. */ allowExternalTraffic?: boolean; /** Controls whether the k8s certs auth is allowed via DNS. */ enableK8sCertsViaDns?: boolean; /** Controls whether the k8s token auth is allowed via DNS. */ enableK8sTokensViaDns?: boolean; /** Output only. The cluster's DNS endpoint configuration. A DNS format address. This is accessible from the public internet. Ex: uid.us-central1.gke.goog. Always present, but the behavior may change according to the value of DNSEndpointConfig.allow_external_traffic. */ endpoint?: string; } interface Empty {} interface EncryptionConfig { /** Optional. If true, swap space will not be encrypted. Defaults to false (encrypted). */ disabled?: boolean; } interface EnterpriseConfig { /** Output only. cluster_tier indicates the effective tier of the cluster. */ clusterTier?: 'CLUSTER_TIER_UNSPECIFIED' | 'STANDARD' | 'ENTERPRISE'; /** desired_tier specifies the desired tier of the cluster. */ desiredTier?: 'CLUSTER_TIER_UNSPECIFIED' | 'STANDARD' | 'ENTERPRISE'; } interface EphemeralLocalSsdProfile { /** Specifies the size of the swap space in gibibytes (GiB). */ swapSizeGib?: string; /** Specifies the size of the swap space as a percentage of the ephemeral local SSD capacity. */ swapSizePercent?: number; } interface EphemeralStorageConfig { /** Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. */ localSsdCount?: number; } interface EphemeralStorageLocalSsdConfig { /** Number of local SSDs to use for GKE Data Cache. */ dataCacheCount?: number; /** Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. */ localSsdCount?: number; } interface EvictionGracePeriod { /** Optional. Grace period for eviction due to imagefs available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ imagefsAvailable?: string; /** Optional. Grace period for eviction due to imagefs inodes free signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ imagefsInodesFree?: string; /** Optional. Grace period for eviction due to memory available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ memoryAvailable?: string; /** Optional. Grace period for eviction due to nodefs available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ nodefsAvailable?: string; /** Optional. Grace period for eviction due to nodefs inodes free signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ nodefsInodesFree?: string; /** Optional. Grace period for eviction due to pid available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ pidAvailable?: string; } interface EvictionMinimumReclaim { /** Optional. Minimum reclaim for eviction due to imagefs available signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ imagefsAvailable?: string; /** Optional. Minimum reclaim for eviction due to imagefs inodes free signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ imagefsInodesFree?: string; /** Optional. Minimum reclaim for eviction due to memory available signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ memoryAvailable?: string; /** Optional. Minimum reclaim for eviction due to nodefs available signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ nodefsAvailable?: string; /** Optional. Minimum reclaim for eviction due to nodefs inodes free signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ nodefsInodesFree?: string; /** Optional. Minimum reclaim for eviction due to pid available signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ pidAvailable?: string; } interface EvictionSignals { /** Optional. Amount of storage available on filesystem that container runtime uses for storing images layers. If the container filesystem and image filesystem are not separate, then imagefs can store both image layers and writeable layers. Defines the amount of "imagefs.available" signal in kubelet. Default is unset, if not specified in the kubelet config. Sample format: "30%". Must be >= 15%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ imagefsAvailable?: string; /** Optional. Amount of inodes available on filesystem that container runtime uses for storing images layers. Defines the amount of "imagefs.inodesFree" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. Sample format: "30%". Must be >= 5%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ imagefsInodesFree?: string; /** Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines the amount of "memory.available" signal in kubelet. Default is unset, if not specified in the kubelet config. Format: positive number + unit, e.g. 100Ki, 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be >= 100Mi and <= 50% of the node's memory. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ memoryAvailable?: string; /** Optional. Amount of storage available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of "nodefs.available" signal in kubelet. Default is unset, if not specified in the kubelet config. Sample format: "30%". Must be >= 10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ nodefsAvailable?: string; /** Optional. Amount of inodes available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of "nodefs.inodesFree" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. It takses percentage value for now. Sample format: "30%". Must be >= 5% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ nodefsInodesFree?: string; /** Optional. Amount of PID available for pod allocation. Defines the amount of "pid.available" signal in kubelet. Default is unset, if not specified in the kubelet config. Sample format: "30%". Must be >= 10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals */ pidAvailable?: string; } interface ExclusionUntilEndOfSupport { /** Optional. Indicates whether the exclusion is enabled. */ enabled?: boolean; /** Output only. The end time of the maintenance exclusion. It is output only. It is the cluster control plane version's end of support time, or end of extended support time when the cluster is on extended support channel. */ endTime?: string; /** Output only. The start time of the maintenance exclusion. It is output only. It is the exclusion creation time. */ startTime?: string; } interface FastSocket { /** Whether Fast Socket features are enabled in the node pool. */ enabled?: boolean; } interface Filter { /** Event types to allowlist. */ eventType?: | 'EVENT_TYPE_UNSPECIFIED' | 'UPGRADE_AVAILABLE_EVENT' | 'UPGRADE_EVENT' | 'SECURITY_BULLETIN_EVENT' | 'UPGRADE_INFO_EVENT'[]; } interface Fleet { /** Output only. The full resource name of the registered fleet membership of the cluster, in the format `//gkehub.googleapis.com/projects/*‍/locations/*‍/memberships/*`. */ membership?: string; /** The type of the cluster's fleet membership. */ membershipType?: 'MEMBERSHIP_TYPE_UNSPECIFIED' | 'LIGHTWEIGHT'; /** Output only. Whether the cluster has been registered through the fleet API. */ preRegistered?: boolean; /** The Fleet host project(project ID or project number) where this cluster will be registered to. This field cannot be changed after the cluster has been registered. */ project?: string; } interface GatewayAPIConfig { /** The Gateway API release channel to use for Gateway API. */ channel?: | 'CHANNEL_UNSPECIFIED' | 'CHANNEL_DISABLED' | 'CHANNEL_EXPERIMENTAL' | 'CHANNEL_STANDARD'; } interface GcePersistentDiskCsiDriverConfig { /** Whether the Compute Engine PD CSI driver is enabled for this cluster. */ enabled?: boolean; } interface GcfsConfig { /** Whether to use GCFS. */ enabled?: boolean; } interface GcpFilestoreCsiDriverConfig { /** Whether the Filestore CSI driver is enabled for this cluster. */ enabled?: boolean; } interface GCPSecretManagerCertificateConfig { /** Secret URI, in the form "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION". Version can be fixed (e.g. "2") or "latest" */ secretUri?: string; } interface GcsFuseCsiDriverConfig { /** Whether the Cloud Storage Fuse CSI driver is enabled for this cluster. */ enabled?: boolean; } interface GetJSONWebKeysResponse { /** For HTTP requests, this field is automatically extracted into the Cache-Control HTTP header. */ cacheHeader?: HttpCacheControlResponseHeader; /** The public component of the keys used by the cluster to sign token requests. */ keys?: Jwk[]; } interface GetOpenIDConfigResponse { /** For HTTP requests, this field is automatically extracted into the Cache-Control HTTP header. */ cacheHeader?: HttpCacheControlResponseHeader; /** Supported claims. */ claims_supported?: string[]; /** Supported grant types. */ grant_types?: string[]; /** supported ID Token signing Algorithms. */ id_token_signing_alg_values_supported?: string[]; /** OIDC Issuer. */ issuer?: string; /** JSON Web Key uri. */ jwks_uri?: string; /** Supported response types. */ response_types_supported?: string[]; /** Supported subject types. */ subject_types_supported?: string[]; } interface GkeAutoUpgradeConfig { /** PatchMode specifies how auto upgrade patch builds should be selected. */ patchMode?: 'PATCH_MODE_UNSPECIFIED' | 'ACCELERATED'; } interface GkeBackupAgentConfig { /** Whether the Backup for GKE agent is enabled for this cluster. */ enabled?: boolean; } interface GPUDirectConfig { /** The type of GPU direct strategy to enable on the node pool. */ gpuDirectStrategy?: 'GPU_DIRECT_STRATEGY_UNSPECIFIED' | 'RDMA'; } interface GPUDriverInstallationConfig { /** Mode for how the GPU driver is installed. */ gpuDriverVersion?: | 'GPU_DRIVER_VERSION_UNSPECIFIED' | 'INSTALLATION_DISABLED' | 'DEFAULT' | 'LATEST'; } interface GPUSharingConfig { /** The type of GPU sharing strategy to enable on the GPU node. */ gpuSharingStrategy?: 'GPU_SHARING_STRATEGY_UNSPECIFIED' | 'TIME_SHARING' | 'MPS'; /** The max number of containers that can share a physical GPU. */ maxSharedClientsPerGpu?: string; } interface HighScaleCheckpointingConfig { /** Whether the High Scale Checkpointing is enabled for this cluster. */ enabled?: boolean; } interface HorizontalPodAutoscaling { /** Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring. */ disabled?: boolean; } interface HostConfig { /** CA configures the registry host certificate. */ ca?: CertificateConfig[]; /** Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing. If not set, containerd enables all capabilities by default. */ capabilities?: | 'HOST_CAPABILITY_UNSPECIFIED' | 'HOST_CAPABILITY_PULL' | 'HOST_CAPABILITY_RESOLVE' | 'HOST_CAPABILITY_PUSH'[]; /** Client configures the registry host client certificate and key. */ client?: CertificateConfigPair[]; /** Specifies the maximum duration allowed for a connection attempt to complete. A shorter timeout helps reduce delays when falling back to the original registry if the mirror is unreachable. Maximum allowed value is 180s. If not set, containerd sets default 30s. The value should be a decimal number of seconds with an `s` suffix. */ dialTimeout?: string; /** Header configures the registry host headers. */ header?: RegistryHeader[]; /** Host configures the registry host/mirror. It supports fully qualified domain names (FQDNs) and IP addresses. Specifying scheme, port or path is supported. Scheme can only be http or https. Wildcards are NOT supported. Examples: - `my.customdomain.com` - `https://my.customdomain.com/path` - `10.0.1.2:5000` */ host?: string; /** OverridePath is used to indicate the host's API root endpoint is defined in the URL path rather than by the API specification. This may be used with non-compliant OCI registries which are missing the /v2 prefix. If not set, containerd sets default false. */ overridePath?: boolean; } interface HostMaintenancePolicy { /** Specifies the frequency of planned maintenance events. */ maintenanceInterval?: 'MAINTENANCE_INTERVAL_UNSPECIFIED' | 'AS_NEEDED' | 'PERIODIC'; /** Strategy that will trigger maintenance on behalf of the customer. */ opportunisticMaintenanceStrategy?: OpportunisticMaintenanceStrategy; } interface HttpCacheControlResponseHeader { /** 14.6 response cache age, in seconds since the response is generated */ age?: string; /** 14.9 request and response directives */ directive?: string; /** 14.21 response cache expires, in RFC 1123 date format */ expires?: string; } interface HttpLoadBalancing { /** Whether 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. */ disabled?: boolean; } interface HugepagesConfig { /** Optional. Amount of 1G hugepages */ hugepageSize1g?: number; /** Optional. Amount of 2M hugepages */ hugepageSize2m?: number; } interface IdentityServiceConfig { /** Whether to enable the Identity Service component */ enabled?: boolean; } interface ILBSubsettingConfig { /** Enables l4 ILB subsetting for this cluster */ enabled?: boolean; } interface InitScript { /** Optional. The optional arguments line to be passed to the init script. */ args?: string[]; /** The resource name of the secret manager secret hosting the init script. Both global and regional secrets are supported with format below: Global secret: projects/{project}/secrets/{secret}/versions/{version} Regional secret: projects/{project}/locations/{location}/secrets/{secret}/versions/{version} Example: projects/1234567890/secrets/script_1/versions/1. Accept version number only, not support version alias. User can't configure both gcp_secret_manager_secret_uri and gcs_uri. */ gcpSecretManagerSecretUri?: string; /** The generation of the init script stored in Gloud Storage. This is the required field to identify the version of the init script. User can get the genetaion from `gcloud storage objects describe gs://BUCKET_NAME/OBJECT_NAME --format="value(generation)"` or from the "Version history" tab of the object in the Cloud Console UI. */ gcsGeneration?: string; /** The Cloud Storage URI for storing the init script. Format: gs://BUCKET_NAME/OBJECT_NAME The service account on the node pool must have read access to the object. User can't configure both gcs_uri and gcp_secret_manager_secret_uri. */ gcsUri?: string; } interface IntraNodeVisibilityConfig { /** Enables intra node visibility for this cluster. */ enabled?: boolean; } interface IPAllocationPolicy { /** Output only. The additional IP ranges that are added to the cluster. These IP ranges can be used by new node pools to allocate node and pod IPs automatically. Each AdditionalIPRangesConfig corresponds to a single subnetwork. Once a range is removed it will not show up in IPAllocationPolicy. */ additionalIpRangesConfigs?: AdditionalIPRangesConfig[]; /** Output only. The additional pod ranges that are added to the cluster. These pod ranges can be used by new node pools to allocate pod IPs automatically. Once the range is removed it will not show up in IPAllocationPolicy. */ additionalPodRangesConfig?: AdditionalPodRangesConfig; /** If true, allow allocation of cluster CIDR ranges that overlap with certain kinds of network routes. By default we do not allow cluster CIDR ranges to intersect with any user declared routes. With allow_route_overlap == true, we allow overlapping with CIDR ranges that are larger than the cluster CIDR range. If this field is set to true, then cluster and services CIDRs must be fully-specified (e.g. `10.96.0.0/14`, but not `/14`), which means: 1) When `use_ip_aliases` is true, `cluster_ipv4_cidr_block` and `services_ipv4_cidr_block` must be fully-specified. 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be fully-specified. */ allowRouteOverlap?: boolean; /** Optional. AutoIpamConfig contains all information related to Auto IPAM */ autoIpamConfig?: AutoIpamConfig; /** This field is deprecated, use cluster_ipv4_cidr_block. */ clusterIpv4Cidr?: string; /** The 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](https://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. */ clusterIpv4CidrBlock?: string; /** The 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 with use_ip_aliases and create_subnetwork is false. */ clusterSecondaryRangeName?: string; /** Whether a new subnetwork will be created automatically for the cluster. This field is only applicable when `use_ip_aliases` is true. */ createSubnetwork?: boolean; /** Output only. The utilization of the cluster default IPv4 range for the pod. The ratio is Usage/[Total number of IPs in the secondary range], Usage=numNodes*numZones*podIPsPerNode. */ defaultPodIpv4RangeUtilization?: number; /** The ipv6 access type (internal or external) when create_subnetwork is true */ ipv6AccessType?: 'IPV6_ACCESS_TYPE_UNSPECIFIED' | 'INTERNAL' | 'EXTERNAL'; /** Cluster-level network tier configuration is used to determine the default network tier for external IP addresses on cluster resources, such as node pools and load balancers. */ networkTierConfig?: NetworkTierConfig; /** This field is deprecated, use node_ipv4_cidr_block. */ nodeIpv4Cidr?: string; /** The 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](https://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. */ nodeIpv4CidrBlock?: string; /** [PRIVATE FIELD] Pod CIDR size overprovisioning config for the cluster. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is doubled and then rounded off to next power of 2 to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled. */ podCidrOverprovisionConfig?: PodCIDROverprovisionConfig; /** This field is deprecated, use services_ipv4_cidr_block. */ servicesIpv4Cidr?: string; /** The 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](https://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. */ servicesIpv4CidrBlock?: string; /** Output only. The services IPv6 CIDR block for the cluster. */ servicesIpv6CidrBlock?: string; /** The 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 and create_subnetwork is false. */ servicesSecondaryRangeName?: string; /** IP stack type */ stackType?: 'STACK_TYPE_UNSPECIFIED' | 'IPV4' | 'IPV4_IPV6'; /** Output only. The subnet's IPv6 CIDR block used by nodes and pods. */ subnetIpv6CidrBlock?: string; /** A 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. */ subnetworkName?: string; /** The IP address range of the Cloud TPUs in this cluster. If unspecified, a range will be automatically chosen with the default size. This field is only applicable when `use_ip_aliases` is true. If unspecified, the range will use the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://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. This field is deprecated, use cluster.tpu_config.ipv4_cidr_block instead. */ tpuIpv4CidrBlock?: string; /** Whether alias IPs will be used for pod IPs in the cluster. This is used in conjunction with use_routes. It cannot be true if use_routes is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode */ useIpAliases?: boolean; /** Whether routes will be used for pod IPs in the cluster. This is used in conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode */ useRoutes?: boolean; } interface IPEndpointsConfig { /** Configuration of authorized networks. If enabled, restricts access to the control plane based on source IP. It is invalid to specify both Cluster.masterAuthorizedNetworksConfig and this field at the same time. */ authorizedNetworksConfig?: MasterAuthorizedNetworksConfig; /** Controls whether to allow direct IP access. */ enabled?: boolean; /** Controls whether the control plane allows access through a public IP. It is invalid to specify both PrivateClusterConfig.enablePrivateEndpoint and this field at the same time. */ enablePublicEndpoint?: boolean; /** Controls whether the control plane's private endpoint is accessible from sources in other regions. It is invalid to specify both PrivateClusterMasterGlobalAccessConfig.enabled and this field at the same time. */ globalAccess?: boolean; /** Output only. The internal IP address of this cluster's control plane. Only populated if enabled. */ privateEndpoint?: string; /** Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*‍/regions/*‍/subnetworks/* format. It is invalid to specify both PrivateClusterConfig.privateEndpointSubnetwork and this field at the same time. */ privateEndpointSubnetwork?: string; /** Output only. The external IP address of this cluster's control plane. Only populated if enabled. */ publicEndpoint?: string; } interface IstioConfig { /** The specified Istio auth mode, either none, or mutual TLS. */ auth?: 'AUTH_NONE' | 'AUTH_MUTUAL_TLS'; /** Whether Istio is enabled for this cluster. */ disabled?: boolean; } interface Jwk { /** Algorithm. */ alg?: string; /** Used for ECDSA keys. */ crv?: string; /** Used for RSA keys. */ e?: string; /** Key ID. */ kid?: string; /** Key Type. */ kty?: string; /** Used for RSA keys. */ n?: string; /** Permitted uses for the public keys. */ use?: string; /** Used for ECDSA keys. */ x?: string; /** Used for ECDSA keys. */ y?: string; } interface K8sBetaAPIConfig { /** api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities. */ enabledApis?: string[]; } interface KalmConfig { /** Whether KALM is enabled for this cluster. */ enabled?: boolean; } interface KubernetesDashboard { /** Whether the Kubernetes Dashboard is enabled for this cluster. */ disabled?: boolean; } interface LegacyAbac { /** Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM. */ enabled?: boolean; } interface LinuxNodeConfig { /** Optional. The accurate time configuration for the node pool. */ accurateTimeConfig?: AccurateTimeConfig; /** cgroup_mode specifies the cgroup mode to be used on the node. */ cgroupMode?: 'CGROUP_MODE_UNSPECIFIED' | 'CGROUP_MODE_V1' | 'CGROUP_MODE_V2'; /** Optional. Allow users to run arbitrary bash script or container on the node. */ customNodeInit?: CustomNodeInit; /** Optional. Amounts for 2M and 1G hugepages */ hugepages?: HugepagesConfig; /** Optional. Configuration for kernel module loading on nodes. When enabled, the node pool will be provisioned with a Container-Optimized OS image that enforces kernel module signature verification. */ nodeKernelModuleLoading?: NodeKernelModuleLoading; /** Optional. Enables and configures swap space on nodes. If omitted, swap is disabled. */ swapConfig?: SwapConfig; /** The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.neigh.default.gc_thresh1 net.ipv4.neigh.default.gc_thresh2 net.ipv4.neigh.default.gc_thresh3 net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.ipv4.tcp_mtu_probing net.ipv4.tcp_max_orphans net.ipv4.tcp_max_tw_buckets net.ipv4.tcp_syn_retries net.ipv4.tcp_ecn net.ipv4.tcp_congestion_control net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.keys.maxkeys kernel.keys.maxbytes kernel.shmmni kernel.shmmax kernel.shmall kernel.perf_event_paranoid kernel.sched_rt_runtime_us kernel.softlockup_panic kernel.yama.ptrace_scope kernel.kptr_restrict kernel.dmesg_restrict kernel.sysrq fs.aio-max-nr fs.file-max fs.inotify.max_user_instances fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio vm.dirty_background_bytes vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_bytes vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory vm.overcommit_ratio vm.vfs_cache_pressure vm.swappiness vm.watermark_scale_factor vm.min_free_kbytes */ sysctls?: {[P in string]: string}; /** Optional. Defines the transparent hugepage defrag configuration on the node. VM hugepage allocation can be managed by either limiting defragmentation for delayed allocation or skipping it entirely for immediate allocation only. See https://docs.kernel.org/admin-guide/mm/transhuge.html for more details. */ transparentHugepageDefrag?: | 'TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED' | 'TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS' | 'TRANSPARENT_HUGEPAGE_DEFRAG_DEFER' | 'TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE' | 'TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE' | 'TRANSPARENT_HUGEPAGE_DEFRAG_NEVER'; /** Optional. Transparent hugepage support for anonymous memory can be entirely disabled (mostly for debugging purposes) or only enabled inside MADV_HUGEPAGE regions (to avoid the risk of consuming more memory resources) or enabled system wide. See https://docs.kernel.org/admin-guide/mm/transhuge.html for more details. */ transparentHugepageEnabled?: | 'TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED' | 'TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS' | 'TRANSPARENT_HUGEPAGE_ENABLED_MADVISE' | 'TRANSPARENT_HUGEPAGE_ENABLED_NEVER'; } interface ListClustersResponse { /** A list of clusters in the project in the specified zone, or across all ones. */ clusters?: Cluster[]; /** If any zones are listed here, the list of clusters returned may be missing those zones. */ missingZones?: string[]; } interface ListLocationsResponse { /** A full list of GKE locations. */ locations?: Location[]; /** Only return ListLocationsResponse that occur after the page_token. This value should be populated from the ListLocationsResponse.next_page_token if that response token was set (which happens when listing more Locations than fit in a single ListLocationsResponse). */ nextPageToken?: string; } interface ListNodePoolsResponse { /** A list of node pools for a cluster. */ nodePools?: NodePool[]; } interface ListOperationsResponse { /** If any zones are listed here, the list of operations returned may be missing the operations from those zones. */ missingZones?: string[]; /** A list of operations in the project in the specified zone. */ operations?: Operation[]; } interface ListUsableSubnetworksResponse { /** This token allows you to get the next page of results for list requests. If the number of results is larger than `page_size`, use the `next_page_token` as a value for the query parameter `page_token` in the next request. The value will become empty when there are no more pages. */ nextPageToken?: string; /** A list of usable subnetworks in the specified network project. */ subnetworks?: UsableSubnetwork[]; } interface LocalNvmeSsdBlockConfig { /** Number of local NVMe SSDs to use. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. */ localSsdCount?: number; } interface Location { /** Contains the name of the resource requested. Specified in the format `projects/*‍/locations/*`. */ name?: string; /** Whether the location is recommended for GKE cluster scheduling. */ recommended?: boolean; /** Contains the type of location this Location is for. Regional or Zonal. */ type?: 'LOCATION_TYPE_UNSPECIFIED' | 'ZONE' | 'REGION'; } interface LoggingComponentConfig { /** Select components to collect logs. An empty set would disable all logging. */ enableComponents?: | 'COMPONENT_UNSPECIFIED' | 'SYSTEM_COMPONENTS' | 'WORKLOADS' | 'APISERVER' | 'SCHEDULER' | 'CONTROLLER_MANAGER' | 'KCP_SSHD' | 'KCP_CONNECTION' | 'KCP_HPA' | 'KCP_VPA'[]; } interface LoggingConfig { /** Logging components configuration */ componentConfig?: LoggingComponentConfig; } interface LoggingVariantConfig { /** Logging variant deployed on nodes. */ variant?: 'VARIANT_UNSPECIFIED' | 'DEFAULT' | 'MAX_THROUGHPUT'; } interface LustreCsiDriverConfig { /** When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads. */ disableMultiNic?: boolean; /** Whether the Lustre CSI driver is enabled for this cluster. */ enabled?: boolean; /** If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag. */ enableLegacyLustrePort?: boolean; } interface MaintenanceExclusionOptions { /** EndTimeBehavior specifies the behavior of the exclusion end time. */ endTimeBehavior?: 'END_TIME_BEHAVIOR_UNSPECIFIED' | 'UNTIL_END_OF_SUPPORT'; /** Scope specifies the upgrade scope which upgrades are blocked by the exclusion. */ scope?: 'NO_UPGRADES' | 'NO_MINOR_UPGRADES' | 'NO_MINOR_OR_NODE_UPGRADES'; } interface MaintenancePolicy { /** Optional. The upgrade disruption budget for the cluster control plane. */ disruptionBudget?: DisruptionBudget; /** A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a `get()` request to the cluster to get the current resource version and include it with requests to set the policy. */ resourceVersion?: string; /** Specifies the maintenance window in which maintenance may be performed. */ window?: MaintenanceWindow; } interface MaintenanceWindow { /** DailyMaintenanceWindow specifies a daily maintenance operation window. */ dailyMaintenanceWindow?: DailyMaintenanceWindow; /** Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows. */ maintenanceExclusions?: {[P in string]: TimeWindow}; /** RecurringMaintenanceWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time. Alternative to RecurringWindow, with renamed fields. */ recurringMaintenanceWindow?: RecurringMaintenanceWindow; /** RecurringWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time. */ recurringWindow?: RecurringTimeWindow; } interface ManagedMachineLearningDiagnosticsConfig { /** Enable/Disable Managed Machine Learning Diagnostics. */ enabled?: boolean; } interface ManagedOpenTelemetryConfig { /** Scope of the Managed OpenTelemetry pipeline. */ scope?: | 'SCOPE_UNSPECIFIED' | 'NONE' | 'COLLECTION_AND_INSTRUMENTATION_COMPONENTS'; } interface ManagedPrometheusConfig { /** GKE Workload Auto-Monitoring Configuration. */ autoMonitoringConfig?: AutoMonitoringConfig; /** Enable Managed Collection. */ enabled?: boolean; } interface Master { /** Output only. The compatibility status of the control plane. It should be empty if the cluster does not have emulated version. */ compatibilityStatus?: CompatibilityStatus; } interface MasterAuth { /** Output only. Base64-encoded public certificate used by clients to authenticate to the cluster endpoint. Issued only if client_certificate_config is set. */ clientCertificate?: string; /** Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued. */ clientCertificateConfig?: ClientCertificateConfig; /** Output only. Base64-encoded private key used by clients to authenticate to the cluster endpoint. */ clientKey?: string; /** Output only. Base64-encoded public certificate that is the root of trust for the cluster. */ clusterCaCertificate?: string; /** The 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. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication */ password?: string; /** The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication */ username?: string; } interface MasterAuthorizedNetworksConfig { /** cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS. */ cidrBlocks?: CidrBlock[]; /** Whether or not master authorized networks is enabled. */ enabled?: boolean; /** Whether master is accessible via Google Compute Engine Public IP addresses. */ gcpPublicCidrsAccessEnabled?: boolean; /** Whether master authorized networks is enforced on private endpoint or not. */ privateEndpointEnforcementEnabled?: boolean; } interface MaxPodsConstraint { /** Constraint enforced on the max num of pods per node. */ maxPodsPerNode?: string; } interface MemoryManager { /** Controls the memory management policy on the Node. See https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies The following values are allowed. * "none" * "static" The default value is 'none' if unspecified. */ policy?: string; } interface MeshCertificates { /** enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty). */ enableCertificates?: boolean; } interface Metric { /** For metrics with floating point value. */ doubleValue?: number; /** For metrics with integer value. */ intValue?: string; /** Required. Metric name, e.g., "nodes total", "percent done". */ name?: string; /** For metrics with custom values (ratios, visual progress, etc.). */ stringValue?: string; } interface MonitoringComponentConfig { /** Select components to collect metrics. An empty set would disable all monitoring. */ enableComponents?: | 'COMPONENT_UNSPECIFIED' | 'SYSTEM_COMPONENTS' | 'WORKLOADS' | 'APISERVER' | 'SCHEDULER' | 'CONTROLLER_MANAGER' | 'STORAGE' | 'HPA' | 'POD' | 'DAEMONSET' | 'DEPLOYMENT' | 'STATEFULSET' | 'CADVISOR' | 'KUBELET' | 'DCGM' | 'JOBSET'[]; } interface MonitoringConfig { /** Configuration of Advanced Datapath Observability features. */ advancedDatapathObservabilityConfig?: AdvancedDatapathObservabilityConfig; /** Monitoring components configuration */ componentConfig?: MonitoringComponentConfig; /** Enable Google Cloud Managed Service for Prometheus in the cluster. */ managedPrometheusConfig?: ManagedPrometheusConfig; } interface NetworkConfig { /** The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. */ datapathProvider?: | 'DATAPATH_PROVIDER_UNSPECIFIED' | 'LEGACY_DATAPATH' | 'ADVANCED_DATAPATH'; /** Optional. DataplaneV2Config specifies the DPv2 configuration. */ dataplaneV2Config?: DataplaneV2Config; /** Controls whether by default nodes have private IP addresses only. It is invalid to specify both PrivateClusterConfig.enablePrivateNodes and this field at the same time. To update the default setting, use ClusterUpdate.desired_default_enable_private_nodes */ defaultEnablePrivateNodes?: boolean; /** Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic. */ defaultSnatStatus?: DefaultSnatStatus; /** Disable L4 load balancer VPC firewalls to enable firewall policies. */ disableL4LbFirewallReconciliation?: boolean; /** DNSConfig contains clusterDNS config for this cluster. */ dnsConfig?: DNSConfig; /** Whether CiliumClusterWideNetworkPolicy is enabled on this cluster. */ enableCiliumClusterwideNetworkPolicy?: boolean; /** Whether FQDN Network Policy is enabled on this cluster. */ enableFqdnNetworkPolicy?: boolean; /** Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network. */ enableIntraNodeVisibility?: boolean; /** Whether L4ILB Subsetting is enabled for this cluster. */ enableL4ilbSubsetting?: boolean; /** Whether multi-networking is enabled for this cluster. */ enableMultiNetworking?: boolean; /** GatewayAPIConfig contains the desired config of Gateway API on this cluster. */ gatewayApiConfig?: GatewayAPIConfig; /** Specify the details of in-transit encryption. */ inTransitEncryptionConfig?: | 'IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED' | 'IN_TRANSIT_ENCRYPTION_DISABLED' | 'IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT'; /** Output only. The relative name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network */ network?: string; /** Network bandwidth tier configuration. */ networkPerformanceConfig?: ClusterNetworkPerformanceConfig; /** The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4) */ privateIpv6GoogleAccess?: | 'PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED' | 'PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED' | 'PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE' | 'PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL'; /** ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not. */ serviceExternalIpsConfig?: ServiceExternalIPsConfig; /** Output only. The relative name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet */ subnetwork?: string; } interface NetworkPerformanceConfig { /** Specifies the network bandwidth tier for the NodePool for traffic to external/public IP addresses. */ externalIpEgressBandwidthTier?: 'TIER_UNSPECIFIED' | 'TIER_1'; /** Specifies the total network bandwidth tier for the NodePool. */ totalEgressBandwidthTier?: 'TIER_UNSPECIFIED' | 'TIER_1'; } interface NetworkPolicy { /** Whether network policy is enabled on the cluster. */ enabled?: boolean; /** The selected network policy provider. */ provider?: 'PROVIDER_UNSPECIFIED' | 'CALICO'; } interface NetworkPolicyConfig { /** Whether NetworkPolicy is enabled for this cluster. */ disabled?: boolean; } interface NetworkTags { /** List of network tags. */ tags?: string[]; } interface NetworkTierConfig { /** Network tier configuration. */ networkTier?: | 'NETWORK_TIER_UNSPECIFIED' | 'NETWORK_TIER_DEFAULT' | 'NETWORK_TIER_PREMIUM' | 'NETWORK_TIER_STANDARD'; } interface NodeAffinity { /** Key for NodeAffinity. */ key?: string; /** Operator for NodeAffinity. */ operator?: 'OPERATOR_UNSPECIFIED' | 'IN' | 'NOT_IN'; /** Values for NodeAffinity. */ values?: string[]; } interface NodeConfig { /** 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. */ accelerators?: AcceleratorConfig[]; /** Advanced features for the Compute Engine VM. */ advancedMachineFeatures?: AdvancedMachineFeatures; /** Boot disk configuration for the node pool. */ bootDisk?: BootDisk; /** The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption */ bootDiskKmsKey?: string; /** Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled. */ confidentialNodes?: ConfidentialNodes; /** Consolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes. If not set, nodes are scaled down by default behavior, i.e. according to the chosen autoscaling profile. */ consolidationDelay?: string; /** Parameters for containerd customization. */ containerdConfig?: ContainerdConfig; /** Size 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. */ diskSizeGb?: number; /** Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard' */ diskType?: string; /** Output only. effective_cgroup_mode is the cgroup mode actually used by the node pool. It is determined by the cgroup mode specified in the LinuxNodeConfig or the default cgroup mode based on the cluster creation version. */ effectiveCgroupMode?: | 'EFFECTIVE_CGROUP_MODE_UNSPECIFIED' | 'EFFECTIVE_CGROUP_MODE_V1' | 'EFFECTIVE_CGROUP_MODE_V2'; /** Optional. Reserved for future use. */ enableConfidentialStorage?: boolean; /** Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk. */ ephemeralStorageConfig?: EphemeralStorageConfig; /** Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config */ ephemeralStorageLocalSsdConfig?: EphemeralStorageLocalSsdConfig; /** Enable or disable NCCL fast socket for the node pool. */ fastSocket?: FastSocket; /** Flex Start flag for enabling Flex Start VM. */ flexStart?: boolean; /** GCFS (Google Container File System) configs. */ gcfsConfig?: GcfsConfig; /** The configuration for GPU Direct */ gpuDirectConfig?: GPUDirectConfig; /** Enable or disable gvnic on the node pool. */ gvnic?: VirtualNIC; /** HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts. */ hostMaintenancePolicy?: HostMaintenancePolicy; /** The image type to use for this node. Note that for a given image type, the latest version of it will be used. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types. */ imageType?: string; /** Node kubelet configs. */ kubeletConfig?: NodeKubeletConfig; /** The Kubernetes labels (key/value pairs) to apply to each node. The values in this field are added to the set of default labels Kubernetes applies to nodes. This field has the following restrictions: * Labels must use a valid Kubernetes syntax and character set, as defined in https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set. * This field supports up to 1,024 total characters in a single request. Depending on the Kubernetes version, keys in this field might conflict with the keys of the default labels, which might change which of your labels are applied to the nodes. Assume that the behavior is unpredictable and avoid label key conflicts. For more information about the default labels, see: https://kubernetes.io/docs/reference/labels-annotations-taints/ */ labels?: {[P in string]: string}; /** Parameters that can be configured on Linux nodes. */ linuxNodeConfig?: LinuxNodeConfig; /** Parameters for using raw-block Local NVMe SSDs. */ localNvmeSsdBlockConfig?: LocalNvmeSsdBlockConfig; /** The number of local SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. */ localSsdCount?: number; /** Specifies which method should be used for encrypting the Local SSDs attached to the node. */ localSsdEncryptionMode?: | 'LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED' | 'STANDARD_ENCRYPTION' | 'EPHEMERAL_KEY_ENCRYPTION'; /** Logging configuration. */ loggingConfig?: NodePoolLoggingConfig; /** The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types). If unspecified, the default machine type is `e2-medium`. */ machineType?: string; /** The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely. */ maxRunDuration?: string; /** 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 reserved keys: - "cluster-location" - "cluster-name" - "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-oslogin" - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" 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. */ metadata?: {[P in string]: string}; /** Minimum 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 `minCpuPlatform: "Intel Haswell"` or `minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). */ minCpuPlatform?: string; /** Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes). */ nodeGroup?: string; /** The node image configuration to use for this node pool. Note that this is only applicable for node pools using image_type=CUSTOM. */ nodeImageConfig?: CustomImageConfig; /** The 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 [Artifact Registry](https://cloud.google.com/artifact-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added. */ oauthScopes?: string[]; /** Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more information about preemptible VM instances. */ preemptible?: boolean; /** The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool. */ reservationAffinity?: ReservationAffinity; /** The resource labels for the node pool to use to annotate any related Google Compute Engine resources. */ resourceLabels?: {[P in string]: string}; /** A map of resource manager tag keys and values to be attached to the nodes. */ resourceManagerTags?: ResourceManagerTags; /** Sandbox configuration for this node. */ sandboxConfig?: SandboxConfig; /** List of secondary boot disks attached to the nodes. */ secondaryBootDisks?: SecondaryBootDisk[]; /** Secondary boot disk update strategy. */ secondaryBootDiskUpdateStrategy?: any; /** The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the "default" service account is used. */ serviceAccount?: string; /** Shielded Instance options. */ shieldedInstanceConfig?: ShieldedInstanceConfig; /** Parameters for node pools to be backed by shared sole tenant node groups. */ soleTenantConfig?: SoleTenantConfig; /** Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag. */ spot?: boolean; /** List of Storage Pools where boot disks are provisioned. */ storagePools?: string[]; /** The 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. */ tags?: string[]; /** Optional. The taint configuration for the node pool. */ taintConfig?: TaintConfig; /** 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/ */ taints?: NodeTaint[]; /** Parameters that can be configured on Windows nodes. */ windowsNodeConfig?: WindowsNodeConfig; /** The workload metadata configuration for this node. */ workloadMetadataConfig?: WorkloadMetadataConfig; } interface NodeConfigDefaults { /** Parameters for containerd customization. */ containerdConfig?: ContainerdConfig; /** GCFS (Google Container File System, also known as Riptide) options. */ gcfsConfig?: GcfsConfig; /** HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts. */ hostMaintenancePolicy?: HostMaintenancePolicy; /** Logging configuration for node pools. */ loggingConfig?: NodePoolLoggingConfig; /** NodeKubeletConfig controls the defaults for new node-pools. Currently only `insecure_kubelet_readonly_port_enabled` can be set here. */ nodeKubeletConfig?: NodeKubeletConfig; } interface NodeCreationConfig { /** The mode of node creation. */ nodeCreationMode?: 'MODE_UNSPECIFIED' | 'VIA_KUBELET' | 'VIA_CONTROL_PLANE'; } interface NodeDrainConfig { /** The duration of the grace termination period for node drain. */ graceTerminationDuration?: string; /** The duration of the PDB timeout period for node drain. */ pdbTimeoutDuration?: string; /** Whether to respect PDB during node pool deletion. */ respectPdbDuringNodePoolDeletion?: boolean; } interface NodeKernelModuleLoading { /** Set the node module loading policy for nodes in the node pool. */ policy?: | 'POLICY_UNSPECIFIED' | 'ENFORCE_SIGNED_MODULES' | 'DO_NOT_ENFORCE_SIGNED_MODULES'; } interface NodeKubeletConfig { /** Optional. Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns (ending in `*`). The unsafe namespaced sysctl groups are `kernel.shm*`, `kernel.msg*`, `kernel.sem`, `fs.mqueue.*`, and `net.*`. Leaving this allowlist empty means they cannot be set on Pods. To allow certain sysctls or sysctl patterns to be set on Pods, list them separated by commas. For example: `kernel.msg*,net.ipv4.route.min_pmtu`. See https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/ for more details. */ allowedUnsafeSysctls?: string[]; /** Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. */ containerLogMaxFiles?: number; /** Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. */ containerLogMaxSize?: string; /** Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. */ cpuCfsQuota?: boolean; /** Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. */ cpuCfsQuotaPeriod?: string; /** Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. */ cpuManagerPolicy?: string; /** Optional. Contains configuration options to modify node-level parameters for container restart behavior. */ crashLoopBackOff?: CrashLoopBackOffConfig; /** Optional. eviction_max_pod_grace_period_seconds is the maximum allowed grace period (in seconds) to use when terminating pods in response to a soft eviction threshold being met. This value effectively caps the Pod's terminationGracePeriodSeconds value during soft evictions. Default: 0. Range: [0, 300]. */ evictionMaxPodGracePeriodSeconds?: number; /** Optional. eviction_minimum_reclaim is a map of signal names to quantities that defines minimum reclaims, which describe the minimum amount of a given resource the kubelet will reclaim when performing a pod eviction while that resource is under pressure. */ evictionMinimumReclaim?: EvictionMinimumReclaim; /** Optional. eviction_soft is a map of signal names to quantities that defines soft eviction thresholds. Each signal is compared to its corresponding threshold to determine if a pod eviction should occur. */ evictionSoft?: EvictionSignals; /** Optional. eviction_soft_grace_period is a map of signal names to quantities that defines grace periods for each soft eviction signal. The grace period is the amount of time that a pod must be under pressure before an eviction occurs. */ evictionSoftGracePeriod?: EvictionGracePeriod; /** Optional. Defines the percent of disk usage after which image garbage collection is always run. The percent is calculated as this field value out of 100. The value must be between 10 and 85, inclusive and greater than image_gc_low_threshold_percent. The default value is 85 if unspecified. */ imageGcHighThresholdPercent?: number; /** Optional. Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. The percent is calculated as this field value out of 100. The value must be between 10 and 85, inclusive and smaller than image_gc_high_threshold_percent. The default value is 80 if unspecified. */ imageGcLowThresholdPercent?: number; /** Optional. Defines the maximum age an image can be unused before it is garbage collected. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300s", "1.5h", and "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration greater than image_minimum_gc_age or "0s". The default value is "0s" if unspecified, which disables this field, meaning images won't be garbage collected based on being unused for too long. */ imageMaximumGcAge?: string; /** Optional. Defines the minimum age for an unused image before it is garbage collected. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300s", "1.5h", and "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration less than or equal to 2 minutes. The default value is "2m0s" if unspecified. */ imageMinimumGcAge?: string; /** Enable or disable Kubelet read only port. */ insecureKubeletReadonlyPortEnabled?: boolean; /** Optional. Defines the maximum number of image pulls in parallel. The range is 2 to 5, inclusive. The default value is 2 or 3 depending on the disk type. See https://kubernetes.io/docs/concepts/containers/images/#maximum-parallel-image-pulls for more details. */ maxParallelImagePulls?: number; /** Optional. Controls NUMA-aware Memory Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/ */ memoryManager?: MemoryManager; /** Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304. */ podPidsLimit?: string; /** Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. */ shutdownGracePeriodCriticalPodsSeconds?: number; /** Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. */ shutdownGracePeriodSeconds?: number; /** Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. */ singleProcessOomKill?: boolean; /** Optional. Controls Topology Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/ */ topologyManager?: TopologyManager; } interface NodeLabels { /** Map of node label keys and node label values. */ labels?: {[P in string]: string}; } interface NodeManagement { /** Whether the nodes will be automatically repaired. */ autoRepair?: boolean; /** Whether the nodes will be automatically upgraded. */ autoUpgrade?: boolean; /** Specifies the Auto Upgrade knobs for the node pool. */ upgradeOptions?: AutoUpgradeOptions; } interface NodeNetworkConfig { /** Immutable. The accelerator network profile for the node pool. For now the only valid value is "auto". If specified, the network configuration of the nodes in this node pool will be managed by this profile for the supported machine types, zone, etc. */ acceleratorNetworkProfile?: string; /** We specify the additional node networks for this node pool using this list. Each node network corresponds to an additional interface */ additionalNodeNetworkConfigs?: AdditionalNodeNetworkConfig[]; /** We specify the additional pod networks for this node pool using this list. Each pod network corresponds to an additional alias IP range for the node */ additionalPodNetworkConfigs?: AdditionalPodNetworkConfig[]; /** Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. */ createPodRange?: boolean; /** Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes */ enablePrivateNodes?: boolean; /** Optional. Immutable. The VPC network for the node pool. */ network?: string; /** Network bandwidth tier configuration. */ networkPerformanceConfig?: NetworkPerformanceConfig; /** Output only. The network tier configuration for the node pool inherits from the cluster-level configuration and remains immutable throughout the node pool's lifecycle, including during upgrades. */ networkTierConfig?: NetworkTierConfig; /** [PRIVATE FIELD] Pod CIDR size overprovisioning config for the node pool. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled. */ podCidrOverprovisionConfig?: PodCIDROverprovisionConfig; /** The IP address range for pod IPs in this node pool. Only applicable if `create_pod_range` 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](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) to pick a specific range to use. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. */ podIpv4CidrBlock?: string; /** Output only. The utilization of the IPv4 range for the pod. The ratio is Usage/[Total number of IPs in the secondary range], Usage=numNodes*numZones*podIPsPerNode. */ podIpv4RangeUtilization?: number; /** The ID of the secondary range for pod IPs. If `create_pod_range` is true, this ID is used for the new range. If `create_pod_range` is false, uses an existing secondary range with this ID. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. */ podRange?: string; /** Optional. The subnetwork name/path for the node pool. Format: projects/{project}/regions/{region}/subnetworks/{subnetwork} If the cluster is associated with multiple subnetworks, the subnetwork can be either: - A user supplied subnetwork name during node pool creation (e.g., `my-subnet`). The name must be between 1 and 63 characters long, start with a letter, contain only letters, numbers, and hyphens, and end with a letter or a number. - A full subnetwork path during node pool creation, such as `projects/gke-project/regions/us-central1/subnetworks/my-subnet` - A subnetwork path picked based on the IP utilization during node pool creation and is immutable. */ subnetwork?: string; } interface NodePool { /** Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler. */ autopilotConfig?: AutopilotConfig; /** Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present. */ autoscaling?: NodePoolAutoscaling; /** Enable best effort provisioning for nodes */ bestEffortProvisioning?: BestEffortProvisioning; /** Which conditions caused the current node pool state. */ conditions?: StatusCondition[]; /** The node configuration of the pool. */ config?: NodeConfig; /** This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding. */ etag?: string; /** The initial node count for the pool. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota. */ initialNodeCount?: number; /** Output only. The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources. */ instanceGroupUrls?: string[]; /** The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located. If this value is unspecified during node pool creation, the [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed. */ locations?: string[]; /** Optional. Specifies the maintenance policy for the node pool. */ maintenancePolicy?: NodePoolMaintenancePolicy; /** NodeManagement configuration for this NodePool. */ management?: NodeManagement; /** The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool. */ maxPodsConstraint?: MaxPodsConstraint; /** The name of the node pool. */ name?: string; /** Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults. */ networkConfig?: NodeNetworkConfig; /** Specifies the node drain configuration for this node pool. */ nodeDrainConfig?: NodeDrainConfig; /** Specifies the node placement policy. */ placementPolicy?: PlacementPolicy; /** Output only. The pod CIDR block size per node in this node pool. */ podIpv4CidrSize?: number; /** Specifies the configuration of queued provisioning. */ queuedProvisioning?: QueuedProvisioning; /** Output only. Server-defined URL for the resource. */ selfLink?: string; /** Output only. The status of the nodes in this pool instance. */ status?: | 'STATUS_UNSPECIFIED' | 'PROVISIONING' | 'RUNNING' | 'RUNNING_WITH_ERROR' | 'RECONCILING' | 'STOPPING' | 'ERROR'; /** Output only. Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available. */ statusMessage?: string; /** Output only. Update info contains relevant information during a node pool update. */ updateInfo?: UpdateInfo; /** Upgrade settings control disruption and speed of the upgrade. */ upgradeSettings?: UpgradeSettings; /** The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version). */ version?: string; } interface NodePoolAutoConfig { /** Output only. Configuration options for Linux nodes. */ linuxNodeConfig?: LinuxNodeConfig; /** The 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 creation. Each tag within the list must comply with RFC1035. */ networkTags?: NetworkTags; /** NodeKubeletConfig controls the defaults for autoprovisioned node-pools. Currently only `insecure_kubelet_readonly_port_enabled` can be set here. */ nodeKubeletConfig?: NodeKubeletConfig; /** Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. */ resourceManagerTags?: ResourceManagerTags; } interface NodePoolAutoscaling { /** Can this node pool be deleted automatically. */ autoprovisioned?: boolean; /** Is autoscaling enabled for this node pool. */ enabled?: boolean; /** Location policy used when scaling up a node pool. */ locationPolicy?: 'LOCATION_POLICY_UNSPECIFIED' | 'BALANCED' | 'ANY'; /** Maximum number of nodes for one location in the node pool. Must be >= min_node_count. There has to be enough quota to scale up the cluster. */ maxNodeCount?: number; /** Minimum number of nodes for one location in the node pool. Must be greater than or equal to 0 and less than or equal to max_node_count. */ minNodeCount?: number; /** Maximum number of nodes in the node pool. Must be greater than or equal to total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields. */ totalMaxNodeCount?: number; /** Minimum number of nodes in the node pool. Must be greater than or equal to 0 and less than or equal to total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields. */ totalMinNodeCount?: number; } interface NodePoolDefaults { /** Subset of NodeConfig message that has defaults. */ nodeConfigDefaults?: NodeConfigDefaults; } interface NodePoolLoggingConfig { /** Logging variant configuration. */ variantConfig?: LoggingVariantConfig; } interface NodePoolMaintenancePolicy { /** Optional. The exclusion until end of support for the node pool. */ exclusionUntilEndOfSupport?: ExclusionUntilEndOfSupport; } interface NodePoolUpgradeConcurrencyConfig { /** If set, no more than max_count node pools can be upgraded concurrently. */ maxCount?: string; } interface NodePoolUpgradeInfo { /** The auto upgrade status. */ autoUpgradeStatus?: 'UNKNOWN' | 'ACTIVE' | 'MINOR_UPGRADE_PAUSED' | 'UPGRADE_PAUSED'[]; /** Output only. Upgrade info for the node pool specific to the usage of custom images. */ customImageInfo?: CustomImageInfo; /** The node pool's current minor version's end of extended support timestamp. */ endOfExtendedSupportTimestamp?: string; /** The node pool's current minor version's end of standard support timestamp. */ endOfStandardSupportTimestamp?: string; /** minor_target_version indicates the target version for minor upgrade. */ minorTargetVersion?: string; /** patch_target_version indicates the target version for patch upgrade. */ patchTargetVersion?: string; /** The auto upgrade paused reason. */ pausedReason?: | 'AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED' | 'MAINTENANCE_WINDOW' | 'MAINTENANCE_EXCLUSION_NO_UPGRADES' | 'MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES' | 'SYSTEM_CONFIG'[]; /** The list of past auto upgrades. */ upgradeDetails?: UpgradeDetails[]; } interface NodeReadinessConfig { /** Optional. Whether the GKE Node Readiness Controller is enabled for this cluster. */ enabled?: boolean; } interface NodeTaint { /** Effect for taint. */ effect?: | 'EFFECT_UNSPECIFIED' | 'NO_SCHEDULE' | 'PREFER_NO_SCHEDULE' | 'NO_EXECUTE'; /** Key for taint. */ key?: string; /** Value for taint. */ value?: string; } interface NodeTaints { /** List of node taints. */ taints?: NodeTaint[]; } interface NotificationConfig { /** Notification config for Pub/Sub. */ pubsub?: PubSub; } interface Operation { /** Which conditions caused the current cluster state. Deprecated. Use field error instead. */ clusterConditions?: StatusCondition[]; /** Output only. Detailed operation progress, if available. */ detail?: string; /** Output only. The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. */ endTime?: string; /** The error result of the operation in case of failure. */ error?: Status; /** Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides. */ location?: string; /** Output only. The server-assigned ID for the operation. */ name?: string; /** Which conditions caused the current node pool state. Deprecated. Use field error instead. */ nodepoolConditions?: StatusCondition[]; /** Output only. The operation type. */ operationType?: | 'TYPE_UNSPECIFIED' | 'CREATE_CLUSTER' | 'DELETE_CLUSTER' | 'UPGRADE_MASTER' | 'UPGRADE_NODES' | 'REPAIR_CLUSTER' | 'UPDATE_CLUSTER' | 'CREATE_NODE_POOL' | 'DELETE_NODE_POOL' | 'SET_NODE_POOL_MANAGEMENT' | 'AUTO_REPAIR_NODES' | 'AUTO_UPGRADE_NODES' | 'SET_LABELS' | 'SET_MASTER_AUTH' | 'SET_NODE_POOL_SIZE' | 'SET_NETWORK_POLICY' | 'SET_MAINTENANCE_POLICY' | 'RESIZE_CLUSTER' | 'FLEET_FEATURE_UPGRADE'; /** Output only. Progress information for an operation. */ progress?: OperationProgress; /** Output only. Server-defined URI for the operation. Example: `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`. */ selfLink?: string; /** Output only. The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. */ startTime?: string; /** Output only. The current status of the operation. */ status?: 'STATUS_UNSPECIFIED' | 'PENDING' | 'RUNNING' | 'DONE' | 'ABORTING'; /** Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead. */ statusMessage?: string; /** Output only. Server-defined URI for the target of the operation. The format of this is a URI to the resource being modified (such as a cluster, node pool, or node). For node pool repairs, there may be multiple nodes being repaired, but only one will be the target. Examples: - ## `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster` ## `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np` `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node` */ targetLink?: string; /** Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead. */ zone?: string; } interface OperationError { /** Description of the error seen during the operation. */ errorMessage?: string; /** CloudKMS key resource that had the error. */ keyName?: string; /** Time when the CloudKMS error was seen. */ timestamp?: string; } interface OperationProgress { /** Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}] */ metrics?: Metric[]; /** A non-parameterized string describing an operation stage. Unset for single-stage operations. */ name?: string; /** Substages of an operation or a stage. */ stages?: OperationProgress[]; /** Status of an operation stage. Unset for single-stage operations. */ status?: 'STATUS_UNSPECIFIED' | 'PENDING' | 'RUNNING' | 'DONE' | 'ABORTING'; } interface OpportunisticMaintenanceStrategy { /** The window of time that opportunistic maintenance can run. Example: A setting of 14 days implies that opportunistic maintenance can only be ran in the 2 weeks leading up to the scheduled maintenance date. Setting 28 days allows opportunistic maintenance to run at any time in the scheduled maintenance window (all `PERIODIC` maintenance is set 28 days in advance). */ maintenanceAvailabilityWindow?: string; /** The minimum nodes required to be available in a pool. Blocks maintenance if it would cause the number of running nodes to dip below this value. */ minNodesPerPool?: string; /** The amount of time that a node can remain idle (no customer owned workloads running), before triggering maintenance. */ nodeIdleTimeWindow?: string; } interface ParallelstoreCsiDriverConfig { /** Whether the Cloud Storage Parallelstore CSI driver is enabled for this cluster. */ enabled?: boolean; } interface ParentProductConfig { /** Labels contain the configuration of the parent product. */ labels?: {[P in string]: string}; /** Name of the parent product associated with the cluster. */ productName?: string; } interface PdbBlockedPod { /** The name of the pod. */ name?: string; /** The namespace of the pod. */ namespace?: string; } interface PlacementPolicy { /** If set, refers to the name of a custom resource policy supplied by the user. The resource policy must be in the same project and region as the node pool. If not found, InvalidArgument error is returned. */ policyName?: string; /** TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies */ tpuTopology?: string; /** The type of placement. */ type?: 'TYPE_UNSPECIFIED' | 'COMPACT'; } interface PodAutoscaling { /** Selected Horizontal Pod Autoscaling profile. */ hpaProfile?: 'HPA_PROFILE_UNSPECIFIED' | 'NONE' | 'PERFORMANCE'; } interface PodCIDROverprovisionConfig { /** Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default. */ disable?: boolean; } interface PodSecurityPolicyConfig { /** Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created. */ enabled?: boolean; } interface PodSnapshotConfig { /** Whether or not the Pod Snapshots feature is enabled. */ enabled?: boolean; } interface PolicyBinding { /** The relative resource name of the binauthz platform policy to evaluate. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`. */ name?: string; } interface PrivateClusterConfig { /** Whether the master's internal IP address is used as the cluster endpoint. Use ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true. */ enablePrivateEndpoint?: boolean; /** Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking. Deprecated: Use NetworkConfig.default_enable_private_nodes instead. */ enablePrivateNodes?: boolean; /** Controls master global access settings. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access instead. */ masterGlobalAccessConfig?: PrivateClusterMasterGlobalAccessConfig; /** The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network. */ masterIpv4CidrBlock?: string; /** Output only. The peering name in the customer VPC used by this cluster. */ peeringName?: string; /** Output only. The internal IP address of this cluster's master endpoint. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint instead. */ privateEndpoint?: string; /** Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*‍/regions/*‍/subnetworks/* format. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork instead. */ privateEndpointSubnetwork?: string; /** Output only. The external IP address of this cluster's master endpoint. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint instead. */ publicEndpoint?: string; } interface PrivateClusterMasterGlobalAccessConfig { /** Whenever master is accessible globally or not. */ enabled?: boolean; } interface PrivateRegistryAccessConfig { /** Private registry access configuration. */ certificateAuthorityDomainConfig?: CertificateAuthorityDomainConfig[]; /** Private registry access is enabled. */ enabled?: boolean; } interface PrivilegedAdmissionConfig { /** The customer allowlist Cloud Storage paths for the cluster. These paths are used with the `--autopilot-privileged-admission` flag to authorize privileged workloads in Autopilot clusters. Paths can be GKE-owned, in the format `gke:////`, or customer-owned, in the format `gs:///`. Wildcards (`*`) are supported to authorize all allowlists under specific paths or directories. Example: `gs://my-bucket/*` will authorize all allowlists under the `my-bucket` bucket. */ allowlistPaths?: string[]; } interface ProtectConfig { /** WorkloadConfig defines which actions are enabled for a cluster's workload configurations. */ workloadConfig?: WorkloadConfig; /** Sets which mode to use for Protect workload vulnerability scanning feature. */ workloadVulnerabilityMode?: 'WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED' | 'DISABLED' | 'BASIC'; } interface PubSub { /** Enable notifications for Pub/Sub. */ enabled?: boolean; /** Allows filtering to one or more specific event types. If no filter is specified, or if a filter is specified with no event types, all event types will be sent */ filter?: Filter; /** The desired Pub/Sub topic to which notifications will be sent by GKE. Format is `projects/{project}/topics/{topic}`. */ topic?: string; } interface QueuedProvisioning { /** Denotes that this node pool is QRM specific, meaning nodes can be only obtained through queuing via the Cluster Autoscaler ProvisioningRequest API. */ enabled?: boolean; } interface RangeInfo { /** Output only. Name of a range. */ rangeName?: string; /** Output only. The utilization of the range. */ utilization?: number; } interface RayClusterLoggingConfig { /** Enable log collection for Ray clusters. */ enabled?: boolean; } interface RayClusterMonitoringConfig { /** Enable metrics collection for Ray clusters. */ enabled?: boolean; } interface RayOperatorConfig { /** Whether the Ray addon is enabled for this cluster. */ enabled?: boolean; /** Optional. Logging configuration for Ray clusters. */ rayClusterLoggingConfig?: RayClusterLoggingConfig; /** Optional. Monitoring configuration for Ray clusters. */ rayClusterMonitoringConfig?: RayClusterMonitoringConfig; } interface RBACBindingConfig { /** Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated. */ enableInsecureBindingSystemAuthenticated?: boolean; /** Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjets system:anonymous or system:unauthenticated. */ enableInsecureBindingSystemUnauthenticated?: boolean; } interface RecurringMaintenanceWindow { /** Optional. Windows will not be scheduled before that day. Depending on the recurrence, this may be the date the first window appears. Days are measured in the UTC timezone. This setting must be used when INTERVAL>1 or FREQ=WEEKLY/MONTHLY and no BYDAY specified. */ delayUntil?: Date; /** Required. An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported. */ recurrence?: string; /** Required. Duration of the window. */ windowDuration?: string; /** Required. Start time of the window on days that it is scheduled, assuming UTC timezone. */ windowStartTime?: TimeOfDay; } interface RecurringTimeWindow { /** An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can span multiple days. Eg, to make the window encompass every weekend from midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA ``` Note the start and end time's specific dates are largely arbitrary except to specify duration of the window and when it first starts. The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported. */ recurrence?: string; /** The window of the first recurrence. */ window?: TimeWindow; } interface RegistryHeader { /** Key configures the header key. */ key?: string; /** Value configures the header value. */ value?: string[]; } interface RegistryHostConfig { /** HostConfig configures a list of host-specific configurations for the server. Each server can have at most 10 host configurations. */ hosts?: HostConfig[]; /** Defines the host name of the registry server, which will be used to create configuration file as /etc/containerd/hosts.d//hosts.toml. It supports fully qualified domain names (FQDN) and IP addresses: Specifying port is supported, while scheme and path are NOT supported. Wildcards are NOT supported. Examples: - `my.customdomain.com` - `10.0.1.2:5000` */ server?: string; } interface ReleaseChannel { /** channel specifies which release channel the cluster is subscribed to. */ channel?: 'UNSPECIFIED' | 'RAPID' | 'REGULAR' | 'STABLE' | 'EXTENDED'; } interface ReleaseChannelConfig { /** Deprecated. This field has been deprecated and replaced with the valid_versions field. */ availableVersions?: AvailableVersion[]; /** The release channel this configuration applies to. */ channel?: 'UNSPECIFIED' | 'RAPID' | 'REGULAR' | 'STABLE' | 'EXTENDED'; /** The default version for newly created clusters on the channel. */ defaultVersion?: string; /** The auto upgrade target version for clusters on the channel. */ upgradeTargetVersion?: string; /** List of valid versions for the channel. */ validVersions?: string[]; } interface ReservationAffinity { /** Corresponds to the type of reservation consumption. */ consumeReservationType?: | 'UNSPECIFIED' | 'NO_RESERVATION' | 'ANY_RESERVATION' | 'SPECIFIC_RESERVATION' | 'ANY_RESERVATION_THEN_FAIL'; /** Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify "compute.googleapis.com/reservation-name" as the key and specify the name of your reservation as its value. */ key?: string; /** Corresponds to the label value(s) of reservation resource(s). */ values?: string[]; } interface ResourceLabels { /** Map of node label keys and node label values. */ labels?: {[P in string]: string}; } interface ResourceLimit { /** Maximum amount of the resource in the cluster. */ maximum?: string; /** Minimum amount of the resource in the cluster. */ minimum?: string; /** Resource name "cpu", "memory" or gpu-specific string. */ resourceType?: string; } interface ResourceManagerTags { /** Tags must be in one of the following formats ([KEY]=[VALUE]) 1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}` 2. `{org_id}/{tag_key_name}={tag_value_name}` 3. `{project_id}/{tag_key_name}={tag_value_name}` */ tags?: {[P in string]: string}; } interface ResourceUsageExportConfig { /** Configuration to use BigQuery as usage export destination. */ bigqueryDestination?: BigQueryDestination; /** Configuration to enable resource consumption metering. */ consumptionMeteringConfig?: ConsumptionMeteringConfig; /** Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic. */ enableNetworkEgressMetering?: boolean; } interface RollbackNodePoolUpgradeRequest { /** Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name?: string; /** Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field. */ nodePoolId?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Option for rollback to ignore the PodDisruptionBudget. Default value is false. */ respectPdb?: boolean; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface RollbackSafeUpgrade { /** A user-defined period for the cluster remains in the rollbackable state. ex: {seconds: 21600}. */ controlPlaneSoakDuration?: string; } interface RollbackSafeUpgradeStatus { /** The rollback-safe mode expiration time. */ controlPlaneUpgradeRollbackEndTime?: string; /** The mode of the rollback-safe upgrade. */ mode?: 'MODE_UNSPECIFIED' | 'KCP_MINOR_UPGRADE_ROLLBACK_SAFE_MODE'; /** The GKE version that the cluster previously used before step-one upgrade. */ previousVersion?: string; } interface RotationConfig { /** Whether the rotation is enabled. */ enabled?: boolean; /** The interval between two consecutive rotations. Default rotation interval is 2 minutes. */ rotationInterval?: string; } interface SandboxConfig { /** Type of the sandbox to use for the node (e.g. 'gvisor') */ sandboxType?: string; /** Type of the sandbox to use for the node. */ type?: 'UNSPECIFIED' | 'GVISOR'; } interface ScheduleUpgradeConfig { /** Optional. Whether or not scheduled upgrades are enabled. */ enabled?: boolean; } interface SecondaryBootDisk { /** Fully-qualified resource ID for an existing disk image. */ diskImage?: string; /** Disk mode (container image cache, etc.) */ mode?: 'MODE_UNSPECIFIED' | 'CONTAINER_IMAGE_CACHE'; } interface SecondaryBootDiskUpdateStrategy {} interface SecretManagerConfig { /** Enable/Disable Secret Manager Config. */ enabled?: boolean; /** Rotation config for secret manager. */ rotationConfig?: RotationConfig; } interface SecretSyncConfig { /** Enable/Disable Secret Sync Config. */ enabled?: boolean; /** Rotation config for secret manager. */ rotationConfig?: SyncRotationConfig; } interface SecurityBulletinEvent { /** The GKE minor versions affected by this vulnerability. */ affectedSupportedMinors?: string[]; /** A brief description of the bulletin. See the bulletin pointed to by the bulletin_uri field for an expanded description. */ briefDescription?: string; /** The ID of the bulletin corresponding to the vulnerability. */ bulletinId?: string; /** The URI link to the bulletin on the website for more information. */ bulletinUri?: string; /** The CVEs associated with this bulletin. */ cveIds?: string[]; /** If this field is specified, it means there are manual steps that the user must take to make their clusters safe. */ manualStepsRequired?: boolean; /** The GKE versions where this vulnerability is mitigated. */ mitigatedVersions?: string[]; /** The GKE versions where this vulnerability is patched. */ patchedVersions?: string[]; /** The resource type (node/control plane) that has the vulnerability. Multiple notifications (1 notification per resource type) will be sent for a vulnerability that affects > 1 resource type. */ resourceTypeAffected?: string; /** The severity of this bulletin as it relates to GKE. */ severity?: string; /** This represents a version selected from the patched_versions field that the cluster receiving this notification should most likely want to upgrade to based on its current version. Note that if this notification is being received by a given cluster, it means that this version is currently available as an upgrade target in that cluster's location. */ suggestedUpgradeTarget?: string; } interface SecurityPostureConfig { /** Sets which mode to use for Security Posture features. */ mode?: 'MODE_UNSPECIFIED' | 'DISABLED' | 'BASIC' | 'ENTERPRISE'; /** Sets which mode to use for vulnerability scanning. */ vulnerabilityMode?: | 'VULNERABILITY_MODE_UNSPECIFIED' | 'VULNERABILITY_DISABLED' | 'VULNERABILITY_BASIC' | 'VULNERABILITY_ENTERPRISE'; } interface ServerConfig { /** List of release channel configurations. */ channels?: ReleaseChannelConfig[]; /** Version of Kubernetes the service deploys by default. */ defaultClusterVersion?: string; /** Default image type. */ defaultImageType?: string; /** List of valid image types. */ validImageTypes?: string[]; /** List of valid master versions, in descending order. */ validMasterVersions?: string[]; /** List of valid node upgrade target versions, in descending order. */ validNodeVersions?: string[]; /** Maps of Kubernetes version and supported Windows server versions. */ windowsVersionMaps?: {[P in string]: WindowsVersions}; } interface ServiceExternalIPsConfig { /** Whether Services with ExternalIPs field are allowed or not. */ enabled?: boolean; } interface SetAddonsConfigRequest { /** Required. The desired configurations for the various addons available to run in the cluster. */ addonsConfig?: AddonsConfig; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface SetLabelsRequest { /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** Required. The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Kubernetes 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 `get()` request to the resource to get the latest fingerprint. */ labelFingerprint?: string; /** The name (project, location, cluster name) of the cluster to set labels. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Required. The labels to set for that cluster. */ resourceLabels?: {[P in string]: string}; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface SetLegacyAbacRequest { /** Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** Required. Whether ABAC authorization will be enabled in the cluster. */ enabled?: boolean; /** The name (project, location, cluster name) of the cluster to set legacy abac. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface SetLocationsRequest { /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** Required. The desired list of Google Compute Engine [zones](https://cloud.google.com/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. */ locations?: string[]; /** The name (project, location, cluster) of the cluster to set locations. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface SetLoggingServiceRequest { /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** Required. The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions. */ loggingService?: string; /** The name (project, location, cluster) of the cluster to set logging. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface SetMaintenancePolicyRequest { /** Required. The name of the cluster to update. */ clusterId?: string; /** Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy. */ maintenancePolicy?: MaintenancePolicy; /** The name (project, location, cluster name) of the cluster to set maintenance policy. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name?: string; /** Required. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). */ projectId?: string; /** Required. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. */ zone?: string; } interface SetMasterAuthRequest { /** Required. The exact form of action to be taken on the master auth. */ action?: 'UNKNOWN' | 'SET_PASSWORD' | 'GENERATE_PASSWORD' | 'SET_USERNAME'; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Required. A description of the update. */ update?: MasterAuth; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface SetMonitoringServiceRequest { /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** Required. The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions. */ monitoringService?: string; /** The name (project, location, cluster) of the cluster to set monitoring. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface SetNetworkPolicyRequest { /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** The name (project, location, cluster name) of the cluster to set networking policy. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name?: string; /** Required. Configuration options for the NetworkPolicy feature. */ networkPolicy?: NetworkPolicy; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface SetNodePoolAutoscalingRequest { /** Required. Autoscaling configuration for the node pool. */ autoscaling?: NodePoolAutoscaling; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name?: string; /** Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field. */ nodePoolId?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface SetNodePoolManagementRequest { /** Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** Required. NodeManagement configuration for the node pool. */ management?: NodeManagement; /** The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name?: string; /** Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field. */ nodePoolId?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface SetNodePoolSizeRequest { /** Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name?: string; /** Required. The desired node count for the pool. */ nodeCount?: number; /** Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field. */ nodePoolId?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface ShieldedInstanceConfig { /** Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. */ enableIntegrityMonitoring?: boolean; /** Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. */ enableSecureBoot?: boolean; } interface ShieldedNodes { /** Whether Shielded Nodes features are enabled on all nodes in this cluster. */ enabled?: boolean; } interface SliceControllerConfig { /** Optional. Indicates whether Slice Controller is enabled in the cluster. */ enabled?: boolean; } interface SlurmOperatorConfig { /** Whether the Slurm Operator is enabled in the cluster. */ enabled?: boolean; } interface SoleTenantConfig { /** Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. This field can only be set if the node pool is created in a shared sole-tenant node group. */ minNodeCpus?: number; /** NodeAffinities used to match to a shared sole tenant node group. */ nodeAffinities?: NodeAffinity[]; } interface StandardRolloutPolicy { /** Number of blue nodes to drain in a batch. */ batchNodeCount?: number; /** Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0]. */ batchPercentage?: number; /** Soak time after each batch gets drained. Default to zero. */ batchSoakDuration?: string; } interface StartIPRotationRequest { /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** The name (project, location, cluster name) of the cluster to start IP rotation. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Whether to rotate credentials during IP rotation. */ rotateCredentials?: boolean; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface StatefulHAConfig { /** Whether the Stateful HA add-on is enabled for this cluster. */ enabled?: boolean; } interface Status { /** The status code, which should be an enum value of google.rpc.Code. */ code?: number; /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */ details?: {[P in string]: any}[]; /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */ message?: string; } interface StatusCondition { /** Canonical code of the condition. */ canonicalCode?: | 'OK' | 'CANCELLED' | 'UNKNOWN' | 'INVALID_ARGUMENT' | 'DEADLINE_EXCEEDED' | 'NOT_FOUND' | 'ALREADY_EXISTS' | 'PERMISSION_DENIED' | 'UNAUTHENTICATED' | 'RESOURCE_EXHAUSTED' | 'FAILED_PRECONDITION' | 'ABORTED' | 'OUT_OF_RANGE' | 'UNIMPLEMENTED' | 'INTERNAL' | 'UNAVAILABLE' | 'DATA_LOSS'; /** Machine-friendly representation of the condition Deprecated. Use canonical_code instead. */ code?: | 'UNKNOWN' | 'GCE_STOCKOUT' | 'GKE_SERVICE_ACCOUNT_DELETED' | 'GCE_QUOTA_EXCEEDED' | 'SET_BY_OPERATOR' | 'CLOUD_KMS_KEY_ERROR' | 'CA_EXPIRING' | 'NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS' | 'CLOUD_KMS_KEY_DESTROYED'; /** Human-friendly representation of the condition */ message?: string; } interface SwapConfig { /** Swap on the node's boot disk. */ bootDiskProfile?: BootDiskProfile; /** Provisions a new, separate local NVMe SSD exclusively for swap. */ dedicatedLocalSsdProfile?: DedicatedLocalSsdProfile; /** Optional. Enables or disables swap for the node pool. */ enabled?: boolean; /** Optional. If omitted, swap space is encrypted by default. */ encryptionConfig?: EncryptionConfig; /** Swap on the local SSD shared with pod ephemeral storage. */ ephemeralLocalSsdProfile?: EphemeralLocalSsdProfile; } interface SyncRotationConfig { /** Whether the rotation is enabled. */ enabled?: boolean; /** The interval between two consecutive rotations. Default rotation interval is 2 minutes. */ rotationInterval?: string; } interface TaintConfig { /** Optional. Controls architecture tainting behavior. */ architectureTaintBehavior?: 'ARCHITECTURE_TAINT_BEHAVIOR_UNSPECIFIED' | 'NONE' | 'ARM'; } interface TimeOfDay { /** Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. */ hours?: number; /** Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. */ minutes?: number; /** Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. */ nanos?: number; /** Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. */ seconds?: number; } interface TimeWindow { /** The time that the window ends. The end time should take place after the start time. */ endTime?: string; /** MaintenanceExclusionOptions provides maintenance exclusion related options. */ maintenanceExclusionOptions?: MaintenanceExclusionOptions; /** The time that the window first starts. */ startTime?: string; } interface TopologyManager { /** Configures the strategy for resource alignment. Allowed values are: * none: the default policy, and does not perform any topology alignment. * restricted: the topology manager stores the preferred NUMA node affinity for the container, and will reject the pod if the affinity if not preferred. * best-effort: the topology manager stores the preferred NUMA node affinity for the container. If the affinity is not preferred, the topology manager will admit the pod to the node anyway. * single-numa-node: the topology manager determines if the single NUMA node affinity is possible. If it is, Topology Manager will store this and the Hint Providers can then use this information when making the resource allocation decision. If, however, this is not possible then the Topology Manager will reject the pod from the node. This will result in a pod in a Terminated state with a pod admission failure. The default policy value is 'none' if unspecified. Details about each strategy can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-policies). */ policy?: string; /** The Topology Manager aligns resources in following scopes: * container * pod The default scope is 'container' if unspecified. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-scopes */ scope?: string; } interface TpuConfig { /** Whether Cloud TPU integration is enabled or not. */ enabled?: boolean; /** IPv4 CIDR block reserved for Cloud TPU in the VPC. */ ipv4CidrBlock?: string; /** Whether to use service networking for Cloud TPU or not. */ useServiceNetworking?: boolean; } interface UpdateClusterRequest { /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Required. A description of the update. */ update?: ClusterUpdate; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface UpdateInfo { /** Information of a blue-green upgrade. */ blueGreenInfo?: BlueGreenInfo; } interface UpdateMasterRequest { /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** Required. The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default Kubernetes version */ masterVersion?: string; /** The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface UpdateNodePoolRequest { /** 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. */ accelerators?: AcceleratorConfig[]; /** The desired boot disk config for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified boot disk config. */ bootDisk?: BootDisk; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled. */ confidentialNodes?: ConfidentialNodes; /** Consolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes. If not set, nodes are scaled down by default behavior, i.e. according to the chosen autoscaling profile. */ consolidationDelay?: string; /** The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config. */ containerdConfig?: ContainerdConfig; /** Optional. The desired disk size for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size. */ diskSizeGb?: string; /** Optional. The desired disk type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type. */ diskType?: string; /** The current etag of the node pool. If an etag is provided and does not match the current etag of the node pool, update will be blocked and an ABORTED error will be returned. */ etag?: string; /** Enable or disable NCCL fast socket for the node pool. */ fastSocket?: FastSocket; /** Flex Start flag for enabling Flex Start VM. */ flexStart?: boolean; /** GCFS config. */ gcfsConfig?: GcfsConfig; /** Enable or disable gvnic on the node pool. */ gvnic?: VirtualNIC; /** The desired name of the image name to use for this node. This is used to create clusters using a custom image. */ image?: string; /** The project containing the desired image to use for this node pool. This is used to create clusters using a custom image. */ imageProject?: string; /** Required. The desired image type for the node pool. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types. */ imageType?: string; /** Node kubelet configs. */ kubeletConfig?: NodeKubeletConfig; /** The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be *replaced* with the provided labels. */ labels?: NodeLabels; /** Parameters that can be configured on Linux nodes. */ linuxNodeConfig?: LinuxNodeConfig; /** The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed. Warning: It is recommended to update node pool locations in a standalone API call. Do not combine a location update with changes to other fields (such as `tags`, `labels`, `taints`, etc.) in the same request. Otherwise, the API performs a structural modification where changes to other fields will only apply to newly created nodes and will not be applied to existing nodes in the node pool. To ensure all nodes are updated consistently, use a separate API call for location changes. */ locations?: string[]; /** Logging configuration. */ loggingConfig?: NodePoolLoggingConfig; /** Optional. The desired machine type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type. */ machineType?: string; /** Optional. Specifies the maintenance policy for the node pool, including maintenance exclusion options. */ maintenancePolicy?: NodePoolMaintenancePolicy; /** The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely. */ maxRunDuration?: string; /** The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name?: string; /** The desired node drain configuration for nodes in the node pool. */ nodeDrainConfig?: NodeDrainConfig; /** Node network config. */ nodeNetworkConfig?: NodeNetworkConfig; /** Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field. */ nodePoolId?: string; /** Required. The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version */ nodeVersion?: string; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Specifies the configuration of queued provisioning. */ queuedProvisioning?: QueuedProvisioning; /** The resource labels for the node pool to use to annotate any related Google Compute Engine resources. */ resourceLabels?: ResourceLabels; /** Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values. */ resourceManagerTags?: ResourceManagerTags; /** List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools. */ storagePools?: string[]; /** The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags. */ tags?: NetworkTags; /** The taint configuration for the node pool. */ taintConfig?: TaintConfig; /** The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be *replaced* with the provided taints. */ taints?: NodeTaints; /** Upgrade settings control disruption and speed of the upgrade. */ upgradeSettings?: UpgradeSettings; /** Parameters that can be configured on Windows nodes. */ windowsNodeConfig?: WindowsNodeConfig; /** The desired workload metadata config for the node pool. */ workloadMetadataConfig?: WorkloadMetadataConfig; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; } interface UpgradeAvailableEvent { /** The release channel of the version. If empty, it means a non-channel release. */ releaseChannel?: ReleaseChannel; /** Optional relative path to the resource. For example, the relative path of the node pool. */ resource?: string; /** The resource type of the release version. */ resourceType?: 'UPGRADE_RESOURCE_TYPE_UNSPECIFIED' | 'MASTER' | 'NODE_POOL'; /** The release version available for upgrade. */ version?: string; /** Windows node versions info. */ windowsVersions?: WindowsVersions; } interface UpgradeDetails { /** The end timestamp of the upgrade. */ endTime?: string; /** The emulated version before the upgrade. */ initialEmulatedVersion?: string; /** The version before the upgrade. */ initialVersion?: string; /** The start timestamp of the upgrade. */ startTime?: string; /** The start type of the upgrade. */ startType?: 'START_TYPE_UNSPECIFIED' | 'AUTOMATIC' | 'MANUAL'; /** Output only. The state of the upgrade. */ state?: 'UNKNOWN' | 'FAILED' | 'SUCCEEDED' | 'CANCELED' | 'RUNNING'; /** The emulated version after the upgrade. */ targetEmulatedVersion?: string; /** The version after the upgrade. */ targetVersion?: string; } interface UpgradeEvent { /** The current emulated version before the upgrade. */ currentEmulatedVersion?: string; /** The current version before the upgrade. */ currentVersion?: string; /** The operation associated with this upgrade. */ operation?: string; /** The time when the operation was started. */ operationStartTime?: string; /** Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool. */ resource?: string; /** The resource type that is upgrading. */ resourceType?: 'UPGRADE_RESOURCE_TYPE_UNSPECIFIED' | 'MASTER' | 'NODE_POOL'; /** The target emulated version for the upgrade. */ targetEmulatedVersion?: string; /** The target version for the upgrade. */ targetVersion?: string; } interface UpgradeInfoEvent { /** The current emulated version before the upgrade. */ currentEmulatedVersion?: string; /** The current version before the upgrade. */ currentVersion?: string; /** A brief description of the event. */ description?: string; /** The information about the disruption event. This field is only populated when event_type is DISRUPTION_EVENT. */ disruptionEvent?: DisruptionEvent; /** The time when the operation ended. */ endTime?: string; /** The type of the event. */ eventType?: | 'EVENT_TYPE_UNSPECIFIED' | 'END_OF_SUPPORT' | 'COS_MILESTONE_VERSION_UPDATE' | 'UPGRADE_LIFECYCLE' | 'DISRUPTION_EVENT'; /** The end of extended support timestamp. */ extendedSupportEndTime?: string; /** The operation associated with this upgrade. */ operation?: string; /** Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool. */ resource?: string; /** The resource type associated with the upgrade. */ resourceType?: 'UPGRADE_RESOURCE_TYPE_UNSPECIFIED' | 'MASTER' | 'NODE_POOL'; /** The end of standard support timestamp. */ standardSupportEndTime?: string; /** The time when the operation was started. */ startTime?: string; /** Output only. The state of the upgrade. */ state?: | 'STATE_UNSPECIFIED' | 'SCHEDULED' | 'STARTED' | 'SUCCEEDED' | 'FAILED' | 'CANCELED'; /** The target emulated version for the upgrade. */ targetEmulatedVersion?: string; /** The target version for the upgrade. */ targetVersion?: string; } interface UpgradeSettings { /** Settings for blue-green upgrade strategy. */ blueGreenSettings?: BlueGreenSettings; /** The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process. */ maxSurge?: number; /** The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready. */ maxUnavailable?: number; /** Update strategy of the node pool. */ strategy?: | 'NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED' | 'BLUE_GREEN' | 'SURGE' | 'SHORT_LIVED'; } interface UsableSubnetwork { /** The range of internal addresses that are owned by this subnetwork. */ ipCidrRange?: string; /** Network Name. Example: projects/my-project/global/networks/my-network */ network?: string; /** Secondary IP ranges. */ secondaryIpRanges?: UsableSubnetworkSecondaryRange[]; /** A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message. */ statusMessage?: string; /** Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet */ subnetwork?: string; } interface UsableSubnetworkSecondaryRange { /** The range of IP addresses belonging to this subnetwork secondary range. */ ipCidrRange?: string; /** The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. */ rangeName?: string; /** This field is to determine the status of the secondary range programmably. */ status?: | 'UNKNOWN' | 'UNUSED' | 'IN_USE_SERVICE' | 'IN_USE_SHAREABLE_POD' | 'IN_USE_MANAGED_POD'; } interface UserManagedKeysConfig { /** The Certificate Authority Service caPool to use for the aggregation CA in this cluster. */ aggregationCa?: string; /** The Certificate Authority Service caPool to use for the cluster CA in this cluster. */ clusterCa?: string; /** The Cloud KMS cryptoKey to use for Confidential Hyperdisk on the control plane nodes. */ controlPlaneDiskEncryptionKey?: string; /** Output only. All of the versions of the Cloud KMS cryptoKey that are used by Confidential Hyperdisks on the control plane nodes. */ controlPlaneDiskEncryptionKeyVersions?: string[]; /** Resource path of the Certificate Authority Service caPool to use for the etcd API CA in this cluster. */ etcdApiCa?: string; /** Resource path of the Certificate Authority Service caPool to use for the etcd peer CA in this cluster. */ etcdPeerCa?: string; /** Resource path of the Cloud KMS cryptoKey to use for encryption of internal etcd backups. */ gkeopsEtcdBackupEncryptionKey?: string; /** The Cloud KMS cryptoKeyVersions to use for signing service account JWTs issued by this cluster. Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}` */ serviceAccountSigningKeys?: string[]; /** The Cloud KMS cryptoKeyVersions to use for verifying service account JWTs issued by this cluster. Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}` */ serviceAccountVerificationKeys?: string[]; } interface VerticalPodAutoscaling { /** Enables vertical pod autoscaling. */ enabled?: boolean; } interface VirtualNIC { /** Whether gVNIC features are enabled in the node pool. */ enabled?: boolean; } interface WindowsNodeConfig { /** OSVersion specifies the Windows node config to be used on the node. */ osVersion?: | 'OS_VERSION_UNSPECIFIED' | 'OS_VERSION_LTSC2019' | 'OS_VERSION_LTSC2022'; } interface WindowsVersion { /** Windows server image type */ imageType?: string; /** Windows server build number */ osVersion?: string; /** Mainstream support end date */ supportEndDate?: Date; } interface WindowsVersions { /** List of Windows server versions. */ windowsVersions?: WindowsVersion[]; } interface WorkloadALTSConfig { /** enable_alts controls whether the alts handshaker should be enabled or not for direct-path. Requires Workload Identity (workload_pool must be non-empty). */ enableAlts?: boolean; } interface WorkloadCertificates { /** enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty). */ enableCertificates?: boolean; } interface WorkloadConfig { /** Sets which mode of auditing should be used for the cluster's workloads. */ auditMode?: 'MODE_UNSPECIFIED' | 'DISABLED' | 'BASIC' | 'BASELINE' | 'RESTRICTED'; } interface WorkloadIdentityConfig { /** IAM Identity Namespace to attach all Kubernetes Service Accounts to. */ identityNamespace?: string; /** identity provider is the third party identity provider. */ identityProvider?: string; /** The workload pool to attach all Kubernetes service accounts to. */ workloadPool?: string; } interface WorkloadMetadataConfig { /** Mode is the configuration for how to expose metadata to workloads running on the node pool. */ mode?: 'MODE_UNSPECIFIED' | 'GCE_METADATA' | 'GKE_METADATA'; /** NodeMetadata is the configuration for how to expose metadata to the workloads running on the node. */ nodeMetadata?: 'UNSPECIFIED' | 'SECURE' | 'EXPOSE' | 'GKE_METADATA_SERVER'; } interface WorkloadPolicyConfig { /** If true, workloads can use NET_ADMIN capability. */ allowNetAdmin?: boolean; /** If true, enables the GCW Auditor that audits workloads on standard clusters. */ autopilotCompatibilityAuditingEnabled?: boolean; } interface WritableCgroups { /** Optional. Whether writable cgroups is enabled. */ enabled?: boolean; } interface UsableSubnetworksResource { /** Lists subnetworks that can be used for creating clusters in a project. */ list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` is the project which owns the listed subnetworks. This defaults to the parent project ID. */ filter?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. Acceptable values are 0 to 500, inclusive. (Default: 500) */ pageSize?: number; /** Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results. */ pageToken?: string; /** Required. The parent project where subnetworks are usable. Specified in the format `projects/*`. */ parent: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; } interface AggregatedResource { usableSubnetworks: UsableSubnetworksResource; } interface NodePoolsResource { /** CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete. */ completeUpgrade(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool id) of the node pool to complete upgrade. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: CompleteNodePoolUpgradeRequest; }): Request<{}>; completeUpgrade( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool id) of the node pool to complete upgrade. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: CompleteNodePoolUpgradeRequest, ): Request<{}>; /** Creates a node pool for a cluster. */ create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** The parent (project, location, cluster name) where the node pool will be created. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ parent: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: CreateNodePoolRequest; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** The parent (project, location, cluster name) where the node pool will be created. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ parent: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: CreateNodePoolRequest, ): Request; /** Deletes a node pool from a cluster. */ delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name: string; /** Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field. */ nodePoolId?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; }): Request; /** Fetch upgrade information of a specific node pool. */ fetchNodePoolUpgradeInfo(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** Required. The name (project, location, cluster, node pool) of the node pool to get. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*` or `projects/*‍/zones/*‍/clusters/*‍/nodePools/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** API request version that initiates this operation. */ version?: string; }): Request; /** Retrieves the requested node pool. */ get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name: string; /** Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field. */ nodePoolId?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; }): Request; /** Lists the node pools for a cluster. */ list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field. */ clusterId?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** The parent (project, location, cluster name) where the node pools will be listed. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ parent: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field. */ projectId?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field. */ zone?: string; }): Request; /** Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed. */ rollback(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: RollbackNodePoolUpgradeRequest; }): Request; rollback( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: RollbackNodePoolUpgradeRequest, ): Request; /** Sets the autoscaling settings of a specific node pool. */ setAutoscaling(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: SetNodePoolAutoscalingRequest; }): Request; setAutoscaling( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: SetNodePoolAutoscalingRequest, ): Request; /** Sets the NodeManagement options for a node pool. */ setManagement(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: SetNodePoolManagementRequest; }): Request; setManagement( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: SetNodePoolManagementRequest, ): Request; /** SetNodePoolSizeRequest sets the size of a node pool. The new size will be used for all replicas, including future replicas created by modifying NodePool.locations. */ setSize(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: SetNodePoolSizeRequest; }): Request; setSize( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: SetNodePoolSizeRequest, ): Request; /** Updates the version and/or image type of a specific node pool. */ update(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: UpdateNodePoolRequest; }): Request; update( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: UpdateNodePoolRequest, ): Request; } interface WellKnownResource { /** Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0 specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details. */ 'getOpenid-configuration'(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** The cluster (project, location, cluster name) to get the discovery document for. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ parent: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; } interface ClustersResource { /** Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues. */ checkAutopilotCompatibility(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; /** CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing the step two upgrade for a specific cluster. */ completeControlPlaneUpgrade(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to complete upgrade. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: CompleteControlPlaneUpgradeRequest; }): Request; completeControlPlaneUpgrade( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to complete upgrade. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: CompleteControlPlaneUpgradeRequest, ): Request; /** Completes master IP rotation. */ completeIpRotation(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster name) of the cluster to complete IP rotation. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: CompleteIPRotationRequest; }): Request; completeIpRotation( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster name) of the cluster to complete IP rotation. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: CompleteIPRotationRequest, ): Request; /** Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using. */ create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** The parent (project and location) where the cluster will be created. Specified in the format `projects/*‍/locations/*`. */ parent: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: CreateClusterRequest; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** The parent (project and location) where the cluster will be created. Specified in the format `projects/*‍/locations/*`. */ parent: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: CreateClusterRequest, ): Request; /** Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created. */ delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to delete. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; }): Request; /** Fetch upgrade information of a specific cluster. */ fetchClusterUpgradeInfo(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** Required. The name (project, location, cluster) of the cluster to get. Specified in the format `projects/*‍/locations/*‍/clusters/*` or `projects/*‍/zones/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** API request version that initiates this operation. */ version?: string; }): Request; /** Gets the details for a specific cluster. */ get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field. */ clusterId?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; }): Request; /** Gets the public component of the cluster signing keys in JSON Web Key format. */ getJwks(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** The cluster (project, location, cluster name) to get keys for. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ parent: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; /** Lists all clusters owned by a project in either the specified zone or all zones. */ list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** The parent (project and location) where the clusters will be listed. Specified in the format `projects/*‍/locations/*`. Location "-" matches all zones and all regions. */ parent: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field. */ projectId?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides, or "-" for all zones. This field has been deprecated and replaced by the parent field. */ zone?: string; }): Request; /** Sets the addons for a specific cluster. */ setAddons(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: SetAddonsConfigRequest; }): Request; setAddons( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: SetAddonsConfigRequest, ): Request; /** Enables or disables the ABAC authorization mechanism on a cluster. */ setLegacyAbac(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster name) of the cluster to set legacy abac. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: SetLegacyAbacRequest; }): Request; setLegacyAbac( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster name) of the cluster to set legacy abac. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: SetLegacyAbacRequest, ): Request; /** Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update) instead. */ setLocations(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to set locations. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: SetLocationsRequest; }): Request; setLocations( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to set locations. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: SetLocationsRequest, ): Request; /** Sets the logging service for a specific cluster. */ setLogging(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to set logging. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: SetLoggingServiceRequest; }): Request; setLogging( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to set logging. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: SetLoggingServiceRequest, ): Request; /** Sets the maintenance policy for a cluster. */ setMaintenancePolicy(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster name) of the cluster to set maintenance policy. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: SetMaintenancePolicyRequest; }): Request; setMaintenancePolicy( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster name) of the cluster to set maintenance policy. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: SetMaintenancePolicyRequest, ): Request; /** Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password. */ setMasterAuth(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: SetMasterAuthRequest; }): Request; setMasterAuth( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: SetMasterAuthRequest, ): Request; /** Sets the monitoring service for a specific cluster. */ setMonitoring(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to set monitoring. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: SetMonitoringServiceRequest; }): Request; setMonitoring( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to set monitoring. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: SetMonitoringServiceRequest, ): Request; /** Enables or disables Network Policy for a cluster. */ setNetworkPolicy(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster name) of the cluster to set networking policy. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: SetNetworkPolicyRequest; }): Request; setNetworkPolicy( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster name) of the cluster to set networking policy. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: SetNetworkPolicyRequest, ): Request; /** Sets labels on a cluster. */ setResourceLabels(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster name) of the cluster to set labels. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: SetLabelsRequest; }): Request; setResourceLabels( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster name) of the cluster to set labels. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: SetLabelsRequest, ): Request; /** Starts master IP rotation. */ startIpRotation(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster name) of the cluster to start IP rotation. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: StartIPRotationRequest; }): Request; startIpRotation( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster name) of the cluster to start IP rotation. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: StartIPRotationRequest, ): Request; /** Updates the settings for a specific cluster. */ update(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: UpdateClusterRequest; }): Request; update( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: UpdateClusterRequest, ): Request; /** Updates the master for a specific cluster. */ updateMaster(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: UpdateMasterRequest; }): Request; updateMaster( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: UpdateMasterRequest, ): Request; nodePools: NodePoolsResource; 'well-known': WellKnownResource; } interface OperationsResource { /** Cancels the specified operation. */ cancel(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, operation id) of the operation to cancel. Specified in the format `projects/*‍/locations/*‍/operations/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: CancelOperationRequest; }): Request<{}>; cancel( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, operation id) of the operation to cancel. Specified in the format `projects/*‍/locations/*‍/operations/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: CancelOperationRequest, ): Request<{}>; /** Gets the specified operation. */ get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, operation id) of the operation to get. Specified in the format `projects/*‍/locations/*‍/operations/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field. */ operationId?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone?: string; }): Request; /** Lists all operations in a project in the specified zone or all zones. */ list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** The parent (project and location) where the operations will be listed. Specified in the format `projects/*‍/locations/*`. Location "-" matches all zones and all regions. */ parent: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field. */ projectId?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or `-` for all zones. This field has been deprecated and replaced by the parent field. */ zone?: string; }): Request; } interface LocationsResource { /** Returns configuration info about the Google Kubernetes Engine service. */ getServerConfig(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project and location) of the server config to get, specified in the format `projects/*‍/locations/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for. This field has been deprecated and replaced by the name field. */ zone?: string; }): Request; /** Fetches locations that offer Google Kubernetes Engine. */ list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Required. Contains the name of the resource requested. Specified in the format `projects/*`. */ parent: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; clusters: ClustersResource; operations: OperationsResource; } interface NodePoolsResource { /** Sets the autoscaling settings of a specific node pool. */ autoscaling(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field. */ nodePoolId: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: SetNodePoolAutoscalingRequest; }): Request; autoscaling( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field. */ nodePoolId: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: SetNodePoolAutoscalingRequest, ): Request; /** Creates a node pool for a cluster. */ create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field. */ zone: string; /** Request body */ resource: CreateNodePoolRequest; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field. */ zone: string; }, body: CreateNodePoolRequest, ): Request; /** Deletes a node pool from a cluster. */ delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name?: string; /** Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field. */ nodePoolId: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }): Request; /** Fetch upgrade information of a specific node pool. */ fetchNodePoolUpgradeInfo(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** Required. The name (project, location, cluster, node pool) of the node pool to get. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*` or `projects/*‍/zones/*‍/clusters/*‍/nodePools/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** API request version that initiates this operation. */ version?: string; }): Request; /** Retrieves the requested node pool. */ get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format `projects/*‍/locations/*‍/clusters/*‍/nodePools/*`. */ name?: string; /** Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field. */ nodePoolId: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }): Request; /** Lists the node pools for a cluster. */ list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** The parent (project, location, cluster name) where the node pools will be listed. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ parent?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field. */ zone: string; }): Request; /** Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed. */ rollback(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field. */ nodePoolId: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: RollbackNodePoolUpgradeRequest; }): Request; rollback( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field. */ nodePoolId: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: RollbackNodePoolUpgradeRequest, ): Request; /** Sets the NodeManagement options for a node pool. */ setManagement(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field. */ nodePoolId: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: SetNodePoolManagementRequest; }): Request; setManagement( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field. */ nodePoolId: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: SetNodePoolManagementRequest, ): Request; /** SetNodePoolSizeRequest sets the size of a node pool. The new size will be used for all replicas, including future replicas created by modifying NodePool.locations. */ setSize(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field. */ nodePoolId: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: SetNodePoolSizeRequest; }): Request; setSize( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field. */ nodePoolId: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: SetNodePoolSizeRequest, ): Request; /** Updates the version and/or image type of a specific node pool. */ update(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field. */ nodePoolId: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: UpdateNodePoolRequest; }): Request; update( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field. */ nodePoolId: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: UpdateNodePoolRequest, ): Request; } interface ClustersResource { /** Sets the addons for a specific cluster. */ addons(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: SetAddonsConfigRequest; }): Request; addons( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: SetAddonsConfigRequest, ): Request; /** CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing the step two upgrade for a specific cluster. */ completeControlPlaneUpgrade(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to complete upgrade. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: CompleteControlPlaneUpgradeRequest; }): Request; completeControlPlaneUpgrade( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to complete upgrade. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: CompleteControlPlaneUpgradeRequest, ): Request; /** Completes master IP rotation. */ completeIpRotation(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: CompleteIPRotationRequest; }): Request; completeIpRotation( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: CompleteIPRotationRequest, ): Request; /** Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using. */ create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field. */ zone: string; /** Request body */ resource: CreateClusterRequest; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field. */ zone: string; }, body: CreateClusterRequest, ): Request; /** Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created. */ delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to delete. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }): Request; /** Fetch upgrade information of a specific cluster. */ fetchClusterUpgradeInfo(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** Required. The name (project, location, cluster) of the cluster to get. Specified in the format `projects/*‍/locations/*‍/clusters/*` or `projects/*‍/zones/*‍/clusters/*`. */ name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** API request version that initiates this operation. */ version?: string; }): Request; /** Gets the details for a specific cluster. */ get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*‍/locations/*‍/clusters/*`. */ name?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }): Request; /** Enables or disables the ABAC authorization mechanism on a cluster. */ legacyAbac(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: SetLegacyAbacRequest; }): Request; legacyAbac( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: SetLegacyAbacRequest, ): Request; /** Lists all clusters owned by a project in either the specified zone or all zones. */ list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** The parent (project and location) where the clusters will be listed. Specified in the format `projects/*‍/locations/*`. Location "-" matches all zones and all regions. */ parent?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides, or "-" for all zones. This field has been deprecated and replaced by the parent field. */ zone: string; }): Request; /** Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update) instead. */ locations(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: SetLocationsRequest; }): Request; locations( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: SetLocationsRequest, ): Request; /** Sets the logging service for a specific cluster. */ logging(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: SetLoggingServiceRequest; }): Request; logging( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: SetLoggingServiceRequest, ): Request; /** Updates the master for a specific cluster. */ master(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: UpdateMasterRequest; }): Request; master( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: UpdateMasterRequest, ): Request; /** Sets the monitoring service for a specific cluster. */ monitoring(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: SetMonitoringServiceRequest; }): Request; monitoring( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: SetMonitoringServiceRequest, ): Request; /** Sets labels on a cluster. */ resourceLabels(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: SetLabelsRequest; }): Request; resourceLabels( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: SetLabelsRequest, ): Request; /** Sets the maintenance policy for a cluster. */ setMaintenancePolicy(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Required. The name of the cluster to update. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Required. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Required. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. */ zone: string; /** Request body */ resource: SetMaintenancePolicyRequest; }): Request; setMaintenancePolicy( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Required. The name of the cluster to update. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Required. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Required. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. */ zone: string; }, body: SetMaintenancePolicyRequest, ): Request; /** Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password. */ setMasterAuth(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: SetMasterAuthRequest; }): Request; setMasterAuth( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: SetMasterAuthRequest, ): Request; /** Enables or disables Network Policy for a cluster. */ setNetworkPolicy(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: SetNetworkPolicyRequest; }): Request; setNetworkPolicy( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: SetNetworkPolicyRequest, ): Request; /** Starts master IP rotation. */ startIpRotation(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: StartIPRotationRequest; }): Request; startIpRotation( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: StartIPRotationRequest, ): Request; /** Updates the settings for a specific cluster. */ update(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: UpdateClusterRequest; }): Request; update( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. */ clusterId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: UpdateClusterRequest, ): Request; nodePools: NodePoolsResource; } interface OperationsResource { /** Cancels the specified operation. */ cancel(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field. */ operationId: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides. This field has been deprecated and replaced by the name field. */ zone: string; /** Request body */ resource: CancelOperationRequest; }): Request<{}>; cancel( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field. */ operationId: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides. This field has been deprecated and replaced by the name field. */ zone: string; }, body: CancelOperationRequest, ): Request<{}>; /** Gets the specified operation. */ get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project, location, operation id) of the operation to get. Specified in the format `projects/*‍/locations/*‍/operations/*`. */ name?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field. */ operationId: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field. */ zone: string; }): Request; /** Lists all operations in a project in the specified zone or all zones. */ list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** The parent (project and location) where the operations will be listed. Specified in the format `projects/*‍/locations/*`. Location "-" matches all zones and all regions. */ parent?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or `-` for all zones. This field has been deprecated and replaced by the parent field. */ zone: string; }): Request; } interface ZonesResource { /** Returns configuration info about the Google Kubernetes Engine service. */ getServerconfig(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** The name (project and location) of the server config to get, specified in the format `projects/*‍/locations/*`. */ name?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. */ projectId: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for. This field has been deprecated and replaced by the name field. */ zone: string; }): Request; clusters: ClustersResource; operations: OperationsResource; } interface ProjectsResource { aggregated: AggregatedResource; locations: LocationsResource; zones: ZonesResource; } const projects: ProjectsResource; } }