Skip to content

Commit 0c5c2d2

Browse files
feat(all): auto-regenerate discovery clients (#2168)
1 parent c4024ed commit 0c5c2d2

8 files changed

Lines changed: 658 additions & 19 deletions

File tree

datamigration/v1/datamigration-api.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2097,7 +2097,7 @@
20972097
}
20982098
}
20992099
},
2100-
"revision": "20230802",
2100+
"revision": "20230911",
21012101
"rootUrl": "https://datamigration.googleapis.com/",
21022102
"schemas": {
21032103
"AlloyDbConnectionProfile": {
@@ -2441,6 +2441,10 @@
24412441
"description": "The Cloud SQL default instance level collation.",
24422442
"type": "string"
24432443
},
2444+
"dataCacheConfig": {
2445+
"$ref": "DataCacheConfig",
2446+
"description": "Optional. Configuration for data cache."
2447+
},
24442448
"dataDiskSizeGb": {
24452449
"description": "The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.",
24462450
"format": "int64",
@@ -2946,6 +2950,17 @@
29462950
},
29472951
"type": "object"
29482952
},
2953+
"DataCacheConfig": {
2954+
"description": "Data cache configurations.",
2955+
"id": "DataCacheConfig",
2956+
"properties": {
2957+
"dataCacheEnabled": {
2958+
"description": "Optional. Whether data cache is enabled for the instance.",
2959+
"type": "boolean"
2960+
}
2961+
},
2962+
"type": "object"
2963+
},
29492964
"DatabaseEngineInfo": {
29502965
"description": "The type and version of a source or destination database.",
29512966
"id": "DatabaseEngineInfo",

datamigration/v1/datamigration-gen.go

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gkeonprem/v1/gkeonprem-api.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2996,7 +2996,7 @@
29962996
}
29972997
}
29982998
},
2999-
"revision": "20230815",
2999+
"revision": "20230906",
30003000
"rootUrl": "https://gkeonprem.googleapis.com/",
30013001
"schemas": {
30023002
"Authorization": {
@@ -5264,6 +5264,10 @@
52645264
"description": "Local name of the dependency.",
52655265
"type": "string"
52665266
},
5267+
"membership": {
5268+
"description": "Membership names are formatted as `projects//locations//memberships/`.",
5269+
"type": "string"
5270+
},
52675271
"resourceName": {
52685272
"description": "Resource name of the dependency.",
52695273
"type": "string"
@@ -5999,8 +6003,7 @@
59996003
},
60006004
"vcenter": {
60016005
"$ref": "VmwareVCenterConfig",
6002-
"description": "Output only. VmwareVCenterConfig specifies vCenter config for the user cluster. Inherited from the admin cluster.",
6003-
"readOnly": true
6006+
"description": "VmwareVCenterConfig specifies vCenter config for the user cluster. Inherited from the admin cluster."
60046007
},
60056008
"vmTrackingEnabled": {
60066009
"description": "Enable VM tracking.",
@@ -6565,7 +6568,8 @@
65656568
"id": "VmwareVCenterConfig",
65666569
"properties": {
65676570
"address": {
6568-
"description": "The vCenter IP address.",
6571+
"description": "Output only. The vCenter IP address.",
6572+
"readOnly": true,
65696573
"type": "string"
65706574
},
65716575
"caCertData": {
@@ -6603,6 +6607,13 @@
66036607
"description": "Contains information about a specific Anthos on VMware version.",
66046608
"id": "VmwareVersionInfo",
66056609
"properties": {
6610+
"dependencies": {
6611+
"description": "The list of upgrade dependencies for this version.",
6612+
"items": {
6613+
"$ref": "UpgradeDependency"
6614+
},
6615+
"type": "array"
6616+
},
66066617
"hasDependencies": {
66076618
"description": "If set, the cluster dependencies (e.g. the admin cluster, other user clusters managed by the same admin cluster) must be upgraded before this version can be installed or upgraded to.",
66086619
"type": "boolean"

gkeonprem/v1/gkeonprem-gen.go

Lines changed: 17 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spanner/v1/spanner-api.json

Lines changed: 86 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1830,6 +1830,35 @@
18301830
"https://www.googleapis.com/auth/spanner.data"
18311831
]
18321832
},
1833+
"batchWrite": {
1834+
"description": "Batches the supplied mutation groups in a collection of efficient transactions. All mutations in a group are committed atomically. However, mutations across groups can be committed non-atomically in an unspecified order and thus, they must be independent of each other. Partial failure is possible, i.e., some groups may have been committed successfully, while some may have failed. The results of individual batches are streamed into the response as the batches are applied. BatchWrite requests are not replay protected, meaning that each mutation group may be applied more than once. Replays of non-idempotent mutations may have undesirable effects. For example, replays of an insert mutation may produce an already exists error or result in additional rows if using generated or commit timestamp-based keys. We recommend structuring your mutation groups to be idempotent to avoid this issue.",
1835+
"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:batchWrite",
1836+
"httpMethod": "POST",
1837+
"id": "spanner.projects.instances.databases.sessions.batchWrite",
1838+
"parameterOrder": [
1839+
"session"
1840+
],
1841+
"parameters": {
1842+
"session": {
1843+
"description": "Required. The session in which the batch request is to be run.",
1844+
"location": "path",
1845+
"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$",
1846+
"required": true,
1847+
"type": "string"
1848+
}
1849+
},
1850+
"path": "v1/{+session}:batchWrite",
1851+
"request": {
1852+
"$ref": "BatchWriteRequest"
1853+
},
1854+
"response": {
1855+
"$ref": "BatchWriteResponse"
1856+
},
1857+
"scopes": [
1858+
"https://www.googleapis.com/auth/cloud-platform",
1859+
"https://www.googleapis.com/auth/spanner.data"
1860+
]
1861+
},
18331862
"beginTransaction": {
18341863
"description": "Begins a new transaction. This step can often be skipped: Read, ExecuteSql and Commit can begin a new transaction as a side-effect.",
18351864
"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:beginTransaction",
@@ -2565,7 +2594,7 @@
25652594
}
25662595
}
25672596
},
2568-
"revision": "20230823",
2597+
"revision": "20230909",
25692598
"rootUrl": "https://spanner.googleapis.com/",
25702599
"schemas": {
25712600
"Backup": {
@@ -2717,6 +2746,48 @@
27172746
},
27182747
"type": "object"
27192748
},
2749+
"BatchWriteRequest": {
2750+
"description": "The request for BatchWrite.",
2751+
"id": "BatchWriteRequest",
2752+
"properties": {
2753+
"mutationGroups": {
2754+
"description": "Required. The groups of mutations to be applied.",
2755+
"items": {
2756+
"$ref": "MutationGroup"
2757+
},
2758+
"type": "array"
2759+
},
2760+
"requestOptions": {
2761+
"$ref": "RequestOptions",
2762+
"description": "Common options for this request."
2763+
}
2764+
},
2765+
"type": "object"
2766+
},
2767+
"BatchWriteResponse": {
2768+
"description": "The result of applying a batch of mutations.",
2769+
"id": "BatchWriteResponse",
2770+
"properties": {
2771+
"commitTimestamp": {
2772+
"description": "The commit timestamp of the transaction that applied this batch. Present if `status` is `OK`, absent otherwise.",
2773+
"format": "google-datetime",
2774+
"type": "string"
2775+
},
2776+
"indexes": {
2777+
"description": "The mutation groups applied in this batch. The values index into the `mutation_groups` field in the corresponding `BatchWriteRequest`.",
2778+
"items": {
2779+
"format": "int32",
2780+
"type": "integer"
2781+
},
2782+
"type": "array"
2783+
},
2784+
"status": {
2785+
"$ref": "Status",
2786+
"description": "An `OK` status indicates success. Any other status indicates a failure."
2787+
}
2788+
},
2789+
"type": "object"
2790+
},
27202791
"BeginTransactionRequest": {
27212792
"description": "The request for BeginTransaction.",
27222793
"id": "BeginTransactionRequest",
@@ -4320,6 +4391,20 @@
43204391
},
43214392
"type": "object"
43224393
},
4394+
"MutationGroup": {
4395+
"description": "A group of mutations to be committed together. Related mutations should be placed in a group. For example, two mutations inserting rows with the same primary key prefix in both parent and child tables are related.",
4396+
"id": "MutationGroup",
4397+
"properties": {
4398+
"mutations": {
4399+
"description": "Required. The mutations in this group.",
4400+
"items": {
4401+
"$ref": "Mutation"
4402+
},
4403+
"type": "array"
4404+
}
4405+
},
4406+
"type": "object"
4407+
},
43234408
"Operation": {
43244409
"description": "This resource represents a long-running operation that is the result of a network API call.",
43254410
"id": "Operation",

0 commit comments

Comments
 (0)