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.Cluster.properties.nodePoolDefaults.$ref (Total Keys: 1)
- schemas.Date (Total Keys: 8)
- schemas.NodeConfigDefaults (Total Keys: 2)
- schemas.NodePoolDefaults (Total Keys: 3)
- schemas.ServerConfig.properties.windowsVersionMaps (Total Keys: 2)
- schemas.WindowsVersion (Total Keys: 9)
  • Loading branch information
yoshi-automation committed May 27, 2021
1 parent 9b8d8fb commit 514acdb
Show file tree
Hide file tree
Showing 5 changed files with 142 additions and 3 deletions.
12 changes: 12 additions & 0 deletions docs/dyn/container_v1beta1.projects.locations.clusters.html
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,10 @@ <h3>Method Details</h3>
},
},
&quot;nodeIpv4CidrSize&quot;: 42, # [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.
&quot;nodePoolDefaults&quot;: { # Subset of Nodepool message that has defaults. # Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
&quot;nodeConfigDefaults&quot;: { # Subset of NodeConfig message that has defaults. # Subset of NodeConfig message that has defaults.
},
},
&quot;nodePools&quot;: [ # The node pools associated with this cluster. This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are specified.
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
Expand Down Expand Up @@ -1138,6 +1142,10 @@ <h3>Method Details</h3>
},
},
&quot;nodeIpv4CidrSize&quot;: 42, # [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.
&quot;nodePoolDefaults&quot;: { # Subset of Nodepool message that has defaults. # Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
&quot;nodeConfigDefaults&quot;: { # Subset of NodeConfig message that has defaults. # Subset of NodeConfig message that has defaults.
},
},
&quot;nodePools&quot;: [ # The node pools associated with this cluster. This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are specified.
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
Expand Down Expand Up @@ -1661,6 +1669,10 @@ <h3>Method Details</h3>
},
},
&quot;nodeIpv4CidrSize&quot;: 42, # [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.
&quot;nodePoolDefaults&quot;: { # Subset of Nodepool message that has defaults. # Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
&quot;nodeConfigDefaults&quot;: { # Subset of NodeConfig message that has defaults. # Subset of NodeConfig message that has defaults.
},
},
&quot;nodePools&quot;: [ # The node pools associated with this cluster. This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are specified.
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
Expand Down
15 changes: 15 additions & 0 deletions docs/dyn/container_v1beta1.projects.locations.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,21 @@ <h3>Method Details</h3>
&quot;validNodeVersions&quot;: [ # List of valid node upgrade target versions, in descending order.
&quot;A String&quot;,
],
&quot;windowsVersionMaps&quot;: { # Maps of Kubernetes version and supported Windows server versions.
&quot;a_key&quot;: { # Windows server versions.
&quot;windowsVersions&quot;: [ # List of Windows server versions.
{ # Windows server version.
&quot;imageType&quot;: &quot;A String&quot;, # Windows server image type
&quot;osVersion&quot;: &quot;A String&quot;, # Windows server build number
&quot;supportEndDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`. # Mainstream support end date
&quot;day&quot;: 42, # 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&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
],
},
},
}</pre>
</div>

Expand Down
12 changes: 12 additions & 0 deletions docs/dyn/container_v1beta1.projects.zones.clusters.html
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,10 @@ <h3>Method Details</h3>
},
},
&quot;nodeIpv4CidrSize&quot;: 42, # [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.
&quot;nodePoolDefaults&quot;: { # Subset of Nodepool message that has defaults. # Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
&quot;nodeConfigDefaults&quot;: { # Subset of NodeConfig message that has defaults. # Subset of NodeConfig message that has defaults.
},
},
&quot;nodePools&quot;: [ # The node pools associated with this cluster. This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are specified.
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
Expand Down Expand Up @@ -1246,6 +1250,10 @@ <h3>Method Details</h3>
},
},
&quot;nodeIpv4CidrSize&quot;: 42, # [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.
&quot;nodePoolDefaults&quot;: { # Subset of Nodepool message that has defaults. # Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
&quot;nodeConfigDefaults&quot;: { # Subset of NodeConfig message that has defaults. # Subset of NodeConfig message that has defaults.
},
},
&quot;nodePools&quot;: [ # The node pools associated with this cluster. This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are specified.
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
Expand Down Expand Up @@ -1813,6 +1821,10 @@ <h3>Method Details</h3>
},
},
&quot;nodeIpv4CidrSize&quot;: 42, # [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.
&quot;nodePoolDefaults&quot;: { # Subset of Nodepool message that has defaults. # Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
&quot;nodeConfigDefaults&quot;: { # Subset of NodeConfig message that has defaults. # Subset of NodeConfig message that has defaults.
},
},
&quot;nodePools&quot;: [ # The node pools associated with this cluster. This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are specified.
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
Expand Down
15 changes: 15 additions & 0 deletions docs/dyn/container_v1beta1.projects.zones.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,21 @@ <h3>Method Details</h3>
&quot;validNodeVersions&quot;: [ # List of valid node upgrade target versions, in descending order.
&quot;A String&quot;,
],
&quot;windowsVersionMaps&quot;: { # Maps of Kubernetes version and supported Windows server versions.
&quot;a_key&quot;: { # Windows server versions.
&quot;windowsVersions&quot;: [ # List of Windows server versions.
{ # Windows server version.
&quot;imageType&quot;: &quot;A String&quot;, # Windows server image type
&quot;osVersion&quot;: &quot;A String&quot;, # Windows server build number
&quot;supportEndDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`. # Mainstream support end date
&quot;day&quot;: 42, # 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&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
],
},
},
}</pre>
</div>

Expand Down
91 changes: 88 additions & 3 deletions googleapiclient/discovery_cache/documents/container.v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2484,7 +2484,7 @@
}
}
},
"revision": "20210508",
"revision": "20210517",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -2938,6 +2938,10 @@
"format": "int32",
"type": "integer"
},
"nodePoolDefaults": {
"$ref": "NodePoolDefaults",
"description": "Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object."
},
"nodePools": {
"description": "The node pools associated with this cluster. This field should not be set if \"node_config\" or \"initial_node_count\" are specified.",
"items": {
Expand Down Expand Up @@ -3456,6 +3460,28 @@
},
"type": "object"
},
"Date": {
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.",
"id": "Date",
"properties": {
"day": {
"description": "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.",
"format": "int32",
"type": "integer"
},
"month": {
"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
"format": "int32",
"type": "integer"
},
"year": {
"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"DefaultSnatStatus": {
"description": "DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster.",
"id": "DefaultSnatStatus",
Expand Down Expand Up @@ -4296,6 +4322,12 @@
},
"type": "object"
},
"NodeConfigDefaults": {
"description": "Subset of NodeConfig message that has defaults.",
"id": "NodeConfigDefaults",
"properties": {},
"type": "object"
},
"NodeKubeletConfig": {
"description": "Node kubelet configs.",
"id": "NodeKubeletConfig",
Expand Down Expand Up @@ -4492,6 +4524,17 @@
},
"type": "object"
},
"NodePoolDefaults": {
"description": "Subset of Nodepool message that has defaults.",
"id": "NodePoolDefaults",
"properties": {
"nodeConfigDefaults": {
"$ref": "NodeConfigDefaults",
"description": "Subset of NodeConfig message that has defaults."
}
},
"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",
Expand Down Expand Up @@ -5032,6 +5075,13 @@
"type": "string"
},
"type": "array"
},
"windowsVersionMaps": {
"additionalProperties": {
"$ref": "WindowsVersions"
},
"description": "Maps of Kubernetes version and supported Windows server versions.",
"type": "object"
}
},
"type": "object"
Expand Down Expand Up @@ -5533,15 +5583,17 @@
"GKE_SERVICE_ACCOUNT_DELETED",
"GCE_QUOTA_EXCEEDED",
"SET_BY_OPERATOR",
"CLOUD_KMS_KEY_ERROR"
"CLOUD_KMS_KEY_ERROR",
"CA_EXPIRING"
],
"enumDescriptions": [
"UNKNOWN indicates a generic condition.",
"GCE_STOCKOUT indicates that Google Compute Engine resources are temporarily unavailable.",
"GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot service account.",
"Google Compute Engine quota was exceeded.",
"Cluster state was manually changed by an SRE due to a system logic error.",
"Unable to perform an encrypt operation against the CloudKMS key used for etcd level encryption. More codes TBA"
"Unable to perform an encrypt operation against the CloudKMS key used for etcd level encryption.",
"Cluster CA is expiring soon. More codes TBA"
],
"type": "string"
},
Expand Down Expand Up @@ -5878,6 +5930,39 @@
},
"type": "object"
},
"WindowsVersion": {
"description": "Windows server version.",
"id": "WindowsVersion",
"properties": {
"imageType": {
"description": "Windows server image type",
"type": "string"
},
"osVersion": {
"description": "Windows server build number",
"type": "string"
},
"supportEndDate": {
"$ref": "Date",
"description": "Mainstream support end date"
}
},
"type": "object"
},
"WindowsVersions": {
"description": "Windows server versions.",
"id": "WindowsVersions",
"properties": {
"windowsVersions": {
"description": "List of Windows server versions.",
"items": {
"$ref": "WindowsVersion"
},
"type": "array"
}
},
"type": "object"
},
"WorkloadCertificates": {
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods.",
"id": "WorkloadCertificates",
Expand Down

0 comments on commit 514acdb

Please sign in to comment.