Skip to content

Commit ec68f61

Browse files
feat(gkeonprem): update the api
#### gkeonprem:v1 The following keys were added: - schemas.Metric (Total Keys: 8) - schemas.OperationMetadata.properties.progress (Total Keys: 2) - schemas.OperationProgress (Total Keys: 4) - schemas.OperationStage (Total Keys: 11)
1 parent 1af6d44 commit ec68f61

File tree

1 file changed

+140
-1
lines changed

1 file changed

+140
-1
lines changed

googleapiclient/discovery_cache/documents/gkeonprem.v1.json

Lines changed: 140 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2996,7 +2996,7 @@
29962996
}
29972997
}
29982998
},
2999-
"revision": "20230620",
2999+
"revision": "20230626",
30003000
"rootUrl": "https://gkeonprem.googleapis.com/",
30013001
"schemas": {
30023002
"Authorization": {
@@ -4733,6 +4733,63 @@
47334733
},
47344734
"type": "object"
47354735
},
4736+
"Metric": {
4737+
"description": "Progress metric is (string, int|float|string) pair.",
4738+
"id": "Metric",
4739+
"properties": {
4740+
"doubleValue": {
4741+
"description": "For metrics with floating point value.",
4742+
"format": "double",
4743+
"type": "number"
4744+
},
4745+
"intValue": {
4746+
"description": "For metrics with integer value.",
4747+
"format": "int64",
4748+
"type": "string"
4749+
},
4750+
"metric": {
4751+
"description": "Required. The metric name.",
4752+
"enum": [
4753+
"METRIC_ID_UNSPECIFIED",
4754+
"NODES_TOTAL",
4755+
"NODES_DRAINING",
4756+
"NODES_UPGRADING",
4757+
"NODES_PENDING_UPGRADE",
4758+
"NODES_UPGRADED",
4759+
"NODES_FAILED",
4760+
"NODES_HEALTHY",
4761+
"NODES_RECONCILING",
4762+
"NODES_IN_MAINTENANCE",
4763+
"PREFLIGHTS_COMPLETED",
4764+
"PREFLIGHTS_RUNNING",
4765+
"PREFLIGHTS_FAILED",
4766+
"PREFLIGHTS_TOTAL"
4767+
],
4768+
"enumDescriptions": [
4769+
"Not set.",
4770+
"The total number of nodes being actuated.",
4771+
"The number of nodes draining.",
4772+
"The number of nodes actively upgrading.",
4773+
"The number of nodes to be upgraded.",
4774+
"The number of nodes upgraded.",
4775+
"The number of nodes to fail actuation.",
4776+
"The number of nodes healthy.",
4777+
"The number of nodes reconciling.",
4778+
"The number of nodes in maintenance mode.",
4779+
"The number of completed preflight checks.",
4780+
"The number of preflight checks running.",
4781+
"The number of preflight checks failed.",
4782+
"The total number of preflight checks."
4783+
],
4784+
"type": "string"
4785+
},
4786+
"stringValue": {
4787+
"description": "For metrics with custom values (ratios, visual progress, etc.).",
4788+
"type": "string"
4789+
}
4790+
},
4791+
"type": "object"
4792+
},
47364793
"NodeTaint": {
47374794
"description": "NodeTaint applied to every Kubernetes node in a node pool. Kubernetes taints can be used together with tolerations to control how workloads are scheduled to your nodes. Node taints are permanent.",
47384795
"id": "NodeTaint",
@@ -4825,6 +4882,11 @@
48254882
"readOnly": true,
48264883
"type": "string"
48274884
},
4885+
"progress": {
4886+
"$ref": "OperationProgress",
4887+
"description": "Output only. Detailed progress information for the operation.",
4888+
"readOnly": true
4889+
},
48284890
"requestedCancellation": {
48294891
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error] value with a [google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.",
48304892
"readOnly": true,
@@ -4867,6 +4929,83 @@
48674929
},
48684930
"type": "object"
48694931
},
4932+
"OperationProgress": {
4933+
"description": "Information about operation progress. LINT.IfChange",
4934+
"id": "OperationProgress",
4935+
"properties": {
4936+
"stages": {
4937+
"description": "The stages of the operation.",
4938+
"items": {
4939+
"$ref": "OperationStage"
4940+
},
4941+
"type": "array"
4942+
}
4943+
},
4944+
"type": "object"
4945+
},
4946+
"OperationStage": {
4947+
"description": "Information about a particular stage of an operation.",
4948+
"id": "OperationStage",
4949+
"properties": {
4950+
"endTime": {
4951+
"description": "Time the stage ended.",
4952+
"format": "google-datetime",
4953+
"type": "string"
4954+
},
4955+
"metrics": {
4956+
"description": "Progress metric bundle.",
4957+
"items": {
4958+
"$ref": "Metric"
4959+
},
4960+
"type": "array"
4961+
},
4962+
"stage": {
4963+
"description": "The high-level stage of the operation.",
4964+
"enum": [
4965+
"STAGE_UNSPECIFIED",
4966+
"PREFLIGHT_CHECK",
4967+
"CONFIGURE",
4968+
"DEPLOY",
4969+
"HEALTH_CHECK",
4970+
"UPDATE"
4971+
],
4972+
"enumDescriptions": [
4973+
"Not set.",
4974+
"Preflight checks are running.",
4975+
"Resource is being configured.",
4976+
"Resource is being deployed.",
4977+
"Waiting for the resource to become healthy.",
4978+
"Resource is being updated."
4979+
],
4980+
"type": "string"
4981+
},
4982+
"startTime": {
4983+
"description": "Time the stage started.",
4984+
"format": "google-datetime",
4985+
"type": "string"
4986+
},
4987+
"state": {
4988+
"description": "Output only. State of the stage.",
4989+
"enum": [
4990+
"STATE_UNSPECIFIED",
4991+
"PENDING",
4992+
"RUNNING",
4993+
"SUCCEEDED",
4994+
"FAILED"
4995+
],
4996+
"enumDescriptions": [
4997+
"Not set.",
4998+
"The stage is pending.",
4999+
"The stage is running",
5000+
"The stage has completed successfully.",
5001+
"The stage has failed."
5002+
],
5003+
"readOnly": true,
5004+
"type": "string"
5005+
}
5006+
},
5007+
"type": "object"
5008+
},
48705009
"Policy": {
48715010
"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:[email protected]\", \"group:[email protected]\", \"domain:google.com\", \"serviceAccount:[email protected]\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:[email protected]\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
48725011
"id": "Policy",

0 commit comments

Comments
 (0)