@alphauspkgs/blue-sdk-ts 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/admin/v1/admin_pb.js +239 -0
- package/admin/v1/admin_pb.ts +1604 -0
- package/admin/v1/client.js +9 -0
- package/admin/v1/client.ts +7 -0
- package/api/account_pb.js +22 -0
- package/api/account_pb.ts +132 -0
- package/api/accountgroup_pb.js +18 -0
- package/api/accountgroup_pb.ts +56 -0
- package/api/adjustment_pb.js +26 -0
- package/api/adjustment_pb.ts +102 -0
- package/api/apiclient_pb.js +16 -0
- package/api/apiclient_pb.ts +66 -0
- package/api/audit_pb.js +21 -0
- package/api/audit_pb.ts +70 -0
- package/api/aws/breakeven_pb.js +21 -0
- package/api/aws/breakeven_pb.ts +93 -0
- package/api/aws/calculator_pb.js +31 -0
- package/api/aws/calculator_pb.ts +138 -0
- package/api/aws/cost_pb.js +22 -0
- package/api/aws/cost_pb.ts +315 -0
- package/api/aws/recommendation_pb.js +36 -0
- package/api/aws/recommendation_pb.ts +338 -0
- package/api/aws/reduction_pb.js +31 -0
- package/api/aws/reduction_pb.ts +416 -0
- package/api/azure/cost_pb.js +21 -0
- package/api/azure/cost_pb.ts +268 -0
- package/api/azureea/cost_pb.js +16 -0
- package/api/azureea/cost_pb.ts +141 -0
- package/api/budget_pb.js +57 -0
- package/api/budget_pb.ts +293 -0
- package/api/costtag_pb.js +17 -0
- package/api/costtag_pb.ts +77 -0
- package/api/cover/accountaccess_pb.js +46 -0
- package/api/cover/accountaccess_pb.ts +334 -0
- package/api/cover/alert_pb.js +36 -0
- package/api/cover/alert_pb.ts +183 -0
- package/api/cover/applyrecommendation_pb.js +41 -0
- package/api/cover/applyrecommendation_pb.ts +133 -0
- package/api/cover/asset_pb.js +26 -0
- package/api/cover/asset_pb.ts +305 -0
- package/api/cover/attribute_pb.js +21 -0
- package/api/cover/attribute_pb.ts +58 -0
- package/api/cover/budget_pb.js +42 -0
- package/api/cover/budget_pb.ts +275 -0
- package/api/cover/costforecast_pb.js +16 -0
- package/api/cover/costforecast_pb.ts +81 -0
- package/api/cover/costgroup_pb.js +89 -0
- package/api/cover/costgroup_pb.ts +473 -0
- package/api/cover/discountplan_pb.js +31 -0
- package/api/cover/discountplan_pb.ts +461 -0
- package/api/cover/discountrecommendation_pb.js +96 -0
- package/api/cover/discountrecommendation_pb.ts +500 -0
- package/api/cover/insightreport_pb.js +26 -0
- package/api/cover/insightreport_pb.ts +167 -0
- package/api/cover/optimizationrecommendation_pb.js +262 -0
- package/api/cover/optimizationrecommendation_pb.ts +1964 -0
- package/api/cover/recommendation/aws_pb.js +407 -0
- package/api/cover/recommendation/aws_pb.ts +2418 -0
- package/api/cover/recommendation/azurecsp_pb.js +16 -0
- package/api/cover/recommendation/azurecsp_pb.ts +27 -0
- package/api/cover/recommendation/gcp_pb.js +27 -0
- package/api/cover/recommendation/gcp_pb.ts +91 -0
- package/api/cover/recommendation/octoaws_pb.js +22 -0
- package/api/cover/recommendation/octoaws_pb.ts +55 -0
- package/api/cover/recommendation/octoazurecsp_pb.js +16 -0
- package/api/cover/recommendation/octoazurecsp_pb.ts +27 -0
- package/api/cover/recommendation/octogcp_pb.js +16 -0
- package/api/cover/recommendation/octogcp_pb.ts +27 -0
- package/api/cover/recommendation/recommendation_pb.js +27 -0
- package/api/cover/recommendation/recommendation_pb.ts +190 -0
- package/api/cover/rightsizingrecommendation_pb.js +21 -0
- package/api/cover/rightsizingrecommendation_pb.ts +133 -0
- package/api/cover/unitcost_pb.js +82 -0
- package/api/cover/unitcost_pb.ts +576 -0
- package/api/cover/user_pb.js +26 -0
- package/api/cover/user_pb.ts +330 -0
- package/api/cover/view_pb.js +53 -0
- package/api/cover/view_pb.ts +393 -0
- package/api/coverage_pb.js +31 -0
- package/api/coverage_pb.ts +132 -0
- package/api/forecast_pb.js +61 -0
- package/api/forecast_pb.ts +346 -0
- package/api/gcp/cost_pb.js +16 -0
- package/api/gcp/cost_pb.ts +128 -0
- package/api/grouprootuser_pb.js +21 -0
- package/api/grouprootuser_pb.ts +390 -0
- package/api/invoice_pb.js +96 -0
- package/api/invoice_pb.ts +905 -0
- package/api/keyvalue_pb.js +21 -0
- package/api/keyvalue_pb.ts +72 -0
- package/api/notification_pb.js +46 -0
- package/api/notification_pb.ts +232 -0
- package/api/pricing/details_pb.js +17 -0
- package/api/pricing/details_pb.ts +172 -0
- package/api/rbac_pb.js +31 -0
- package/api/rbac_pb.ts +142 -0
- package/api/ripple/accessgroup_pb.js +16 -0
- package/api/ripple/accessgroup_pb.ts +48 -0
- package/api/ripple/billinggroup_pb.js +16 -0
- package/api/ripple/billinggroup_pb.ts +154 -0
- package/api/ripple/customfield_pb.js +16 -0
- package/api/ripple/customfield_pb.ts +49 -0
- package/api/ripple/customizedbillingservice_pb.js +175 -0
- package/api/ripple/customizedbillingservice_pb.ts +455 -0
- package/api/ripple/duedate_pb.js +16 -0
- package/api/ripple/duedate_pb.ts +58 -0
- package/api/ripple/exchangerate_pb.js +41 -0
- package/api/ripple/exchangerate_pb.ts +205 -0
- package/api/ripple/invoicelayout_pb.js +46 -0
- package/api/ripple/invoicelayout_pb.ts +547 -0
- package/api/ripple/org_pb.js +16 -0
- package/api/ripple/org_pb.ts +51 -0
- package/api/ripple/payer_pb.js +18 -0
- package/api/ripple/payer_pb.ts +60 -0
- package/api/ripple/reseller_pb.js +21 -0
- package/api/ripple/reseller_pb.ts +168 -0
- package/api/ripple/rounding_pb.js +46 -0
- package/api/ripple/rounding_pb.ts +69 -0
- package/api/ripple/untaggedgroup_pb.js +28 -0
- package/api/ripple/untaggedgroup_pb.ts +151 -0
- package/api/ripple/v1/accountsupportplan_pb.js +59 -0
- package/api/ripple/v1/accountsupportplan_pb.ts +98 -0
- package/api/ripple/v1/adjustmententry_pb.js +31 -0
- package/api/ripple/v1/adjustmententry_pb.ts +275 -0
- package/api/ripple/v1/dashboard_pb.js +61 -0
- package/api/ripple/v1/dashboard_pb.ts +661 -0
- package/api/ripple/v1/export_pb.js +16 -0
- package/api/ripple/v1/export_pb.ts +49 -0
- package/api/ripple/v1/invoiceservicediscounts_pb.js +48 -0
- package/api/ripple/v1/invoiceservicediscounts_pb.ts +298 -0
- package/api/ripple/yearmonth_pb.js +16 -0
- package/api/ripple/yearmonth_pb.ts +35 -0
- package/api/user_pb.js +26 -0
- package/api/user_pb.ts +124 -0
- package/api/utilization_pb.js +21 -0
- package/api/utilization_pb.ts +78 -0
- package/api/wave/adjustment_pb.js +16 -0
- package/api/wave/adjustment_pb.ts +105 -0
- package/api/wave/budget_pb.js +27 -0
- package/api/wave/budget_pb.ts +122 -0
- package/billing/v1/billing_pb.js +952 -0
- package/billing/v1/billing_pb.ts +7570 -0
- package/billing/v1/client.js +9 -0
- package/billing/v1/client.ts +7 -0
- package/conn/conn.js +38 -0
- package/conn/conn.ts +46 -0
- package/cost/v1/client.js +9 -0
- package/cost/v1/client.ts +7 -0
- package/cost/v1/cost_pb.js +721 -0
- package/cost/v1/cost_pb.ts +5845 -0
- package/cover/v1/client.js +9 -0
- package/cover/v1/client.ts +7 -0
- package/cover/v1/cover_pb.js +2085 -0
- package/cover/v1/cover_pb.ts +12883 -0
- package/flow/v1/client.js +9 -0
- package/flow/v1/client.ts +7 -0
- package/flow/v1/flow_pb.js +265 -0
- package/flow/v1/flow_pb.ts +2496 -0
- package/google/api/annotations_pb.js +29 -0
- package/google/api/annotations_pb.ts +39 -0
- package/google/api/auth_pb.js +47 -0
- package/google/api/auth_pb.ts +295 -0
- package/google/api/backend_pb.js +31 -0
- package/google/api/backend_pb.ts +97 -0
- package/google/api/billing_pb.js +32 -0
- package/google/api/billing_pb.ts +104 -0
- package/google/api/client_pb.js +101 -0
- package/google/api/client_pb.ts +114 -0
- package/google/api/config_change_pb.js +71 -0
- package/google/api/config_change_pb.ts +161 -0
- package/google/api/consumer_pb.js +73 -0
- package/google/api/consumer_pb.ts +156 -0
- package/google/api/context_pb.js +31 -0
- package/google/api/context_pb.ts +105 -0
- package/google/api/control_pb.js +26 -0
- package/google/api/control_pb.ts +52 -0
- package/google/api/distribution_pb.js +58 -0
- package/google/api/distribution_pb.ts +388 -0
- package/google/api/documentation_pb.js +36 -0
- package/google/api/documentation_pb.ts +238 -0
- package/google/api/endpoint_pb.js +27 -0
- package/google/api/endpoint_pb.ts +105 -0
- package/google/api/field_behavior_pb.js +103 -0
- package/google/api/field_behavior_pb.ts +119 -0
- package/google/api/http_pb.js +36 -0
- package/google/api/http_pb.ts +420 -0
- package/google/api/httpbody_pb.js +27 -0
- package/google/api/httpbody_pb.ts +103 -0
- package/google/api/label_pb.js +56 -0
- package/google/api/label_pb.ts +97 -0
- package/google/api/launch_stage_pb.js +92 -0
- package/google/api/launch_stage_pb.ts +105 -0
- package/google/api/log_pb.js +27 -0
- package/google/api/log_pb.ts +86 -0
- package/google/api/logging_pb.js +32 -0
- package/google/api/logging_pb.ts +124 -0
- package/google/api/metric_pb.js +128 -0
- package/google/api/metric_pb.ts +322 -0
- package/google/api/monitored_resource_pb.js +38 -0
- package/google/api/monitored_resource_pb.ts +188 -0
- package/google/api/monitoring_pb.js +32 -0
- package/google/api/monitoring_pb.ts +130 -0
- package/google/api/quota_pb.js +37 -0
- package/google/api/quota_pb.ts +351 -0
- package/google/api/resource_pb.js +118 -0
- package/google/api/resource_pb.ts +410 -0
- package/google/api/service_pb.js +45 -0
- package/google/api/service_pb.ts +302 -0
- package/google/api/source_info_pb.js +27 -0
- package/google/api/source_info_pb.ts +51 -0
- package/google/api/system_parameter_pb.js +36 -0
- package/google/api/system_parameter_pb.ts +157 -0
- package/google/api/usage_pb.js +32 -0
- package/google/api/usage_pb.ts +141 -0
- package/google/longrunning/operations_pb.js +90 -0
- package/google/longrunning/operations_pb.ts +434 -0
- package/google/rpc/code_pb.js +244 -0
- package/google/rpc/code_pb.ts +268 -0
- package/google/rpc/context/attribute_context_pb.js +57 -0
- package/google/rpc/context/attribute_context_pb.ts +532 -0
- package/google/rpc/error_details_pb.js +92 -0
- package/google/rpc/error_details_pb.ts +513 -0
- package/google/rpc/status_pb.js +27 -0
- package/google/rpc/status_pb.ts +74 -0
- package/iam/v1/client.js +9 -0
- package/iam/v1/client.ts +8 -0
- package/iam/v1/iam_pb.js +285 -0
- package/iam/v1/iam_pb.ts +1698 -0
- package/kvstore/v1/kvstore_pb.js +40 -0
- package/kvstore/v1/kvstore_pb.ts +155 -0
- package/operations/v1/operations_pb.js +52 -0
- package/operations/v1/operations_pb.ts +235 -0
- package/org/v1/client.js +9 -0
- package/org/v1/client.ts +7 -0
- package/org/v1/org_pb.js +61 -0
- package/org/v1/org_pb.ts +321 -0
- package/package.json +22 -0
- package/preferences/v1/client.js +9 -0
- package/preferences/v1/client.ts +8 -0
- package/preferences/v1/preferences_pb.js +29 -0
- package/preferences/v1/preferences_pb.ts +63 -0
- package/pricing/v1/client.js +9 -0
- package/pricing/v1/client.ts +7 -0
- package/pricing/v1/pricing_pb.js +60 -0
- package/pricing/v1/pricing_pb.ts +311 -0
- package/prism/v1/client.js +9 -0
- package/prism/v1/client.ts +7 -0
- package/prism/v1/prism_pb.js +250 -0
- package/prism/v1/prism_pb.ts +1396 -0
- package/protoc-gen-openapiv2/options/annotations_pb.js +58 -0
- package/protoc-gen-openapiv2/options/annotations_pb.ts +72 -0
- package/protoc-gen-openapiv2/options/openapiv2_pb.js +253 -0
- package/protoc-gen-openapiv2/options/openapiv2_pb.ts +1313 -0
- package/protos/entity_pb.js +17 -0
- package/protos/entity_pb.ts +49 -0
- package/protos/message_pb.js +16 -0
- package/protos/message_pb.ts +40 -0
- package/protos/operation_pb.js +33 -0
- package/protos/operation_pb.ts +198 -0
- package/tsconfig.json +12 -0
- package/vortex/v1/client.js +9 -0
- package/vortex/v1/client.ts +7 -0
- package/vortex/v1/vortex_pb.js +65 -0
- package/vortex/v1/vortex_pb.ts +280 -0
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
// Copyright 2017 Google Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
16
|
+
// @generated from file google/api/service.proto (package google.api, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
21
|
+
import { file_google_api_annotations } from "./annotations_pb";
|
|
22
|
+
import type { Authentication } from "./auth_pb";
|
|
23
|
+
import { file_google_api_auth } from "./auth_pb";
|
|
24
|
+
import type { Backend } from "./backend_pb";
|
|
25
|
+
import { file_google_api_backend } from "./backend_pb";
|
|
26
|
+
import type { Billing } from "./billing_pb";
|
|
27
|
+
import { file_google_api_billing } from "./billing_pb";
|
|
28
|
+
import type { Context } from "./context_pb";
|
|
29
|
+
import { file_google_api_context } from "./context_pb";
|
|
30
|
+
import type { Control } from "./control_pb";
|
|
31
|
+
import { file_google_api_control } from "./control_pb";
|
|
32
|
+
import type { Documentation } from "./documentation_pb";
|
|
33
|
+
import { file_google_api_documentation } from "./documentation_pb";
|
|
34
|
+
import type { Endpoint } from "./endpoint_pb";
|
|
35
|
+
import { file_google_api_endpoint } from "./endpoint_pb";
|
|
36
|
+
import type { Http } from "./http_pb";
|
|
37
|
+
import { file_google_api_http } from "./http_pb";
|
|
38
|
+
import type { LogDescriptor } from "./log_pb";
|
|
39
|
+
import { file_google_api_log } from "./log_pb";
|
|
40
|
+
import type { Logging } from "./logging_pb";
|
|
41
|
+
import { file_google_api_logging } from "./logging_pb";
|
|
42
|
+
import type { MetricDescriptor } from "./metric_pb";
|
|
43
|
+
import { file_google_api_metric } from "./metric_pb";
|
|
44
|
+
import type { MonitoredResourceDescriptor } from "./monitored_resource_pb";
|
|
45
|
+
import { file_google_api_monitored_resource } from "./monitored_resource_pb";
|
|
46
|
+
import type { Monitoring } from "./monitoring_pb";
|
|
47
|
+
import { file_google_api_monitoring } from "./monitoring_pb";
|
|
48
|
+
import type { Quota } from "./quota_pb";
|
|
49
|
+
import { file_google_api_quota } from "./quota_pb";
|
|
50
|
+
import type { SourceInfo } from "./source_info_pb";
|
|
51
|
+
import { file_google_api_source_info } from "./source_info_pb";
|
|
52
|
+
import type { SystemParameters } from "./system_parameter_pb";
|
|
53
|
+
import { file_google_api_system_parameter } from "./system_parameter_pb";
|
|
54
|
+
import type { Usage } from "./usage_pb";
|
|
55
|
+
import { file_google_api_usage } from "./usage_pb";
|
|
56
|
+
import type { Api, Enum, Type } from "@bufbuild/protobuf/wkt";
|
|
57
|
+
import { file_google_protobuf_api, file_google_protobuf_type, file_google_protobuf_wrappers } from "@bufbuild/protobuf/wkt";
|
|
58
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Describes the file google/api/service.proto.
|
|
62
|
+
*/
|
|
63
|
+
export const file_google_api_service: GenFile = /*@__PURE__*/
|
|
64
|
+
fileDesc("Chhnb29nbGUvYXBpL3NlcnZpY2UucHJvdG8SCmdvb2dsZS5hcGki3AcKB1NlcnZpY2USNAoOY29uZmlnX3ZlcnNpb24YFCABKAsyHC5nb29nbGUucHJvdG9idWYuVUludDMyVmFsdWUSDAoEbmFtZRgBIAEoCRIKCgJpZBghIAEoCRINCgV0aXRsZRgCIAEoCRIbChNwcm9kdWNlcl9wcm9qZWN0X2lkGBYgASgJEiIKBGFwaXMYAyADKAsyFC5nb29nbGUucHJvdG9idWYuQXBpEiQKBXR5cGVzGAQgAygLMhUuZ29vZ2xlLnByb3RvYnVmLlR5cGUSJAoFZW51bXMYBSADKAsyFS5nb29nbGUucHJvdG9idWYuRW51bRIwCg1kb2N1bWVudGF0aW9uGAYgASgLMhkuZ29vZ2xlLmFwaS5Eb2N1bWVudGF0aW9uEiQKB2JhY2tlbmQYCCABKAsyEy5nb29nbGUuYXBpLkJhY2tlbmQSHgoEaHR0cBgJIAEoCzIQLmdvb2dsZS5hcGkuSHR0cBIgCgVxdW90YRgKIAEoCzIRLmdvb2dsZS5hcGkuUXVvdGESMgoOYXV0aGVudGljYXRpb24YCyABKAsyGi5nb29nbGUuYXBpLkF1dGhlbnRpY2F0aW9uEiQKB2NvbnRleHQYDCABKAsyEy5nb29nbGUuYXBpLkNvbnRleHQSIAoFdXNhZ2UYDyABKAsyES5nb29nbGUuYXBpLlVzYWdlEicKCWVuZHBvaW50cxgSIAMoCzIULmdvb2dsZS5hcGkuRW5kcG9pbnQSJAoHY29udHJvbBgVIAEoCzITLmdvb2dsZS5hcGkuQ29udHJvbBInCgRsb2dzGBcgAygLMhkuZ29vZ2xlLmFwaS5Mb2dEZXNjcmlwdG9yEi0KB21ldHJpY3MYGCADKAsyHC5nb29nbGUuYXBpLk1ldHJpY0Rlc2NyaXB0b3ISRAoTbW9uaXRvcmVkX3Jlc291cmNlcxgZIAMoCzInLmdvb2dsZS5hcGkuTW9uaXRvcmVkUmVzb3VyY2VEZXNjcmlwdG9yEiQKB2JpbGxpbmcYGiABKAsyEy5nb29nbGUuYXBpLkJpbGxpbmcSJAoHbG9nZ2luZxgbIAEoCzITLmdvb2dsZS5hcGkuTG9nZ2luZxIqCgptb25pdG9yaW5nGBwgASgLMhYuZ29vZ2xlLmFwaS5Nb25pdG9yaW5nEjcKEXN5c3RlbV9wYXJhbWV0ZXJzGB0gASgLMhwuZ29vZ2xlLmFwaS5TeXN0ZW1QYXJhbWV0ZXJzEisKC3NvdXJjZV9pbmZvGCUgASgLMhYuZ29vZ2xlLmFwaS5Tb3VyY2VJbmZvSgQIZRBmQm4KDmNvbS5nb29nbGUuYXBpQgxTZXJ2aWNlUHJvdG9QAVpFZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvc2VydmljZWNvbmZpZztzZXJ2aWNlY29uZmlnogIER0FQSWIGcHJvdG8z", [file_google_api_annotations, file_google_api_auth, file_google_api_backend, file_google_api_billing, file_google_api_context, file_google_api_control, file_google_api_documentation, file_google_api_endpoint, file_google_api_http, file_google_api_log, file_google_api_logging, file_google_api_metric, file_google_api_monitored_resource, file_google_api_monitoring, file_google_api_quota, file_google_api_source_info, file_google_api_system_parameter, file_google_api_usage, file_google_protobuf_api, file_google_protobuf_type, file_google_protobuf_wrappers]);
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* `Service` is the root object of Google service configuration schema. It
|
|
68
|
+
* describes basic information about a service, such as the name and the
|
|
69
|
+
* title, and delegates other aspects to sub-sections. Each sub-section is
|
|
70
|
+
* either a proto message or a repeated proto message that configures a
|
|
71
|
+
* specific aspect, such as auth. See each proto message definition for details.
|
|
72
|
+
*
|
|
73
|
+
* Example:
|
|
74
|
+
*
|
|
75
|
+
* type: google.api.Service
|
|
76
|
+
* config_version: 3
|
|
77
|
+
* name: calendar.googleapis.com
|
|
78
|
+
* title: Google Calendar API
|
|
79
|
+
* apis:
|
|
80
|
+
* - name: google.calendar.v3.Calendar
|
|
81
|
+
* authentication:
|
|
82
|
+
* providers:
|
|
83
|
+
* - id: google_calendar_auth
|
|
84
|
+
* jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
|
85
|
+
* issuer: https://securetoken.google.com
|
|
86
|
+
* rules:
|
|
87
|
+
* - selector: "*"
|
|
88
|
+
* requirements:
|
|
89
|
+
* provider_id: google_calendar_auth
|
|
90
|
+
*
|
|
91
|
+
* @generated from message google.api.Service
|
|
92
|
+
*/
|
|
93
|
+
export type Service = Message<"google.api.Service"> & {
|
|
94
|
+
/**
|
|
95
|
+
* The semantic version of the service configuration. The config version
|
|
96
|
+
* affects the interpretation of the service configuration. For example,
|
|
97
|
+
* certain features are enabled by default for certain config versions.
|
|
98
|
+
* The latest config version is `3`.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: google.protobuf.UInt32Value config_version = 20;
|
|
101
|
+
*/
|
|
102
|
+
configVersion?: number;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* The DNS address at which this service is available,
|
|
106
|
+
* e.g. `calendar.googleapis.com`.
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: string name = 1;
|
|
109
|
+
*/
|
|
110
|
+
name: string;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* A unique ID for a specific instance of this message, typically assigned
|
|
114
|
+
* by the client for tracking purpose. If empty, the server may choose to
|
|
115
|
+
* generate one instead.
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: string id = 33;
|
|
118
|
+
*/
|
|
119
|
+
id: string;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* The product title for this service.
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: string title = 2;
|
|
125
|
+
*/
|
|
126
|
+
title: string;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* The Google project that owns this service.
|
|
130
|
+
*
|
|
131
|
+
* @generated from field: string producer_project_id = 22;
|
|
132
|
+
*/
|
|
133
|
+
producerProjectId: string;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* A list of API interfaces exported by this service. Only the `name` field
|
|
137
|
+
* of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
|
|
138
|
+
* author, as the remaining fields will be derived from the IDL during the
|
|
139
|
+
* normalization process. It is an error to specify an API interface here
|
|
140
|
+
* which cannot be resolved against the associated IDL files.
|
|
141
|
+
*
|
|
142
|
+
* @generated from field: repeated google.protobuf.Api apis = 3;
|
|
143
|
+
*/
|
|
144
|
+
apis: Api[];
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* A list of all proto message types included in this API service.
|
|
148
|
+
* Types referenced directly or indirectly by the `apis` are
|
|
149
|
+
* automatically included. Messages which are not referenced but
|
|
150
|
+
* shall be included, such as types used by the `google.protobuf.Any` type,
|
|
151
|
+
* should be listed here by name. Example:
|
|
152
|
+
*
|
|
153
|
+
* types:
|
|
154
|
+
* - name: google.protobuf.Int32
|
|
155
|
+
*
|
|
156
|
+
* @generated from field: repeated google.protobuf.Type types = 4;
|
|
157
|
+
*/
|
|
158
|
+
types: Type[];
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* A list of all enum types included in this API service. Enums
|
|
162
|
+
* referenced directly or indirectly by the `apis` are automatically
|
|
163
|
+
* included. Enums which are not referenced but shall be included
|
|
164
|
+
* should be listed here by name. Example:
|
|
165
|
+
*
|
|
166
|
+
* enums:
|
|
167
|
+
* - name: google.someapi.v1.SomeEnum
|
|
168
|
+
*
|
|
169
|
+
* @generated from field: repeated google.protobuf.Enum enums = 5;
|
|
170
|
+
*/
|
|
171
|
+
enums: Enum[];
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Additional API documentation.
|
|
175
|
+
*
|
|
176
|
+
* @generated from field: google.api.Documentation documentation = 6;
|
|
177
|
+
*/
|
|
178
|
+
documentation?: Documentation;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* API backend configuration.
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: google.api.Backend backend = 8;
|
|
184
|
+
*/
|
|
185
|
+
backend?: Backend;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* HTTP configuration.
|
|
189
|
+
*
|
|
190
|
+
* @generated from field: google.api.Http http = 9;
|
|
191
|
+
*/
|
|
192
|
+
http?: Http;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Quota configuration.
|
|
196
|
+
*
|
|
197
|
+
* @generated from field: google.api.Quota quota = 10;
|
|
198
|
+
*/
|
|
199
|
+
quota?: Quota;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Auth configuration.
|
|
203
|
+
*
|
|
204
|
+
* @generated from field: google.api.Authentication authentication = 11;
|
|
205
|
+
*/
|
|
206
|
+
authentication?: Authentication;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Context configuration.
|
|
210
|
+
*
|
|
211
|
+
* @generated from field: google.api.Context context = 12;
|
|
212
|
+
*/
|
|
213
|
+
context?: Context;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Configuration controlling usage of this service.
|
|
217
|
+
*
|
|
218
|
+
* @generated from field: google.api.Usage usage = 15;
|
|
219
|
+
*/
|
|
220
|
+
usage?: Usage;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Configuration for network endpoints. If this is empty, then an endpoint
|
|
224
|
+
* with the same name as the service is automatically generated to service all
|
|
225
|
+
* defined APIs.
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: repeated google.api.Endpoint endpoints = 18;
|
|
228
|
+
*/
|
|
229
|
+
endpoints: Endpoint[];
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Configuration for the service control plane.
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: google.api.Control control = 21;
|
|
235
|
+
*/
|
|
236
|
+
control?: Control;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Defines the logs used by this service.
|
|
240
|
+
*
|
|
241
|
+
* @generated from field: repeated google.api.LogDescriptor logs = 23;
|
|
242
|
+
*/
|
|
243
|
+
logs: LogDescriptor[];
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Defines the metrics used by this service.
|
|
247
|
+
*
|
|
248
|
+
* @generated from field: repeated google.api.MetricDescriptor metrics = 24;
|
|
249
|
+
*/
|
|
250
|
+
metrics: MetricDescriptor[];
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Defines the monitored resources used by this service. This is required
|
|
254
|
+
* by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
|
|
255
|
+
*
|
|
256
|
+
* @generated from field: repeated google.api.MonitoredResourceDescriptor monitored_resources = 25;
|
|
257
|
+
*/
|
|
258
|
+
monitoredResources: MonitoredResourceDescriptor[];
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Billing configuration.
|
|
262
|
+
*
|
|
263
|
+
* @generated from field: google.api.Billing billing = 26;
|
|
264
|
+
*/
|
|
265
|
+
billing?: Billing;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Logging configuration.
|
|
269
|
+
*
|
|
270
|
+
* @generated from field: google.api.Logging logging = 27;
|
|
271
|
+
*/
|
|
272
|
+
logging?: Logging;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Monitoring configuration.
|
|
276
|
+
*
|
|
277
|
+
* @generated from field: google.api.Monitoring monitoring = 28;
|
|
278
|
+
*/
|
|
279
|
+
monitoring?: Monitoring;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* System parameter configuration.
|
|
283
|
+
*
|
|
284
|
+
* @generated from field: google.api.SystemParameters system_parameters = 29;
|
|
285
|
+
*/
|
|
286
|
+
systemParameters?: SystemParameters;
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Output only. The source information for this configuration if available.
|
|
290
|
+
*
|
|
291
|
+
* @generated from field: google.api.SourceInfo source_info = 37;
|
|
292
|
+
*/
|
|
293
|
+
sourceInfo?: SourceInfo;
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Describes the message google.api.Service.
|
|
298
|
+
* Use `create(ServiceSchema)` to create a new message.
|
|
299
|
+
*/
|
|
300
|
+
export const ServiceSchema: GenMessage<Service> = /*@__PURE__*/
|
|
301
|
+
messageDesc(file_google_api_service, 0);
|
|
302
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018 Google LLC.
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SourceInfoSchema = exports.file_google_api_source_info = void 0;
|
|
17
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
18
|
+
const wkt_1 = require("@bufbuild/protobuf/wkt");
|
|
19
|
+
/**
|
|
20
|
+
* Describes the file google/api/source_info.proto.
|
|
21
|
+
*/
|
|
22
|
+
exports.file_google_api_source_info = (0, codegenv2_1.fileDesc)("Chxnb29nbGUvYXBpL3NvdXJjZV9pbmZvLnByb3RvEgpnb29nbGUuYXBpIjgKClNvdXJjZUluZm8SKgoMc291cmNlX2ZpbGVzGAEgAygLMhQuZ29vZ2xlLnByb3RvYnVmLkFueUJxCg5jb20uZ29vZ2xlLmFwaUIPU291cmNlSW5mb1Byb3RvUAFaRWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL3NlcnZpY2Vjb25maWc7c2VydmljZWNvbmZpZ6ICBEdBUEliBnByb3RvMw", [wkt_1.file_google_protobuf_any]);
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message google.api.SourceInfo.
|
|
25
|
+
* Use `create(SourceInfoSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
exports.SourceInfoSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_source_info, 0);
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// Copyright 2018 Google LLC.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
16
|
+
// @generated from file google/api/source_info.proto (package google.api, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
21
|
+
import type { Any } from "@bufbuild/protobuf/wkt";
|
|
22
|
+
import { file_google_protobuf_any } from "@bufbuild/protobuf/wkt";
|
|
23
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Describes the file google/api/source_info.proto.
|
|
27
|
+
*/
|
|
28
|
+
export const file_google_api_source_info: GenFile = /*@__PURE__*/
|
|
29
|
+
fileDesc("Chxnb29nbGUvYXBpL3NvdXJjZV9pbmZvLnByb3RvEgpnb29nbGUuYXBpIjgKClNvdXJjZUluZm8SKgoMc291cmNlX2ZpbGVzGAEgAygLMhQuZ29vZ2xlLnByb3RvYnVmLkFueUJxCg5jb20uZ29vZ2xlLmFwaUIPU291cmNlSW5mb1Byb3RvUAFaRWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL3NlcnZpY2Vjb25maWc7c2VydmljZWNvbmZpZ6ICBEdBUEliBnByb3RvMw", [file_google_protobuf_any]);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Source information used to create a Service Config
|
|
33
|
+
*
|
|
34
|
+
* @generated from message google.api.SourceInfo
|
|
35
|
+
*/
|
|
36
|
+
export type SourceInfo = Message<"google.api.SourceInfo"> & {
|
|
37
|
+
/**
|
|
38
|
+
* All files used during config generation.
|
|
39
|
+
*
|
|
40
|
+
* @generated from field: repeated google.protobuf.Any source_files = 1;
|
|
41
|
+
*/
|
|
42
|
+
sourceFiles: Any[];
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message google.api.SourceInfo.
|
|
47
|
+
* Use `create(SourceInfoSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export const SourceInfoSchema: GenMessage<SourceInfo> = /*@__PURE__*/
|
|
50
|
+
messageDesc(file_google_api_source_info, 0);
|
|
51
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018 Google LLC.
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SystemParameterSchema = exports.SystemParameterRuleSchema = exports.SystemParametersSchema = exports.file_google_api_system_parameter = void 0;
|
|
17
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
18
|
+
/**
|
|
19
|
+
* Describes the file google/api/system_parameter.proto.
|
|
20
|
+
*/
|
|
21
|
+
exports.file_google_api_system_parameter = (0, codegenv2_1.fileDesc)("CiFnb29nbGUvYXBpL3N5c3RlbV9wYXJhbWV0ZXIucHJvdG8SCmdvb2dsZS5hcGkiQgoQU3lzdGVtUGFyYW1ldGVycxIuCgVydWxlcxgBIAMoCzIfLmdvb2dsZS5hcGkuU3lzdGVtUGFyYW1ldGVyUnVsZSJYChNTeXN0ZW1QYXJhbWV0ZXJSdWxlEhAKCHNlbGVjdG9yGAEgASgJEi8KCnBhcmFtZXRlcnMYAiADKAsyGy5nb29nbGUuYXBpLlN5c3RlbVBhcmFtZXRlciJRCg9TeXN0ZW1QYXJhbWV0ZXISDAoEbmFtZRgBIAEoCRITCgtodHRwX2hlYWRlchgCIAEoCRIbChN1cmxfcXVlcnlfcGFyYW1ldGVyGAMgASgJQnYKDmNvbS5nb29nbGUuYXBpQhRTeXN0ZW1QYXJhbWV0ZXJQcm90b1ABWkVnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS9zZXJ2aWNlY29uZmlnO3NlcnZpY2Vjb25maWeiAgRHQVBJYgZwcm90bzM");
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message google.api.SystemParameters.
|
|
24
|
+
* Use `create(SystemParametersSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
exports.SystemParametersSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_system_parameter, 0);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message google.api.SystemParameterRule.
|
|
29
|
+
* Use `create(SystemParameterRuleSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
exports.SystemParameterRuleSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_system_parameter, 1);
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message google.api.SystemParameter.
|
|
34
|
+
* Use `create(SystemParameterSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
exports.SystemParameterSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_system_parameter, 2);
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
// Copyright 2018 Google LLC.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
16
|
+
// @generated from file google/api/system_parameter.proto (package google.api, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
21
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the file google/api/system_parameter.proto.
|
|
25
|
+
*/
|
|
26
|
+
export const file_google_api_system_parameter: GenFile = /*@__PURE__*/
|
|
27
|
+
fileDesc("CiFnb29nbGUvYXBpL3N5c3RlbV9wYXJhbWV0ZXIucHJvdG8SCmdvb2dsZS5hcGkiQgoQU3lzdGVtUGFyYW1ldGVycxIuCgVydWxlcxgBIAMoCzIfLmdvb2dsZS5hcGkuU3lzdGVtUGFyYW1ldGVyUnVsZSJYChNTeXN0ZW1QYXJhbWV0ZXJSdWxlEhAKCHNlbGVjdG9yGAEgASgJEi8KCnBhcmFtZXRlcnMYAiADKAsyGy5nb29nbGUuYXBpLlN5c3RlbVBhcmFtZXRlciJRCg9TeXN0ZW1QYXJhbWV0ZXISDAoEbmFtZRgBIAEoCRITCgtodHRwX2hlYWRlchgCIAEoCRIbChN1cmxfcXVlcnlfcGFyYW1ldGVyGAMgASgJQnYKDmNvbS5nb29nbGUuYXBpQhRTeXN0ZW1QYXJhbWV0ZXJQcm90b1ABWkVnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS9zZXJ2aWNlY29uZmlnO3NlcnZpY2Vjb25maWeiAgRHQVBJYgZwcm90bzM");
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* ### System parameter configuration
|
|
31
|
+
*
|
|
32
|
+
* A system parameter is a special kind of parameter defined by the API
|
|
33
|
+
* system, not by an individual API. It is typically mapped to an HTTP header
|
|
34
|
+
* and/or a URL query parameter. This configuration specifies which methods
|
|
35
|
+
* change the names of the system parameters.
|
|
36
|
+
*
|
|
37
|
+
* @generated from message google.api.SystemParameters
|
|
38
|
+
*/
|
|
39
|
+
export type SystemParameters = Message<"google.api.SystemParameters"> & {
|
|
40
|
+
/**
|
|
41
|
+
* Define system parameters.
|
|
42
|
+
*
|
|
43
|
+
* The parameters defined here will override the default parameters
|
|
44
|
+
* implemented by the system. If this field is missing from the service
|
|
45
|
+
* config, default system parameters will be used. Default system parameters
|
|
46
|
+
* and names is implementation-dependent.
|
|
47
|
+
*
|
|
48
|
+
* Example: define api key for all methods
|
|
49
|
+
*
|
|
50
|
+
* system_parameters
|
|
51
|
+
* rules:
|
|
52
|
+
* - selector: "*"
|
|
53
|
+
* parameters:
|
|
54
|
+
* - name: api_key
|
|
55
|
+
* url_query_parameter: api_key
|
|
56
|
+
*
|
|
57
|
+
*
|
|
58
|
+
* Example: define 2 api key names for a specific method.
|
|
59
|
+
*
|
|
60
|
+
* system_parameters
|
|
61
|
+
* rules:
|
|
62
|
+
* - selector: "/ListShelves"
|
|
63
|
+
* parameters:
|
|
64
|
+
* - name: api_key
|
|
65
|
+
* http_header: Api-Key1
|
|
66
|
+
* - name: api_key
|
|
67
|
+
* http_header: Api-Key2
|
|
68
|
+
*
|
|
69
|
+
* **NOTE:** All service configuration rules follow "last one wins" order.
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: repeated google.api.SystemParameterRule rules = 1;
|
|
72
|
+
*/
|
|
73
|
+
rules: SystemParameterRule[];
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message google.api.SystemParameters.
|
|
78
|
+
* Use `create(SystemParametersSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export const SystemParametersSchema: GenMessage<SystemParameters> = /*@__PURE__*/
|
|
81
|
+
messageDesc(file_google_api_system_parameter, 0);
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Define a system parameter rule mapping system parameter definitions to
|
|
85
|
+
* methods.
|
|
86
|
+
*
|
|
87
|
+
* @generated from message google.api.SystemParameterRule
|
|
88
|
+
*/
|
|
89
|
+
export type SystemParameterRule = Message<"google.api.SystemParameterRule"> & {
|
|
90
|
+
/**
|
|
91
|
+
* Selects the methods to which this rule applies. Use '*' to indicate all
|
|
92
|
+
* methods in all APIs.
|
|
93
|
+
*
|
|
94
|
+
* Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: string selector = 1;
|
|
97
|
+
*/
|
|
98
|
+
selector: string;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Define parameters. Multiple names may be defined for a parameter.
|
|
102
|
+
* For a given method call, only one of them should be used. If multiple
|
|
103
|
+
* names are used the behavior is implementation-dependent.
|
|
104
|
+
* If none of the specified names are present the behavior is
|
|
105
|
+
* parameter-dependent.
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: repeated google.api.SystemParameter parameters = 2;
|
|
108
|
+
*/
|
|
109
|
+
parameters: SystemParameter[];
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Describes the message google.api.SystemParameterRule.
|
|
114
|
+
* Use `create(SystemParameterRuleSchema)` to create a new message.
|
|
115
|
+
*/
|
|
116
|
+
export const SystemParameterRuleSchema: GenMessage<SystemParameterRule> = /*@__PURE__*/
|
|
117
|
+
messageDesc(file_google_api_system_parameter, 1);
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Define a parameter's name and location. The parameter may be passed as either
|
|
121
|
+
* an HTTP header or a URL query parameter, and if both are passed the behavior
|
|
122
|
+
* is implementation-dependent.
|
|
123
|
+
*
|
|
124
|
+
* @generated from message google.api.SystemParameter
|
|
125
|
+
*/
|
|
126
|
+
export type SystemParameter = Message<"google.api.SystemParameter"> & {
|
|
127
|
+
/**
|
|
128
|
+
* Define the name of the parameter, such as "api_key" . It is case sensitive.
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: string name = 1;
|
|
131
|
+
*/
|
|
132
|
+
name: string;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Define the HTTP header name to use for the parameter. It is case
|
|
136
|
+
* insensitive.
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: string http_header = 2;
|
|
139
|
+
*/
|
|
140
|
+
httpHeader: string;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Define the URL query parameter name to use for the parameter. It is case
|
|
144
|
+
* sensitive.
|
|
145
|
+
*
|
|
146
|
+
* @generated from field: string url_query_parameter = 3;
|
|
147
|
+
*/
|
|
148
|
+
urlQueryParameter: string;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Describes the message google.api.SystemParameter.
|
|
153
|
+
* Use `create(SystemParameterSchema)` to create a new message.
|
|
154
|
+
*/
|
|
155
|
+
export const SystemParameterSchema: GenMessage<SystemParameter> = /*@__PURE__*/
|
|
156
|
+
messageDesc(file_google_api_system_parameter, 2);
|
|
157
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018 Google LLC.
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UsageRuleSchema = exports.UsageSchema = exports.file_google_api_usage = void 0;
|
|
17
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
18
|
+
const annotations_pb_1 = require("./annotations_pb");
|
|
19
|
+
/**
|
|
20
|
+
* Describes the file google/api/usage.proto.
|
|
21
|
+
*/
|
|
22
|
+
exports.file_google_api_usage = (0, codegenv2_1.fileDesc)("ChZnb29nbGUvYXBpL3VzYWdlLnByb3RvEgpnb29nbGUuYXBpImoKBVVzYWdlEhQKDHJlcXVpcmVtZW50cxgBIAMoCRIkCgVydWxlcxgGIAMoCzIVLmdvb2dsZS5hcGkuVXNhZ2VSdWxlEiUKHXByb2R1Y2VyX25vdGlmaWNhdGlvbl9jaGFubmVsGAcgASgJIl0KCVVzYWdlUnVsZRIQCghzZWxlY3RvchgBIAEoCRIgChhhbGxvd191bnJlZ2lzdGVyZWRfY2FsbHMYAiABKAgSHAoUc2tpcF9zZXJ2aWNlX2NvbnRyb2wYAyABKAhCbAoOY29tLmdvb2dsZS5hcGlCClVzYWdlUHJvdG9QAVpFZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvc2VydmljZWNvbmZpZztzZXJ2aWNlY29uZmlnogIER0FQSWIGcHJvdG8z", [annotations_pb_1.file_google_api_annotations]);
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message google.api.Usage.
|
|
25
|
+
* Use `create(UsageSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
exports.UsageSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_usage, 0);
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message google.api.UsageRule.
|
|
30
|
+
* Use `create(UsageRuleSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
exports.UsageRuleSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_usage, 1);
|