1 | "use strict";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | Object.defineProperty(exports, "__esModule", { value: true });
|
16 | exports.vision = exports.videointelligence = exports.storagetransfer = exports.speech = exports.spanner = exports.pubsub = exports.monitoring = exports.logging = exports.language = exports.iam = exports.functions = exports.firestore = exports.embeddedAssistant = exports.dlp = exports.datastore = exports.container = exports.cloudtrace = exports.bigtable = exports.appengine = exports.loadSync = exports.load = exports.getProtoPath = void 0;
|
17 | const path = require("path");
|
18 | const loader = require("./load");
|
19 | function getProtoPath(...paths) {
|
20 | return path.join(__dirname, '../../', 'google', ...paths);
|
21 | }
|
22 | exports.getProtoPath = getProtoPath;
|
23 | exports.load = loader.load;
|
24 | exports.loadSync = loader.loadSync;
|
25 | exports.appengine = {
|
26 | v1: getProtoPath('appengine/v1/appengine.proto'),
|
27 | };
|
28 | exports.bigtable = {
|
29 | v1: getProtoPath('bigtable/v1/bigtable_service.proto'),
|
30 | v2: getProtoPath('bigtable/v2/bigtable.proto'),
|
31 | admin: {
|
32 | v1: getProtoPath('bigtable/admin/table/v1/bigtable_table_service.proto'),
|
33 | v2: {
|
34 | instance: getProtoPath('bigtable/admin/v2/bigtable_instance_admin.proto'),
|
35 | table: getProtoPath('bigtable/admin/v2/bigtable_table_admin.proto'),
|
36 | },
|
37 | },
|
38 | };
|
39 | exports.cloudtrace = {
|
40 | v1: getProtoPath('devtools/cloudtrace/v1/trace.proto'),
|
41 | };
|
42 | exports.container = {
|
43 | v1: getProtoPath('container/v1/cluster_service.proto'),
|
44 | };
|
45 | exports.datastore = {
|
46 | v1: getProtoPath('datastore/v1/datastore.proto'),
|
47 | v1beta3: getProtoPath('datastore/v1beta3/datastore.proto'),
|
48 | };
|
49 | exports.dlp = {
|
50 | v2beta1: getProtoPath('privacy/dlp/v2beta1/dlp.proto'),
|
51 | };
|
52 | exports.embeddedAssistant = {
|
53 | v1alpha1: getProtoPath('assistant/embedded/v1alpha1/embedded_assistant.proto'),
|
54 | v1alpha2: getProtoPath('assistant/embedded/v1alpha2/embedded_assistant.proto'),
|
55 | };
|
56 | exports.firestore = {
|
57 | v1beta1: getProtoPath('firestore/v1beta1/firestore.proto'),
|
58 | admin: {
|
59 | v1beta1: getProtoPath('firestore/admin/v1beta1/firestore_admin.proto'),
|
60 | },
|
61 | };
|
62 | exports.functions = {
|
63 | v1beta2: getProtoPath('cloud/functions/v1beta2/functions.proto'),
|
64 | };
|
65 | exports.iam = {
|
66 | v1: getProtoPath('iam/v1/iam_policy.proto'),
|
67 | admin: {
|
68 | v1: getProtoPath('iam/admin/v1/iam.proto'),
|
69 | },
|
70 | };
|
71 | exports.language = {
|
72 | v1beta1: getProtoPath('cloud/language/v1beta1/language_service.proto'),
|
73 | v1: getProtoPath('cloud/language/v1/language_service.proto'),
|
74 | };
|
75 | exports.logging = {
|
76 | v2: getProtoPath('logging/v2/logging.proto'),
|
77 | };
|
78 | exports.monitoring = {
|
79 | v3: {
|
80 | group: getProtoPath('monitoring/v3/group_service.proto'),
|
81 | metric: getProtoPath('monitoring/v3/metric_service.proto'),
|
82 | },
|
83 | };
|
84 | exports.pubsub = {
|
85 | v1: getProtoPath('pubsub/v1/pubsub.proto'),
|
86 | v1beta2: getProtoPath('pubsub/v1beta2/pubsub.proto'),
|
87 | };
|
88 | exports.spanner = {
|
89 | v1: getProtoPath('spanner/v1/spanner.proto'),
|
90 | admin: {
|
91 | v1: {
|
92 | database: getProtoPath('spanner/admin/database/v1/spanner_database_admin.proto'),
|
93 | instance: getProtoPath('spanner/admin/instance/v1/spanner_instance_admin.proto'),
|
94 | },
|
95 | },
|
96 | };
|
97 | exports.speech = {
|
98 | v1beta1: getProtoPath('cloud/speech/v1beta1/cloud_speech.proto'),
|
99 | v1: getProtoPath('cloud/speech/v1/cloud_speech.proto'),
|
100 | v2: getProtoPath('cloud/speech/v2/cloud_speech.proto'),
|
101 | };
|
102 | exports.storagetransfer = {
|
103 | v1: getProtoPath('storagetransfer/v1/transfer.proto'),
|
104 | };
|
105 | exports.videointelligence = {
|
106 | v1beta1: getProtoPath('cloud/videointelligence/v1beta1/video_intelligence.proto'),
|
107 | };
|
108 | exports.vision = {
|
109 | v1: getProtoPath('cloud/vision/v1/image_annotator.proto'),
|
110 | };
|
111 |
|
\ | No newline at end of file |