Skip to content

Commit 94ae999

Browse files
feat(managedkafka): update the API
#### managedkafka:v1 The following keys were added: - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.type - schemas.ListOperationsResponse.properties.unreachable.description - schemas.ListOperationsResponse.properties.unreachable.items.type - schemas.ListOperationsResponse.properties.unreachable.type - schemas.TaskRetryPolicy.properties.taskRetryDisabled.description - schemas.TaskRetryPolicy.properties.taskRetryDisabled.type The following keys were changed: - schemas.TaskRetryPolicy.description
1 parent 46c5297 commit 94ae999

File tree

2 files changed

+35
-4
lines changed

2 files changed

+35
-4
lines changed

discovery/managedkafka-v1.json

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,6 +1425,11 @@
14251425
"description": "The standard list page token.",
14261426
"location": "query",
14271427
"type": "string"
1428+
},
1429+
"returnPartialSuccess": {
1430+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
1431+
"location": "query",
1432+
"type": "boolean"
14281433
}
14291434
},
14301435
"path": "v1/{+name}/operations",
@@ -2934,7 +2939,7 @@
29342939
}
29352940
}
29362941
},
2937-
"revision": "20250911",
2942+
"revision": "20251009",
29382943
"rootUrl": "https://managedkafka.googleapis.com/",
29392944
"schemas": {
29402945
"AccessConfig": {
@@ -3696,6 +3701,13 @@
36963701
"$ref": "Operation"
36973702
},
36983703
"type": "array"
3704+
},
3705+
"unreachable": {
3706+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
3707+
"items": {
3708+
"type": "string"
3709+
},
3710+
"type": "array"
36993711
}
37003712
},
37013713
"type": "object"
@@ -4191,7 +4203,7 @@
41914203
"type": "object"
41924204
},
41934205
"TaskRetryPolicy": {
4194-
"description": "Task Retry Policy is implemented on a best-effort basis. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. Note that the delay between consecutive task restarts may not always precisely match the configured settings. This can happen when the ConnectCluster is in rebalancing state or if the ConnectCluster is unresponsive etc. The default values for minimum and maximum backoffs are 60 seconds and 30 minutes respectively.",
4206+
"description": "Task Retry Policy is implemented on a best-effort basis. The default policy retries tasks with a minimum_backoff of 60 seconds, and a maximum_backoff of 12 hours. You can disable the policy by setting the task_retry_disabled field to true. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. Note that the delay between consecutive task restarts may not always precisely match the configured settings. This can happen when the ConnectCluster is in rebalancing state or if the ConnectCluster is unresponsive etc. The default values for minimum and maximum backoffs are 60 seconds and 12 hours respectively.",
41954207
"id": "TaskRetryPolicy",
41964208
"properties": {
41974209
"maximumBackoff": {
@@ -4203,6 +4215,10 @@
42034215
"description": "Optional. The minimum amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay.",
42044216
"format": "google-duration",
42054217
"type": "string"
4218+
},
4219+
"taskRetryDisabled": {
4220+
"description": "Optional. If true, task retry is disabled.",
4221+
"type": "boolean"
42064222
}
42074223
},
42084224
"type": "object"

src/apis/managedkafka/v1.ts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,10 @@ export namespace managedkafka_v1 {
649649
* A list of operations that matches the specified filter in the request.
650650
*/
651651
operations?: Schema$Operation[];
652+
/**
653+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
654+
*/
655+
unreachable?: string[] | null;
652656
}
653657
/**
654658
* Request for ListSchemaRegistries.
@@ -963,7 +967,7 @@ export namespace managedkafka_v1 {
963967
*/
964968
export interface Schema$StopConnectorResponse {}
965969
/**
966-
* Task Retry Policy is implemented on a best-effort basis. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. Note that the delay between consecutive task restarts may not always precisely match the configured settings. This can happen when the ConnectCluster is in rebalancing state or if the ConnectCluster is unresponsive etc. The default values for minimum and maximum backoffs are 60 seconds and 30 minutes respectively.
970+
* Task Retry Policy is implemented on a best-effort basis. The default policy retries tasks with a minimum_backoff of 60 seconds, and a maximum_backoff of 12 hours. You can disable the policy by setting the task_retry_disabled field to true. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. Note that the delay between consecutive task restarts may not always precisely match the configured settings. This can happen when the ConnectCluster is in rebalancing state or if the ConnectCluster is unresponsive etc. The default values for minimum and maximum backoffs are 60 seconds and 12 hours respectively.
967971
*/
968972
export interface Schema$TaskRetryPolicy {
969973
/**
@@ -974,6 +978,10 @@ export namespace managedkafka_v1 {
974978
* Optional. The minimum amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay.
975979
*/
976980
minimumBackoff?: string | null;
981+
/**
982+
* Optional. If true, task retry is disabled.
983+
*/
984+
taskRetryDisabled?: boolean | null;
977985
}
978986
/**
979987
* The TLS configuration for the Kafka cluster.
@@ -7505,13 +7513,16 @@ export namespace managedkafka_v1 {
75057513
* pageSize: 'placeholder-value',
75067514
* // The standard list page token.
75077515
* pageToken: 'placeholder-value',
7516+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
7517+
* returnPartialSuccess: 'placeholder-value',
75087518
* });
75097519
* console.log(res.data);
75107520
*
75117521
* // Example response
75127522
* // {
75137523
* // "nextPageToken": "my_nextPageToken",
7514-
* // "operations": []
7524+
* // "operations": [],
7525+
* // "unreachable": []
75157526
* // }
75167527
* }
75177528
*
@@ -7657,6 +7668,10 @@ export namespace managedkafka_v1 {
76577668
* The standard list page token.
76587669
*/
76597670
pageToken?: string;
7671+
/**
7672+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
7673+
*/
7674+
returnPartialSuccess?: boolean;
76607675
}
76617676

76627677
export class Resource$Projects$Locations$Schemaregistries {

0 commit comments

Comments
 (0)