Skip to content

Commit cf47608

Browse files
feat(container): update the api
#### container:v1 The following keys were added: - schemas.NodeConfig.properties.maxRunDuration (Total Keys: 2) - schemas.UpdateNodePoolRequest.properties.maxRunDuration (Total Keys: 2) #### container:v1beta1 The following keys were added: - schemas.NodeConfig.properties.maxRunDuration (Total Keys: 2) - schemas.UpdateNodePoolRequest.properties.maxRunDuration (Total Keys: 2)
1 parent 8d6384e commit cf47608

10 files changed

+84
-24
lines changed

docs/dyn/container_v1.projects.locations.clusters.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ <h3>Method Details</h3>
326326
},
327327
&quot;autopilot&quot;: { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster.
328328
&quot;enabled&quot;: True or False, # Enable Autopilot
329-
&quot;workloadPolicyConfig&quot;: { # WorkloadPolicyConfig is the configuration of workload policy for autopilot clusters. # Workload policy configuration for Autopilot.
329+
&quot;workloadPolicyConfig&quot;: { # WorkloadPolicyConfig is the configuration related to GCW workload policy # WorkloadPolicyConfig is the configuration related to GCW workload policy
330330
&quot;allowNetAdmin&quot;: True or False, # If true, workloads can use NET_ADMIN capability.
331331
},
332332
},
@@ -724,6 +724,7 @@ <h3>Method Details</h3>
724724
},
725725
},
726726
&quot;machineType&quot;: &quot;A String&quot;, # 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`.
727+
&quot;maxRunDuration&quot;: &quot;A String&quot;, # The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
727728
&quot;metadata&quot;: { # 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: - &quot;cluster-location&quot; - &quot;cluster-name&quot; - &quot;cluster-uid&quot; - &quot;configure-sh&quot; - &quot;containerd-configure-sh&quot; - &quot;enable-os-login&quot; - &quot;gci-ensure-gke-docker&quot; - &quot;gci-metrics-enabled&quot; - &quot;gci-update-strategy&quot; - &quot;instance-template&quot; - &quot;kube-env&quot; - &quot;startup-script&quot; - &quot;user-data&quot; - &quot;disable-address-manager&quot; - &quot;windows-startup-script-ps1&quot; - &quot;common-psm1&quot; - &quot;k8s-node-setup-psm1&quot; - &quot;install-ssh-psm1&quot; - &quot;user-profile-psm1&quot; 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&#x27;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.
728729
&quot;a_key&quot;: &quot;A String&quot;,
729730
},
@@ -968,6 +969,7 @@ <h3>Method Details</h3>
968969
},
969970
},
970971
&quot;machineType&quot;: &quot;A String&quot;, # 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`.
972+
&quot;maxRunDuration&quot;: &quot;A String&quot;, # The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
971973
&quot;metadata&quot;: { # 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: - &quot;cluster-location&quot; - &quot;cluster-name&quot; - &quot;cluster-uid&quot; - &quot;configure-sh&quot; - &quot;containerd-configure-sh&quot; - &quot;enable-os-login&quot; - &quot;gci-ensure-gke-docker&quot; - &quot;gci-metrics-enabled&quot; - &quot;gci-update-strategy&quot; - &quot;instance-template&quot; - &quot;kube-env&quot; - &quot;startup-script&quot; - &quot;user-data&quot; - &quot;disable-address-manager&quot; - &quot;windows-startup-script-ps1&quot; - &quot;common-psm1&quot; - &quot;k8s-node-setup-psm1&quot; - &quot;install-ssh-psm1&quot; - &quot;user-profile-psm1&quot; 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&#x27;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.
972974
&quot;a_key&quot;: &quot;A String&quot;,
973975
},
@@ -1429,7 +1431,7 @@ <h3>Method Details</h3>
14291431
},
14301432
&quot;autopilot&quot;: { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster.
14311433
&quot;enabled&quot;: True or False, # Enable Autopilot
1432-
&quot;workloadPolicyConfig&quot;: { # WorkloadPolicyConfig is the configuration of workload policy for autopilot clusters. # Workload policy configuration for Autopilot.
1434+
&quot;workloadPolicyConfig&quot;: { # WorkloadPolicyConfig is the configuration related to GCW workload policy # WorkloadPolicyConfig is the configuration related to GCW workload policy
14331435
&quot;allowNetAdmin&quot;: True or False, # If true, workloads can use NET_ADMIN capability.
14341436
},
14351437
},
@@ -1827,6 +1829,7 @@ <h3>Method Details</h3>
18271829
},
18281830
},
18291831
&quot;machineType&quot;: &quot;A String&quot;, # 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`.
1832+
&quot;maxRunDuration&quot;: &quot;A String&quot;, # The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
18301833
&quot;metadata&quot;: { # 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: - &quot;cluster-location&quot; - &quot;cluster-name&quot; - &quot;cluster-uid&quot; - &quot;configure-sh&quot; - &quot;containerd-configure-sh&quot; - &quot;enable-os-login&quot; - &quot;gci-ensure-gke-docker&quot; - &quot;gci-metrics-enabled&quot; - &quot;gci-update-strategy&quot; - &quot;instance-template&quot; - &quot;kube-env&quot; - &quot;startup-script&quot; - &quot;user-data&quot; - &quot;disable-address-manager&quot; - &quot;windows-startup-script-ps1&quot; - &quot;common-psm1&quot; - &quot;k8s-node-setup-psm1&quot; - &quot;install-ssh-psm1&quot; - &quot;user-profile-psm1&quot; 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&#x27;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.
18311834
&quot;a_key&quot;: &quot;A String&quot;,
18321835
},
@@ -2071,6 +2074,7 @@ <h3>Method Details</h3>
20712074
},
20722075
},
20732076
&quot;machineType&quot;: &quot;A String&quot;, # 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`.
2077+
&quot;maxRunDuration&quot;: &quot;A String&quot;, # The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
20742078
&quot;metadata&quot;: { # 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: - &quot;cluster-location&quot; - &quot;cluster-name&quot; - &quot;cluster-uid&quot; - &quot;configure-sh&quot; - &quot;containerd-configure-sh&quot; - &quot;enable-os-login&quot; - &quot;gci-ensure-gke-docker&quot; - &quot;gci-metrics-enabled&quot; - &quot;gci-update-strategy&quot; - &quot;instance-template&quot; - &quot;kube-env&quot; - &quot;startup-script&quot; - &quot;user-data&quot; - &quot;disable-address-manager&quot; - &quot;windows-startup-script-ps1&quot; - &quot;common-psm1&quot; - &quot;k8s-node-setup-psm1&quot; - &quot;install-ssh-psm1&quot; - &quot;user-profile-psm1&quot; 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&#x27;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.
20752079
&quot;a_key&quot;: &quot;A String&quot;,
20762080
},
@@ -2435,7 +2439,7 @@ <h3>Method Details</h3>
24352439
},
24362440
&quot;autopilot&quot;: { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster.
24372441
&quot;enabled&quot;: True or False, # Enable Autopilot
2438-
&quot;workloadPolicyConfig&quot;: { # WorkloadPolicyConfig is the configuration of workload policy for autopilot clusters. # Workload policy configuration for Autopilot.
2442+
&quot;workloadPolicyConfig&quot;: { # WorkloadPolicyConfig is the configuration related to GCW workload policy # WorkloadPolicyConfig is the configuration related to GCW workload policy
24392443
&quot;allowNetAdmin&quot;: True or False, # If true, workloads can use NET_ADMIN capability.
24402444
},
24412445
},
@@ -2833,6 +2837,7 @@ <h3>Method Details</h3>
28332837
},
28342838
},
28352839
&quot;machineType&quot;: &quot;A String&quot;, # 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`.
2840+
&quot;maxRunDuration&quot;: &quot;A String&quot;, # The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
28362841
&quot;metadata&quot;: { # 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: - &quot;cluster-location&quot; - &quot;cluster-name&quot; - &quot;cluster-uid&quot; - &quot;configure-sh&quot; - &quot;containerd-configure-sh&quot; - &quot;enable-os-login&quot; - &quot;gci-ensure-gke-docker&quot; - &quot;gci-metrics-enabled&quot; - &quot;gci-update-strategy&quot; - &quot;instance-template&quot; - &quot;kube-env&quot; - &quot;startup-script&quot; - &quot;user-data&quot; - &quot;disable-address-manager&quot; - &quot;windows-startup-script-ps1&quot; - &quot;common-psm1&quot; - &quot;k8s-node-setup-psm1&quot; - &quot;install-ssh-psm1&quot; - &quot;user-profile-psm1&quot; 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&#x27;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.
28372842
&quot;a_key&quot;: &quot;A String&quot;,
28382843
},
@@ -3077,6 +3082,7 @@ <h3>Method Details</h3>
30773082
},
30783083
},
30793084
&quot;machineType&quot;: &quot;A String&quot;, # 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`.
3085+
&quot;maxRunDuration&quot;: &quot;A String&quot;, # The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
30803086
&quot;metadata&quot;: { # 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: - &quot;cluster-location&quot; - &quot;cluster-name&quot; - &quot;cluster-uid&quot; - &quot;configure-sh&quot; - &quot;containerd-configure-sh&quot; - &quot;enable-os-login&quot; - &quot;gci-ensure-gke-docker&quot; - &quot;gci-metrics-enabled&quot; - &quot;gci-update-strategy&quot; - &quot;instance-template&quot; - &quot;kube-env&quot; - &quot;startup-script&quot; - &quot;user-data&quot; - &quot;disable-address-manager&quot; - &quot;windows-startup-script-ps1&quot; - &quot;common-psm1&quot; - &quot;k8s-node-setup-psm1&quot; - &quot;install-ssh-psm1&quot; - &quot;user-profile-psm1&quot; 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&#x27;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.
30813087
&quot;a_key&quot;: &quot;A String&quot;,
30823088
},
@@ -4289,7 +4295,7 @@ <h3>Method Details</h3>
42894295
&quot;enabled&quot;: True or False, # Whether this cluster should return group membership lookups during authentication using a group of security groups.
42904296
&quot;securityGroup&quot;: &quot;A String&quot;, # The name of the security group-of-groups to be used. Only relevant if enabled = true.
42914297
},
4292-
&quot;desiredAutopilotWorkloadPolicyConfig&quot;: { # WorkloadPolicyConfig is the configuration of workload policy for autopilot clusters. # The desired workload policy configuration for the autopilot cluster.
4298+
&quot;desiredAutopilotWorkloadPolicyConfig&quot;: { # WorkloadPolicyConfig is the configuration related to GCW workload policy # WorkloadPolicyConfig is the configuration related to GCW workload policy
42934299
&quot;allowNetAdmin&quot;: True or False, # If true, workloads can use NET_ADMIN capability.
42944300
},
42954301
&quot;desiredBinaryAuthorization&quot;: { # Configuration for Binary Authorization. # The desired configuration options for the Binary Authorization feature.

docs/dyn/container_v1.projects.locations.clusters.nodePools.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ <h3>Method Details</h3>
255255
},
256256
},
257257
&quot;machineType&quot;: &quot;A String&quot;, # 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`.
258+
&quot;maxRunDuration&quot;: &quot;A String&quot;, # The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
258259
&quot;metadata&quot;: { # 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: - &quot;cluster-location&quot; - &quot;cluster-name&quot; - &quot;cluster-uid&quot; - &quot;configure-sh&quot; - &quot;containerd-configure-sh&quot; - &quot;enable-os-login&quot; - &quot;gci-ensure-gke-docker&quot; - &quot;gci-metrics-enabled&quot; - &quot;gci-update-strategy&quot; - &quot;instance-template&quot; - &quot;kube-env&quot; - &quot;startup-script&quot; - &quot;user-data&quot; - &quot;disable-address-manager&quot; - &quot;windows-startup-script-ps1&quot; - &quot;common-psm1&quot; - &quot;k8s-node-setup-psm1&quot; - &quot;install-ssh-psm1&quot; - &quot;user-profile-psm1&quot; 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&#x27;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.
259260
&quot;a_key&quot;: &quot;A String&quot;,
260261
},
@@ -678,6 +679,7 @@ <h3>Method Details</h3>
678679
},
679680
},
680681
&quot;machineType&quot;: &quot;A String&quot;, # 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`.
682+
&quot;maxRunDuration&quot;: &quot;A String&quot;, # The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
681683
&quot;metadata&quot;: { # 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: - &quot;cluster-location&quot; - &quot;cluster-name&quot; - &quot;cluster-uid&quot; - &quot;configure-sh&quot; - &quot;containerd-configure-sh&quot; - &quot;enable-os-login&quot; - &quot;gci-ensure-gke-docker&quot; - &quot;gci-metrics-enabled&quot; - &quot;gci-update-strategy&quot; - &quot;instance-template&quot; - &quot;kube-env&quot; - &quot;startup-script&quot; - &quot;user-data&quot; - &quot;disable-address-manager&quot; - &quot;windows-startup-script-ps1&quot; - &quot;common-psm1&quot; - &quot;k8s-node-setup-psm1&quot; - &quot;install-ssh-psm1&quot; - &quot;user-profile-psm1&quot; 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&#x27;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.
682684
&quot;a_key&quot;: &quot;A String&quot;,
683685
},
@@ -967,6 +969,7 @@ <h3>Method Details</h3>
967969
},
968970
},
969971
&quot;machineType&quot;: &quot;A String&quot;, # 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`.
972+
&quot;maxRunDuration&quot;: &quot;A String&quot;, # The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
970973
&quot;metadata&quot;: { # 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: - &quot;cluster-location&quot; - &quot;cluster-name&quot; - &quot;cluster-uid&quot; - &quot;configure-sh&quot; - &quot;containerd-configure-sh&quot; - &quot;enable-os-login&quot; - &quot;gci-ensure-gke-docker&quot; - &quot;gci-metrics-enabled&quot; - &quot;gci-update-strategy&quot; - &quot;instance-template&quot; - &quot;kube-env&quot; - &quot;startup-script&quot; - &quot;user-data&quot; - &quot;disable-address-manager&quot; - &quot;windows-startup-script-ps1&quot; - &quot;common-psm1&quot; - &quot;k8s-node-setup-psm1&quot; - &quot;install-ssh-psm1&quot; - &quot;user-profile-psm1&quot; 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&#x27;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.
971974
&quot;a_key&quot;: &quot;A String&quot;,
972975
},
@@ -1550,6 +1553,7 @@ <h3>Method Details</h3>
15501553
},
15511554
},
15521555
&quot;machineType&quot;: &quot;A String&quot;, # Optional. The desired [Google Compute Engine machine type](https://cloud.google.com/compute/docs/machine-types) for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.
1556+
&quot;maxRunDuration&quot;: &quot;A String&quot;, # The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
15531557
&quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
15541558
&quot;nodeNetworkConfig&quot;: { # Parameters for node pool-level network config. # Node network config.
15551559
&quot;additionalNodeNetworkConfigs&quot;: [ # We specify the additional node networks for this node pool using this list. Each node network corresponds to an additional interface

0 commit comments

Comments
 (0)