Skip to content

Commit

Permalink
fix(cloudscheduler): update the API
Browse files Browse the repository at this point in the history
#### cloudscheduler:v1
The following keys were changed:
- schemas.PubsubMessage.description
- schemas.PubsubMessage.properties.attributes.description

#### cloudscheduler:v1beta1
The following keys were changed:
- schemas.PubsubMessage.description
- schemas.PubsubMessage.properties.attributes.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 10, 2020
1 parent 6394bec commit ed2f240
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions discovery/cloudscheduler-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@
}
}
},
"revision": "20200505",
"revision": "20200703",
"rootUrl": "https://cloudscheduler.googleapis.com/",
"schemas": {
"AppEngineHttpTarget": {
Expand Down Expand Up @@ -744,14 +744,14 @@
"type": "object"
},
"PubsubMessage": {
"description": "A message that is published by publishers and consumed by subscribers. The\nmessage must contain either a non-empty data field or at least one attribute.\nNote that client libraries represent this object differently\ndepending on the language. See the corresponding\n<a href=\"https://cloud.google.com/pubsub/docs/reference/libraries\">client\nlibrary documentation</a> for more information. See\n<a href=\"https://cloud.google.com/pubsub/quotas\">Quotas and limits</a>\nfor more information about message limits.",
"description": "A message that is published by publishers and consumed by subscribers. The\nmessage must contain either a non-empty data field or at least one attribute.\nNote that client libraries represent this object differently\ndepending on the language. See the corresponding [client library\ndocumentation](https://cloud.google.com/pubsub/docs/reference/libraries) for\nmore information. See [quotas and limits]\n(https://cloud.google.com/pubsub/quotas) for more information about message\nlimits.",
"id": "PubsubMessage",
"properties": {
"attributes": {
"additionalProperties": {
"type": "string"
},
"description": "Attributes for this message. If this field is empty, the message must\ncontain non-empty data.",
"description": "Attributes for this message. If this field is empty, the message must\ncontain non-empty data. This can be used to filter messages on the\nsubscription.",
"type": "object"
},
"data": {
Expand Down
6 changes: 3 additions & 3 deletions discovery/cloudscheduler-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@
}
}
},
"revision": "20200505",
"revision": "20200703",
"rootUrl": "https://cloudscheduler.googleapis.com/",
"schemas": {
"AppEngineHttpTarget": {
Expand Down Expand Up @@ -744,14 +744,14 @@
"type": "object"
},
"PubsubMessage": {
"description": "A message that is published by publishers and consumed by subscribers. The\nmessage must contain either a non-empty data field or at least one attribute.\nNote that client libraries represent this object differently\ndepending on the language. See the corresponding\n<a href=\"https://cloud.google.com/pubsub/docs/reference/libraries\">client\nlibrary documentation</a> for more information. See\n<a href=\"https://cloud.google.com/pubsub/quotas\">Quotas and limits</a>\nfor more information about message limits.",
"description": "A message that is published by publishers and consumed by subscribers. The\nmessage must contain either a non-empty data field or at least one attribute.\nNote that client libraries represent this object differently\ndepending on the language. See the corresponding [client library\ndocumentation](https://cloud.google.com/pubsub/docs/reference/libraries) for\nmore information. See [quotas and limits]\n(https://cloud.google.com/pubsub/quotas) for more information about message\nlimits.",
"id": "PubsubMessage",
"properties": {
"attributes": {
"additionalProperties": {
"type": "string"
},
"description": "Attributes for this message. If this field is empty, the message must\ncontain non-empty data.",
"description": "Attributes for this message. If this field is empty, the message must\ncontain non-empty data. This can be used to filter messages on the\nsubscription.",
"type": "object"
},
"data": {
Expand Down
4 changes: 2 additions & 2 deletions src/apis/cloudscheduler/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,11 +349,11 @@ export namespace cloudscheduler_v1 {
*/
export interface Schema$PauseJobRequest {}
/**
* A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding &lt;a href=&quot;https://cloud.google.com/pubsub/docs/reference/libraries&quot;&gt;client library documentation&lt;/a&gt; for more information. See &lt;a href=&quot;https://cloud.google.com/pubsub/quotas&quot;&gt;Quotas and limits&lt;/a&gt; for more information about message limits.
* A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits] (https://cloud.google.com/pubsub/quotas) for more information about message limits.
*/
export interface Schema$PubsubMessage {
/**
* Attributes for this message. If this field is empty, the message must contain non-empty data.
* Attributes for this message. If this field is empty, the message must contain non-empty data. This can be used to filter messages on the subscription.
*/
attributes?: {[key: string]: string} | null;
/**
Expand Down
4 changes: 2 additions & 2 deletions src/apis/cloudscheduler/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,11 +349,11 @@ export namespace cloudscheduler_v1beta1 {
*/
export interface Schema$PauseJobRequest {}
/**
* A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding &lt;a href=&quot;https://cloud.google.com/pubsub/docs/reference/libraries&quot;&gt;client library documentation&lt;/a&gt; for more information. See &lt;a href=&quot;https://cloud.google.com/pubsub/quotas&quot;&gt;Quotas and limits&lt;/a&gt; for more information about message limits.
* A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits] (https://cloud.google.com/pubsub/quotas) for more information about message limits.
*/
export interface Schema$PubsubMessage {
/**
* Attributes for this message. If this field is empty, the message must contain non-empty data.
* Attributes for this message. If this field is empty, the message must contain non-empty data. This can be used to filter messages on the subscription.
*/
attributes?: {[key: string]: string} | null;
/**
Expand Down

0 comments on commit ed2f240

Please sign in to comment.