tana-google-cloud-pubsub
Version:
Cloud Pub/Sub Client Library for Node.js
1,273 lines • 119 kB
JSON
{
"nested": {
"google": {
"nested": {
"pubsub": {
"nested": {
"v1": {
"options": {
"cc_enable_arenas": true,
"csharp_namespace": "Google.Cloud.PubSub.V1",
"go_package": "google.golang.org/genproto/googleapis/pubsub/v1;pubsub",
"java_multiple_files": true,
"java_outer_classname": "SchemaProto",
"java_package": "com.google.pubsub.v1",
"php_namespace": "Google\\Cloud\\PubSub\\V1",
"ruby_package": "Google::Cloud::PubSub::V1"
},
"nested": {
"Publisher": {
"options": {
"(google.api.default_host)": "pubsub.googleapis.com",
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsub"
},
"methods": {
"CreateTopic": {
"requestType": "Topic",
"responseType": "Topic",
"options": {
"(google.api.http).put": "/v1/{name=projects/*/topics/*}",
"(google.api.http).body": "*",
"(google.api.method_signature)": "name"
},
"parsedOptions": [
{
"(google.api.http)": {
"put": "/v1/{name=projects/*/topics/*}",
"body": "*"
}
},
{
"(google.api.method_signature)": "name"
}
]
},
"UpdateTopic": {
"requestType": "UpdateTopicRequest",
"responseType": "Topic",
"options": {
"(google.api.http).patch": "/v1/{topic.name=projects/*/topics/*}",
"(google.api.http).body": "*",
"(google.api.method_signature)": "topic,update_mask"
},
"parsedOptions": [
{
"(google.api.http)": {
"patch": "/v1/{topic.name=projects/*/topics/*}",
"body": "*"
}
},
{
"(google.api.method_signature)": "topic,update_mask"
}
]
},
"Publish": {
"requestType": "PublishRequest",
"responseType": "PublishResponse",
"options": {
"(google.api.http).post": "/v1/{topic=projects/*/topics/*}:publish",
"(google.api.http).body": "*",
"(google.api.method_signature)": "topic,messages"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{topic=projects/*/topics/*}:publish",
"body": "*"
}
},
{
"(google.api.method_signature)": "topic,messages"
}
]
},
"GetTopic": {
"requestType": "GetTopicRequest",
"responseType": "Topic",
"options": {
"(google.api.http).get": "/v1/{topic=projects/*/topics/*}",
"(google.api.method_signature)": "topic"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{topic=projects/*/topics/*}"
}
},
{
"(google.api.method_signature)": "topic"
}
]
},
"ListTopics": {
"requestType": "ListTopicsRequest",
"responseType": "ListTopicsResponse",
"options": {
"(google.api.http).get": "/v1/{project=projects/*}/topics",
"(google.api.method_signature)": "project"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{project=projects/*}/topics"
}
},
{
"(google.api.method_signature)": "project"
}
]
},
"ListTopicSubscriptions": {
"requestType": "ListTopicSubscriptionsRequest",
"responseType": "ListTopicSubscriptionsResponse",
"options": {
"(google.api.http).get": "/v1/{topic=projects/*/topics/*}/subscriptions",
"(google.api.method_signature)": "topic"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{topic=projects/*/topics/*}/subscriptions"
}
},
{
"(google.api.method_signature)": "topic"
}
]
},
"ListTopicSnapshots": {
"requestType": "ListTopicSnapshotsRequest",
"responseType": "ListTopicSnapshotsResponse",
"options": {
"(google.api.http).get": "/v1/{topic=projects/*/topics/*}/snapshots",
"(google.api.method_signature)": "topic"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{topic=projects/*/topics/*}/snapshots"
}
},
{
"(google.api.method_signature)": "topic"
}
]
},
"DeleteTopic": {
"requestType": "DeleteTopicRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).delete": "/v1/{topic=projects/*/topics/*}",
"(google.api.method_signature)": "topic"
},
"parsedOptions": [
{
"(google.api.http)": {
"delete": "/v1/{topic=projects/*/topics/*}"
}
},
{
"(google.api.method_signature)": "topic"
}
]
},
"DetachSubscription": {
"requestType": "DetachSubscriptionRequest",
"responseType": "DetachSubscriptionResponse",
"options": {
"(google.api.http).post": "/v1/{subscription=projects/*/subscriptions/*}:detach"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{subscription=projects/*/subscriptions/*}:detach"
}
}
]
}
}
},
"MessageStoragePolicy": {
"fields": {
"allowedPersistenceRegions": {
"rule": "repeated",
"type": "string",
"id": 1
}
}
},
"SchemaSettings": {
"fields": {
"schema": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Schema"
}
},
"encoding": {
"type": "Encoding",
"id": 2
},
"firstRevisionId": {
"type": "string",
"id": 3
},
"lastRevisionId": {
"type": "string",
"id": 4
}
}
},
"Topic": {
"options": {
"(google.api.resource).type": "pubsub.googleapis.com/Topic",
"(google.api.resource).pattern": "_deleted-topic_"
},
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"labels": {
"keyType": "string",
"type": "string",
"id": 2
},
"messageStoragePolicy": {
"type": "MessageStoragePolicy",
"id": 3
},
"kmsKeyName": {
"type": "string",
"id": 5
},
"schemaSettings": {
"type": "SchemaSettings",
"id": 6
},
"satisfiesPzs": {
"type": "bool",
"id": 7
},
"messageRetentionDuration": {
"type": "google.protobuf.Duration",
"id": 8
}
}
},
"PubsubMessage": {
"fields": {
"data": {
"type": "bytes",
"id": 1
},
"attributes": {
"keyType": "string",
"type": "string",
"id": 2
},
"messageId": {
"type": "string",
"id": 3
},
"publishTime": {
"type": "google.protobuf.Timestamp",
"id": 4
},
"orderingKey": {
"type": "string",
"id": 5
}
}
},
"GetTopicRequest": {
"fields": {
"topic": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Topic"
}
}
}
},
"UpdateTopicRequest": {
"fields": {
"topic": {
"type": "Topic",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"updateMask": {
"type": "google.protobuf.FieldMask",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"PublishRequest": {
"fields": {
"topic": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Topic"
}
},
"messages": {
"rule": "repeated",
"type": "PubsubMessage",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"PublishResponse": {
"fields": {
"messageIds": {
"rule": "repeated",
"type": "string",
"id": 1
}
}
},
"ListTopicsRequest": {
"fields": {
"project": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
}
},
"pageSize": {
"type": "int32",
"id": 2
},
"pageToken": {
"type": "string",
"id": 3
}
}
},
"ListTopicsResponse": {
"fields": {
"topics": {
"rule": "repeated",
"type": "Topic",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"ListTopicSubscriptionsRequest": {
"fields": {
"topic": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Topic"
}
},
"pageSize": {
"type": "int32",
"id": 2
},
"pageToken": {
"type": "string",
"id": 3
}
}
},
"ListTopicSubscriptionsResponse": {
"fields": {
"subscriptions": {
"rule": "repeated",
"type": "string",
"id": 1,
"options": {
"(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
}
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"ListTopicSnapshotsRequest": {
"fields": {
"topic": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Topic"
}
},
"pageSize": {
"type": "int32",
"id": 2
},
"pageToken": {
"type": "string",
"id": 3
}
}
},
"ListTopicSnapshotsResponse": {
"fields": {
"snapshots": {
"rule": "repeated",
"type": "string",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"DeleteTopicRequest": {
"fields": {
"topic": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Topic"
}
}
}
},
"DetachSubscriptionRequest": {
"fields": {
"subscription": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
}
}
}
},
"DetachSubscriptionResponse": {
"fields": {}
},
"Subscriber": {
"options": {
"(google.api.default_host)": "pubsub.googleapis.com",
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsub"
},
"methods": {
"CreateSubscription": {
"requestType": "Subscription",
"responseType": "Subscription",
"options": {
"(google.api.http).put": "/v1/{name=projects/*/subscriptions/*}",
"(google.api.http).body": "*",
"(google.api.method_signature)": "name,topic,push_config,ack_deadline_seconds"
},
"parsedOptions": [
{
"(google.api.http)": {
"put": "/v1/{name=projects/*/subscriptions/*}",
"body": "*"
}
},
{
"(google.api.method_signature)": "name,topic,push_config,ack_deadline_seconds"
}
]
},
"GetSubscription": {
"requestType": "GetSubscriptionRequest",
"responseType": "Subscription",
"options": {
"(google.api.http).get": "/v1/{subscription=projects/*/subscriptions/*}",
"(google.api.method_signature)": "subscription"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{subscription=projects/*/subscriptions/*}"
}
},
{
"(google.api.method_signature)": "subscription"
}
]
},
"UpdateSubscription": {
"requestType": "UpdateSubscriptionRequest",
"responseType": "Subscription",
"options": {
"(google.api.http).patch": "/v1/{subscription.name=projects/*/subscriptions/*}",
"(google.api.http).body": "*",
"(google.api.method_signature)": "subscription,update_mask"
},
"parsedOptions": [
{
"(google.api.http)": {
"patch": "/v1/{subscription.name=projects/*/subscriptions/*}",
"body": "*"
}
},
{
"(google.api.method_signature)": "subscription,update_mask"
}
]
},
"ListSubscriptions": {
"requestType": "ListSubscriptionsRequest",
"responseType": "ListSubscriptionsResponse",
"options": {
"(google.api.http).get": "/v1/{project=projects/*}/subscriptions",
"(google.api.method_signature)": "project"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{project=projects/*}/subscriptions"
}
},
{
"(google.api.method_signature)": "project"
}
]
},
"DeleteSubscription": {
"requestType": "DeleteSubscriptionRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).delete": "/v1/{subscription=projects/*/subscriptions/*}",
"(google.api.method_signature)": "subscription"
},
"parsedOptions": [
{
"(google.api.http)": {
"delete": "/v1/{subscription=projects/*/subscriptions/*}"
}
},
{
"(google.api.method_signature)": "subscription"
}
]
},
"ModifyAckDeadline": {
"requestType": "ModifyAckDeadlineRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).post": "/v1/{subscription=projects/*/subscriptions/*}:modifyAckDeadline",
"(google.api.http).body": "*",
"(google.api.method_signature)": "subscription,ack_ids,ack_deadline_seconds"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{subscription=projects/*/subscriptions/*}:modifyAckDeadline",
"body": "*"
}
},
{
"(google.api.method_signature)": "subscription,ack_ids,ack_deadline_seconds"
}
]
},
"Acknowledge": {
"requestType": "AcknowledgeRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).post": "/v1/{subscription=projects/*/subscriptions/*}:acknowledge",
"(google.api.http).body": "*",
"(google.api.method_signature)": "subscription,ack_ids"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{subscription=projects/*/subscriptions/*}:acknowledge",
"body": "*"
}
},
{
"(google.api.method_signature)": "subscription,ack_ids"
}
]
},
"Pull": {
"requestType": "PullRequest",
"responseType": "PullResponse",
"options": {
"(google.api.http).post": "/v1/{subscription=projects/*/subscriptions/*}:pull",
"(google.api.http).body": "*",
"(google.api.method_signature)": "subscription,max_messages"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{subscription=projects/*/subscriptions/*}:pull",
"body": "*"
}
},
{
"(google.api.method_signature)": "subscription,return_immediately,max_messages"
},
{
"(google.api.method_signature)": "subscription,max_messages"
}
]
},
"StreamingPull": {
"requestType": "StreamingPullRequest",
"requestStream": true,
"responseType": "StreamingPullResponse",
"responseStream": true
},
"ModifyPushConfig": {
"requestType": "ModifyPushConfigRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).post": "/v1/{subscription=projects/*/subscriptions/*}:modifyPushConfig",
"(google.api.http).body": "*",
"(google.api.method_signature)": "subscription,push_config"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{subscription=projects/*/subscriptions/*}:modifyPushConfig",
"body": "*"
}
},
{
"(google.api.method_signature)": "subscription,push_config"
}
]
},
"GetSnapshot": {
"requestType": "GetSnapshotRequest",
"responseType": "Snapshot",
"options": {
"(google.api.http).get": "/v1/{snapshot=projects/*/snapshots/*}",
"(google.api.method_signature)": "snapshot"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{snapshot=projects/*/snapshots/*}"
}
},
{
"(google.api.method_signature)": "snapshot"
}
]
},
"ListSnapshots": {
"requestType": "ListSnapshotsRequest",
"responseType": "ListSnapshotsResponse",
"options": {
"(google.api.http).get": "/v1/{project=projects/*}/snapshots",
"(google.api.method_signature)": "project"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{project=projects/*}/snapshots"
}
},
{
"(google.api.method_signature)": "project"
}
]
},
"CreateSnapshot": {
"requestType": "CreateSnapshotRequest",
"responseType": "Snapshot",
"options": {
"(google.api.http).put": "/v1/{name=projects/*/snapshots/*}",
"(google.api.http).body": "*",
"(google.api.method_signature)": "name,subscription"
},
"parsedOptions": [
{
"(google.api.http)": {
"put": "/v1/{name=projects/*/snapshots/*}",
"body": "*"
}
},
{
"(google.api.method_signature)": "name,subscription"
}
]
},
"UpdateSnapshot": {
"requestType": "UpdateSnapshotRequest",
"responseType": "Snapshot",
"options": {
"(google.api.http).patch": "/v1/{snapshot.name=projects/*/snapshots/*}",
"(google.api.http).body": "*",
"(google.api.method_signature)": "snapshot,update_mask"
},
"parsedOptions": [
{
"(google.api.http)": {
"patch": "/v1/{snapshot.name=projects/*/snapshots/*}",
"body": "*"
}
},
{
"(google.api.method_signature)": "snapshot,update_mask"
}
]
},
"DeleteSnapshot": {
"requestType": "DeleteSnapshotRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).delete": "/v1/{snapshot=projects/*/snapshots/*}",
"(google.api.method_signature)": "snapshot"
},
"parsedOptions": [
{
"(google.api.http)": {
"delete": "/v1/{snapshot=projects/*/snapshots/*}"
}
},
{
"(google.api.method_signature)": "snapshot"
}
]
},
"Seek": {
"requestType": "SeekRequest",
"responseType": "SeekResponse",
"options": {
"(google.api.http).post": "/v1/{subscription=projects/*/subscriptions/*}:seek",
"(google.api.http).body": "*"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{subscription=projects/*/subscriptions/*}:seek",
"body": "*"
}
}
]
}
}
},
"Subscription": {
"options": {
"(google.api.resource).type": "pubsub.googleapis.com/Subscription",
"(google.api.resource).pattern": "projects/{project}/subscriptions/{subscription}"
},
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"topic": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Topic"
}
},
"pushConfig": {
"type": "PushConfig",
"id": 4
},
"bigqueryConfig": {
"type": "BigQueryConfig",
"id": 18
},
"ackDeadlineSeconds": {
"type": "int32",
"id": 5
},
"retainAckedMessages": {
"type": "bool",
"id": 7
},
"messageRetentionDuration": {
"type": "google.protobuf.Duration",
"id": 8
},
"labels": {
"keyType": "string",
"type": "string",
"id": 9
},
"enableMessageOrdering": {
"type": "bool",
"id": 10
},
"expirationPolicy": {
"type": "ExpirationPolicy",
"id": 11
},
"filter": {
"type": "string",
"id": 12
},
"deadLetterPolicy": {
"type": "DeadLetterPolicy",
"id": 13
},
"retryPolicy": {
"type": "RetryPolicy",
"id": 14
},
"detached": {
"type": "bool",
"id": 15
},
"enableExactlyOnceDelivery": {
"type": "bool",
"id": 16
},
"topicMessageRetentionDuration": {
"type": "google.protobuf.Duration",
"id": 17,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"state": {
"type": "State",
"id": 19,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
}
},
"nested": {
"State": {
"values": {
"STATE_UNSPECIFIED": 0,
"ACTIVE": 1,
"RESOURCE_ERROR": 2
}
}
}
},
"RetryPolicy": {
"fields": {
"minimumBackoff": {
"type": "google.protobuf.Duration",
"id": 1
},
"maximumBackoff": {
"type": "google.protobuf.Duration",
"id": 2
}
}
},
"DeadLetterPolicy": {
"fields": {
"deadLetterTopic": {
"type": "string",
"id": 1
},
"maxDeliveryAttempts": {
"type": "int32",
"id": 2
}
}
},
"ExpirationPolicy": {
"fields": {
"ttl": {
"type": "google.protobuf.Duration",
"id": 1
}
}
},
"PushConfig": {
"oneofs": {
"authenticationMethod": {
"oneof": [
"oidcToken"
]
}
},
"fields": {
"pushEndpoint": {
"type": "string",
"id": 1
},
"attributes": {
"keyType": "string",
"type": "string",
"id": 2
},
"oidcToken": {
"type": "OidcToken",
"id": 3
}
},
"nested": {
"OidcToken": {
"fields": {
"serviceAccountEmail": {
"type": "string",
"id": 1
},
"audience": {
"type": "string",
"id": 2
}
}
}
}
},
"BigQueryConfig": {
"fields": {
"table": {
"type": "string",
"id": 1
},
"useTopicSchema": {
"type": "bool",
"id": 2
},
"writeMetadata": {
"type": "bool",
"id": 3
},
"dropUnknownFields": {
"type": "bool",
"id": 4
},
"state": {
"type": "State",
"id": 5,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
}
},
"nested": {
"State": {
"values": {
"STATE_UNSPECIFIED": 0,
"ACTIVE": 1,
"PERMISSION_DENIED": 2,
"NOT_FOUND": 3,
"SCHEMA_MISMATCH": 4
}
}
}
},
"ReceivedMessage": {
"fields": {
"ackId": {
"type": "string",
"id": 1
},
"message": {
"type": "PubsubMessage",
"id": 2
},
"deliveryAttempt": {
"type": "int32",
"id": 3
}
}
},
"GetSubscriptionRequest": {
"fields": {
"subscription": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
}
}
}
},
"UpdateSubscriptionRequest": {
"fields": {
"subscription": {
"type": "Subscription",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"updateMask": {
"type": "google.protobuf.FieldMask",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"ListSubscriptionsRequest": {
"fields": {
"project": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
}
},
"pageSize": {
"type": "int32",
"id": 2
},
"pageToken": {
"type": "string",
"id": 3
}
}
},
"ListSubscriptionsResponse": {
"fields": {
"subscriptions": {
"rule": "repeated",
"type": "Subscription",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"DeleteSubscriptionRequest": {
"fields": {
"subscription": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
}
}
}
},
"ModifyPushConfigRequest": {
"fields": {
"subscription": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
}
},
"pushConfig": {
"type": "PushConfig",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"PullRequest": {
"fields": {
"subscription": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
}
},
"returnImmediately": {
"type": "bool",
"id": 2,
"options": {
"deprecated": true,
"(google.api.field_behavior)": "OPTIONAL"
}
},
"maxMessages": {
"type": "int32",
"id": 3,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"PullResponse": {
"fields": {
"receivedMessages": {
"rule": "repeated",
"type": "ReceivedMessage",
"id": 1
}
}
},
"ModifyAckDeadlineRequest": {
"fields": {
"subscription": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
}
},
"ackIds": {
"rule": "repeated",
"type": "string",
"id": 4,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"ackDeadlineSeconds": {
"type": "int32",
"id": 3,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"AcknowledgeRequest": {
"fields": {
"subscription": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
}
},
"ackIds": {
"rule": "repeated",
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"StreamingPullRequest": {
"fields": {
"subscription": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
}
},
"ackIds": {
"rule": "repeated",
"type": "string",
"id": 2
},
"modifyDeadlineSeconds": {
"rule": "repeated",
"type": "int32",
"id": 3
},
"modifyDeadlineAckIds": {
"rule": "repeated",
"type": "string",
"id": 4
},
"streamAckDeadlineSeconds": {
"type": "int32",
"id": 5,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"clientId": {
"type": "string",
"id": 6
},
"maxOutstandingMessages": {
"type": "int64",
"id": 7
},
"maxOutstandingBytes": {
"type": "int64",
"id": 8
}
}
},
"StreamingPullResponse": {
"fields": {
"receivedMessages": {
"rule": "repeated",
"type": "ReceivedMessage",
"id": 1
},
"acknowledgeConfirmation": {
"type": "AcknowledgeConfirmation",
"id": 5
},
"modifyAckDeadlineConfirmation": {
"type": "ModifyAckDeadlineConfirmation",
"id": 3
},
"subscriptionProperties": {
"type": "SubscriptionProperties",
"id": 4
}
},
"nested": {
"AcknowledgeConfirmation": {
"fields": {
"ackIds": {
"rule": "repeated",
"type": "string",
"id": 1
},
"invalidAckIds": {
"rule": "repeated",
"type": "string",
"id": 2
},
"unorderedAckIds": {
"rule": "repeated",
"type": "string",
"id": 3
},
"temporaryFailedAckIds": {
"rule": "repeated",
"type": "string",
"id": 4
}
}
},
"ModifyAckDeadlineConfirmation": {
"fields": {
"ackIds": {
"rule": "repeated",
"type