From 68323654185bb18ea8f6540f71a90578f9414f62 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 21 Sep 2022 01:47:55 +0000 Subject: [PATCH] feat(container): update the API #### container:v1beta1 The following keys were added: - schemas.ClusterUpdate.properties.desiredNodePoolLoggingConfig.$ref - schemas.ClusterUpdate.properties.desiredNodePoolLoggingConfig.description - schemas.LoggingVariantConfig.description - schemas.LoggingVariantConfig.id - schemas.LoggingVariantConfig.properties.variant.description - schemas.LoggingVariantConfig.properties.variant.enum - schemas.LoggingVariantConfig.properties.variant.enumDescriptions - schemas.LoggingVariantConfig.properties.variant.type - schemas.LoggingVariantConfig.type - schemas.NodeConfig.properties.loggingConfig.$ref - schemas.NodeConfig.properties.loggingConfig.description - schemas.NodeConfigDefaults.properties.loggingConfig.$ref - schemas.NodeConfigDefaults.properties.loggingConfig.description - schemas.NodePoolLoggingConfig.description - schemas.NodePoolLoggingConfig.id - schemas.NodePoolLoggingConfig.properties.variantConfig.$ref - schemas.NodePoolLoggingConfig.properties.variantConfig.description - schemas.NodePoolLoggingConfig.type - schemas.UpdateNodePoolRequest.properties.loggingConfig.$ref - schemas.UpdateNodePoolRequest.properties.loggingConfig.description The following keys were changed: - schemas.AutoprovisioningNodePoolDefaults.properties.minCpuPlatform.description - schemas.NodeConfig.properties.minCpuPlatform.description - schemas.ReservationAffinity.properties.key.description #### container:v1 The following keys were added: - schemas.ClusterUpdate.properties.desiredNodePoolLoggingConfig.$ref - schemas.ClusterUpdate.properties.desiredNodePoolLoggingConfig.description - schemas.LoggingVariantConfig.description - schemas.LoggingVariantConfig.id - schemas.LoggingVariantConfig.properties.variant.description - schemas.LoggingVariantConfig.properties.variant.enum - schemas.LoggingVariantConfig.properties.variant.enumDescriptions - schemas.LoggingVariantConfig.properties.variant.type - schemas.LoggingVariantConfig.type - schemas.NodeConfig.properties.loggingConfig.$ref - schemas.NodeConfig.properties.loggingConfig.description - schemas.NodeConfigDefaults.properties.loggingConfig.$ref - schemas.NodeConfigDefaults.properties.loggingConfig.description - schemas.NodePoolLoggingConfig.description - schemas.NodePoolLoggingConfig.id - schemas.NodePoolLoggingConfig.properties.variantConfig.$ref - schemas.NodePoolLoggingConfig.properties.variantConfig.description - schemas.NodePoolLoggingConfig.type - schemas.UpdateNodePoolRequest.properties.loggingConfig.$ref - schemas.UpdateNodePoolRequest.properties.loggingConfig.description The following keys were changed: - schemas.AutoprovisioningNodePoolDefaults.properties.minCpuPlatform.description - schemas.ReservationAffinity.properties.key.description --- discovery/container-v1.json | 54 ++++++++++++++++++++++++++++-- discovery/container-v1beta1.json | 56 +++++++++++++++++++++++++++++--- src/apis/container/package.json | 2 +- src/apis/container/v1.ts | 40 +++++++++++++++++++++-- src/apis/container/v1beta1.ts | 42 ++++++++++++++++++++++-- 5 files changed, 181 insertions(+), 13 deletions(-) diff --git a/discovery/container-v1.json b/discovery/container-v1.json index 0b30481b6a..66cf4e94d8 100644 --- a/discovery/container-v1.json +++ b/discovery/container-v1.json @@ -2487,7 +2487,7 @@ } } }, - "revision": "20220727", + "revision": "20220826", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2636,7 +2636,7 @@ "description": "Specifies the node management options for NAP created node-pools." }, "minCpuPlatform": { - "description": "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 https://cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass \"automatic\" as field value.", + "description": "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 https://cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass \"automatic\" as field value.", "type": "string" }, "oauthScopes": { @@ -3284,6 +3284,10 @@ "description": "The node pool to be upgraded. This field is mandatory if \"desired_node_version\", \"desired_image_family\" or \"desired_node_pool_autoscaling\" is specified and there is more than one node pool on the cluster.", "type": "string" }, + "desiredNodePoolLoggingConfig": { + "$ref": "NodePoolLoggingConfig", + "description": "The desired node pool logging configuration defaults for the cluster." + }, "desiredNodeVersion": { "description": "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", "type": "string" @@ -4033,6 +4037,27 @@ }, "type": "object" }, + "LoggingVariantConfig": { + "description": "LoggingVariantConfig specifies the behaviour of the logging component.", + "id": "LoggingVariantConfig", + "properties": { + "variant": { + "description": "Logging variant deployed on nodes.", + "enum": [ + "VARIANT_UNSPECIFIED", + "DEFAULT", + "MAX_THROUGHPUT" + ], + "enumDescriptions": [ + "Default value. This shouldn't be used.", + "default logging variant.", + "maximum logging throughput variant." + ], + "type": "string" + } + }, + "type": "object" + }, "MaintenanceExclusionOptions": { "description": "Represents the Maintenance exclusion option.", "id": "MaintenanceExclusionOptions", @@ -4438,6 +4463,10 @@ "format": "int32", "type": "integer" }, + "loggingConfig": { + "$ref": "NodePoolLoggingConfig", + "description": "Logging configuration." + }, "machineType": { "description": "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`.", "type": "string" @@ -4516,6 +4545,10 @@ "gcfsConfig": { "$ref": "GcfsConfig", "description": "GCFS (Google Container File System, also known as Riptide) options." + }, + "loggingConfig": { + "$ref": "NodePoolLoggingConfig", + "description": "Logging configuration for node pools." } }, "type": "object" @@ -4776,6 +4809,17 @@ }, "type": "object" }, + "NodePoolLoggingConfig": { + "description": "NodePoolLoggingConfig specifies logging configuration for nodepools.", + "id": "NodePoolLoggingConfig", + "properties": { + "variantConfig": { + "$ref": "LoggingVariantConfig", + "description": "Logging variant configuration." + } + }, + "type": "object" + }, "NodeTaint": { "description": "Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values.", "id": "NodeTaint", @@ -5160,7 +5204,7 @@ "type": "string" }, "key": { - "description": "Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify \"googleapis.com/reservation-name\" as the key and specify the name of your reservation as its value.", + "description": "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.", "type": "string" }, "values": { @@ -6042,6 +6086,10 @@ }, "type": "array" }, + "loggingConfig": { + "$ref": "NodePoolLoggingConfig", + "description": "Logging configuration." + }, "name": { "description": "The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", "type": "string" diff --git a/discovery/container-v1beta1.json b/discovery/container-v1beta1.json index b55d1e75c1..97ee9b0627 100644 --- a/discovery/container-v1beta1.json +++ b/discovery/container-v1beta1.json @@ -2512,7 +2512,7 @@ } } }, - "revision": "20220727", + "revision": "20220826", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2678,7 +2678,7 @@ "description": "NodeManagement configuration for this NodePool." }, "minCpuPlatform": { - "description": "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 https://cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass \"automatic\" as field value.", + "description": "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 https://cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass \"automatic\" as field value.", "type": "string" }, "oauthScopes": { @@ -3416,6 +3416,10 @@ "description": "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.", "type": "string" }, + "desiredNodePoolLoggingConfig": { + "$ref": "NodePoolLoggingConfig", + "description": "The desired node pool logging configuration defaults for the cluster." + }, "desiredNodeVersion": { "description": "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", "type": "string" @@ -4380,6 +4384,27 @@ }, "type": "object" }, + "LoggingVariantConfig": { + "description": "LoggingVariantConfig specifies the behaviour of the logging component.", + "id": "LoggingVariantConfig", + "properties": { + "variant": { + "description": "Logging variant deployed on nodes.", + "enum": [ + "VARIANT_UNSPECIFIED", + "DEFAULT", + "MAX_THROUGHPUT" + ], + "enumDescriptions": [ + "Default value. This shouldn't be used.", + "default logging variant.", + "maximum logging throughput variant." + ], + "type": "string" + } + }, + "type": "object" + }, "MaintenanceExclusionOptions": { "description": "Represents the Maintenance exclusion option.", "id": "MaintenanceExclusionOptions", @@ -4808,6 +4833,10 @@ "format": "int32", "type": "integer" }, + "loggingConfig": { + "$ref": "NodePoolLoggingConfig", + "description": "Logging configuration." + }, "machineType": { "description": "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`.", "type": "string" @@ -4820,7 +4849,7 @@ "type": "object" }, "minCpuPlatform": { - "description": "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)", + "description": "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).", "type": "string" }, "nodeGroup": { @@ -4886,6 +4915,10 @@ "gcfsConfig": { "$ref": "GcfsConfig", "description": "GCFS (Google Container File System, also known as Riptide) options." + }, + "loggingConfig": { + "$ref": "NodePoolLoggingConfig", + "description": "Logging configuration for node pools." } }, "type": "object" @@ -5150,6 +5183,17 @@ }, "type": "object" }, + "NodePoolLoggingConfig": { + "description": "NodePoolLoggingConfig specifies logging configuration for nodepools.", + "id": "NodePoolLoggingConfig", + "properties": { + "variantConfig": { + "$ref": "LoggingVariantConfig", + "description": "Logging variant configuration." + } + }, + "type": "object" + }, "NodeTaint": { "description": "Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values.", "id": "NodeTaint", @@ -5582,7 +5626,7 @@ "type": "string" }, "key": { - "description": "Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify \"googleapis.com/reservation-name\" as the key and specify the name of your reservation as its value.", + "description": "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.", "type": "string" }, "values": { @@ -6494,6 +6538,10 @@ }, "type": "array" }, + "loggingConfig": { + "$ref": "NodePoolLoggingConfig", + "description": "Logging configuration." + }, "name": { "description": "The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", "type": "string" diff --git a/src/apis/container/package.json b/src/apis/container/package.json index 64ad410fee..83968c9d40 100644 --- a/src/apis/container/package.json +++ b/src/apis/container/package.json @@ -28,7 +28,7 @@ "webpack": "webpack" }, "dependencies": { - "googleapis-common": "^5.0.1" + "googleapis-common": "^6.0.3" }, "devDependencies": { "@microsoft/api-documenter": "^7.8.10", diff --git a/src/apis/container/v1.ts b/src/apis/container/v1.ts index b3a4d8f65a..2279550c89 100644 --- a/src/apis/container/v1.ts +++ b/src/apis/container/v1.ts @@ -242,7 +242,7 @@ export namespace container_v1 { */ management?: Schema$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 https://cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass "automatic" as field value. + * 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 https://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 | null; /** @@ -765,6 +765,10 @@ export namespace container_v1 { * The node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family" or "desired_node_pool_autoscaling" is specified and there is more than one node pool on the cluster. */ desiredNodePoolId?: string | null; + /** + * The desired node pool logging configuration defaults for the cluster. + */ + desiredNodePoolLoggingConfig?: Schema$NodePoolLoggingConfig; /** * 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 */ @@ -1321,6 +1325,15 @@ export namespace container_v1 { */ componentConfig?: Schema$LoggingComponentConfig; } + /** + * LoggingVariantConfig specifies the behaviour of the logging component. + */ + export interface Schema$LoggingVariantConfig { + /** + * Logging variant deployed on nodes. + */ + variant?: string | null; + } /** * Represents the Maintenance exclusion option. */ @@ -1609,6 +1622,10 @@ export namespace container_v1 { * 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 | null; + /** + * Logging configuration. + */ + loggingConfig?: Schema$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`. */ @@ -1674,6 +1691,10 @@ export namespace container_v1 { * GCFS (Google Container File System, also known as Riptide) options. */ gcfsConfig?: Schema$GcfsConfig; + /** + * Logging configuration for node pools. + */ + loggingConfig?: Schema$NodePoolLoggingConfig; } /** * Node kubelet configs. @@ -1867,6 +1888,15 @@ export namespace container_v1 { */ nodeConfigDefaults?: Schema$NodeConfigDefaults; } + /** + * NodePoolLoggingConfig specifies logging configuration for nodepools. + */ + export interface Schema$NodePoolLoggingConfig { + /** + * Logging variant configuration. + */ + variantConfig?: Schema$LoggingVariantConfig; + } /** * Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. */ @@ -2095,7 +2125,7 @@ export namespace container_v1 { */ consumeReservationType?: string | null; /** - * Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the key and specify the name of your reservation as its value. + * 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 | null; /** @@ -2792,6 +2822,10 @@ export namespace container_v1 { * 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. */ locations?: string[] | null; + /** + * Logging configuration. + */ + loggingConfig?: Schema$NodePoolLoggingConfig; /** * The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/x/locations/x/clusters/x/nodePools/x`. */ @@ -7788,6 +7822,7 @@ export namespace container_v1 { * // "labels": {}, * // "linuxNodeConfig": {}, * // "locations": [], + * // "loggingConfig": {}, * // "name": "my_name", * // "nodeNetworkConfig": {}, * // "nodePoolId": "my_nodePoolId", @@ -13222,6 +13257,7 @@ export namespace container_v1 { * // "labels": {}, * // "linuxNodeConfig": {}, * // "locations": [], + * // "loggingConfig": {}, * // "name": "my_name", * // "nodeNetworkConfig": {}, * // "nodePoolId": "my_nodePoolId", diff --git a/src/apis/container/v1beta1.ts b/src/apis/container/v1beta1.ts index d5cb10d656..78f8bc7fe5 100644 --- a/src/apis/container/v1beta1.ts +++ b/src/apis/container/v1beta1.ts @@ -258,7 +258,7 @@ export namespace container_v1beta1 { */ management?: Schema$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 https://cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass "automatic" as field value. + * 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 https://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 | null; /** @@ -855,6 +855,10 @@ export namespace container_v1beta1 { * 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 | null; + /** + * The desired node pool logging configuration defaults for the cluster. + */ + desiredNodePoolLoggingConfig?: Schema$NodePoolLoggingConfig; /** * 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 */ @@ -1551,6 +1555,15 @@ export namespace container_v1beta1 { */ componentConfig?: Schema$LoggingComponentConfig; } + /** + * LoggingVariantConfig specifies the behaviour of the logging component. + */ + export interface Schema$LoggingVariantConfig { + /** + * Logging variant deployed on nodes. + */ + variant?: string | null; + } /** * Represents the Maintenance exclusion option. */ @@ -1848,6 +1861,10 @@ export namespace container_v1beta1 { * 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 | null; + /** + * Logging configuration. + */ + loggingConfig?: Schema$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`. */ @@ -1857,7 +1874,7 @@ export namespace container_v1beta1 { */ metadata?: {[key: string]: string} | null; /** - * 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) + * 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 | null; /** @@ -1913,6 +1930,10 @@ export namespace container_v1beta1 { * GCFS (Google Container File System, also known as Riptide) options. */ gcfsConfig?: Schema$GcfsConfig; + /** + * Logging configuration for node pools. + */ + loggingConfig?: Schema$NodePoolLoggingConfig; } /** * Node kubelet configs. @@ -2110,6 +2131,15 @@ export namespace container_v1beta1 { */ nodeConfigDefaults?: Schema$NodeConfigDefaults; } + /** + * NodePoolLoggingConfig specifies logging configuration for nodepools. + */ + export interface Schema$NodePoolLoggingConfig { + /** + * Logging variant configuration. + */ + variantConfig?: Schema$LoggingVariantConfig; + } /** * Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. */ @@ -2369,7 +2399,7 @@ export namespace container_v1beta1 { */ consumeReservationType?: string | null; /** - * Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the key and specify the name of your reservation as its value. + * 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 | null; /** @@ -3091,6 +3121,10 @@ export namespace container_v1beta1 { * 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. */ locations?: string[] | null; + /** + * Logging configuration. + */ + loggingConfig?: Schema$NodePoolLoggingConfig; /** * The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/x/locations/x/clusters/x/nodePools/x`. */ @@ -8313,6 +8347,7 @@ export namespace container_v1beta1 { * // "labels": {}, * // "linuxNodeConfig": {}, * // "locations": [], + * // "loggingConfig": {}, * // "name": "my_name", * // "nodeNetworkConfig": {}, * // "nodePoolId": "my_nodePoolId", @@ -13763,6 +13798,7 @@ export namespace container_v1beta1 { * // "labels": {}, * // "linuxNodeConfig": {}, * // "locations": [], + * // "loggingConfig": {}, * // "name": "my_name", * // "nodeNetworkConfig": {}, * // "nodePoolId": "my_nodePoolId",