aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/googleapis/google/pubsub/pubsub.yaml
blob: dbe5a49821c19838bc20161406e8fc502b58ac72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Google Cloud Pub/Sub API service configuration

type: google.api.Service
config_version: 3
name: pubsub.googleapis.com

title: Google Cloud Pub/Sub API

documentation:
  summary: >
    Provides reliable, many-to-many, asynchronous messaging between
    applications.
  rules:
    - selector: >
        google.pubsub.v1.Topic.name,
      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"`.
    - selector: >
        google.pubsub.v1.Subscription.name,
      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"`.

apis:
- name: google.pubsub.v1.Publisher
- name: google.pubsub.v1.Subscriber

authentication:
  rules:
    - selector: '*'
      oauth:
        canonical_scopes: https://www.googleapis.com/auth/pubsub,
                          https://www.googleapis.com/auth/cloud-platform