Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #2168

Merged
merged 1 commit into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 16 additions & 1 deletion datamigration/v1/datamigration-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2097,7 +2097,7 @@
}
}
},
"revision": "20230802",
"revision": "20230911",
"rootUrl": "https://datamigration.googleapis.com/",
"schemas": {
"AlloyDbConnectionProfile": {
Expand Down Expand Up @@ -2441,6 +2441,10 @@
"description": "The Cloud SQL default instance level collation.",
"type": "string"
},
"dataCacheConfig": {
"$ref": "DataCacheConfig",
"description": "Optional. Configuration for data cache."
},
"dataDiskSizeGb": {
"description": "The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.",
"format": "int64",
Expand Down Expand Up @@ -2946,6 +2950,17 @@
},
"type": "object"
},
"DataCacheConfig": {
"description": "Data cache configurations.",
"id": "DataCacheConfig",
"properties": {
"dataCacheEnabled": {
"description": "Optional. Whether data cache is enabled for the instance.",
"type": "boolean"
}
},
"type": "object"
},
"DatabaseEngineInfo": {
"description": "The type and version of a source or destination database.",
"id": "DatabaseEngineInfo",
Expand Down
33 changes: 33 additions & 0 deletions datamigration/v1/datamigration-gen.go

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

19 changes: 15 additions & 4 deletions gkeonprem/v1/gkeonprem-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2996,7 +2996,7 @@
}
}
},
"revision": "20230815",
"revision": "20230906",
"rootUrl": "https://gkeonprem.googleapis.com/",
"schemas": {
"Authorization": {
Expand Down Expand Up @@ -5264,6 +5264,10 @@
"description": "Local name of the dependency.",
"type": "string"
},
"membership": {
"description": "Membership names are formatted as `projects//locations//memberships/`.",
"type": "string"
},
"resourceName": {
"description": "Resource name of the dependency.",
"type": "string"
Expand Down Expand Up @@ -5999,8 +6003,7 @@
},
"vcenter": {
"$ref": "VmwareVCenterConfig",
"description": "Output only. VmwareVCenterConfig specifies vCenter config for the user cluster. Inherited from the admin cluster.",
"readOnly": true
"description": "VmwareVCenterConfig specifies vCenter config for the user cluster. Inherited from the admin cluster."
},
"vmTrackingEnabled": {
"description": "Enable VM tracking.",
Expand Down Expand Up @@ -6565,7 +6568,8 @@
"id": "VmwareVCenterConfig",
"properties": {
"address": {
"description": "The vCenter IP address.",
"description": "Output only. The vCenter IP address.",
"readOnly": true,
"type": "string"
},
"caCertData": {
Expand Down Expand Up @@ -6603,6 +6607,13 @@
"description": "Contains information about a specific Anthos on VMware version.",
"id": "VmwareVersionInfo",
"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) must be upgraded before this version can be installed or upgraded to.",
"type": "boolean"
Expand Down
28 changes: 17 additions & 11 deletions gkeonprem/v1/gkeonprem-gen.go

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

87 changes: 86 additions & 1 deletion spanner/v1/spanner-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1830,6 +1830,35 @@
"https://www.googleapis.com/auth/spanner.data"
]
},
"batchWrite": {
"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.",
"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:batchWrite",
"httpMethod": "POST",
"id": "spanner.projects.instances.databases.sessions.batchWrite",
"parameterOrder": [
"session"
],
"parameters": {
"session": {
"description": "Required. The session in which the batch request is to be run.",
"location": "path",
"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+session}:batchWrite",
"request": {
"$ref": "BatchWriteRequest"
},
"response": {
"$ref": "BatchWriteResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/spanner.data"
]
},
"beginTransaction": {
"description": "Begins a new transaction. This step can often be skipped: Read, ExecuteSql and Commit can begin a new transaction as a side-effect.",
"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:beginTransaction",
Expand Down Expand Up @@ -2565,7 +2594,7 @@
}
}
},
"revision": "20230823",
"revision": "20230909",
"rootUrl": "https://spanner.googleapis.com/",
"schemas": {
"Backup": {
Expand Down Expand Up @@ -2717,6 +2746,48 @@
},
"type": "object"
},
"BatchWriteRequest": {
"description": "The request for BatchWrite.",
"id": "BatchWriteRequest",
"properties": {
"mutationGroups": {
"description": "Required. The groups of mutations to be applied.",
"items": {
"$ref": "MutationGroup"
},
"type": "array"
},
"requestOptions": {
"$ref": "RequestOptions",
"description": "Common options for this request."
}
},
"type": "object"
},
"BatchWriteResponse": {
"description": "The result of applying a batch of mutations.",
"id": "BatchWriteResponse",
"properties": {
"commitTimestamp": {
"description": "The commit timestamp of the transaction that applied this batch. Present if `status` is `OK`, absent otherwise.",
"format": "google-datetime",
"type": "string"
},
"indexes": {
"description": "The mutation groups applied in this batch. The values index into the `mutation_groups` field in the corresponding `BatchWriteRequest`.",
"items": {
"format": "int32",
"type": "integer"
},
"type": "array"
},
"status": {
"$ref": "Status",
"description": "An `OK` status indicates success. Any other status indicates a failure."
}
},
"type": "object"
},
"BeginTransactionRequest": {
"description": "The request for BeginTransaction.",
"id": "BeginTransactionRequest",
Expand Down Expand Up @@ -4320,6 +4391,20 @@
},
"type": "object"
},
"MutationGroup": {
"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.",
"id": "MutationGroup",
"properties": {
"mutations": {
"description": "Required. The mutations in this group.",
"items": {
"$ref": "Mutation"
},
"type": "array"
}
},
"type": "object"
},
"Operation": {
"description": "This resource represents a long-running operation that is the result of a network API call.",
"id": "Operation",
Expand Down