Skip to content

Commit e95bd57

Browse files
feat(all): auto-regenerate discovery clients (#2590)
1 parent 4b79cc4 commit e95bd57

25 files changed

+626
-332
lines changed

androidpublisher/v3/androidpublisher-api.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4731,7 +4731,7 @@
47314731
}
47324732
}
47334733
},
4734-
"revision": "20240515",
4734+
"revision": "20240516",
47354735
"rootUrl": "https://androidpublisher.googleapis.com/",
47364736
"schemas": {
47374737
"Abi": {
@@ -8976,7 +8976,8 @@
89768976
"SUBSCRIPTION_STATE_IN_GRACE_PERIOD",
89778977
"SUBSCRIPTION_STATE_ON_HOLD",
89788978
"SUBSCRIPTION_STATE_CANCELED",
8979-
"SUBSCRIPTION_STATE_EXPIRED"
8979+
"SUBSCRIPTION_STATE_EXPIRED",
8980+
"SUBSCRIPTION_STATE_PENDING_PURCHASE_CANCELED"
89808981
],
89818982
"enumDescriptions": [
89828983
"Unspecified subscription state.",
@@ -8986,7 +8987,8 @@
89868987
"Subscription is in grace period. The state is only available when the subscription is an auto renewing plan. In this state, all items are in grace period.",
89878988
"Subscription is on hold (suspended). The state is only available when the subscription is an auto renewing plan. In this state, all items are on hold.",
89888989
"Subscription is canceled but not expired yet. The state is only available when the subscription is an auto renewing plan. All items have auto_renew_enabled set to false.",
8989-
"Subscription is expired. All items have expiry_time in the past."
8990+
"Subscription is expired. All items have expiry_time in the past.",
8991+
"Pending transaction for subscription is canceled. If this pending purchase was for an existing subscription, use linked_purchase_token to get the current state of that subscription."
89908992
],
89918993
"type": "string"
89928994
},

androidpublisher/v3/androidpublisher-gen.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api-list.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5698,7 +5698,7 @@
56985698
"name": "sourcerepo",
56995699
"version": "v1",
57005700
"title": "Cloud Source Repositories API",
5701-
"description": "Accesses source code repositories hosted by Google.",
5701+
"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.",
57025702
"discoveryRestUrl": "https://sourcerepo.googleapis.com/$discovery/rest?version=v1",
57035703
"icons": {
57045704
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",

chat/v1/chat-api.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@
434434
]
435435
},
436436
"setup": {
437-
"description": "Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space with initial members](https://developers.google.com/workspace/chat/set-up-spaces). To specify the human members to add, add memberships with the appropriate `member.name` in the `SetUpSpaceRequest`. To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `[email protected]` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/[email protected]` or `users/123456789`. For a space or group chat, if the caller blocks or is blocked by some members, then those members aren't added to the created space. To create a direct message (DM) between the calling user and another human user, specify exactly one membership to represent the human user. If one user blocks the other, the request fails and the DM isn't created. To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to `true` and don't specify any memberships. You can only use this method to set up a DM with the calling app. To add the calling app as a member of a space or an existing DM between two human users, see [Invite or add a user or app to a space](https://developers.google.com/workspace/chat/create-members). If a DM already exists between two users, even when one user blocks the other at the time a request is made, then the existing DM is returned. Spaces with threaded replies aren't supported. If you receive the error message `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).",
437+
"description": "Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space with initial members](https://developers.google.com/workspace/chat/set-up-spaces). To specify the human members to add, add memberships with the appropriate `membership.member.name`. To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `[email protected]` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/[email protected]` or `users/123456789`. For a named space or group chat, if the caller blocks, or is blocked by some members, or doesn't have permission to add some members, then those members aren't added to the created space. To create a direct message (DM) between the calling user and another human user, specify exactly one membership to represent the human user. If one user blocks the other, the request fails and the DM isn't created. To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to `true` and don't specify any memberships. You can only use this method to set up a DM with the calling app. To add the calling app as a member of a space or an existing DM between two human users, see [Invite or add a user or app to a space](https://developers.google.com/workspace/chat/create-members). If a DM already exists between two users, even when one user blocks the other at the time a request is made, then the existing DM is returned. Spaces with threaded replies aren't supported. If you receive the error message `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).",
438438
"flatPath": "v1/spaces:setup",
439439
"httpMethod": "POST",
440440
"id": "chat.spaces.setup",
@@ -457,7 +457,7 @@
457457
"members": {
458458
"methods": {
459459
"create": {
460-
"description": "Creates a human membership or app membership for the calling app. Creating memberships for other apps isn't supported. For an example, see [Invite or add a user or a Google Chat app to a space](https://developers.google.com/workspace/chat/create-members). When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). To specify the member to add, set the `membership.member.name` in the `CreateMembershipRequest`: - To add the calling app to a space or a direct message between two human users, use `users/app`. Unable to add other apps to the space. - To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `[email protected]` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/[email protected]` or `users/123456789`.",
460+
"description": "Creates a human membership or app membership for the calling app. Creating memberships for other apps isn't supported. For an example, see [Invite or add a user or a Google Chat app to a space](https://developers.google.com/workspace/chat/create-members). When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). To specify the member to add, set the `membership.member.name` for the human or app member. - To add the calling app to a space or a direct message between two human users, use `users/app`. Unable to add other apps to the space. - To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `[email protected]` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/[email protected]` or `users/123456789`.",
461461
"flatPath": "v1/spaces/{spacesId}/members",
462462
"httpMethod": "POST",
463463
"id": "chat.spaces.members.create",
@@ -1215,7 +1215,7 @@
12151215
}
12161216
}
12171217
},
1218-
"revision": "20240507",
1218+
"revision": "20240509",
12191219
"rootUrl": "https://chat.googleapis.com/",
12201220
"schemas": {
12211221
"AccessoryWidget": {
@@ -3954,7 +3954,7 @@
39543954
"id": "SetUpSpaceRequest",
39553955
"properties": {
39563956
"memberships": {
3957-
"description": "Optional. The Google Chat users to invite to join the space. Omit the calling user, as they are added automatically. The set currently allows up to 20 memberships (in addition to the caller). The `Membership.member` field must contain a `user` with `name` populated (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only add human users when setting up a space (adding Chat apps is only supported for direct message setup with the calling app). You can also add members using the user's email as an alias for {user}. For example, the `user.name` can be `users/[email protected]`.\" To invite Gmail users or users from external Google Workspace domains, user's email must be used for `{user}`. Optional when setting `Space.spaceType` to `SPACE`. Required when setting `Space.spaceType` to `GROUP_CHAT`, along with at least two memberships. Required when setting `Space.spaceType` to `DIRECT_MESSAGE` with a human user, along with exactly one membership. Must be empty when creating a 1:1 conversation between a human and the calling Chat app (when setting `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to `true`).",
3957+
"description": "Optional. The Google Chat users to invite to join the space. Omit the calling user, as they are added automatically. The set currently allows up to 20 memberships (in addition to the caller). For human membership, the `Membership.member` field must contain a `user` with `name` populated (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only add human users when setting up a space (adding Chat apps is only supported for direct message setup with the calling app). You can also add members using the user's email as an alias for {user}. For example, the `user.name` can be `users/[email protected]`. To invite Gmail users or users from external Google Workspace domains, user's email must be used for `{user}`. Optional when setting `Space.spaceType` to `SPACE`. Required when setting `Space.spaceType` to `GROUP_CHAT`, along with at least two memberships. Required when setting `Space.spaceType` to `DIRECT_MESSAGE` with a human user, along with exactly one membership. Must be empty when creating a 1:1 conversation between a human and the calling Chat app (when setting `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to `true`).",
39583958
"items": {
39593959
"$ref": "Membership"
39603960
},

chat/v1/chat-gen.go

Lines changed: 36 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)