Index: discovery/googleapis/pubsub__v1.json |
diff --git a/discovery/googleapis_beta/pubsub__v1beta2.json b/discovery/googleapis/pubsub__v1.json |
similarity index 94% |
copy from discovery/googleapis_beta/pubsub__v1beta2.json |
copy to discovery/googleapis/pubsub__v1.json |
index db56264e3b9f15df32470e01036bb0661e1891cc..719a9b5c7b8b4be15a440e5a0b0c93f70c493dca 100644 |
--- a/discovery/googleapis_beta/pubsub__v1beta2.json |
+++ b/discovery/googleapis/pubsub__v1.json |
@@ -17,12 +17,12 @@ |
"description": "Provides reliable, many-to-many, asynchronous messaging between applications.", |
"discoveryVersion": "v1", |
"documentationLink": "https://cloud.google.com/pubsub/docs", |
- "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/jJarxdUjZcANpaMjt3kLHFRtpJA\"", |
+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/2gFziNeeWonAEaa0qgWc2bxo8D8\"", |
"icons": { |
"x16": "http://www.google.com/images/icons/product/search-16.gif", |
"x32": "http://www.google.com/images/icons/product/search-32.gif" |
}, |
- "id": "pubsub:v1beta2", |
+ "id": "pubsub:v1", |
"kind": "discovery#restDescription", |
"name": "pubsub", |
"ownerDomain": "google.com", |
@@ -128,7 +128,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+resource}:setIamPolicy", |
+ "path": "v1/{+resource}:setIamPolicy", |
"request": { |
"$ref": "SetIamPolicyRequest" |
}, |
@@ -156,7 +156,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+resource}:getIamPolicy", |
+ "path": "v1/{+resource}:getIamPolicy", |
"response": { |
"$ref": "Policy" |
}, |
@@ -181,7 +181,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+resource}:testIamPermissions", |
+ "path": "v1/{+resource}:testIamPermissions", |
"request": { |
"$ref": "TestIamPermissionsRequest" |
}, |
@@ -202,14 +202,14 @@ |
], |
"parameters": { |
"name": { |
- "description": "The name of the topic. It must have the format \"projects/{project}/topics/{topic}\" for Google Cloud Pub/Sub API v1 and v1beta2. {topic} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\".", |
+ "description": "The name of the topic. It must have the format `\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.", |
"location": "path", |
"pattern": "^projects/[^/]*/topics/[^/]*$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+name}", |
+ "path": "v1/{+name}", |
"request": { |
"$ref": "Topic" |
}, |
@@ -222,7 +222,7 @@ |
] |
}, |
"publish": { |
- "description": "Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist.", |
+ "description": "Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute.", |
"httpMethod": "POST", |
"id": "pubsub.projects.topics.publish", |
"parameterOrder": [ |
@@ -237,7 +237,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+topic}:publish", |
+ "path": "v1/{+topic}:publish", |
"request": { |
"$ref": "PublishRequest" |
}, |
@@ -265,7 +265,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+topic}", |
+ "path": "v1/{+topic}", |
"response": { |
"$ref": "Topic" |
}, |
@@ -301,7 +301,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+project}/topics", |
+ "path": "v1/{+project}/topics", |
"response": { |
"$ref": "ListTopicsResponse" |
}, |
@@ -326,7 +326,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+topic}", |
+ "path": "v1/{+topic}", |
"response": { |
"$ref": "Empty" |
}, |
@@ -366,7 +366,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+topic}/subscriptions", |
+ "path": "v1/{+topic}/subscriptions", |
"response": { |
"$ref": "ListTopicSubscriptionsResponse" |
}, |
@@ -397,7 +397,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+resource}:setIamPolicy", |
+ "path": "v1/{+resource}:setIamPolicy", |
"request": { |
"$ref": "SetIamPolicyRequest" |
}, |
@@ -425,7 +425,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+resource}:getIamPolicy", |
+ "path": "v1/{+resource}:getIamPolicy", |
"response": { |
"$ref": "Policy" |
}, |
@@ -450,7 +450,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+resource}:testIamPermissions", |
+ "path": "v1/{+resource}:testIamPermissions", |
"request": { |
"$ref": "TestIamPermissionsRequest" |
}, |
@@ -471,14 +471,14 @@ |
], |
"parameters": { |
"name": { |
- "description": "The name of the subscription. It must have the format \"projects/{project}/subscriptions/{subscription}\" for Google Cloud Pub/Sub API v1 and v1beta2. {subscription} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\".", |
+ "description": "The name of the subscription. It must have the format `\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.", |
"location": "path", |
"pattern": "^projects/[^/]*/subscriptions/[^/]*$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+name}", |
+ "path": "v1/{+name}", |
"request": { |
"$ref": "Subscription" |
}, |
@@ -506,7 +506,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+subscription}", |
+ "path": "v1/{+subscription}", |
"response": { |
"$ref": "Subscription" |
}, |
@@ -542,7 +542,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+project}/subscriptions", |
+ "path": "v1/{+project}/subscriptions", |
"response": { |
"$ref": "ListSubscriptionsResponse" |
}, |
@@ -567,7 +567,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+subscription}", |
+ "path": "v1/{+subscription}", |
"response": { |
"$ref": "Empty" |
}, |
@@ -592,7 +592,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+subscription}:modifyAckDeadline", |
+ "path": "v1/{+subscription}:modifyAckDeadline", |
"request": { |
"$ref": "ModifyAckDeadlineRequest" |
}, |
@@ -620,7 +620,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+subscription}:acknowledge", |
+ "path": "v1/{+subscription}:acknowledge", |
"request": { |
"$ref": "AcknowledgeRequest" |
}, |
@@ -648,7 +648,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+subscription}:pull", |
+ "path": "v1/{+subscription}:pull", |
"request": { |
"$ref": "PullRequest" |
}, |
@@ -676,7 +676,7 @@ |
"type": "string" |
} |
}, |
- "path": "v1beta2/{+subscription}:modifyPushConfig", |
+ "path": "v1/{+subscription}:modifyPushConfig", |
"request": { |
"$ref": "ModifyPushConfigRequest" |
}, |
@@ -693,7 +693,7 @@ |
} |
} |
}, |
- "revision": "20150604", |
+ "revision": "20150427", |
"rootUrl": "https://pubsub.googleapis.com/", |
"schemas": { |
"SetIamPolicyRequest": { |
@@ -944,7 +944,7 @@ |
"id": "Topic", |
"properties": { |
"name": { |
- "description": "The name of the topic. It must have the format \"projects/{project}/topics/{topic}\" for Google Cloud Pub/Sub API v1 and v1beta2. {topic} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\".", |
+ "description": "The name of the topic. It must have the format `\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.", |
"type": "string" |
} |
}, |
@@ -965,7 +965,7 @@ |
"type": "object" |
}, |
"PubsubMessage": { |
- "description": "A message data and its attributes.", |
+ "description": "A message data and its attributes. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute.", |
"id": "PubsubMessage", |
"properties": { |
"data": { |
@@ -1047,7 +1047,7 @@ |
"id": "Subscription", |
"properties": { |
"name": { |
- "description": "The name of the subscription. It must have the format \"projects/{project}/subscriptions/{subscription}\" for Google Cloud Pub/Sub API v1 and v1beta2. {subscription} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\".", |
+ "description": "The name of the subscription. It must have the format `\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.", |
"type": "string" |
}, |
"topic": { |
@@ -1059,7 +1059,7 @@ |
"description": "If push delivery is used with this subscription, this field is used to configure it. An empty pushConfig signifies that the subscriber will pull and ack messages using API methods." |
}, |
"ackDeadlineSeconds": { |
- "description": "This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull delivery this value is used as the initial value for the ack deadline. It may be overridden for each message using its corresponding ack_id by calling ModifyAckDeadline. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is not set, the default value of 60 seconds is used.", |
+ "description": "This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull delivery this value is used as the initial value for the ack deadline. To override this value for a given message, call ModifyAckDeadline with the corresponding ack_id. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is not set, the default value of 10 seconds is used.", |
"format": "int32", |
"type": "integer" |
} |
@@ -1106,10 +1106,6 @@ |
"description": "Request for the ModifyAckDeadline method.", |
"id": "ModifyAckDeadlineRequest", |
"properties": { |
- "ackId": { |
- "description": "The acknowledgment ID. Either this or ack_ids must be populated, but not both.", |
- "type": "string" |
- }, |
"ackIds": { |
"description": "List of acknowledgment IDs.", |
"items": { |
@@ -1198,5 +1194,5 @@ |
}, |
"servicePath": "", |
"title": "Google Cloud Pub/Sub API", |
- "version": "v1beta2" |
+ "version": "v1" |
} |