Skip to content

Commit 248f8d1

Browse files
yoshi-automationsofisl
authored andcommitted
feat(analyticshub): update the API
#### analyticshub:v1 The following keys were added: - schemas.MessageTransform.properties.disabled.description - schemas.MessageTransform.properties.disabled.type - schemas.MessageTransform.properties.enabled.deprecated The following keys were changed: - schemas.MessageTransform.properties.enabled.description
1 parent 7a60c1e commit 248f8d1

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

‎discovery/analyticshub-v1.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@
10271027
}
10281028
}
10291029
},
1030-
"revision": "20250303",
1030+
"revision": "20250310",
10311031
"rootUrl": "https://analyticshub.googleapis.com/",
10321032
"schemas": {
10331033
"AnalyticsHubSubscriptionInfo": {
@@ -1966,8 +1966,13 @@
19661966
"description": "All supported message transforms types.",
19671967
"id": "MessageTransform",
19681968
"properties": {
1969+
"disabled": {
1970+
"description": "Optional. If true, the transform is disabled and will not be applied to messages. Defaults to `false`.",
1971+
"type": "boolean"
1972+
},
19691973
"enabled": {
1970-
"description": "Optional. If set to true, the transform is enabled. If false, the transform is disabled and will not be applied to messages. Defaults to `true`.",
1974+
"deprecated": true,
1975+
"description": "Optional. This field is deprecated, use the `disabled` field to disable transforms.",
19711976
"type": "boolean"
19721977
},
19731978
"javascriptUdf": {

‎src/apis/analyticshub/v1.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,11 @@ export namespace analyticshub_v1 {
776776
*/
777777
export interface Schema$MessageTransform {
778778
/**
779-
* Optional. If set to true, the transform is enabled. If false, the transform is disabled and will not be applied to messages. Defaults to `true`.
779+
* Optional. If true, the transform is disabled and will not be applied to messages. Defaults to `false`.
780+
*/
781+
disabled?: boolean | null;
782+
/**
783+
* Optional. This field is deprecated, use the `disabled` field to disable transforms.
780784
*/
781785
enabled?: boolean | null;
782786
/**

0 commit comments

Comments
 (0)