Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(832)

Unified Diff: generated/googleapis_beta/lib/pubsub/v1beta2.dart

Issue 1268013003: Api-roll 21: 2015-08-04 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: generated/googleapis_beta/lib/pubsub/v1beta2.dart
diff --git a/generated/googleapis_beta/lib/pubsub/v1beta2.dart b/generated/googleapis_beta/lib/pubsub/v1beta2.dart
index a81c44e48b1a345a64f2405549e2c883538d2e91..868e3fe1acc63749fa8ed92205effc74443045e0 100644
--- a/generated/googleapis_beta/lib/pubsub/v1beta2.dart
+++ b/generated/googleapis_beta/lib/pubsub/v1beta2.dart
@@ -113,11 +113,11 @@ class ProjectsSubscriptionsResourceApi {
* Request parameters:
*
* [name] - 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".
+ * `"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"`.
* Value must have pattern "^projects/[^/] * / subscriptions/[^/]*$".
*
* Completes with a [Subscription].
@@ -592,11 +592,11 @@ class ProjectsTopicsResourceApi {
* Request parameters:
*
* [name] - 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".
+ * `"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"`.
* Value must have pattern "^projects/[^/] * / topics/[^/]*$".
*
* Completes with a [Topic].
@@ -814,7 +814,8 @@ class ProjectsTopicsResourceApi {
/**
* Adds one or more messages to the topic. Returns NOT_FOUND if the topic does
- * not exist.
+ * not exist. The message payload must not be empty; it must contain either a
+ * non-empty data field, or at least one attribute.
*
* [request] - The metadata request object.
*
@@ -1596,7 +1597,10 @@ class PublishResponse {
}
}
-/** A message data and its attributes. */
+/**
+ * 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.
+ */
class PubsubMessage {
/** Optional attributes for this message. */
core.Map<core.String, core.String> attributes;
@@ -1920,21 +1924,21 @@ class Subscription {
* 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
+ * 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 60 seconds is used.
+ * not set, the default value of 10 seconds is used.
*/
core.int ackDeadlineSeconds;
/**
* 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".
+ * `"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"`.
*/
core.String name;
/**
@@ -2039,11 +2043,11 @@ class TestIamPermissionsResponse {
class Topic {
/**
* 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".
+ * `"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"`.
*/
core.String name;

Powered by Google App Engine
This is Rietveld 408576698