@google-cloud/pubsub
Version:
Cloud Pub/Sub Client Library for Node.js
1,237 lines (1,236 loc) • 161 kB
JSON
{
"options": {
"syntax": "proto3"
},
"nested": {
"google": {
"nested": {
"pubsub": {
"nested": {
"v1": {
"options": {
"cc_enable_arenas": true,
"csharp_namespace": "Google.Cloud.PubSub.V1",
"go_package": "cloud.google.com/go/pubsub/apiv1/pubsubpb;pubsubpb",
"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,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"enforceInTransit": {
"type": "bool",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"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,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"firstRevisionId": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"lastRevisionId": {
"type": "string",
"id": 4,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"IngestionDataSourceSettings": {
"oneofs": {
"source": {
"oneof": [
"awsKinesis",
"cloudStorage"
]
}
},
"fields": {
"awsKinesis": {
"type": "AwsKinesis",
"id": 1,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"cloudStorage": {
"type": "CloudStorage",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"platformLogsSettings": {
"type": "PlatformLogsSettings",
"id": 4,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
},
"nested": {
"AwsKinesis": {
"fields": {
"state": {
"type": "State",
"id": 1,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"streamArn": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"consumerArn": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"awsRoleArn": {
"type": "string",
"id": 4,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"gcpServiceAccount": {
"type": "string",
"id": 5,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
},
"nested": {
"State": {
"values": {
"STATE_UNSPECIFIED": 0,
"ACTIVE": 1,
"KINESIS_PERMISSION_DENIED": 2,
"PUBLISH_PERMISSION_DENIED": 3,
"STREAM_NOT_FOUND": 4,
"CONSUMER_NOT_FOUND": 5
}
}
}
},
"CloudStorage": {
"oneofs": {
"inputFormat": {
"oneof": [
"textFormat",
"avroFormat",
"pubsubAvroFormat"
]
}
},
"fields": {
"state": {
"type": "State",
"id": 1,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"bucket": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"textFormat": {
"type": "TextFormat",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"avroFormat": {
"type": "AvroFormat",
"id": 4,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"pubsubAvroFormat": {
"type": "PubSubAvroFormat",
"id": 5,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"minimumObjectCreateTime": {
"type": "google.protobuf.Timestamp",
"id": 6,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"matchGlob": {
"type": "string",
"id": 9,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
},
"nested": {
"State": {
"values": {
"STATE_UNSPECIFIED": 0,
"ACTIVE": 1,
"CLOUD_STORAGE_PERMISSION_DENIED": 2,
"PUBLISH_PERMISSION_DENIED": 3,
"BUCKET_NOT_FOUND": 4,
"TOO_MANY_OBJECTS": 5
}
},
"TextFormat": {
"oneofs": {
"_delimiter": {
"oneof": [
"delimiter"
]
}
},
"fields": {
"delimiter": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "OPTIONAL",
"proto3_optional": true
}
}
}
},
"AvroFormat": {
"fields": {}
},
"PubSubAvroFormat": {
"fields": {}
}
}
}
}
},
"PlatformLogsSettings": {
"fields": {
"severity": {
"type": "Severity",
"id": 1,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
},
"nested": {
"Severity": {
"values": {
"SEVERITY_UNSPECIFIED": 0,
"DISABLED": 1,
"DEBUG": 2,
"INFO": 3,
"WARNING": 4,
"ERROR": 5
}
}
}
},
"IngestionFailureEvent": {
"oneofs": {
"failure": {
"oneof": [
"cloudStorageFailure"
]
}
},
"fields": {
"topic": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"errorMessage": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"cloudStorageFailure": {
"type": "CloudStorageFailure",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
},
"nested": {
"ApiViolationReason": {
"fields": {}
},
"AvroFailureReason": {
"fields": {}
},
"CloudStorageFailure": {
"oneofs": {
"reason": {
"oneof": [
"avroFailureReason",
"apiViolationReason"
]
}
},
"fields": {
"bucket": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"objectName": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"objectGeneration": {
"type": "int64",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"avroFailureReason": {
"type": "AvroFailureReason",
"id": 5,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"apiViolationReason": {
"type": "ApiViolationReason",
"id": 6,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
}
}
},
"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,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"messageStoragePolicy": {
"type": "MessageStoragePolicy",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"kmsKeyName": {
"type": "string",
"id": 5,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"schemaSettings": {
"type": "SchemaSettings",
"id": 6,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"satisfiesPzs": {
"type": "bool",
"id": 7,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"messageRetentionDuration": {
"type": "google.protobuf.Duration",
"id": 8,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"state": {
"type": "State",
"id": 9,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"ingestionDataSourceSettings": {
"type": "IngestionDataSourceSettings",
"id": 10,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
},
"nested": {
"State": {
"values": {
"STATE_UNSPECIFIED": 0,
"ACTIVE": 1,
"INGESTION_RESOURCE_ERROR": 2
}
}
}
},
"PubsubMessage": {
"fields": {
"data": {
"type": "bytes",
"id": 1,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"attributes": {
"keyType": "string",
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"messageId": {
"type": "string",
"id": 3
},
"publishTime": {
"type": "google.protobuf.Timestamp",
"id": 4
},
"orderingKey": {
"type": "string",
"id": 5,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"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,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"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,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"pageToken": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"ListTopicsResponse": {
"fields": {
"topics": {
"rule": "repeated",
"type": "Topic",
"id": 1,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"nextPageToken": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"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,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"pageToken": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"ListTopicSubscriptionsResponse": {
"fields": {
"subscriptions": {
"rule": "repeated",
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "OPTIONAL",
"(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
}
},
"nextPageToken": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"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,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"pageToken": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"ListTopicSnapshotsResponse": {
"fields": {
"snapshots": {
"rule": "repeated",
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"nextPageToken": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"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,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"bigqueryConfig": {
"type": "BigQueryConfig",
"id": 18,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"cloudStorageConfig": {
"type": "CloudStorageConfig",
"id": 22,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"ackDeadlineSeconds": {
"type": "int32",
"id": 5,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"retainAckedMessages": {
"type": "bool",
"id": 7,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}