Skip to content

Commit

Permalink
feat(container): update the API
Browse files Browse the repository at this point in the history
#### container:v1beta1

The following keys were added:
- schemas.Autopilot.properties.conversionStatus.$ref
- schemas.Autopilot.properties.conversionStatus.description
- schemas.AutopilotConversionStatus.description
- schemas.AutopilotConversionStatus.id
- schemas.AutopilotConversionStatus.properties.state.description
- schemas.AutopilotConversionStatus.properties.state.enum
- schemas.AutopilotConversionStatus.properties.state.enumDescriptions
- schemas.AutopilotConversionStatus.properties.state.readOnly
- schemas.AutopilotConversionStatus.properties.state.type
- schemas.AutopilotConversionStatus.type
- schemas.Cluster.properties.enterpriseConfig.$ref
- schemas.Cluster.properties.enterpriseConfig.description
- schemas.ClusterUpdate.properties.desiredNodePoolAutoConfigResourceManagerTags.$ref
- schemas.ClusterUpdate.properties.desiredNodePoolAutoConfigResourceManagerTags.description
- schemas.EnterpriseConfig.description
- schemas.EnterpriseConfig.id
- schemas.EnterpriseConfig.properties.clusterTier.description
- schemas.EnterpriseConfig.properties.clusterTier.enum
- schemas.EnterpriseConfig.properties.clusterTier.enumDescriptions
- schemas.EnterpriseConfig.properties.clusterTier.readOnly
- schemas.EnterpriseConfig.properties.clusterTier.type
- schemas.EnterpriseConfig.type
- schemas.HostMaintenancePolicy.properties.opportunisticMaintenanceStrategy.$ref
- schemas.HostMaintenancePolicy.properties.opportunisticMaintenanceStrategy.description
- schemas.NodeConfig.properties.resourceManagerTags.$ref
- schemas.NodeConfig.properties.resourceManagerTags.description
- schemas.NodePool.properties.queuedProvisioning.$ref
- schemas.NodePool.properties.queuedProvisioning.description
- schemas.NodePoolAutoConfig.properties.resourceManagerTags.$ref
- schemas.NodePoolAutoConfig.properties.resourceManagerTags.description
- schemas.OpportunisticMaintenanceStrategy.description
- schemas.OpportunisticMaintenanceStrategy.id
- schemas.OpportunisticMaintenanceStrategy.properties.maintenanceAvailabilityWindow.description
- schemas.OpportunisticMaintenanceStrategy.properties.maintenanceAvailabilityWindow.format
- schemas.OpportunisticMaintenanceStrategy.properties.maintenanceAvailabilityWindow.type
- schemas.OpportunisticMaintenanceStrategy.properties.minNodesPerPool.description
- schemas.OpportunisticMaintenanceStrategy.properties.minNodesPerPool.format
- schemas.OpportunisticMaintenanceStrategy.properties.minNodesPerPool.type
- schemas.OpportunisticMaintenanceStrategy.properties.nodeIdleTimeWindow.description
- schemas.OpportunisticMaintenanceStrategy.properties.nodeIdleTimeWindow.format
- schemas.OpportunisticMaintenanceStrategy.properties.nodeIdleTimeWindow.type
- schemas.OpportunisticMaintenanceStrategy.type
- schemas.QueuedProvisioning.description
- schemas.QueuedProvisioning.id
- schemas.QueuedProvisioning.properties.enabled.description
- schemas.QueuedProvisioning.properties.enabled.type
- schemas.QueuedProvisioning.type
- schemas.ResourceManagerTags.description
- schemas.ResourceManagerTags.id
- schemas.ResourceManagerTags.properties.tags.additionalProperties.type
- schemas.ResourceManagerTags.properties.tags.description
- schemas.ResourceManagerTags.properties.tags.type
- schemas.ResourceManagerTags.type
- schemas.UpdateNodePoolRequest.properties.resourceManagerTags.$ref
- schemas.UpdateNodePoolRequest.properties.resourceManagerTags.description

The following keys were changed:
- schemas.GatewayAPIConfig.properties.channel.enum
- schemas.GatewayAPIConfig.properties.channel.enumDescriptions
- schemas.NodePool.description
- schemas.Operation.properties.operationType.enum
- schemas.Operation.properties.operationType.enumDeprecated
- schemas.Operation.properties.operationType.enumDescriptions
- schemas.UpgradeSettings.description

#### container:v1

The following keys were added:
- schemas.Cluster.properties.enterpriseConfig.$ref
- schemas.Cluster.properties.enterpriseConfig.description
- schemas.ClusterUpdate.properties.desiredNodePoolAutoConfigResourceManagerTags.$ref
- schemas.ClusterUpdate.properties.desiredNodePoolAutoConfigResourceManagerTags.description
- schemas.EnterpriseConfig.description
- schemas.EnterpriseConfig.id
- schemas.EnterpriseConfig.properties.clusterTier.description
- schemas.EnterpriseConfig.properties.clusterTier.enum
- schemas.EnterpriseConfig.properties.clusterTier.enumDescriptions
- schemas.EnterpriseConfig.properties.clusterTier.readOnly
- schemas.EnterpriseConfig.properties.clusterTier.type
- schemas.EnterpriseConfig.type
- schemas.NodeConfig.properties.resourceManagerTags.$ref
- schemas.NodeConfig.properties.resourceManagerTags.description
- schemas.NodePool.properties.queuedProvisioning.$ref
- schemas.NodePool.properties.queuedProvisioning.description
- schemas.NodePoolAutoConfig.properties.resourceManagerTags.$ref
- schemas.NodePoolAutoConfig.properties.resourceManagerTags.description
- schemas.QueuedProvisioning.description
- schemas.QueuedProvisioning.id
- schemas.QueuedProvisioning.properties.enabled.description
- schemas.QueuedProvisioning.properties.enabled.type
- schemas.QueuedProvisioning.type
- schemas.ResourceManagerTags.description
- schemas.ResourceManagerTags.id
- schemas.ResourceManagerTags.properties.tags.additionalProperties.type
- schemas.ResourceManagerTags.properties.tags.description
- schemas.ResourceManagerTags.properties.tags.type
- schemas.ResourceManagerTags.type
- schemas.UpdateNodePoolRequest.properties.resourceManagerTags.$ref
- schemas.UpdateNodePoolRequest.properties.resourceManagerTags.description

The following keys were changed:
- schemas.GatewayAPIConfig.properties.channel.enum
- schemas.GatewayAPIConfig.properties.channel.enumDescriptions
- schemas.Operation.properties.operationType.enum
- schemas.Operation.properties.operationType.enumDeprecated
- schemas.Operation.properties.operationType.enumDescriptions
  • Loading branch information
yoshi-automation authored and sofisl committed Nov 27, 2023
1 parent 8a9ad40 commit 4ea00b4
Show file tree
Hide file tree
Showing 4 changed files with 348 additions and 10 deletions.
82 changes: 79 additions & 3 deletions discovery/container-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2540,7 +2540,7 @@
}
}
},
"revision": "20230919",
"revision": "20231030",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -3173,6 +3173,10 @@
"description": "[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.",
"type": "string"
},
"enterpriseConfig": {
"$ref": "EnterpriseConfig",
"description": "GKE Enterprise Configuration."
},
"etag": {
"description": "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.",
"type": "string"
Expand Down Expand Up @@ -3605,6 +3609,10 @@
"$ref": "NetworkTags",
"description": "The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters."
},
"desiredNodePoolAutoConfigResourceManagerTags": {
"$ref": "ResourceManagerTags",
"description": "The desired resource manager tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters."
},
"desiredNodePoolAutoscaling": {
"$ref": "NodePoolAutoscaling",
"description": "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."
Expand Down Expand Up @@ -3946,6 +3954,28 @@
"properties": {},
"type": "object"
},
"EnterpriseConfig": {
"description": "EnterpriseConfig is the cluster enterprise configuration.",
"id": "EnterpriseConfig",
"properties": {
"clusterTier": {
"description": "Output only. [Output only] cluster_tier specifies the premium tier of the cluster.",
"enum": [
"CLUSTER_TIER_UNSPECIFIED",
"STANDARD",
"ENTERPRISE"
],
"enumDescriptions": [
"CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.",
"STANDARD indicates a standard GKE cluster.",
"ENTERPRISE indicates a GKE Enterprise cluster."
],
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"EphemeralStorageLocalSsdConfig": {
"description": "EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs.",
"id": "EphemeralStorageLocalSsdConfig",
Expand Down Expand Up @@ -4070,11 +4100,13 @@
"enum": [
"CHANNEL_UNSPECIFIED",
"CHANNEL_DISABLED",
"CHANNEL_EXPERIMENTAL",
"CHANNEL_STANDARD"
],
"enumDescriptions": [
"Default value.",
"Gateway API support is disabled",
"Gateway API support is enabled, experimental CRDs are installed",
"Gateway API support is enabled, standard CRDs are installed"
],
"type": "string"
Expand Down Expand Up @@ -5186,6 +5218,10 @@
"description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources.",
"type": "object"
},
"resourceManagerTags": {
"$ref": "ResourceManagerTags",
"description": "A map of resource manager tag keys and values to be attached to the nodes."
},
"sandboxConfig": {
"$ref": "SandboxConfig",
"description": "Sandbox configuration for this node."
Expand Down Expand Up @@ -5429,6 +5465,10 @@
"format": "int32",
"type": "integer"
},
"queuedProvisioning": {
"$ref": "QueuedProvisioning",
"description": "Specifies the configuration of queued provisioning."
},
"selfLink": {
"description": "[Output only] Server-defined URL for the resource.",
"type": "string"
Expand Down Expand Up @@ -5483,6 +5523,10 @@
"networkTags": {
"$ref": "NetworkTags",
"description": "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."
},
"resourceManagerTags": {
"$ref": "ResourceManagerTags",
"description": "Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies."
}
},
"type": "object"
Expand Down Expand Up @@ -5674,7 +5718,8 @@
"SET_NODE_POOL_SIZE",
"SET_NETWORK_POLICY",
"SET_MAINTENANCE_POLICY",
"RESIZE_CLUSTER"
"RESIZE_CLUSTER",
"FLEET_FEATURE_UPGRADE"
],
"enumDeprecated": [
false,
Expand All @@ -5694,6 +5739,7 @@
false,
true,
true,
false,
false
],
"enumDescriptions": [
Expand All @@ -5714,7 +5760,8 @@
"The node pool is being resized. With the exception of resizing to or from size zero, the node pool is generally usable during this operation.",
"Unused. Updating network policy uses UPDATE_CLUSTER.",
"Unused. Updating maintenance policy uses UPDATE_CLUSTER.",
"The control plane is being resized. This operation type is initiated by GKE. These operations are often performed preemptively to ensure that the control plane has sufficient resources and is not typically an indication of issues. For more details, see [documentation on resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs)."
"The control plane is being resized. This operation type is initiated by GKE. These operations are often performed preemptively to ensure that the control plane has sufficient resources and is not typically an indication of issues. For more details, see [documentation on resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).",
"Fleet features of GKE Enterprise are being upgraded. The cluster should be assumed to be blocked for other upgrades until the operation finishes."
],
"type": "string"
},
Expand Down Expand Up @@ -5935,6 +5982,17 @@
},
"type": "object"
},
"QueuedProvisioning": {
"description": "QueuedProvisioning defines the queued provisioning used by the node pool.",
"id": "QueuedProvisioning",
"properties": {
"enabled": {
"description": "Denotes that this nodepool is QRM specific, meaning nodes can be only obtained through queuing via the Cluster Autoscaler ProvisioningRequest API.",
"type": "boolean"
}
},
"type": "object"
},
"RangeInfo": {
"description": "RangeInfo contains the range name and the range utilization by this cluster.",
"id": "RangeInfo",
Expand Down Expand Up @@ -6094,6 +6152,20 @@
},
"type": "object"
},
"ResourceManagerTags": {
"description": "A map of resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Tags must be according to specifications in https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be specified. Existing tags will be replaced with new values.",
"id": "ResourceManagerTags",
"properties": {
"tags": {
"additionalProperties": {
"type": "string"
},
"description": "TagKeyValue 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}`",
"type": "object"
}
},
"type": "object"
},
"ResourceUsageExportConfig": {
"description": "Configuration for exporting cluster resource usages.",
"id": "ResourceUsageExportConfig",
Expand Down Expand Up @@ -7093,6 +7165,10 @@
"$ref": "ResourceLabels",
"description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources."
},
"resourceManagerTags": {
"$ref": "ResourceManagerTags",
"description": "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."
},
"tags": {
"$ref": "NetworkTags",
"description": "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."
Expand Down
Loading

0 comments on commit 4ea00b4

Please sign in to comment.