Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2021)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Jun 12, 2023
1 parent c86a815 commit eb914ce
Show file tree
Hide file tree
Showing 4 changed files with 216 additions and 274 deletions.
8 changes: 5 additions & 3 deletions datastream/v1/datastream-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@
}
}
},
"revision": "20230517",
"revision": "20230603",
"rootUrl": "https://datastream.googleapis.com/",
"schemas": {
"AvroFileFormat": {
Expand Down Expand Up @@ -1286,7 +1286,7 @@
"type": "string"
},
"state": {
"description": "Backfill job state.",
"description": "Output only. Backfill job state.",
"enum": [
"STATE_UNSPECIFIED",
"NOT_STARTED",
Expand All @@ -1307,6 +1307,7 @@
"Backfill completed successfully.",
"Backfill job failed since the table structure is currently unsupported for backfill."
],
"readOnly": true,
"type": "string"
},
"trigger": {
Expand Down Expand Up @@ -2918,7 +2919,7 @@
"type": "array"
},
"state": {
"description": "Validation execution status.",
"description": "Output only. Validation execution status.",
"enum": [
"STATE_UNSPECIFIED",
"NOT_EXECUTED",
Expand All @@ -2931,6 +2932,7 @@
"Validation failed.",
"Validation passed."
],
"readOnly": true,
"type": "string"
}
},
Expand Down
4 changes: 2 additions & 2 deletions datastream/v1/datastream-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

120 changes: 68 additions & 52 deletions gkeonprem/v1/gkeonprem-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,11 @@
"location": "query",
"type": "string"
},
"ignoreErrors": {
"description": "If set to true, the unenrollment of a bare metal admin cluster resource will succeed even if errors occur during unenrollment. This parameter can be used when you want to unenroll admin cluster resource and the on-prem admin cluster is disconnected / unreachable. WARNING: Using this parameter when your admin cluster still exists may result in a deleted GCP admin cluster but existing resourcelink in on-prem admin cluster and membership.",
"location": "query",
"type": "boolean"
},
"name": {
"description": "Required. Name of the bare metal admin cluster to be unenrolled. Format: \"projects/{project}/locations/{location}/bareMetalAdminClusters/{cluster}\"",
"location": "path",
Expand Down Expand Up @@ -1559,42 +1564,6 @@
}
}
},
"bareMetalStandaloneClusters": {
"resources": {
"bareMetalStandaloneNodePools": {
"methods": {
"enroll": {
"description": "Enrolls an existing bare metal standalone node pool to the Anthos On-Prem API within a given project and location. Through enrollment, an existing standalone node pool will become Anthos On-Prem API managed. The corresponding GCP resources will be created.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalStandaloneClusters/{bareMetalStandaloneClustersId}/bareMetalStandaloneNodePools:enroll",
"httpMethod": "POST",
"id": "gkeonprem.projects.locations.bareMetalStandaloneClusters.bareMetalStandaloneNodePools.enroll",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource where this node pool will be created. projects/{project}/locations/{location}/bareMetalStandaloneClusters/{cluster}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalStandaloneClusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/bareMetalStandaloneNodePools:enroll",
"request": {
"$ref": "EnrollBareMetalStandaloneNodePoolRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"operations": {
"methods": {
"cancel": {
Expand Down Expand Up @@ -3027,7 +2996,7 @@
}
}
},
"revision": "20230517",
"revision": "20230607",
"rootUrl": "https://gkeonprem.googleapis.com/",
"schemas": {
"Authorization": {
Expand Down Expand Up @@ -4147,6 +4116,10 @@
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"upgradePolicy": {
"$ref": "BareMetalNodePoolUpgradePolicy",
"description": "The worker node pool upgrade policy."
}
},
"type": "object"
Expand Down Expand Up @@ -4195,6 +4168,17 @@
},
"type": "object"
},
"BareMetalNodePoolUpgradePolicy": {
"description": "BareMetalNodePoolUpgradePolicy defines the node pool upgrade policy.",
"id": "BareMetalNodePoolUpgradePolicy",
"properties": {
"parallelUpgradeConfig": {
"$ref": "BareMetalParallelUpgradeConfig",
"description": "The parallel upgrade settings for worker node pools."
}
},
"type": "object"
},
"BareMetalOsEnvironmentConfig": {
"description": "Specifies operating system settings for cluster provisioning.",
"id": "BareMetalOsEnvironmentConfig",
Expand All @@ -4206,6 +4190,23 @@
},
"type": "object"
},
"BareMetalParallelUpgradeConfig": {
"description": "BareMetalParallelUpgradeConfig defines the parallel upgrade settings for worker node pools.",
"id": "BareMetalParallelUpgradeConfig",
"properties": {
"concurrentNodes": {
"description": "Required. The maximum number of nodes that can be upgraded at once. Defaults to 1.",
"format": "int32",
"type": "integer"
},
"minimumAvailableNodes": {
"description": "The minimum number of nodes that should be healthy and available during an upgrade. If set to the default value of 0, it is possible that none of the nodes will be available during an upgrade.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"BareMetalPortConfig": {
"description": "Specifies load balancer ports for the bare metal user cluster.",
"id": "BareMetalPortConfig",
Expand Down Expand Up @@ -4277,6 +4278,13 @@
"description": "Contains information about a specific Anthos on bare metal version.",
"id": "BareMetalVersionInfo",
"properties": {
"dependencies": {
"description": "The list of upgrade dependencies for this version.",
"items": {
"$ref": "UpgradeDependency"
},
"type": "array"
},
"hasDependencies": {
"description": "If set, the cluster dependencies (e.g. the admin cluster, other user clusters managed by the same admin cluster, version skew policy, etc) must be upgraded before this version can be installed or upgraded to.",
"type": "boolean"
Expand Down Expand Up @@ -4421,21 +4429,6 @@
},
"type": "object"
},
"EnrollBareMetalStandaloneNodePoolRequest": {
"description": "Message for enrolling an existing bare metal standalone node pool to the GKE on-prem API.",
"id": "EnrollBareMetalStandaloneNodePoolRequest",
"properties": {
"bareMetalStandaloneNodePoolId": {
"description": "User provided OnePlatform identifier that is used as part of the resource name. This value must be up to 40 characters and follow RFC-1123 (https://tools.ietf.org/html/rfc1123) format.",
"type": "string"
},
"validateOnly": {
"description": "If set, only validate the request, but do not actually enroll the node pool.",
"type": "boolean"
}
},
"type": "object"
},
"EnrollVmwareAdminClusterRequest": {
"description": "Message for enrolling an existing VMware admin cluster to the GKE on-prem API.",
"id": "EnrollVmwareAdminClusterRequest",
Expand Down Expand Up @@ -5064,6 +5057,29 @@
},
"type": "object"
},
"UpgradeDependency": {
"description": "UpgradeDependency represents a dependency when upgrading a resource.",
"id": "UpgradeDependency",
"properties": {
"currentVersion": {
"description": "Current version of the dependency e.g. 1.15.0.",
"type": "string"
},
"localName": {
"description": "Local name of the dependency.",
"type": "string"
},
"resourceName": {
"description": "Resource name of the dependency.",
"type": "string"
},
"targetVersion": {
"description": "Target version of the dependency e.g. 1.16.1. This is the version the dependency needs to be upgraded to before a resource can be upgraded.",
"type": "string"
}
},
"type": "object"
},
"ValidationCheck": {
"description": "ValidationCheck represents the result of preflight check.",
"id": "ValidationCheck",
Expand Down
Loading

0 comments on commit eb914ce

Please sign in to comment.