Skip to content

Commit

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

The following keys were added:
- schemas.AddonsConfig.properties.gkeBackupAgentConfig.$ref (Total Keys: 1)
- schemas.Cluster.properties.costManagementConfig.$ref (Total Keys: 1)
- schemas.ClusterUpdate.properties.desiredCostManagementConfig.$ref (Total Keys: 1)
- schemas.CostManagementConfig (Total Keys: 3)
- schemas.GkeBackupAgentConfig (Total Keys: 3)
- schemas.IPAllocationPolicy.properties.ipv6AccessType.type (Total Keys: 1)
- schemas.IPAllocationPolicy.properties.stackType.type (Total Keys: 1)

#### container:v1beta1

The following keys were added:
- schemas.ProtectConfig.properties.workloadVulnerabilityMode.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Oct 11, 2022
1 parent 2717d97 commit ea99aee
Show file tree
Hide file tree
Showing 6 changed files with 154 additions and 4 deletions.
33 changes: 33 additions & 0 deletions docs/dyn/container_v1.projects.locations.clusters.html

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions docs/dyn/container_v1.projects.zones.clusters.html

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions docs/dyn/container_v1beta1.projects.locations.clusters.html
Expand Up @@ -825,6 +825,7 @@ <h3>Method Details</h3>
&quot;workloadConfig&quot;: { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster&#x27;s workload configurations.
&quot;auditMode&quot;: &quot;A String&quot;, # Sets which mode of auditing should be used for the cluster&#x27;s workloads.
},
&quot;workloadVulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for Protect workload vulnerability scanning feature.
},
&quot;releaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled. # Release channel configuration.
&quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
Expand Down Expand Up @@ -1615,6 +1616,7 @@ <h3>Method Details</h3>
&quot;workloadConfig&quot;: { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster&#x27;s workload configurations.
&quot;auditMode&quot;: &quot;A String&quot;, # Sets which mode of auditing should be used for the cluster&#x27;s workloads.
},
&quot;workloadVulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for Protect workload vulnerability scanning feature.
},
&quot;releaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled. # Release channel configuration.
&quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
Expand Down Expand Up @@ -2308,6 +2310,7 @@ <h3>Method Details</h3>
&quot;workloadConfig&quot;: { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster&#x27;s workload configurations.
&quot;auditMode&quot;: &quot;A String&quot;, # Sets which mode of auditing should be used for the cluster&#x27;s workloads.
},
&quot;workloadVulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for Protect workload vulnerability scanning feature.
},
&quot;releaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled. # Release channel configuration.
&quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
Expand Down Expand Up @@ -3457,6 +3460,7 @@ <h3>Method Details</h3>
&quot;workloadConfig&quot;: { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster&#x27;s workload configurations.
&quot;auditMode&quot;: &quot;A String&quot;, # Sets which mode of auditing should be used for the cluster&#x27;s workloads.
},
&quot;workloadVulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for Protect workload vulnerability scanning feature.
},
&quot;desiredReleaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled. # The desired release channel configuration.
&quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
Expand Down
4 changes: 4 additions & 0 deletions docs/dyn/container_v1beta1.projects.zones.clusters.html
Expand Up @@ -939,6 +939,7 @@ <h3>Method Details</h3>
&quot;workloadConfig&quot;: { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster&#x27;s workload configurations.
&quot;auditMode&quot;: &quot;A String&quot;, # Sets which mode of auditing should be used for the cluster&#x27;s workloads.
},
&quot;workloadVulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for Protect workload vulnerability scanning feature.
},
&quot;releaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled. # Release channel configuration.
&quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
Expand Down Expand Up @@ -1729,6 +1730,7 @@ <h3>Method Details</h3>
&quot;workloadConfig&quot;: { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster&#x27;s workload configurations.
&quot;auditMode&quot;: &quot;A String&quot;, # Sets which mode of auditing should be used for the cluster&#x27;s workloads.
},
&quot;workloadVulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for Protect workload vulnerability scanning feature.
},
&quot;releaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled. # Release channel configuration.
&quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
Expand Down Expand Up @@ -2466,6 +2468,7 @@ <h3>Method Details</h3>
&quot;workloadConfig&quot;: { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster&#x27;s workload configurations.
&quot;auditMode&quot;: &quot;A String&quot;, # Sets which mode of auditing should be used for the cluster&#x27;s workloads.
},
&quot;workloadVulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for Protect workload vulnerability scanning feature.
},
&quot;releaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled. # Release channel configuration.
&quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
Expand Down Expand Up @@ -3518,6 +3521,7 @@ <h3>Method Details</h3>
&quot;workloadConfig&quot;: { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster&#x27;s workload configurations.
&quot;auditMode&quot;: &quot;A String&quot;, # Sets which mode of auditing should be used for the cluster&#x27;s workloads.
},
&quot;workloadVulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for Protect workload vulnerability scanning feature.
},
&quot;desiredReleaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled. # The desired release channel configuration.
&quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
Expand Down
66 changes: 64 additions & 2 deletions googleapiclient/discovery_cache/documents/container.v1.json
Expand Up @@ -2487,7 +2487,7 @@
}
}
},
"revision": "20220826",
"revision": "20220923",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -2538,6 +2538,10 @@
"$ref": "GcpFilestoreCsiDriverConfig",
"description": "Configuration for the GCP Filestore CSI driver."
},
"gkeBackupAgentConfig": {
"$ref": "GkeBackupAgentConfig",
"description": "Configuration for the Backup for GKE agent addon."
},
"horizontalPodAutoscaling": {
"$ref": "HorizontalPodAutoscaling",
"description": "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."
Expand Down Expand Up @@ -2879,6 +2883,10 @@
"$ref": "ConfidentialNodes",
"description": "Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled."
},
"costManagementConfig": {
"$ref": "CostManagementConfig",
"description": "Configuration for the fine-grained cost management feature."
},
"createTime": {
"description": "[Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.",
"type": "string"
Expand Down Expand Up @@ -3191,6 +3199,10 @@
"$ref": "ClusterAutoscaling",
"description": "Cluster-level autoscaling configuration."
},
"desiredCostManagementConfig": {
"$ref": "CostManagementConfig",
"description": "The desired configuration for the fine-grained cost management feature."
},
"desiredDatabaseEncryption": {
"$ref": "DatabaseEncryption",
"description": "Configuration of etcd encryption."
Expand Down Expand Up @@ -3405,6 +3417,17 @@
},
"type": "object"
},
"CostManagementConfig": {
"description": "Configuration for fine-grained cost management feature.",
"id": "CostManagementConfig",
"properties": {
"enabled": {
"description": "Whether the feature is enabled or not.",
"type": "boolean"
}
},
"type": "object"
},
"CreateClusterRequest": {
"description": "CreateClusterRequest creates a cluster.",
"id": "CreateClusterRequest",
Expand Down Expand Up @@ -3715,6 +3738,17 @@
},
"type": "object"
},
"GkeBackupAgentConfig": {
"description": "Configuration for the Backup for GKE Agent.",
"id": "GkeBackupAgentConfig",
"properties": {
"enabled": {
"description": "Whether the Backup for GKE agent is enabled for this cluster.",
"type": "boolean"
}
},
"type": "object"
},
"HorizontalPodAutoscaling": {
"description": "Configuration options 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.",
"id": "HorizontalPodAutoscaling",
Expand Down Expand Up @@ -3788,6 +3822,20 @@
"description": "Whether a new subnetwork will be created automatically for the cluster. This field is only applicable when `use_ip_aliases` is true.",
"type": "boolean"
},
"ipv6AccessType": {
"description": "The ipv6 access type (internal or external) when create_subnetwork is true",
"enum": [
"IPV6_ACCESS_TYPE_UNSPECIFIED",
"INTERNAL",
"EXTERNAL"
],
"enumDescriptions": [
"Default value, will be defaulted as type external.",
"Access type internal (all v6 addresses are internal IPs)",
"Access type external (all v6 addresses are external IPs)"
],
"type": "string"
},
"nodeIpv4Cidr": {
"description": "This field is deprecated, use node_ipv4_cidr_block.",
"type": "string"
Expand All @@ -3808,6 +3856,20 @@
"description": "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 is true and create_subnetwork is false.",
"type": "string"
},
"stackType": {
"description": "The IP stack type of the cluster",
"enum": [
"STACK_TYPE_UNSPECIFIED",
"IPV4",
"IPV4_IPV6"
],
"enumDescriptions": [
"Default value, will be defaulted as IPV4 only",
"Cluster is IPV4 only",
"Cluster can use both IPv4 and IPv6"
],
"type": "string"
},
"subnetworkName": {
"description": "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.",
"type": "string"
Expand Down Expand Up @@ -5908,7 +5970,7 @@
"DATA_LOSS"
],
"enumDescriptions": [
"Not an error; returned on success HTTP Mapping: 200 OK",
"Not an error; returned on success. HTTP Mapping: 200 OK",
"The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request",
"Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error",
"The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request",
Expand Down
18 changes: 16 additions & 2 deletions googleapiclient/discovery_cache/documents/container.v1beta1.json
Expand Up @@ -2512,7 +2512,7 @@
}
}
},
"revision": "20220826",
"revision": "20220923",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -5503,6 +5503,20 @@
"workloadConfig": {
"$ref": "WorkloadConfig",
"description": "WorkloadConfig defines which actions are enabled for a cluster's workload configurations."
},
"workloadVulnerabilityMode": {
"description": "Sets which mode to use for Protect workload vulnerability scanning feature.",
"enum": [
"WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED",
"DISABLED",
"BASIC"
],
"enumDescriptions": [
"Default value not specified.",
"Disables Workload Vulnerability Scanning feature on the cluster.",
"Applies basic vulnerability scanning settings for cluster workloads."
],
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -6341,7 +6355,7 @@
"DATA_LOSS"
],
"enumDescriptions": [
"Not an error; returned on success HTTP Mapping: 200 OK",
"Not an error; returned on success. HTTP Mapping: 200 OK",
"The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request",
"Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error",
"The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request",
Expand Down

0 comments on commit ea99aee

Please sign in to comment.