@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,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.PageSchema = exports.DocumentationRuleSchema = exports.DocumentationSchema = exports.file_google_api_documentation = void 0;
|
|
17
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
18
|
+
/**
|
|
19
|
+
* Describes the file google/api/documentation.proto.
|
|
20
|
+
*/
|
|
21
|
+
exports.file_google_api_documentation = (0, codegenv2_1.fileDesc)("Ch5nb29nbGUvYXBpL2RvY3VtZW50YXRpb24ucHJvdG8SCmdvb2dsZS5hcGkioQEKDURvY3VtZW50YXRpb24SDwoHc3VtbWFyeRgBIAEoCRIfCgVwYWdlcxgFIAMoCzIQLmdvb2dsZS5hcGkuUGFnZRIsCgVydWxlcxgDIAMoCzIdLmdvb2dsZS5hcGkuRG9jdW1lbnRhdGlvblJ1bGUSHgoWZG9jdW1lbnRhdGlvbl9yb290X3VybBgEIAEoCRIQCghvdmVydmlldxgCIAEoCSJbChFEb2N1bWVudGF0aW9uUnVsZRIQCghzZWxlY3RvchgBIAEoCRITCgtkZXNjcmlwdGlvbhgCIAEoCRIfChdkZXByZWNhdGlvbl9kZXNjcmlwdGlvbhgDIAEoCSJJCgRQYWdlEgwKBG5hbWUYASABKAkSDwoHY29udGVudBgCIAEoCRIiCghzdWJwYWdlcxgDIAMoCzIQLmdvb2dsZS5hcGkuUGFnZUJ0Cg5jb20uZ29vZ2xlLmFwaUISRG9jdW1lbnRhdGlvblByb3RvUAFaRWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL3NlcnZpY2Vjb25maWc7c2VydmljZWNvbmZpZ6ICBEdBUEliBnByb3RvMw");
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message google.api.Documentation.
|
|
24
|
+
* Use `create(DocumentationSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
exports.DocumentationSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_documentation, 0);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message google.api.DocumentationRule.
|
|
29
|
+
* Use `create(DocumentationRuleSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
exports.DocumentationRuleSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_documentation, 1);
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message google.api.Page.
|
|
34
|
+
* Use `create(PageSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
exports.PageSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_documentation, 2);
|
|
@@ -0,0 +1,238 @@
|
|
|
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/documentation.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/documentation.proto.
|
|
25
|
+
*/
|
|
26
|
+
export const file_google_api_documentation: GenFile = /*@__PURE__*/
|
|
27
|
+
fileDesc("Ch5nb29nbGUvYXBpL2RvY3VtZW50YXRpb24ucHJvdG8SCmdvb2dsZS5hcGkioQEKDURvY3VtZW50YXRpb24SDwoHc3VtbWFyeRgBIAEoCRIfCgVwYWdlcxgFIAMoCzIQLmdvb2dsZS5hcGkuUGFnZRIsCgVydWxlcxgDIAMoCzIdLmdvb2dsZS5hcGkuRG9jdW1lbnRhdGlvblJ1bGUSHgoWZG9jdW1lbnRhdGlvbl9yb290X3VybBgEIAEoCRIQCghvdmVydmlldxgCIAEoCSJbChFEb2N1bWVudGF0aW9uUnVsZRIQCghzZWxlY3RvchgBIAEoCRITCgtkZXNjcmlwdGlvbhgCIAEoCRIfChdkZXByZWNhdGlvbl9kZXNjcmlwdGlvbhgDIAEoCSJJCgRQYWdlEgwKBG5hbWUYASABKAkSDwoHY29udGVudBgCIAEoCRIiCghzdWJwYWdlcxgDIAMoCzIQLmdvb2dsZS5hcGkuUGFnZUJ0Cg5jb20uZ29vZ2xlLmFwaUISRG9jdW1lbnRhdGlvblByb3RvUAFaRWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL3NlcnZpY2Vjb25maWc7c2VydmljZWNvbmZpZ6ICBEdBUEliBnByb3RvMw");
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* `Documentation` provides the information for describing a service.
|
|
31
|
+
*
|
|
32
|
+
* Example:
|
|
33
|
+
* <pre><code>documentation:
|
|
34
|
+
* summary: >
|
|
35
|
+
* The Google Calendar API gives access
|
|
36
|
+
* to most calendar features.
|
|
37
|
+
* pages:
|
|
38
|
+
* - name: Overview
|
|
39
|
+
* content: (== include google/foo/overview.md ==)
|
|
40
|
+
* - name: Tutorial
|
|
41
|
+
* content: (== include google/foo/tutorial.md ==)
|
|
42
|
+
* subpages;
|
|
43
|
+
* - name: Java
|
|
44
|
+
* content: (== include google/foo/tutorial_java.md ==)
|
|
45
|
+
* rules:
|
|
46
|
+
* - selector: google.calendar.Calendar.Get
|
|
47
|
+
* description: >
|
|
48
|
+
* ...
|
|
49
|
+
* - selector: google.calendar.Calendar.Put
|
|
50
|
+
* description: >
|
|
51
|
+
* ...
|
|
52
|
+
* </code></pre>
|
|
53
|
+
* Documentation is provided in markdown syntax. In addition to
|
|
54
|
+
* standard markdown features, definition lists, tables and fenced
|
|
55
|
+
* code blocks are supported. Section headers can be provided and are
|
|
56
|
+
* interpreted relative to the section nesting of the context where
|
|
57
|
+
* a documentation fragment is embedded.
|
|
58
|
+
*
|
|
59
|
+
* Documentation from the IDL is merged with documentation defined
|
|
60
|
+
* via the config at normalization time, where documentation provided
|
|
61
|
+
* by config rules overrides IDL provided.
|
|
62
|
+
*
|
|
63
|
+
* A number of constructs specific to the API platform are supported
|
|
64
|
+
* in documentation text.
|
|
65
|
+
*
|
|
66
|
+
* In order to reference a proto element, the following
|
|
67
|
+
* notation can be used:
|
|
68
|
+
* <pre><code>[fully.qualified.proto.name][]</code></pre>
|
|
69
|
+
* To override the display text used for the link, this can be used:
|
|
70
|
+
* <pre><code>[display text][fully.qualified.proto.name]</code></pre>
|
|
71
|
+
* Text can be excluded from doc using the following notation:
|
|
72
|
+
* <pre><code>(-- internal comment --)</code></pre>
|
|
73
|
+
*
|
|
74
|
+
* A few directives are available in documentation. Note that
|
|
75
|
+
* directives must appear on a single line to be properly
|
|
76
|
+
* identified. The `include` directive includes a markdown file from
|
|
77
|
+
* an external source:
|
|
78
|
+
* <pre><code>(== include path/to/file ==)</code></pre>
|
|
79
|
+
* The `resource_for` directive marks a message to be the resource of
|
|
80
|
+
* a collection in REST view. If it is not specified, tools attempt
|
|
81
|
+
* to infer the resource from the operations in a collection:
|
|
82
|
+
* <pre><code>(== resource_for v1.shelves.books ==)</code></pre>
|
|
83
|
+
* The directive `suppress_warning` does not directly affect documentation
|
|
84
|
+
* and is documented together with service config validation.
|
|
85
|
+
*
|
|
86
|
+
* @generated from message google.api.Documentation
|
|
87
|
+
*/
|
|
88
|
+
export type Documentation = Message<"google.api.Documentation"> & {
|
|
89
|
+
/**
|
|
90
|
+
* A short summary of what the service does. Can only be provided by
|
|
91
|
+
* plain text.
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: string summary = 1;
|
|
94
|
+
*/
|
|
95
|
+
summary: string;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* The top level pages for the documentation set.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: repeated google.api.Page pages = 5;
|
|
101
|
+
*/
|
|
102
|
+
pages: Page[];
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* A list of documentation rules that apply to individual API elements.
|
|
106
|
+
*
|
|
107
|
+
* **NOTE:** All service configuration rules follow "last one wins" order.
|
|
108
|
+
*
|
|
109
|
+
* @generated from field: repeated google.api.DocumentationRule rules = 3;
|
|
110
|
+
*/
|
|
111
|
+
rules: DocumentationRule[];
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* The URL to the root of documentation.
|
|
115
|
+
*
|
|
116
|
+
* @generated from field: string documentation_root_url = 4;
|
|
117
|
+
*/
|
|
118
|
+
documentationRootUrl: string;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Declares a single overview page. For example:
|
|
122
|
+
* <pre><code>documentation:
|
|
123
|
+
* summary: ...
|
|
124
|
+
* overview: (== include overview.md ==)
|
|
125
|
+
* </code></pre>
|
|
126
|
+
* This is a shortcut for the following declaration (using pages style):
|
|
127
|
+
* <pre><code>documentation:
|
|
128
|
+
* summary: ...
|
|
129
|
+
* pages:
|
|
130
|
+
* - name: Overview
|
|
131
|
+
* content: (== include overview.md ==)
|
|
132
|
+
* </code></pre>
|
|
133
|
+
* Note: you cannot specify both `overview` field and `pages` field.
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: string overview = 2;
|
|
136
|
+
*/
|
|
137
|
+
overview: string;
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Describes the message google.api.Documentation.
|
|
142
|
+
* Use `create(DocumentationSchema)` to create a new message.
|
|
143
|
+
*/
|
|
144
|
+
export const DocumentationSchema: GenMessage<Documentation> = /*@__PURE__*/
|
|
145
|
+
messageDesc(file_google_api_documentation, 0);
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* A documentation rule provides information about individual API elements.
|
|
149
|
+
*
|
|
150
|
+
* @generated from message google.api.DocumentationRule
|
|
151
|
+
*/
|
|
152
|
+
export type DocumentationRule = Message<"google.api.DocumentationRule"> & {
|
|
153
|
+
/**
|
|
154
|
+
* The selector is a comma-separated list of patterns. Each pattern is a
|
|
155
|
+
* qualified name of the element which may end in "*", indicating a wildcard.
|
|
156
|
+
* Wildcards are only allowed at the end and for a whole component of the
|
|
157
|
+
* qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To
|
|
158
|
+
* specify a default for all applicable elements, the whole pattern "*"
|
|
159
|
+
* is used.
|
|
160
|
+
*
|
|
161
|
+
* @generated from field: string selector = 1;
|
|
162
|
+
*/
|
|
163
|
+
selector: string;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Description of the selected API(s).
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: string description = 2;
|
|
169
|
+
*/
|
|
170
|
+
description: string;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Deprecation description of the selected element(s). It can be provided if an
|
|
174
|
+
* element is marked as `deprecated`.
|
|
175
|
+
*
|
|
176
|
+
* @generated from field: string deprecation_description = 3;
|
|
177
|
+
*/
|
|
178
|
+
deprecationDescription: string;
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Describes the message google.api.DocumentationRule.
|
|
183
|
+
* Use `create(DocumentationRuleSchema)` to create a new message.
|
|
184
|
+
*/
|
|
185
|
+
export const DocumentationRuleSchema: GenMessage<DocumentationRule> = /*@__PURE__*/
|
|
186
|
+
messageDesc(file_google_api_documentation, 1);
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Represents a documentation page. A page can contain subpages to represent
|
|
190
|
+
* nested documentation set structure.
|
|
191
|
+
*
|
|
192
|
+
* @generated from message google.api.Page
|
|
193
|
+
*/
|
|
194
|
+
export type Page = Message<"google.api.Page"> & {
|
|
195
|
+
/**
|
|
196
|
+
* The name of the page. It will be used as an identity of the page to
|
|
197
|
+
* generate URI of the page, text of the link to this page in navigation,
|
|
198
|
+
* etc. The full page name (start from the root page name to this page
|
|
199
|
+
* concatenated with `.`) can be used as reference to the page in your
|
|
200
|
+
* documentation. For example:
|
|
201
|
+
* <pre><code>pages:
|
|
202
|
+
* - name: Tutorial
|
|
203
|
+
* content: (== include tutorial.md ==)
|
|
204
|
+
* subpages:
|
|
205
|
+
* - name: Java
|
|
206
|
+
* content: (== include tutorial_java.md ==)
|
|
207
|
+
* </code></pre>
|
|
208
|
+
* You can reference `Java` page using Markdown reference link syntax:
|
|
209
|
+
* `[Java][Tutorial.Java]`.
|
|
210
|
+
*
|
|
211
|
+
* @generated from field: string name = 1;
|
|
212
|
+
*/
|
|
213
|
+
name: string;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* The Markdown content of the page. You can use <code>(== include {path} ==)</code>
|
|
217
|
+
* to include content from a Markdown file.
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: string content = 2;
|
|
220
|
+
*/
|
|
221
|
+
content: string;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Subpages of this page. The order of subpages specified here will be
|
|
225
|
+
* honored in the generated docset.
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: repeated google.api.Page subpages = 3;
|
|
228
|
+
*/
|
|
229
|
+
subpages: Page[];
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Describes the message google.api.Page.
|
|
234
|
+
* Use `create(PageSchema)` to create a new message.
|
|
235
|
+
*/
|
|
236
|
+
export const PageSchema: GenMessage<Page> = /*@__PURE__*/
|
|
237
|
+
messageDesc(file_google_api_documentation, 2);
|
|
238
|
+
|
|
@@ -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.EndpointSchema = exports.file_google_api_endpoint = 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/endpoint.proto.
|
|
21
|
+
*/
|
|
22
|
+
exports.file_google_api_endpoint = (0, codegenv2_1.fileDesc)("Chlnb29nbGUvYXBpL2VuZHBvaW50LnByb3RvEgpnb29nbGUuYXBpIl8KCEVuZHBvaW50EgwKBG5hbWUYASABKAkSDwoHYWxpYXNlcxgCIAMoCRIQCghmZWF0dXJlcxgEIAMoCRIOCgZ0YXJnZXQYZSABKAkSEgoKYWxsb3dfY29ycxgFIAEoCEJvCg5jb20uZ29vZ2xlLmFwaUINRW5kcG9pbnRQcm90b1ABWkVnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS9zZXJ2aWNlY29uZmlnO3NlcnZpY2Vjb25maWeiAgRHQVBJYgZwcm90bzM", [annotations_pb_1.file_google_api_annotations]);
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message google.api.Endpoint.
|
|
25
|
+
* Use `create(EndpointSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
exports.EndpointSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_endpoint, 0);
|
|
@@ -0,0 +1,105 @@
|
|
|
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/endpoint.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 { Message } from "@bufbuild/protobuf";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the file google/api/endpoint.proto.
|
|
26
|
+
*/
|
|
27
|
+
export const file_google_api_endpoint: GenFile = /*@__PURE__*/
|
|
28
|
+
fileDesc("Chlnb29nbGUvYXBpL2VuZHBvaW50LnByb3RvEgpnb29nbGUuYXBpIl8KCEVuZHBvaW50EgwKBG5hbWUYASABKAkSDwoHYWxpYXNlcxgCIAMoCRIQCghmZWF0dXJlcxgEIAMoCRIOCgZ0YXJnZXQYZSABKAkSEgoKYWxsb3dfY29ycxgFIAEoCEJvCg5jb20uZ29vZ2xlLmFwaUINRW5kcG9pbnRQcm90b1ABWkVnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS9zZXJ2aWNlY29uZmlnO3NlcnZpY2Vjb25maWeiAgRHQVBJYgZwcm90bzM", [file_google_api_annotations]);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* `Endpoint` describes a network endpoint that serves a set of APIs.
|
|
32
|
+
* A service may expose any number of endpoints, and all endpoints share the
|
|
33
|
+
* same service configuration, such as quota configuration and monitoring
|
|
34
|
+
* configuration.
|
|
35
|
+
*
|
|
36
|
+
* Example service configuration:
|
|
37
|
+
*
|
|
38
|
+
* name: library-example.googleapis.com
|
|
39
|
+
* endpoints:
|
|
40
|
+
* # Below entry makes 'google.example.library.v1.Library'
|
|
41
|
+
* # API be served from endpoint address library-example.googleapis.com.
|
|
42
|
+
* # It also allows HTTP OPTIONS calls to be passed to the backend, for
|
|
43
|
+
* # it to decide whether the subsequent cross-origin request is
|
|
44
|
+
* # allowed to proceed.
|
|
45
|
+
* - name: library-example.googleapis.com
|
|
46
|
+
* allow_cors: true
|
|
47
|
+
*
|
|
48
|
+
* @generated from message google.api.Endpoint
|
|
49
|
+
*/
|
|
50
|
+
export type Endpoint = Message<"google.api.Endpoint"> & {
|
|
51
|
+
/**
|
|
52
|
+
* The canonical name of this endpoint.
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: string name = 1;
|
|
55
|
+
*/
|
|
56
|
+
name: string;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* DEPRECATED: This field is no longer supported. Instead of using aliases,
|
|
60
|
+
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
|
|
61
|
+
* aliases.
|
|
62
|
+
*
|
|
63
|
+
* Additional names that this endpoint will be hosted on.
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: repeated string aliases = 2;
|
|
66
|
+
*/
|
|
67
|
+
aliases: string[];
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* The list of features enabled on this endpoint.
|
|
71
|
+
*
|
|
72
|
+
* @generated from field: repeated string features = 4;
|
|
73
|
+
*/
|
|
74
|
+
features: string[];
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* The specification of an Internet routable address of API frontend that will
|
|
78
|
+
* handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary).
|
|
79
|
+
* It should be either a valid IPv4 address or a fully-qualified domain name.
|
|
80
|
+
* For example, "8.8.8.8" or "myservice.appspot.com".
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: string target = 101;
|
|
83
|
+
*/
|
|
84
|
+
target: string;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Allowing
|
|
88
|
+
* [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
|
|
89
|
+
* cross-domain traffic, would allow the backends served from this endpoint to
|
|
90
|
+
* receive and respond to HTTP OPTIONS requests. The response will be used by
|
|
91
|
+
* the browser to determine whether the subsequent cross-origin request is
|
|
92
|
+
* allowed to proceed.
|
|
93
|
+
*
|
|
94
|
+
* @generated from field: bool allow_cors = 5;
|
|
95
|
+
*/
|
|
96
|
+
allowCors: boolean;
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message google.api.Endpoint.
|
|
101
|
+
* Use `create(EndpointSchema)` to create a new message.
|
|
102
|
+
*/
|
|
103
|
+
export const EndpointSchema: GenMessage<Endpoint> = /*@__PURE__*/
|
|
104
|
+
messageDesc(file_google_api_endpoint, 0);
|
|
105
|
+
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2019 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
|
+
// https://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.field_behavior = exports.FieldBehaviorSchema = exports.FieldBehavior = exports.file_google_api_field_behavior = 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/field_behavior.proto.
|
|
21
|
+
*/
|
|
22
|
+
exports.file_google_api_field_behavior = (0, codegenv2_1.fileDesc)("Ch9nb29nbGUvYXBpL2ZpZWxkX2JlaGF2aW9yLnByb3RvEgpnb29nbGUuYXBpKnsKDUZpZWxkQmVoYXZpb3ISHgoaRklFTERfQkVIQVZJT1JfVU5TUEVDSUZJRUQQABIMCghPUFRJT05BTBABEgwKCFJFUVVJUkVEEAISDwoLT1VUUFVUX09OTFkQAxIOCgpJTlBVVF9PTkxZEAQSDQoJSU1NVVRBQkxFEAU6YAoOZmllbGRfYmVoYXZpb3ISHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGJwIIAMoDjIZLmdvb2dsZS5hcGkuRmllbGRCZWhhdmlvclINZmllbGRCZWhhdmlvckJwCg5jb20uZ29vZ2xlLmFwaUISRmllbGRCZWhhdmlvclByb3RvUAFaQWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL2Fubm90YXRpb25zO2Fubm90YXRpb25zogIER0FQSWIGcHJvdG8z", [wkt_1.file_google_protobuf_descriptor]);
|
|
23
|
+
/**
|
|
24
|
+
* An indicator of the behavior of a given field (for example, that a field
|
|
25
|
+
* is required in requests, or given as output but ignored as input).
|
|
26
|
+
* This **does not** change the behavior in protocol buffers itself; it only
|
|
27
|
+
* denotes the behavior and may affect how API tooling handles the field.
|
|
28
|
+
*
|
|
29
|
+
* Note: This enum **may** receive new values in the future.
|
|
30
|
+
*
|
|
31
|
+
* @generated from enum google.api.FieldBehavior
|
|
32
|
+
*/
|
|
33
|
+
var FieldBehavior;
|
|
34
|
+
(function (FieldBehavior) {
|
|
35
|
+
/**
|
|
36
|
+
* Conventional default for enums. Do not use this.
|
|
37
|
+
*
|
|
38
|
+
* @generated from enum value: FIELD_BEHAVIOR_UNSPECIFIED = 0;
|
|
39
|
+
*/
|
|
40
|
+
FieldBehavior[FieldBehavior["FIELD_BEHAVIOR_UNSPECIFIED"] = 0] = "FIELD_BEHAVIOR_UNSPECIFIED";
|
|
41
|
+
/**
|
|
42
|
+
* Specifically denotes a field as optional.
|
|
43
|
+
* While all fields in protocol buffers are optional, this may be specified
|
|
44
|
+
* for emphasis if appropriate.
|
|
45
|
+
*
|
|
46
|
+
* @generated from enum value: OPTIONAL = 1;
|
|
47
|
+
*/
|
|
48
|
+
FieldBehavior[FieldBehavior["OPTIONAL"] = 1] = "OPTIONAL";
|
|
49
|
+
/**
|
|
50
|
+
* Denotes a field as required.
|
|
51
|
+
* This indicates that the field **must** be provided as part of the request,
|
|
52
|
+
* and failure to do so will cause an error (usually `INVALID_ARGUMENT`).
|
|
53
|
+
*
|
|
54
|
+
* @generated from enum value: REQUIRED = 2;
|
|
55
|
+
*/
|
|
56
|
+
FieldBehavior[FieldBehavior["REQUIRED"] = 2] = "REQUIRED";
|
|
57
|
+
/**
|
|
58
|
+
* Denotes a field as output only.
|
|
59
|
+
* This indicates that the field is provided in responses, but including the
|
|
60
|
+
* field in a request does nothing (the server *must* ignore it and
|
|
61
|
+
* *must not* throw an error as a result of the field's presence).
|
|
62
|
+
*
|
|
63
|
+
* @generated from enum value: OUTPUT_ONLY = 3;
|
|
64
|
+
*/
|
|
65
|
+
FieldBehavior[FieldBehavior["OUTPUT_ONLY"] = 3] = "OUTPUT_ONLY";
|
|
66
|
+
/**
|
|
67
|
+
* Denotes a field as input only.
|
|
68
|
+
* This indicates that the field is provided in requests, and the
|
|
69
|
+
* corresponding field is not included in output.
|
|
70
|
+
*
|
|
71
|
+
* @generated from enum value: INPUT_ONLY = 4;
|
|
72
|
+
*/
|
|
73
|
+
FieldBehavior[FieldBehavior["INPUT_ONLY"] = 4] = "INPUT_ONLY";
|
|
74
|
+
/**
|
|
75
|
+
* Denotes a field as immutable.
|
|
76
|
+
* This indicates that the field may be set once in a request to create a
|
|
77
|
+
* resource, but may not be changed thereafter.
|
|
78
|
+
*
|
|
79
|
+
* @generated from enum value: IMMUTABLE = 5;
|
|
80
|
+
*/
|
|
81
|
+
FieldBehavior[FieldBehavior["IMMUTABLE"] = 5] = "IMMUTABLE";
|
|
82
|
+
})(FieldBehavior || (exports.FieldBehavior = FieldBehavior = {}));
|
|
83
|
+
/**
|
|
84
|
+
* Describes the enum google.api.FieldBehavior.
|
|
85
|
+
*/
|
|
86
|
+
exports.FieldBehaviorSchema = (0, codegenv2_1.enumDesc)(exports.file_google_api_field_behavior, 0);
|
|
87
|
+
/**
|
|
88
|
+
* A designation of a specific field behavior (required, output only, etc.)
|
|
89
|
+
* in protobuf messages.
|
|
90
|
+
*
|
|
91
|
+
* Examples:
|
|
92
|
+
*
|
|
93
|
+
* string name = 1 [(google.api.field_behavior) = REQUIRED];
|
|
94
|
+
* State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
95
|
+
* google.protobuf.Duration ttl = 1
|
|
96
|
+
* [(google.api.field_behavior) = INPUT_ONLY];
|
|
97
|
+
* google.protobuf.Timestamp expire_time = 1
|
|
98
|
+
* [(google.api.field_behavior) = OUTPUT_ONLY,
|
|
99
|
+
* (google.api.field_behavior) = IMMUTABLE];
|
|
100
|
+
*
|
|
101
|
+
* @generated from extension: repeated google.api.FieldBehavior field_behavior = 1052;
|
|
102
|
+
*/
|
|
103
|
+
exports.field_behavior = (0, codegenv2_1.extDesc)(exports.file_google_api_field_behavior, 0);
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
// Copyright 2019 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
|
+
// https://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/field_behavior.proto (package google.api, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenEnum, GenExtension, GenFile } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { enumDesc, extDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
|
|
21
|
+
import type { FieldOptions } from "@bufbuild/protobuf/wkt";
|
|
22
|
+
import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the file google/api/field_behavior.proto.
|
|
26
|
+
*/
|
|
27
|
+
export const file_google_api_field_behavior: GenFile = /*@__PURE__*/
|
|
28
|
+
fileDesc("Ch9nb29nbGUvYXBpL2ZpZWxkX2JlaGF2aW9yLnByb3RvEgpnb29nbGUuYXBpKnsKDUZpZWxkQmVoYXZpb3ISHgoaRklFTERfQkVIQVZJT1JfVU5TUEVDSUZJRUQQABIMCghPUFRJT05BTBABEgwKCFJFUVVJUkVEEAISDwoLT1VUUFVUX09OTFkQAxIOCgpJTlBVVF9PTkxZEAQSDQoJSU1NVVRBQkxFEAU6YAoOZmllbGRfYmVoYXZpb3ISHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGJwIIAMoDjIZLmdvb2dsZS5hcGkuRmllbGRCZWhhdmlvclINZmllbGRCZWhhdmlvckJwCg5jb20uZ29vZ2xlLmFwaUISRmllbGRCZWhhdmlvclByb3RvUAFaQWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL2Fubm90YXRpb25zO2Fubm90YXRpb25zogIER0FQSWIGcHJvdG8z", [file_google_protobuf_descriptor]);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* An indicator of the behavior of a given field (for example, that a field
|
|
32
|
+
* is required in requests, or given as output but ignored as input).
|
|
33
|
+
* This **does not** change the behavior in protocol buffers itself; it only
|
|
34
|
+
* denotes the behavior and may affect how API tooling handles the field.
|
|
35
|
+
*
|
|
36
|
+
* Note: This enum **may** receive new values in the future.
|
|
37
|
+
*
|
|
38
|
+
* @generated from enum google.api.FieldBehavior
|
|
39
|
+
*/
|
|
40
|
+
export enum FieldBehavior {
|
|
41
|
+
/**
|
|
42
|
+
* Conventional default for enums. Do not use this.
|
|
43
|
+
*
|
|
44
|
+
* @generated from enum value: FIELD_BEHAVIOR_UNSPECIFIED = 0;
|
|
45
|
+
*/
|
|
46
|
+
FIELD_BEHAVIOR_UNSPECIFIED = 0,
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Specifically denotes a field as optional.
|
|
50
|
+
* While all fields in protocol buffers are optional, this may be specified
|
|
51
|
+
* for emphasis if appropriate.
|
|
52
|
+
*
|
|
53
|
+
* @generated from enum value: OPTIONAL = 1;
|
|
54
|
+
*/
|
|
55
|
+
OPTIONAL = 1,
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Denotes a field as required.
|
|
59
|
+
* This indicates that the field **must** be provided as part of the request,
|
|
60
|
+
* and failure to do so will cause an error (usually `INVALID_ARGUMENT`).
|
|
61
|
+
*
|
|
62
|
+
* @generated from enum value: REQUIRED = 2;
|
|
63
|
+
*/
|
|
64
|
+
REQUIRED = 2,
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Denotes a field as output only.
|
|
68
|
+
* This indicates that the field is provided in responses, but including the
|
|
69
|
+
* field in a request does nothing (the server *must* ignore it and
|
|
70
|
+
* *must not* throw an error as a result of the field's presence).
|
|
71
|
+
*
|
|
72
|
+
* @generated from enum value: OUTPUT_ONLY = 3;
|
|
73
|
+
*/
|
|
74
|
+
OUTPUT_ONLY = 3,
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Denotes a field as input only.
|
|
78
|
+
* This indicates that the field is provided in requests, and the
|
|
79
|
+
* corresponding field is not included in output.
|
|
80
|
+
*
|
|
81
|
+
* @generated from enum value: INPUT_ONLY = 4;
|
|
82
|
+
*/
|
|
83
|
+
INPUT_ONLY = 4,
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Denotes a field as immutable.
|
|
87
|
+
* This indicates that the field may be set once in a request to create a
|
|
88
|
+
* resource, but may not be changed thereafter.
|
|
89
|
+
*
|
|
90
|
+
* @generated from enum value: IMMUTABLE = 5;
|
|
91
|
+
*/
|
|
92
|
+
IMMUTABLE = 5,
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Describes the enum google.api.FieldBehavior.
|
|
97
|
+
*/
|
|
98
|
+
export const FieldBehaviorSchema: GenEnum<FieldBehavior> = /*@__PURE__*/
|
|
99
|
+
enumDesc(file_google_api_field_behavior, 0);
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* A designation of a specific field behavior (required, output only, etc.)
|
|
103
|
+
* in protobuf messages.
|
|
104
|
+
*
|
|
105
|
+
* Examples:
|
|
106
|
+
*
|
|
107
|
+
* string name = 1 [(google.api.field_behavior) = REQUIRED];
|
|
108
|
+
* State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
109
|
+
* google.protobuf.Duration ttl = 1
|
|
110
|
+
* [(google.api.field_behavior) = INPUT_ONLY];
|
|
111
|
+
* google.protobuf.Timestamp expire_time = 1
|
|
112
|
+
* [(google.api.field_behavior) = OUTPUT_ONLY,
|
|
113
|
+
* (google.api.field_behavior) = IMMUTABLE];
|
|
114
|
+
*
|
|
115
|
+
* @generated from extension: repeated google.api.FieldBehavior field_behavior = 1052;
|
|
116
|
+
*/
|
|
117
|
+
export const field_behavior: GenExtension<FieldOptions, FieldBehavior[]> = /*@__PURE__*/
|
|
118
|
+
extDesc(file_google_api_field_behavior, 0);
|
|
119
|
+
|
|
@@ -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.CustomHttpPatternSchema = exports.HttpRuleSchema = exports.HttpSchema = exports.file_google_api_http = void 0;
|
|
17
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
18
|
+
/**
|
|
19
|
+
* Describes the file google/api/http.proto.
|
|
20
|
+
*/
|
|
21
|
+
exports.file_google_api_http = (0, codegenv2_1.fileDesc)("ChVnb29nbGUvYXBpL2h0dHAucHJvdG8SCmdvb2dsZS5hcGkiVAoESHR0cBIjCgVydWxlcxgBIAMoCzIULmdvb2dsZS5hcGkuSHR0cFJ1bGUSJwofZnVsbHlfZGVjb2RlX3Jlc2VydmVkX2V4cGFuc2lvbhgCIAEoCCKBAgoISHR0cFJ1bGUSEAoIc2VsZWN0b3IYASABKAkSDQoDZ2V0GAIgASgJSAASDQoDcHV0GAMgASgJSAASDgoEcG9zdBgEIAEoCUgAEhAKBmRlbGV0ZRgFIAEoCUgAEg8KBXBhdGNoGAYgASgJSAASLwoGY3VzdG9tGAggASgLMh0uZ29vZ2xlLmFwaS5DdXN0b21IdHRwUGF0dGVybkgAEgwKBGJvZHkYByABKAkSFQoNcmVzcG9uc2VfYm9keRgMIAEoCRIxChNhZGRpdGlvbmFsX2JpbmRpbmdzGAsgAygLMhQuZ29vZ2xlLmFwaS5IdHRwUnVsZUIJCgdwYXR0ZXJuIi8KEUN1c3RvbUh0dHBQYXR0ZXJuEgwKBGtpbmQYASABKAkSDAoEcGF0aBgCIAEoCUJqCg5jb20uZ29vZ2xlLmFwaUIJSHR0cFByb3RvUAFaQWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL2Fubm90YXRpb25zO2Fubm90YXRpb25z+AEBogIER0FQSWIGcHJvdG8z");
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message google.api.Http.
|
|
24
|
+
* Use `create(HttpSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
exports.HttpSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_http, 0);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message google.api.HttpRule.
|
|
29
|
+
* Use `create(HttpRuleSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
exports.HttpRuleSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_http, 1);
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message google.api.CustomHttpPattern.
|
|
34
|
+
* Use `create(CustomHttpPatternSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
exports.CustomHttpPatternSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_http, 2);
|