Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2860)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Nov 6, 2024
1 parent eb00c84 commit 3347fa1
Show file tree
Hide file tree
Showing 45 changed files with 3,692 additions and 431 deletions.
4 changes: 2 additions & 2 deletions androidmanagement/v1/androidmanagement-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@
}
}
},
"revision": "20241031",
"revision": "20241104",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdbShellCommandEvent": {
Expand Down Expand Up @@ -4834,7 +4834,7 @@
"type": "array"
},
"addUserDisabled": {
"description": "Whether adding new users and profiles is disabled.",
"description": "Whether adding new users and profiles is disabled. For devices where managementMode is DEVICE_OWNER this field is ignored and the user is never allowed to add or remove users.",
"type": "boolean"
},
"adjustVolumeDisabled": {
Expand Down
4 changes: 3 additions & 1 deletion androidmanagement/v1/androidmanagement-gen.go

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

16 changes: 9 additions & 7 deletions chat/v1/chat-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@
"messages": {
"methods": {
"create": {
"description": "Creates a message in a Google Chat space. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). The `create()` method requires either [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) or [app authentication](https://developers.google.com/workspace/chat/authorize-import). Chat attributes the message sender differently depending on the type of authentication that you use in your request. The following image shows how Chat attributes a message when you use app authentication. Chat displays the Chat app as the message sender. The content of the message can contain text (`text`), cards (`cardsV2`), and accessory widgets (`accessoryWidgets`). ![Message sent with app authentication](https://developers.google.com/workspace/chat/images/message-app-auth.svg) The following image shows how Chat attributes a message when you use user authentication. Chat displays the user as the message sender and attributes the Chat app to the message by displaying its name. The content of message can only contain text (`text`). ![Message sent with user authentication](https://developers.google.com/workspace/chat/images/message-user-auth.svg) The maximum message size, including the message contents, is 32,000 bytes.",
"description": "Creates a message in a Google Chat space. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). The `create()` method requires either [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) or [app authentication](https://developers.google.com/workspace/chat/authorize-import). Chat attributes the message sender differently depending on the type of authentication that you use in your request. The following image shows how Chat attributes a message when you use app authentication. Chat displays the Chat app as the message sender. The content of the message can contain text (`text`), cards (`cardsV2`), and accessory widgets (`accessoryWidgets`). ![Message sent with app authentication](https://developers.google.com/workspace/chat/images/message-app-auth.svg) The following image shows how Chat attributes a message when you use user authentication. Chat displays the user as the message sender and attributes the Chat app to the message by displaying its name. The content of message can only contain text (`text`). ![Message sent with user authentication](https://developers.google.com/workspace/chat/images/message-user-auth.svg) The maximum message size, including the message contents, is 32,000 bytes. For [webhook](https://developers.google.com/workspace/chat/quickstart/webhooks) requests, the response doesn't contain the full message. The response only populates the `name` and `thread.name` fields in addition to the information that was in the request.",
"flatPath": "v1/spaces/{spacesId}/messages",
"httpMethod": "POST",
"id": "chat.spaces.messages.create",
Expand Down Expand Up @@ -1344,7 +1344,7 @@
}
}
},
"revision": "20241029",
"revision": "20241031",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"AccessSettings": {
Expand Down Expand Up @@ -2117,7 +2117,7 @@
"readOnly": true
},
"unicode": {
"description": "A basic emoji represented by a unicode string.",
"description": "Optional. A basic emoji represented by a unicode string.",
"type": "string"
}
},
Expand All @@ -2129,11 +2129,13 @@
"properties": {
"emoji": {
"$ref": "Emoji",
"description": "Emoji associated with the reactions."
"description": "Output only. Emoji associated with the reactions.",
"readOnly": true
},
"reactionCount": {
"description": "The total number of reactions using the associated emoji.",
"description": "Output only. The total number of reactions using the associated emoji.",
"format": "int32",
"readOnly": true,
"type": "integer"
}
},
Expand Down Expand Up @@ -4239,10 +4241,10 @@
"properties": {
"emoji": {
"$ref": "Emoji",
"description": "The emoji used in the reaction."
"description": "Required. The emoji used in the reaction."
},
"name": {
"description": "The resource name of the reaction. Format: `spaces/{space}/messages/{message}/reactions/{reaction}`",
"description": "Identifier. The resource name of the reaction. Format: `spaces/{space}/messages/{message}/reactions/{reaction}`",
"type": "string"
},
"user": {
Expand Down
16 changes: 11 additions & 5 deletions chat/v1/chat-gen.go

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

59 changes: 52 additions & 7 deletions cloudchannel/v1/cloudchannel-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2289,7 +2289,7 @@
}
}
},
"revision": "20241024",
"revision": "20241102",
"rootUrl": "https://cloudchannel.googleapis.com/",
"schemas": {
"GoogleCloudChannelV1ActivateEntitlementRequest": {
Expand Down Expand Up @@ -2429,6 +2429,10 @@
},
"type": "array"
},
"priceReferenceId": {
"description": "Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order. Yet to be implemented: this field is currently not evaluated in the API if populated in a request.",
"type": "string"
},
"purchaseOrderId": {
"description": "Optional. Purchase order id provided by the reseller.",
"type": "string"
Expand Down Expand Up @@ -2955,7 +2959,7 @@
"type": "string"
},
"eventType": {
"description": "Type of event which happened on the customer.",
"description": "Type of event which happened for the customer.",
"enum": [
"TYPE_UNSPECIFIED",
"PRIMARY_DOMAIN_CHANGED",
Expand Down Expand Up @@ -3104,6 +3108,10 @@
},
"type": "array"
},
"priceReferenceId": {
"description": "Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order. Yet to be implemented: this field is currently not evaluated in the API if populated in a request.",
"type": "string"
},
"provisionedService": {
"$ref": "GoogleCloudChannelV1ProvisionedService",
"description": "Output only. Service provisioning details for the entitlement.",
Expand Down Expand Up @@ -3324,7 +3332,7 @@
"type": "string"
},
"eventType": {
"description": "Type of event which happened on the entitlement.",
"description": "Type of event which happened for the entitlement.",
"enum": [
"TYPE_UNSPECIFIED",
"CREATED",
Expand Down Expand Up @@ -4316,6 +4324,10 @@
"offer": {
"$ref": "GoogleCloudChannelV1Offer",
"description": "Offer."
},
"priceReferenceId": {
"description": "Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -4888,6 +4900,10 @@
"offer": {
"$ref": "GoogleCloudChannelV1Offer",
"description": "Offer with parameter constraints updated to allow the Transfer."
},
"priceReferenceId": {
"description": "Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -5026,7 +5042,7 @@
"type": "string"
},
"eventType": {
"description": "Type of event performed on the Channel Partner.",
"description": "Type of event which happened for the channel partner.",
"enum": [
"TYPE_UNSPECIFIED",
"LINK_STATE_CHANGED",
Expand Down Expand Up @@ -5112,7 +5128,7 @@
"type": "string"
},
"eventType": {
"description": "Type of event which happened on the customer.",
"description": "Type of event which happened for the customer.",
"enum": [
"TYPE_UNSPECIFIED",
"PRIMARY_DOMAIN_CHANGED",
Expand Down Expand Up @@ -5302,7 +5318,7 @@
"type": "string"
},
"eventType": {
"description": "Type of event which happened on the entitlement.",
"description": "Type of event which happened for the entitlement.",
"enum": [
"TYPE_UNSPECIFIED",
"CREATED",
Expand Down Expand Up @@ -5383,6 +5399,31 @@
},
"type": "object"
},
"GoogleCloudChannelV1alpha1OpportunityEvent": {
"description": "Represents Pub/Sub message content describing opportunity updates.",
"id": "GoogleCloudChannelV1alpha1OpportunityEvent",
"properties": {
"eventType": {
"description": "Type of event which happened for the opportunity.",
"enum": [
"TYPE_UNSPECIFIED",
"CREATED",
"UPDATED"
],
"enumDescriptions": [
"Not used.",
"New opportunity created.",
"Existing opportunity updated."
],
"type": "string"
},
"opportunity": {
"description": "Resource name of the opportunity. Format: opportunities/{opportunity}",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudChannelV1alpha1Parameter": {
"description": "Definition for extended entitlement parameters.",
"id": "GoogleCloudChannelV1alpha1Parameter",
Expand Down Expand Up @@ -5652,6 +5693,10 @@
"entitlementEvent": {
"$ref": "GoogleCloudChannelV1alpha1EntitlementEvent",
"description": "Entitlement event sent as part of Pub/Sub event to partners."
},
"opportunityEvent": {
"$ref": "GoogleCloudChannelV1alpha1OpportunityEvent",
"description": "Opportunity event sent as part of Pub/Sub event to partners/integrators."
}
},
"type": "object"
Expand Down Expand Up @@ -5885,7 +5930,7 @@
"type": "object"
},
"GoogleTypeDecimal": {
"description": "A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's BigDecimal or Python's decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.org/3/library/decimal.html",
"description": "A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's [BigDecimal](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or Python's [decimal.Decimal](https://docs.python.org/3/library/decimal.html).",
"id": "GoogleTypeDecimal",
"properties": {
"value": {
Expand Down
Loading

0 comments on commit 3347fa1

Please sign in to comment.