Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2600)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored May 22, 2024
1 parent 677f53d commit 2e7cc39
Show file tree
Hide file tree
Showing 18 changed files with 411 additions and 264 deletions.
2 changes: 1 addition & 1 deletion api-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -5698,7 +5698,7 @@
"name": "sourcerepo",
"version": "v1",
"title": "Cloud Source Repositories API",
"description": "Accesses source code repositories hosted by Google. Important: Cloud Source Repositories is scheduled for end-of-sale starting June 17, 2024. Customers who have enabled the API prior to this date will not be affected and can continue to use Cloud Source Repositories. Organizations or projects who have not previously enabled the API cannot use Cloud Source Repositories after this date. View Cloud Source Repositories documentation for more info.",
"description": "Accesses source code repositories hosted by Google. Important: Cloud Source Repositories is scheduled for end of sales starting June 17, 2024. Customers who have enabled the API prior to this date will not be affected and can continue to use Cloud Source Repositories. Organizations or projects who have not previously enabled the API cannot use Cloud Source Repositories after this date. View Cloud Source Repositories documentation for more info.",
"discoveryRestUrl": "https://sourcerepo.googleapis.com/$discovery/rest?version=v1",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
Expand Down
12 changes: 6 additions & 6 deletions chat/v1/chat-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@
],
"parameters": {
"name": {
"description": "Required. Resource name of the space, in the form \"spaces/*\". Format: `spaces/{space}`",
"description": "Required. Resource name of the space, in the form `spaces/{space}`. Format: `spaces/{space}`",
"location": "path",
"pattern": "^spaces/[^/]+$",
"required": true,
Expand All @@ -365,7 +365,7 @@
]
},
"list": {
"description": "Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed until the first message is sent. ",
"description": "Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed until the first message is sent. To list all named spaces by Google Workspace organization, use the `spaces.search()` method using Workspace administrator privileges instead.",
"flatPath": "v1/spaces",
"httpMethod": "GET",
"id": "chat.spaces.list",
Expand Down Expand Up @@ -550,7 +550,7 @@
],
"parameters": {
"filter": {
"description": "Optional. A query filter. You can filter memberships by a member's role ([`role`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members#membershiprole)) and type ([`member.type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)). To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`. To filter by type, set `member.type` to `HUMAN` or `BOT`. To filter by both role and type, use the `AND` operator. To filter by either role or type, use the `OR` operator. For example, the following queries are valid: ``` role = \"ROLE_MANAGER\" OR role = \"ROLE_MEMBER\" member.type = \"HUMAN\" AND role = \"ROLE_MANAGER\" ``` The following queries are invalid: ``` member.type = \"HUMAN\" AND member.type = \"BOT\" role = \"ROLE_MANAGER\" AND role = \"ROLE_MEMBER\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.",
"description": "Optional. A query filter. You can filter memberships by a member's role ([`role`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members#membershiprole)) and type ([`member.type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)). To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`. To filter by type, set `member.type` to `HUMAN` or `BOT`. Developer Preview: You can also filter for `member.type` using the `!=` operator. To filter by both role and type, use the `AND` operator. To filter by either role or type, use the `OR` operator. Either `member.type = \"HUMAN\"` or `member.type != \"BOT\"` is required when `use_admin_access` is set to true. Other member type filters will be rejected. For example, the following queries are valid: ``` role = \"ROLE_MANAGER\" OR role = \"ROLE_MEMBER\" member.type = \"HUMAN\" AND role = \"ROLE_MANAGER\" member.type != \"BOT\" ``` The following queries are invalid: ``` member.type = \"HUMAN\" AND member.type = \"BOT\" role = \"ROLE_MANAGER\" AND role = \"ROLE_MEMBER\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -903,7 +903,7 @@
],
"parameters": {
"name": {
"description": "Required. Resource name of the attachment, in the form `spaces/*/messages/*/attachments/*`.",
"description": "Required. Resource name of the attachment, in the form `spaces/{space}/messages/{message}/attachments/{attachment}`.",
"location": "path",
"pattern": "^spaces/[^/]+/messages/[^/]+/attachments/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1215,7 +1215,7 @@
}
}
},
"revision": "20240509",
"revision": "20240519",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"AccessoryWidget": {
Expand Down Expand Up @@ -1424,7 +1424,7 @@
"readOnly": true
},
"name": {
"description": "Resource name of the attachment, in the form `spaces/*/messages/*/attachments/*`.",
"description": "Resource name of the attachment, in the form `spaces/{space}/messages/{message}/attachments/{attachment}`.",
"type": "string"
},
"source": {
Expand Down
27 changes: 16 additions & 11 deletions chat/v1/chat-gen.go

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

14 changes: 7 additions & 7 deletions cloudbilling/v1/cloudbilling-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@
"type": "string"
},
"parent": {
"description": "Required. The name of the service. Example: \"services/DA34-426B-A397\"",
"description": "Required. The name of the service. Example: \"services/6F81-5844-456A\"",
"location": "path",
"pattern": "^services/[^/]+$",
"required": true,
Expand Down Expand Up @@ -751,7 +751,7 @@
}
}
},
"revision": "20240119",
"revision": "20240517",
"rootUrl": "https://cloudbilling.googleapis.com/",
"schemas": {
"AggregationInfo": {
Expand Down Expand Up @@ -1211,11 +1211,11 @@
"type": "string"
},
"name": {
"description": "The resource name for the service. Example: \"services/DA34-426B-A397\"",
"description": "The resource name for the service. Example: \"services/6F81-5844-456A\"",
"type": "string"
},
"serviceId": {
"description": "The identifier for the service. Example: \"DA34-426B-A397\"",
"description": "The identifier for the service. Example: \"6F81-5844-456A\"",
"type": "string"
}
},
Expand All @@ -1238,7 +1238,7 @@
"type": "object"
},
"Sku": {
"description": "Encapsulates a single SKU in Google Cloud Platform",
"description": "Encapsulates a single SKU in Google Cloud",
"id": "Sku",
"properties": {
"category": {
Expand All @@ -1254,7 +1254,7 @@
"description": "The geographic taxonomy for this sku."
},
"name": {
"description": "The resource name for the SKU. Example: \"services/DA34-426B-A397/skus/AA95-CD31-42FE\"",
"description": "The resource name for the SKU. Example: \"services/6F81-5844-456A/skus/D041-B8A1-6E0B\"",
"type": "string"
},
"pricingInfo": {
Expand All @@ -1276,7 +1276,7 @@
"type": "array"
},
"skuId": {
"description": "The identifier for the SKU. Example: \"AA95-CD31-42FE\"",
"description": "The identifier for the SKU. Example: \"D041-B8A1-6E0B\"",
"type": "string"
}
},
Expand Down
12 changes: 6 additions & 6 deletions cloudbilling/v1/cloudbilling-gen.go

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

Loading

0 comments on commit 2e7cc39

Please sign in to comment.