Skip to content

Commit 00cb9ee

Browse files
feat(all): auto-regenerate discovery clients (#3169)
1 parent a78a978 commit 00cb9ee

25 files changed

+2739
-122
lines changed

apim/v1alpha/apim-api.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@
143143
"name"
144144
],
145145
"parameters": {
146+
"extraLocationTypes": {
147+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
148+
"location": "query",
149+
"repeated": true,
150+
"type": "string"
151+
},
146152
"filter": {
147153
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
148154
"location": "query",
@@ -690,7 +696,7 @@
690696
"operations": {
691697
"methods": {
692698
"cancel": {
693-
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
699+
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
694700
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
695701
"httpMethod": "POST",
696702
"id": "apim.projects.locations.operations.cancel",
@@ -815,7 +821,7 @@
815821
}
816822
}
817823
},
818-
"revision": "20240717",
824+
"revision": "20250521",
819825
"rootUrl": "https://apim.googleapis.com/",
820826
"schemas": {
821827
"ApiObservation": {

apim/v1alpha/apim-gen.go

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

batch/v1/batch-api.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@
595595
}
596596
}
597597
},
598-
"revision": "20250409",
598+
"revision": "20250519",
599599
"rootUrl": "https://batch.googleapis.com/",
600600
"schemas": {
601601
"Accelerator": {
@@ -1300,6 +1300,12 @@
13001300
"SPOT",
13011301
"PREEMPTIBLE"
13021302
],
1303+
"enumDeprecated": [
1304+
false,
1305+
false,
1306+
false,
1307+
true
1308+
],
13031309
"enumDescriptions": [
13041310
"Unspecified.",
13051311
"Standard VM.",
@@ -1362,6 +1368,12 @@
13621368
"SPOT",
13631369
"PREEMPTIBLE"
13641370
],
1371+
"enumDeprecated": [
1372+
false,
1373+
false,
1374+
false,
1375+
true
1376+
],
13651377
"enumDescriptions": [
13661378
"Unspecified.",
13671379
"Standard VM.",

bigqueryreservation/v1/bigqueryreservation-api.json

Lines changed: 114 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@
690690
]
691691
},
692692
"getIamPolicy": {
693-
"description": "Gets the access control policy for a resource. May return: * A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it. * An empty policy if the resource exists but doesn't have a set policy. Supported resources are: - Reservations To call this method, you must have the following Google IAM permissions: - `bigqueryreservation.reservations.getIamPolicy` to get policies on reservations.",
693+
"description": "Gets the access control policy for a resource. May return: * A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it. * An empty policy if the resource exists but doesn't have a set policy. Supported resources are: - Reservations - ReservationAssignments To call this method, you must have the following Google IAM permissions: - `bigqueryreservation.reservations.getIamPolicy` to get policies on reservations.",
694694
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}:getIamPolicy",
695695
"httpMethod": "GET",
696696
"id": "bigqueryreservation.projects.locations.reservations.getIamPolicy",
@@ -915,6 +915,38 @@
915915
"https://www.googleapis.com/auth/cloud-platform"
916916
]
917917
},
918+
"getIamPolicy": {
919+
"description": "Gets the access control policy for a resource. May return: * A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it. * An empty policy if the resource exists but doesn't have a set policy. Supported resources are: - Reservations - ReservationAssignments To call this method, you must have the following Google IAM permissions: - `bigqueryreservation.reservations.getIamPolicy` to get policies on reservations.",
920+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments/{assignmentsId}:getIamPolicy",
921+
"httpMethod": "GET",
922+
"id": "bigqueryreservation.projects.locations.reservations.assignments.getIamPolicy",
923+
"parameterOrder": [
924+
"resource"
925+
],
926+
"parameters": {
927+
"options.requestedPolicyVersion": {
928+
"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
929+
"format": "int32",
930+
"location": "query",
931+
"type": "integer"
932+
},
933+
"resource": {
934+
"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
935+
"location": "path",
936+
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/assignments/[^/]+$",
937+
"required": true,
938+
"type": "string"
939+
}
940+
},
941+
"path": "v1/{+resource}:getIamPolicy",
942+
"response": {
943+
"$ref": "Policy"
944+
},
945+
"scopes": [
946+
"https://www.googleapis.com/auth/bigquery",
947+
"https://www.googleapis.com/auth/cloud-platform"
948+
]
949+
},
918950
"list": {
919951
"description": "Lists assignments. Only explicitly created assignments will be returned. Example: * Organization `organizationA` contains two projects, `project1` and `project2`. * Reservation `res1` exists and was created previously. * CreateAssignment was used previously to define the following associations between entities and reservations: `` and `` In this example, ListAssignments will just return the above two assignments for reservation `res1`, and no expansion/merge will happen. The wildcard \"-\" can be used for reservations in the request. In that case all assignments belongs to the specified project and location will be listed. **Note** \"-\" cannot be used for projects nor locations.",
920952
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments",
@@ -1015,6 +1047,64 @@
10151047
"https://www.googleapis.com/auth/bigquery",
10161048
"https://www.googleapis.com/auth/cloud-platform"
10171049
]
1050+
},
1051+
"setIamPolicy": {
1052+
"description": "Sets an access control policy for a resource. Replaces any existing policy. Supported resources are: - Reservations To call this method, you must have the following Google IAM permissions: - `bigqueryreservation.reservations.setIamPolicy` to set policies on reservations.",
1053+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments/{assignmentsId}:setIamPolicy",
1054+
"httpMethod": "POST",
1055+
"id": "bigqueryreservation.projects.locations.reservations.assignments.setIamPolicy",
1056+
"parameterOrder": [
1057+
"resource"
1058+
],
1059+
"parameters": {
1060+
"resource": {
1061+
"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1062+
"location": "path",
1063+
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/assignments/[^/]+$",
1064+
"required": true,
1065+
"type": "string"
1066+
}
1067+
},
1068+
"path": "v1/{+resource}:setIamPolicy",
1069+
"request": {
1070+
"$ref": "SetIamPolicyRequest"
1071+
},
1072+
"response": {
1073+
"$ref": "Policy"
1074+
},
1075+
"scopes": [
1076+
"https://www.googleapis.com/auth/bigquery",
1077+
"https://www.googleapis.com/auth/cloud-platform"
1078+
]
1079+
},
1080+
"testIamPermissions": {
1081+
"description": "Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. Supported resources are: - Reservations No Google IAM permissions are required to call this method.",
1082+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/assignments/{assignmentsId}:testIamPermissions",
1083+
"httpMethod": "POST",
1084+
"id": "bigqueryreservation.projects.locations.reservations.assignments.testIamPermissions",
1085+
"parameterOrder": [
1086+
"resource"
1087+
],
1088+
"parameters": {
1089+
"resource": {
1090+
"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1091+
"location": "path",
1092+
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/assignments/[^/]+$",
1093+
"required": true,
1094+
"type": "string"
1095+
}
1096+
},
1097+
"path": "v1/{+resource}:testIamPermissions",
1098+
"request": {
1099+
"$ref": "TestIamPermissionsRequest"
1100+
},
1101+
"response": {
1102+
"$ref": "TestIamPermissionsResponse"
1103+
},
1104+
"scopes": [
1105+
"https://www.googleapis.com/auth/bigquery",
1106+
"https://www.googleapis.com/auth/cloud-platform"
1107+
]
10181108
}
10191109
}
10201110
}
@@ -1025,7 +1115,7 @@
10251115
}
10261116
}
10271117
},
1028-
"revision": "20250503",
1118+
"revision": "20250518",
10291119
"rootUrl": "https://bigqueryreservation.googleapis.com/",
10301120
"schemas": {
10311121
"Assignment": {
@@ -1389,7 +1479,22 @@
13891479
"FailoverReservationRequest": {
13901480
"description": "The request for ReservationService.FailoverReservation.",
13911481
"id": "FailoverReservationRequest",
1392-
"properties": {},
1482+
"properties": {
1483+
"failoverMode": {
1484+
"description": "Optional. failover mode for the failover operation.",
1485+
"enum": [
1486+
"FAILOVER_MODE_UNSPECIFIED",
1487+
"SOFT",
1488+
"HARD"
1489+
],
1490+
"enumDescriptions": [
1491+
"Invalid value.",
1492+
"When customers initiate a soft failover, BigQuery will wait until all committed writes are replicated to the secondary.",
1493+
"When customers initiate a hard failover, BigQuery will not wait until all committed writes are replicated to the secondary. There can be data loss for hard failover."
1494+
],
1495+
"type": "string"
1496+
}
1497+
},
13931498
"type": "object"
13941499
},
13951500
"ListAssignmentsResponse": {
@@ -1530,6 +1635,12 @@
15301635
"format": "google-datetime",
15311636
"readOnly": true,
15321637
"type": "string"
1638+
},
1639+
"softFailoverStartTime": {
1640+
"description": "Output only. The time at which a soft failover for the reservation and its associated datasets was initiated. After this field is set, all subsequent changes to the reservation will be rejected unless a hard failover overrides this operation. This field will be cleared once the failover is complete.",
1641+
"format": "google-datetime",
1642+
"readOnly": true,
1643+
"type": "string"
15331644
}
15341645
},
15351646
"type": "object"

0 commit comments

Comments
 (0)