@alis-build/common-es 1.0.3
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/LICENSE +21 -0
- package/README.md +1 -0
- package/alis/a2a/extension/history/v1/history_connect.d.ts +155 -0
- package/alis/a2a/extension/history/v1/history_connect.js +155 -0
- package/alis/a2a/extension/history/v1/history_pb.d.ts +550 -0
- package/alis/a2a/extension/history/v1/history_pb.js +111 -0
- package/alis/open/agent/v1/agent_connect.d.ts +155 -0
- package/alis/open/agent/v1/agent_connect.js +155 -0
- package/alis/open/agent/v1/agent_pb.d.ts +2129 -0
- package/alis/open/agent/v1/agent_pb.js +390 -0
- package/alis/open/agent/v2/a2a_connect.d.ts +155 -0
- package/alis/open/agent/v2/a2a_connect.js +155 -0
- package/alis/open/agent/v2/a2a_pb.d.ts +2181 -0
- package/alis/open/agent/v2/a2a_pb.js +390 -0
- package/alis/open/config/v1/config_pb.d.ts +61 -0
- package/alis/open/config/v1/config_pb.js +19 -0
- package/alis/open/cx/v1/cx_pb.d.ts +2153 -0
- package/alis/open/cx/v1/cx_pb.js +230 -0
- package/alis/open/flows/v1/flows_connect.d.ts +94 -0
- package/alis/open/flows/v1/flows_connect.js +94 -0
- package/alis/open/flows/v1/flows_pb.d.ts +546 -0
- package/alis/open/flows/v1/flows_pb.js +104 -0
- package/alis/open/iam/v1/group_connect.d.ts +143 -0
- package/alis/open/iam/v1/group_connect.js +143 -0
- package/alis/open/iam/v1/group_pb.d.ts +385 -0
- package/alis/open/iam/v1/group_pb.js +88 -0
- package/alis/open/iam/v1/iam_pb.d.ts +171 -0
- package/alis/open/iam/v1/iam_pb.js +46 -0
- package/alis/open/iam/v1/oauth_pb.d.ts +564 -0
- package/alis/open/iam/v1/oauth_pb.js +111 -0
- package/alis/open/iam/v1/role_pb.d.ts +95 -0
- package/alis/open/iam/v1/role_pb.js +19 -0
- package/alis/open/iam/v1/user_connect.d.ts +327 -0
- package/alis/open/iam/v1/user_connect.js +327 -0
- package/alis/open/iam/v1/user_pb.d.ts +1580 -0
- package/alis/open/iam/v1/user_pb.js +279 -0
- package/alis/open/in/v1/in_pb.d.ts +902 -0
- package/alis/open/in/v1/in_pb.js +113 -0
- package/alis/open/notifications/v1/devices_connect.d.ts +161 -0
- package/alis/open/notifications/v1/devices_connect.js +161 -0
- package/alis/open/notifications/v1/devices_pb.d.ts +362 -0
- package/alis/open/notifications/v1/devices_pb.js +75 -0
- package/alis/open/notifications/v1/notifications_connect.d.ts +77 -0
- package/alis/open/notifications/v1/notifications_connect.js +77 -0
- package/alis/open/notifications/v1/notifications_pb.d.ts +196 -0
- package/alis/open/notifications/v1/notifications_pb.js +49 -0
- package/alis/open/operations/v1/operations_pb.d.ts +194 -0
- package/alis/open/operations/v1/operations_pb.js +28 -0
- package/alis/open/options/v1/options_pb.d.ts +274 -0
- package/alis/open/options/v1/options_pb.js +85 -0
- package/alis/open/pubsub/v1/pubsub_pb.d.ts +124 -0
- package/alis/open/pubsub/v1/pubsub_pb.js +26 -0
- package/alis/open/px/v1/px_pb.d.ts +2169 -0
- package/alis/open/px/v1/px_pb.js +281 -0
- package/alis/open/support/v1/attachments_connect.d.ts +30 -0
- package/alis/open/support/v1/attachments_connect.js +30 -0
- package/alis/open/support/v1/attachments_pb.d.ts +84 -0
- package/alis/open/support/v1/attachments_pb.js +34 -0
- package/alis/open/support/v1/events_connect.d.ts +30 -0
- package/alis/open/support/v1/events_connect.js +30 -0
- package/alis/open/support/v1/events_pb.d.ts +236 -0
- package/alis/open/support/v1/events_pb.js +84 -0
- package/alis/open/support/v1/guide_connect.d.ts +76 -0
- package/alis/open/support/v1/guide_connect.js +76 -0
- package/alis/open/support/v1/guide_pb.d.ts +853 -0
- package/alis/open/support/v1/guide_pb.js +169 -0
- package/alis/open/support/v1/issue_connect.d.ts +216 -0
- package/alis/open/support/v1/issue_connect.js +216 -0
- package/alis/open/support/v1/issue_pb.d.ts +1030 -0
- package/alis/open/support/v1/issue_pb.js +215 -0
- package/alis/open/support/v1/issueactivity_connect.d.ts +139 -0
- package/alis/open/support/v1/issueactivity_connect.js +139 -0
- package/alis/open/support/v1/issueactivity_pb.d.ts +551 -0
- package/alis/open/support/v1/issueactivity_pb.js +108 -0
- package/alis/open/support/v1/issuesubscriber_connect.d.ts +146 -0
- package/alis/open/support/v1/issuesubscriber_connect.js +146 -0
- package/alis/open/support/v1/issuesubscriber_pb.d.ts +341 -0
- package/alis/open/support/v1/issuesubscriber_pb.js +68 -0
- package/alis/open/validation/v1/test_connect.d.ts +74 -0
- package/alis/open/validation/v1/test_connect.js +74 -0
- package/alis/open/validation/v1/test_pb.d.ts +345 -0
- package/alis/open/validation/v1/test_pb.js +84 -0
- package/alis/open/validation/v1/validation_connect.d.ts +39 -0
- package/alis/open/validation/v1/validation_connect.js +39 -0
- package/alis/open/validation/v1/validation_pb.d.ts +207 -0
- package/alis/open/validation/v1/validation_pb.js +59 -0
- package/alis/test/v1/test_pb.d.ts +32 -0
- package/alis/test/v1/test_pb.js +18 -0
- package/common/test/v1/test_pb.d.ts +32 -0
- package/common/test/v1/test_pb.js +18 -0
- package/google/api/annotations_pb.d.ts +33 -0
- package/google/api/annotations_pb.js +35 -0
- package/google/api/apikeys/v2/apikeys_connect.d.ts +151 -0
- package/google/api/apikeys/v2/apikeys_connect.js +151 -0
- package/google/api/apikeys/v2/apikeys_pb.d.ts +449 -0
- package/google/api/apikeys/v2/apikeys_pb.js +117 -0
- package/google/api/apikeys/v2/resources_pb.d.ts +341 -0
- package/google/api/apikeys/v2/resources_pb.js +84 -0
- package/google/api/auth_pb.d.ts +380 -0
- package/google/api/auth_pb.js +67 -0
- package/google/api/backend_pb.d.ts +269 -0
- package/google/api/backend_pb.js +59 -0
- package/google/api/billing_pb.d.ts +109 -0
- package/google/api/billing_pb.js +39 -0
- package/google/api/client_pb.d.ts +691 -0
- package/google/api/client_pb.js +233 -0
- package/google/api/config_change_pb.d.ts +155 -0
- package/google/api/config_change_pb.js +54 -0
- package/google/api/consumer_pb.d.ts +150 -0
- package/google/api/consumer_pb.js +53 -0
- package/google/api/context_pb.d.ts +135 -0
- package/google/api/context_pb.js +39 -0
- package/google/api/control_pb.d.ts +52 -0
- package/google/api/control_pb.js +32 -0
- package/google/api/distribution_pb.d.ts +377 -0
- package/google/api/distribution_pb.js +76 -0
- package/google/api/documentation_pb.d.ts +248 -0
- package/google/api/documentation_pb.js +46 -0
- package/google/api/endpoint_pb.d.ts +102 -0
- package/google/api/endpoint_pb.js +32 -0
- package/google/api/error_reason_pb.d.ts +657 -0
- package/google/api/error_reason_pb.js +48 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_connect.d.ts +71 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_connect.js +71 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_pb.d.ts +415 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_pb.js +112 -0
- package/google/api/expr/v1alpha1/checked_pb.d.ts +701 -0
- package/google/api/expr/v1alpha1/checked_pb.js +133 -0
- package/google/api/expr/v1alpha1/eval_pb.d.ts +212 -0
- package/google/api/expr/v1alpha1/eval_pb.js +62 -0
- package/google/api/expr/v1alpha1/explain_pb.d.ts +92 -0
- package/google/api/expr/v1alpha1/explain_pb.js +42 -0
- package/google/api/expr/v1alpha1/syntax_pb.d.ts +698 -0
- package/google/api/expr/v1alpha1/syntax_pb.js +112 -0
- package/google/api/expr/v1alpha1/value_pb.d.ts +252 -0
- package/google/api/expr/v1alpha1/value_pb.js +62 -0
- package/google/api/expr/v1beta1/decl_pb.d.ts +183 -0
- package/google/api/expr/v1beta1/decl_pb.js +55 -0
- package/google/api/expr/v1beta1/eval_pb.d.ts +233 -0
- package/google/api/expr/v1beta1/eval_pb.js +70 -0
- package/google/api/expr/v1beta1/expr_pb.d.ts +550 -0
- package/google/api/expr/v1beta1/expr_pb.js +98 -0
- package/google/api/expr/v1beta1/source_pb.d.ts +112 -0
- package/google/api/expr/v1beta1/source_pb.js +40 -0
- package/google/api/expr/v1beta1/value_pb.d.ts +253 -0
- package/google/api/expr/v1beta1/value_pb.js +63 -0
- package/google/api/field_behavior_pb.d.ts +133 -0
- package/google/api/field_behavior_pb.js +64 -0
- package/google/api/http_pb.d.ts +472 -0
- package/google/api/http_pb.js +46 -0
- package/google/api/httpbody_pb.d.ts +103 -0
- package/google/api/httpbody_pb.js +33 -0
- package/google/api/label_pb.d.ts +92 -0
- package/google/api/label_pb.js +46 -0
- package/google/api/launch_stage_pb.d.ts +114 -0
- package/google/api/launch_stage_pb.js +40 -0
- package/google/api/log_pb.d.ts +81 -0
- package/google/api/log_pb.js +33 -0
- package/google/api/logging_pb.d.ts +118 -0
- package/google/api/logging_pb.js +39 -0
- package/google/api/metric_pb.d.ts +422 -0
- package/google/api/metric_pb.js +79 -0
- package/google/api/monitored_resource_pb.d.ts +194 -0
- package/google/api/monitored_resource_pb.js +49 -0
- package/google/api/monitoring_pb.d.ts +143 -0
- package/google/api/monitoring_pb.js +39 -0
- package/google/api/quota_pb.d.ts +271 -0
- package/google/api/quota_pb.js +46 -0
- package/google/api/resource_pb.d.ts +338 -0
- package/google/api/resource_pb.js +96 -0
- package/google/api/routing_pb.d.ts +496 -0
- package/google/api/routing_pb.js +48 -0
- package/google/api/service_pb.d.ts +304 -0
- package/google/api/service_pb.js +53 -0
- package/google/api/servicecontrol/v1/check_error_pb.d.ts +241 -0
- package/google/api/servicecontrol/v1/check_error_pb.js +47 -0
- package/google/api/servicecontrol/v1/distribution_pb.d.ts +279 -0
- package/google/api/servicecontrol/v1/distribution_pb.js +54 -0
- package/google/api/servicecontrol/v1/http_request_pb.d.ts +162 -0
- package/google/api/servicecontrol/v1/http_request_pb.js +33 -0
- package/google/api/servicecontrol/v1/log_entry_pb.d.ts +237 -0
- package/google/api/servicecontrol/v1/log_entry_pb.js +51 -0
- package/google/api/servicecontrol/v1/metric_value_pb.d.ts +148 -0
- package/google/api/servicecontrol/v1/metric_value_pb.js +41 -0
- package/google/api/servicecontrol/v1/operation_pb.d.ts +188 -0
- package/google/api/servicecontrol/v1/operation_pb.js +50 -0
- package/google/api/servicecontrol/v1/quota_controller_connect.d.ts +56 -0
- package/google/api/servicecontrol/v1/quota_controller_connect.js +56 -0
- package/google/api/servicecontrol/v1/quota_controller_pb.d.ts +417 -0
- package/google/api/servicecontrol/v1/quota_controller_pb.js +100 -0
- package/google/api/servicecontrol/v1/service_controller_connect.d.ts +87 -0
- package/google/api/servicecontrol/v1/service_controller_connect.js +87 -0
- package/google/api/servicecontrol/v1/service_controller_pb.d.ts +437 -0
- package/google/api/servicecontrol/v1/service_controller_pb.js +105 -0
- package/google/api/servicecontrol/v2/service_controller_connect.d.ts +99 -0
- package/google/api/servicecontrol/v2/service_controller_connect.js +99 -0
- package/google/api/servicecontrol/v2/service_controller_pb.d.ts +300 -0
- package/google/api/servicecontrol/v2/service_controller_pb.js +79 -0
- package/google/api/servicemanagement/v1/resources_pb.d.ts +632 -0
- package/google/api/servicemanagement/v1/resources_pb.js +159 -0
- package/google/api/servicemanagement/v1/servicemanager_connect.d.ts +252 -0
- package/google/api/servicemanagement/v1/servicemanager_connect.js +252 -0
- package/google/api/servicemanagement/v1/servicemanager_pb.d.ts +854 -0
- package/google/api/servicemanagement/v1/servicemanager_pb.js +186 -0
- package/google/api/serviceusage/v1/resources_pb.d.ts +231 -0
- package/google/api/serviceusage/v1/resources_pb.js +68 -0
- package/google/api/serviceusage/v1/serviceusage_connect.d.ts +125 -0
- package/google/api/serviceusage/v1/serviceusage_connect.js +125 -0
- package/google/api/serviceusage/v1/serviceusage_pb.d.ts +529 -0
- package/google/api/serviceusage/v1/serviceusage_pb.js +140 -0
- package/google/api/serviceusage/v1beta1/resources_pb.d.ts +748 -0
- package/google/api/serviceusage/v1beta1/resources_pb.js +146 -0
- package/google/api/serviceusage/v1beta1/serviceusage_connect.d.ts +285 -0
- package/google/api/serviceusage/v1beta1/serviceusage_connect.js +285 -0
- package/google/api/serviceusage/v1beta1/serviceusage_pb.d.ts +1446 -0
- package/google/api/serviceusage/v1beta1/serviceusage_pb.js +304 -0
- package/google/api/source_info_pb.d.ts +46 -0
- package/google/api/source_info_pb.js +33 -0
- package/google/api/system_parameter_pb.d.ts +151 -0
- package/google/api/system_parameter_pb.js +46 -0
- package/google/api/usage_pb.d.ts +141 -0
- package/google/api/usage_pb.js +39 -0
- package/google/api/visibility_pb.d.ts +157 -0
- package/google/api/visibility_pb.js +88 -0
- package/google/iam/admin/v1/audit_data_pb.d.ts +75 -0
- package/google/iam/admin/v1/audit_data_pb.js +39 -0
- package/google/iam/admin/v1/iam_connect.d.ts +534 -0
- package/google/iam/admin/v1/iam_connect.js +534 -0
- package/google/iam/admin/v1/iam_pb.d.ts +2699 -0
- package/google/iam/admin/v1/iam_pb.js +528 -0
- package/google/iam/credentials/v1/common_pb.d.ts +319 -0
- package/google/iam/credentials/v1/common_pb.js +85 -0
- package/google/iam/credentials/v1/iamcredentials_connect.d.ts +84 -0
- package/google/iam/credentials/v1/iamcredentials_connect.js +84 -0
- package/google/iam/credentials/v1/iamcredentials_pb.d.ts +81 -0
- package/google/iam/credentials/v1/iamcredentials_pb.js +44 -0
- package/google/iam/v1/iam_policy_connect.d.ts +102 -0
- package/google/iam/v1/iam_policy_connect.js +102 -0
- package/google/iam/v1/iam_policy_pb.d.ts +225 -0
- package/google/iam/v1/iam_policy_pb.js +93 -0
- package/google/iam/v1/logging/audit_data_pb.d.ts +48 -0
- package/google/iam/v1/logging/audit_data_pb.js +33 -0
- package/google/iam/v1/options_pb.d.ts +62 -0
- package/google/iam/v1/options_pb.js +32 -0
- package/google/iam/v1/policy_pb.d.ts +622 -0
- package/google/iam/v1/policy_pb.js +118 -0
- package/google/iam/v1beta/workload_identity_pool_connect.d.ts +203 -0
- package/google/iam/v1beta/workload_identity_pool_connect.js +203 -0
- package/google/iam/v1beta/workload_identity_pool_pb.d.ts +996 -0
- package/google/iam/v1beta/workload_identity_pool_pb.js +207 -0
- package/google/iam/v2/deny_pb.d.ts +139 -0
- package/google/iam/v2/deny_pb.js +33 -0
- package/google/iam/v2/policy_connect.d.ts +102 -0
- package/google/iam/v2/policy_connect.js +102 -0
- package/google/iam/v2/policy_pb.d.ts +481 -0
- package/google/iam/v2/policy_pb.js +102 -0
- package/google/iam/v2beta/deny_pb.d.ts +139 -0
- package/google/iam/v2beta/deny_pb.js +33 -0
- package/google/iam/v2beta/policy_connect.d.ts +102 -0
- package/google/iam/v2beta/policy_connect.js +102 -0
- package/google/iam/v2beta/policy_pb.d.ts +473 -0
- package/google/iam/v2beta/policy_pb.js +102 -0
- package/google/logging/type/http_request_pb.d.ts +164 -0
- package/google/logging/type/http_request_pb.js +33 -0
- package/google/logging/type/log_severity_pb.d.ts +114 -0
- package/google/logging/type/log_severity_pb.js +53 -0
- package/google/logging/v2/log_entry_pb.d.ts +382 -0
- package/google/logging/v2/log_entry_pb.js +61 -0
- package/google/logging/v2/logging_config_connect.d.ts +401 -0
- package/google/logging/v2/logging_config_connect.js +401 -0
- package/google/logging/v2/logging_config_pb.d.ts +2422 -0
- package/google/logging/v2/logging_config_pb.js +360 -0
- package/google/logging/v2/logging_connect.d.ts +113 -0
- package/google/logging/v2/logging_connect.js +113 -0
- package/google/logging/v2/logging_metrics_connect.d.ts +88 -0
- package/google/logging/v2/logging_metrics_connect.js +88 -0
- package/google/logging/v2/logging_metrics_pb.d.ts +467 -0
- package/google/logging/v2/logging_metrics_pb.js +104 -0
- package/google/logging/v2/logging_pb.d.ts +718 -0
- package/google/logging/v2/logging_pb.js +147 -0
- package/google/longrunning/operations_connect.d.ts +127 -0
- package/google/longrunning/operations_connect.js +127 -0
- package/google/longrunning/operations_pb.d.ts +420 -0
- package/google/longrunning/operations_pb.js +117 -0
- package/google/protobuf/any_pb.d.ts +181 -0
- package/google/protobuf/any_pb.js +48 -0
- package/google/protobuf/api_pb.d.ts +301 -0
- package/google/protobuf/api_pb.js +64 -0
- package/google/protobuf/descriptor_pb.d.ts +2589 -0
- package/google/protobuf/descriptor_pb.js +503 -0
- package/google/protobuf/duration_pb.d.ts +133 -0
- package/google/protobuf/duration_pb.js +48 -0
- package/google/protobuf/empty_pb.d.ts +62 -0
- package/google/protobuf/empty_pb.js +48 -0
- package/google/protobuf/field_mask_pb.d.ts +259 -0
- package/google/protobuf/field_mask_pb.js +48 -0
- package/google/protobuf/source_context_pb.d.ts +63 -0
- package/google/protobuf/source_context_pb.js +48 -0
- package/google/protobuf/struct_pb.d.ts +185 -0
- package/google/protobuf/struct_pb.js +79 -0
- package/google/protobuf/timestamp_pb.d.ts +162 -0
- package/google/protobuf/timestamp_pb.js +48 -0
- package/google/protobuf/type_pb.d.ts +531 -0
- package/google/protobuf/type_pb.js +120 -0
- package/google/protobuf/wrappers_pb.d.ts +249 -0
- package/google/protobuf/wrappers_pb.js +114 -0
- package/google/rpc/code_pb.d.ts +264 -0
- package/google/rpc/code_pb.js +45 -0
- package/google/rpc/context/attribute_context_pb.d.ts +618 -0
- package/google/rpc/context/attribute_context_pb.js +78 -0
- package/google/rpc/context/audit_context_pb.d.ts +79 -0
- package/google/rpc/context/audit_context_pb.js +33 -0
- package/google/rpc/error_details_pb.d.ts +534 -0
- package/google/rpc/error_details_pb.js +124 -0
- package/google/rpc/http_pb.d.ts +136 -0
- package/google/rpc/http_pb.js +46 -0
- package/google/rpc/status_pb.d.ts +71 -0
- package/google/rpc/status_pb.js +33 -0
- package/google/type/calendar_period_pb.d.ts +98 -0
- package/google/type/calendar_period_pb.js +41 -0
- package/google/type/color_pb.d.ts +199 -0
- package/google/type/color_pb.js +33 -0
- package/google/type/date_pb.d.ts +75 -0
- package/google/type/date_pb.js +32 -0
- package/google/type/datetime_pb.d.ts +174 -0
- package/google/type/datetime_pb.js +40 -0
- package/google/type/dayofweek_pb.d.ts +92 -0
- package/google/type/dayofweek_pb.js +39 -0
- package/google/type/decimal_pb.d.ts +110 -0
- package/google/type/decimal_pb.js +32 -0
- package/google/type/expr_pb.d.ts +101 -0
- package/google/type/expr_pb.js +32 -0
- package/google/type/fraction_pb.d.ts +53 -0
- package/google/type/fraction_pb.js +32 -0
- package/google/type/interval_pb.d.ts +64 -0
- package/google/type/interval_pb.js +33 -0
- package/google/type/latlng_pb.d.ts +56 -0
- package/google/type/latlng_pb.js +32 -0
- package/google/type/localized_text_pb.d.ts +55 -0
- package/google/type/localized_text_pb.js +32 -0
- package/google/type/money_pb.d.ts +65 -0
- package/google/type/money_pb.js +32 -0
- package/google/type/month_pb.d.ts +127 -0
- package/google/type/month_pb.js +39 -0
- package/google/type/phone_number_pb.d.ts +160 -0
- package/google/type/phone_number_pb.js +39 -0
- package/google/type/postal_address_pb.d.ts +189 -0
- package/google/type/postal_address_pb.js +32 -0
- package/google/type/quaternion_pb.d.ts +121 -0
- package/google/type/quaternion_pb.js +32 -0
- package/google/type/timeofday_pb.d.ts +71 -0
- package/google/type/timeofday_pb.js +32 -0
- package/lf/a2a/v1/a2a_connect.d.ts +148 -0
- package/lf/a2a/v1/a2a_connect.js +148 -0
- package/lf/a2a/v1/a2a_pb.d.ts +2184 -0
- package/lf/a2a/v1/a2a_pb.js +363 -0
- package/package.json +10 -0
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
// Copyright 2022 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.11.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/servicemanagement/v1/resources.proto (package google.api.servicemanagement.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { file_google_api_config_change } from "../../config_change_pb";
|
|
21
|
+
import { file_google_api_field_behavior } from "../../field_behavior_pb";
|
|
22
|
+
import { file_google_protobuf_timestamp } from "../../../protobuf/timestamp_pb";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the file google/api/servicemanagement/v1/resources.proto.
|
|
26
|
+
*/
|
|
27
|
+
export const file_google_api_servicemanagement_v1_resources = /*@__PURE__*/
|
|
28
|
+
fileDesc("Ci9nb29nbGUvYXBpL3NlcnZpY2VtYW5hZ2VtZW50L3YxL3Jlc291cmNlcy5wcm90bxIfZ29vZ2xlLmFwaS5zZXJ2aWNlbWFuYWdlbWVudC52MSJDCg5NYW5hZ2VkU2VydmljZRIUCgxzZXJ2aWNlX25hbWUYAiABKAkSGwoTcHJvZHVjZXJfcHJvamVjdF9pZBgDIAEoCSKRAwoRT3BlcmF0aW9uTWV0YWRhdGESFgoOcmVzb3VyY2VfbmFtZXMYASADKAkSRgoFc3RlcHMYAiADKAsyNy5nb29nbGUuYXBpLnNlcnZpY2VtYW5hZ2VtZW50LnYxLk9wZXJhdGlvbk1ldGFkYXRhLlN0ZXASGwoTcHJvZ3Jlc3NfcGVyY2VudGFnZRgDIAEoBRIuCgpzdGFydF90aW1lGAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBpmCgRTdGVwEhMKC2Rlc2NyaXB0aW9uGAIgASgJEkkKBnN0YXR1cxgEIAEoDjI5Lmdvb2dsZS5hcGkuc2VydmljZW1hbmFnZW1lbnQudjEuT3BlcmF0aW9uTWV0YWRhdGEuU3RhdHVzImcKBlN0YXR1cxIWChJTVEFUVVNfVU5TUEVDSUZJRUQQABIICgRET05FEAESDwoLTk9UX1NUQVJURUQQAhIPCgtJTl9QUk9HUkVTUxADEgoKBkZBSUxFRBAEEg0KCUNBTkNFTExFRBAFIo8BCgpEaWFnbm9zdGljEhAKCGxvY2F0aW9uGAEgASgJEj4KBGtpbmQYAiABKA4yMC5nb29nbGUuYXBpLnNlcnZpY2VtYW5hZ2VtZW50LnYxLkRpYWdub3N0aWMuS2luZBIPCgdtZXNzYWdlGAMgASgJIh4KBEtpbmQSCwoHV0FSTklORxAAEgkKBUVSUk9SEAEiVgoMQ29uZmlnU291cmNlEgoKAmlkGAUgASgJEjoKBWZpbGVzGAIgAygLMisuZ29vZ2xlLmFwaS5zZXJ2aWNlbWFuYWdlbWVudC52MS5Db25maWdGaWxlIpUCCgpDb25maWdGaWxlEhEKCWZpbGVfcGF0aBgBIAEoCRIVCg1maWxlX2NvbnRlbnRzGAMgASgMEkcKCWZpbGVfdHlwZRgEIAEoDjI0Lmdvb2dsZS5hcGkuc2VydmljZW1hbmFnZW1lbnQudjEuQ29uZmlnRmlsZS5GaWxlVHlwZSKTAQoIRmlsZVR5cGUSGQoVRklMRV9UWVBFX1VOU1BFQ0lGSUVEEAASFwoTU0VSVklDRV9DT05GSUdfWUFNTBABEhEKDU9QRU5fQVBJX0pTT04QAhIRCg1PUEVOX0FQSV9ZQU1MEAMSHQoZRklMRV9ERVNDUklQVE9SX1NFVF9QUk9UTxAEEg4KClBST1RPX0ZJTEUQBiIZCglDb25maWdSZWYSDAoEbmFtZRgBIAEoCSJACgxDaGFuZ2VSZXBvcnQSMAoOY29uZmlnX2NoYW5nZXMYASADKAsyGC5nb29nbGUuYXBpLkNvbmZpZ0NoYW5nZSL6BQoHUm9sbG91dBIYCgpyb2xsb3V0X2lkGAEgASgJQgTiQQEBEi8KC2NyZWF0ZV90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBISCgpjcmVhdGVkX2J5GAMgASgJEkYKBnN0YXR1cxgEIAEoDjI2Lmdvb2dsZS5hcGkuc2VydmljZW1hbmFnZW1lbnQudjEuUm9sbG91dC5Sb2xsb3V0U3RhdHVzEmMKGHRyYWZmaWNfcGVyY2VudF9zdHJhdGVneRgFIAEoCzI/Lmdvb2dsZS5hcGkuc2VydmljZW1hbmFnZW1lbnQudjEuUm9sbG91dC5UcmFmZmljUGVyY2VudFN0cmF0ZWd5SAASYgoXZGVsZXRlX3NlcnZpY2Vfc3RyYXRlZ3kYyAEgASgLMj4uZ29vZ2xlLmFwaS5zZXJ2aWNlbWFuYWdlbWVudC52MS5Sb2xsb3V0LkRlbGV0ZVNlcnZpY2VTdHJhdGVneUgAEhQKDHNlcnZpY2VfbmFtZRgIIAEoCRqzAQoWVHJhZmZpY1BlcmNlbnRTdHJhdGVneRJlCgtwZXJjZW50YWdlcxgBIAMoCzJQLmdvb2dsZS5hcGkuc2VydmljZW1hbmFnZW1lbnQudjEuUm9sbG91dC5UcmFmZmljUGVyY2VudFN0cmF0ZWd5LlBlcmNlbnRhZ2VzRW50cnkaMgoQUGVyY2VudGFnZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAE6AjgBGhcKFURlbGV0ZVNlcnZpY2VTdHJhdGVneSKNAQoNUm9sbG91dFN0YXR1cxIeChpST0xMT1VUX1NUQVRVU19VTlNQRUNJRklFRBAAEg8KC0lOX1BST0dSRVNTEAESCwoHU1VDQ0VTUxACEg0KCUNBTkNFTExFRBADEgoKBkZBSUxFRBAEEgsKB1BFTkRJTkcQBRIWChJGQUlMRURfUk9MTEVEX0JBQ0sQBkIKCghzdHJhdGVneUL/AQojY29tLmdvb2dsZS5hcGkuc2VydmljZW1hbmFnZW1lbnQudjFCDlJlc291cmNlc1Byb3RvUAFaUGdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL3NlcnZpY2VtYW5hZ2VtZW50L3YxO3NlcnZpY2VtYW5hZ2VtZW50ogIER0FTTaoCIUdvb2dsZS5DbG91ZC5TZXJ2aWNlTWFuYWdlbWVudC5WMcoCIUdvb2dsZVxDbG91ZFxTZXJ2aWNlTWFuYWdlbWVudFxWMeoCJEdvb2dsZTo6Q2xvdWQ6OlNlcnZpY2VNYW5hZ2VtZW50OjpWMWIGcHJvdG8z", [file_google_api_config_change, file_google_api_field_behavior, file_google_protobuf_timestamp]);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message google.api.servicemanagement.v1.ManagedService.
|
|
32
|
+
* Use `create(ManagedServiceSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const ManagedServiceSchema = /*@__PURE__*/
|
|
35
|
+
messageDesc(file_google_api_servicemanagement_v1_resources, 0);
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message google.api.servicemanagement.v1.OperationMetadata.
|
|
39
|
+
* Use `create(OperationMetadataSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const OperationMetadataSchema = /*@__PURE__*/
|
|
42
|
+
messageDesc(file_google_api_servicemanagement_v1_resources, 1);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message google.api.servicemanagement.v1.OperationMetadata.Step.
|
|
46
|
+
* Use `create(OperationMetadata_StepSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export const OperationMetadata_StepSchema = /*@__PURE__*/
|
|
49
|
+
messageDesc(file_google_api_servicemanagement_v1_resources, 1, 0);
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Describes the enum google.api.servicemanagement.v1.OperationMetadata.Status.
|
|
53
|
+
*/
|
|
54
|
+
export const OperationMetadata_StatusSchema = /*@__PURE__*/
|
|
55
|
+
enumDesc(file_google_api_servicemanagement_v1_resources, 1, 0);
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Code describes the status of the operation (or one of its steps).
|
|
59
|
+
*
|
|
60
|
+
* @generated from enum google.api.servicemanagement.v1.OperationMetadata.Status
|
|
61
|
+
*/
|
|
62
|
+
export const OperationMetadata_Status = /*@__PURE__*/
|
|
63
|
+
tsEnum(OperationMetadata_StatusSchema);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message google.api.servicemanagement.v1.Diagnostic.
|
|
67
|
+
* Use `create(DiagnosticSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const DiagnosticSchema = /*@__PURE__*/
|
|
70
|
+
messageDesc(file_google_api_servicemanagement_v1_resources, 2);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Describes the enum google.api.servicemanagement.v1.Diagnostic.Kind.
|
|
74
|
+
*/
|
|
75
|
+
export const Diagnostic_KindSchema = /*@__PURE__*/
|
|
76
|
+
enumDesc(file_google_api_servicemanagement_v1_resources, 2, 0);
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* The kind of diagnostic information possible.
|
|
80
|
+
*
|
|
81
|
+
* @generated from enum google.api.servicemanagement.v1.Diagnostic.Kind
|
|
82
|
+
*/
|
|
83
|
+
export const Diagnostic_Kind = /*@__PURE__*/
|
|
84
|
+
tsEnum(Diagnostic_KindSchema);
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message google.api.servicemanagement.v1.ConfigSource.
|
|
88
|
+
* Use `create(ConfigSourceSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export const ConfigSourceSchema = /*@__PURE__*/
|
|
91
|
+
messageDesc(file_google_api_servicemanagement_v1_resources, 3);
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Describes the message google.api.servicemanagement.v1.ConfigFile.
|
|
95
|
+
* Use `create(ConfigFileSchema)` to create a new message.
|
|
96
|
+
*/
|
|
97
|
+
export const ConfigFileSchema = /*@__PURE__*/
|
|
98
|
+
messageDesc(file_google_api_servicemanagement_v1_resources, 4);
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Describes the enum google.api.servicemanagement.v1.ConfigFile.FileType.
|
|
102
|
+
*/
|
|
103
|
+
export const ConfigFile_FileTypeSchema = /*@__PURE__*/
|
|
104
|
+
enumDesc(file_google_api_servicemanagement_v1_resources, 4, 0);
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @generated from enum google.api.servicemanagement.v1.ConfigFile.FileType
|
|
108
|
+
*/
|
|
109
|
+
export const ConfigFile_FileType = /*@__PURE__*/
|
|
110
|
+
tsEnum(ConfigFile_FileTypeSchema);
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Describes the message google.api.servicemanagement.v1.ConfigRef.
|
|
114
|
+
* Use `create(ConfigRefSchema)` to create a new message.
|
|
115
|
+
*/
|
|
116
|
+
export const ConfigRefSchema = /*@__PURE__*/
|
|
117
|
+
messageDesc(file_google_api_servicemanagement_v1_resources, 5);
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message google.api.servicemanagement.v1.ChangeReport.
|
|
121
|
+
* Use `create(ChangeReportSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export const ChangeReportSchema = /*@__PURE__*/
|
|
124
|
+
messageDesc(file_google_api_servicemanagement_v1_resources, 6);
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Describes the message google.api.servicemanagement.v1.Rollout.
|
|
128
|
+
* Use `create(RolloutSchema)` to create a new message.
|
|
129
|
+
*/
|
|
130
|
+
export const RolloutSchema = /*@__PURE__*/
|
|
131
|
+
messageDesc(file_google_api_servicemanagement_v1_resources, 7);
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Describes the message google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.
|
|
135
|
+
* Use `create(Rollout_TrafficPercentStrategySchema)` to create a new message.
|
|
136
|
+
*/
|
|
137
|
+
export const Rollout_TrafficPercentStrategySchema = /*@__PURE__*/
|
|
138
|
+
messageDesc(file_google_api_servicemanagement_v1_resources, 7, 0);
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Describes the message google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy.
|
|
142
|
+
* Use `create(Rollout_DeleteServiceStrategySchema)` to create a new message.
|
|
143
|
+
*/
|
|
144
|
+
export const Rollout_DeleteServiceStrategySchema = /*@__PURE__*/
|
|
145
|
+
messageDesc(file_google_api_servicemanagement_v1_resources, 7, 1);
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Describes the enum google.api.servicemanagement.v1.Rollout.RolloutStatus.
|
|
149
|
+
*/
|
|
150
|
+
export const Rollout_RolloutStatusSchema = /*@__PURE__*/
|
|
151
|
+
enumDesc(file_google_api_servicemanagement_v1_resources, 7, 0);
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Status of a Rollout.
|
|
155
|
+
*
|
|
156
|
+
* @generated from enum google.api.servicemanagement.v1.Rollout.RolloutStatus
|
|
157
|
+
*/
|
|
158
|
+
export const Rollout_RolloutStatus = /*@__PURE__*/
|
|
159
|
+
tsEnum(Rollout_RolloutStatusSchema);
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
// Copyright 2022 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-connect-es v1.7.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/servicemanagement/v1/servicemanager.proto (package google.api.servicemanagement.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { CreateServiceConfigRequest, CreateServiceRequest, CreateServiceRolloutRequest, DeleteServiceRequest, GenerateConfigReportRequest, GenerateConfigReportResponse, GetServiceConfigRequest, GetServiceRequest, GetServiceRolloutRequest, ListServiceConfigsRequest, ListServiceConfigsResponse, ListServiceRolloutsRequest, ListServiceRolloutsResponse, ListServicesRequest, ListServicesResponse, SubmitConfigSourceRequest, UndeleteServiceRequest } from "./servicemanager_pb.js";
|
|
21
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
22
|
+
import { ManagedService, Rollout } from "./resources_pb.js";
|
|
23
|
+
import { Operation } from "../../../longrunning/operations_pb.js";
|
|
24
|
+
import { Service } from "../../service_pb.js";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* [Google Service Management
|
|
28
|
+
* API](https://cloud.google.com/service-infrastructure/docs/overview)
|
|
29
|
+
*
|
|
30
|
+
* @generated from service google.api.servicemanagement.v1.ServiceManager
|
|
31
|
+
*/
|
|
32
|
+
export declare const ServiceManager: {
|
|
33
|
+
readonly typeName: "google.api.servicemanagement.v1.ServiceManager",
|
|
34
|
+
readonly methods: {
|
|
35
|
+
/**
|
|
36
|
+
* Lists managed services.
|
|
37
|
+
*
|
|
38
|
+
* Returns all public services. For authenticated users, also returns all
|
|
39
|
+
* services the calling user has "servicemanagement.services.get" permission
|
|
40
|
+
* for.
|
|
41
|
+
*
|
|
42
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.ListServices
|
|
43
|
+
*/
|
|
44
|
+
readonly listServices: {
|
|
45
|
+
readonly name: "ListServices",
|
|
46
|
+
readonly I: typeof ListServicesRequest,
|
|
47
|
+
readonly O: typeof ListServicesResponse,
|
|
48
|
+
readonly kind: MethodKind.Unary,
|
|
49
|
+
},
|
|
50
|
+
/**
|
|
51
|
+
* Gets a managed service. Authentication is required unless the service is
|
|
52
|
+
* public.
|
|
53
|
+
*
|
|
54
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.GetService
|
|
55
|
+
*/
|
|
56
|
+
readonly getService: {
|
|
57
|
+
readonly name: "GetService",
|
|
58
|
+
readonly I: typeof GetServiceRequest,
|
|
59
|
+
readonly O: typeof ManagedService,
|
|
60
|
+
readonly kind: MethodKind.Unary,
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* Creates a new managed service.
|
|
64
|
+
*
|
|
65
|
+
* A managed service is immutable, and is subject to mandatory 30-day
|
|
66
|
+
* data retention. You cannot move a service or recreate it within 30 days
|
|
67
|
+
* after deletion.
|
|
68
|
+
*
|
|
69
|
+
* One producer project can own no more than 500 services. For security and
|
|
70
|
+
* reliability purposes, a production service should be hosted in a
|
|
71
|
+
* dedicated producer project.
|
|
72
|
+
*
|
|
73
|
+
* Operation<response: ManagedService>
|
|
74
|
+
*
|
|
75
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.CreateService
|
|
76
|
+
*/
|
|
77
|
+
readonly createService: {
|
|
78
|
+
readonly name: "CreateService",
|
|
79
|
+
readonly I: typeof CreateServiceRequest,
|
|
80
|
+
readonly O: typeof Operation,
|
|
81
|
+
readonly kind: MethodKind.Unary,
|
|
82
|
+
},
|
|
83
|
+
/**
|
|
84
|
+
* Deletes a managed service. This method will change the service to the
|
|
85
|
+
* `Soft-Delete` state for 30 days. Within this period, service producers may
|
|
86
|
+
* call
|
|
87
|
+
* [UndeleteService][google.api.servicemanagement.v1.ServiceManager.UndeleteService]
|
|
88
|
+
* to restore the service. After 30 days, the service will be permanently
|
|
89
|
+
* deleted.
|
|
90
|
+
*
|
|
91
|
+
* Operation<response: google.protobuf.Empty>
|
|
92
|
+
*
|
|
93
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.DeleteService
|
|
94
|
+
*/
|
|
95
|
+
readonly deleteService: {
|
|
96
|
+
readonly name: "DeleteService",
|
|
97
|
+
readonly I: typeof DeleteServiceRequest,
|
|
98
|
+
readonly O: typeof Operation,
|
|
99
|
+
readonly kind: MethodKind.Unary,
|
|
100
|
+
},
|
|
101
|
+
/**
|
|
102
|
+
* Revives a previously deleted managed service. The method restores the
|
|
103
|
+
* service using the configuration at the time the service was deleted.
|
|
104
|
+
* The target service must exist and must have been deleted within the
|
|
105
|
+
* last 30 days.
|
|
106
|
+
*
|
|
107
|
+
* Operation<response: UndeleteServiceResponse>
|
|
108
|
+
*
|
|
109
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.UndeleteService
|
|
110
|
+
*/
|
|
111
|
+
readonly undeleteService: {
|
|
112
|
+
readonly name: "UndeleteService",
|
|
113
|
+
readonly I: typeof UndeleteServiceRequest,
|
|
114
|
+
readonly O: typeof Operation,
|
|
115
|
+
readonly kind: MethodKind.Unary,
|
|
116
|
+
},
|
|
117
|
+
/**
|
|
118
|
+
* Lists the history of the service configuration for a managed service,
|
|
119
|
+
* from the newest to the oldest.
|
|
120
|
+
*
|
|
121
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.ListServiceConfigs
|
|
122
|
+
*/
|
|
123
|
+
readonly listServiceConfigs: {
|
|
124
|
+
readonly name: "ListServiceConfigs",
|
|
125
|
+
readonly I: typeof ListServiceConfigsRequest,
|
|
126
|
+
readonly O: typeof ListServiceConfigsResponse,
|
|
127
|
+
readonly kind: MethodKind.Unary,
|
|
128
|
+
},
|
|
129
|
+
/**
|
|
130
|
+
* Gets a service configuration (version) for a managed service.
|
|
131
|
+
*
|
|
132
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.GetServiceConfig
|
|
133
|
+
*/
|
|
134
|
+
readonly getServiceConfig: {
|
|
135
|
+
readonly name: "GetServiceConfig",
|
|
136
|
+
readonly I: typeof GetServiceConfigRequest,
|
|
137
|
+
readonly O: typeof Service,
|
|
138
|
+
readonly kind: MethodKind.Unary,
|
|
139
|
+
},
|
|
140
|
+
/**
|
|
141
|
+
* Creates a new service configuration (version) for a managed service.
|
|
142
|
+
* This method only stores the service configuration. To roll out the service
|
|
143
|
+
* configuration to backend systems please call
|
|
144
|
+
* [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
|
|
145
|
+
*
|
|
146
|
+
* Only the 100 most recent service configurations and ones referenced by
|
|
147
|
+
* existing rollouts are kept for each service. The rest will be deleted
|
|
148
|
+
* eventually.
|
|
149
|
+
*
|
|
150
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.CreateServiceConfig
|
|
151
|
+
*/
|
|
152
|
+
readonly createServiceConfig: {
|
|
153
|
+
readonly name: "CreateServiceConfig",
|
|
154
|
+
readonly I: typeof CreateServiceConfigRequest,
|
|
155
|
+
readonly O: typeof Service,
|
|
156
|
+
readonly kind: MethodKind.Unary,
|
|
157
|
+
},
|
|
158
|
+
/**
|
|
159
|
+
* Creates a new service configuration (version) for a managed service based
|
|
160
|
+
* on
|
|
161
|
+
* user-supplied configuration source files (for example: OpenAPI
|
|
162
|
+
* Specification). This method stores the source configurations as well as the
|
|
163
|
+
* generated service configuration. To rollout the service configuration to
|
|
164
|
+
* other services,
|
|
165
|
+
* please call
|
|
166
|
+
* [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
|
|
167
|
+
*
|
|
168
|
+
* Only the 100 most recent configuration sources and ones referenced by
|
|
169
|
+
* existing service configurtions are kept for each service. The rest will be
|
|
170
|
+
* deleted eventually.
|
|
171
|
+
*
|
|
172
|
+
* Operation<response: SubmitConfigSourceResponse>
|
|
173
|
+
*
|
|
174
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.SubmitConfigSource
|
|
175
|
+
*/
|
|
176
|
+
readonly submitConfigSource: {
|
|
177
|
+
readonly name: "SubmitConfigSource",
|
|
178
|
+
readonly I: typeof SubmitConfigSourceRequest,
|
|
179
|
+
readonly O: typeof Operation,
|
|
180
|
+
readonly kind: MethodKind.Unary,
|
|
181
|
+
},
|
|
182
|
+
/**
|
|
183
|
+
* Lists the history of the service configuration rollouts for a managed
|
|
184
|
+
* service, from the newest to the oldest.
|
|
185
|
+
*
|
|
186
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.ListServiceRollouts
|
|
187
|
+
*/
|
|
188
|
+
readonly listServiceRollouts: {
|
|
189
|
+
readonly name: "ListServiceRollouts",
|
|
190
|
+
readonly I: typeof ListServiceRolloutsRequest,
|
|
191
|
+
readonly O: typeof ListServiceRolloutsResponse,
|
|
192
|
+
readonly kind: MethodKind.Unary,
|
|
193
|
+
},
|
|
194
|
+
/**
|
|
195
|
+
* Gets a service configuration
|
|
196
|
+
* [rollout][google.api.servicemanagement.v1.Rollout].
|
|
197
|
+
*
|
|
198
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.GetServiceRollout
|
|
199
|
+
*/
|
|
200
|
+
readonly getServiceRollout: {
|
|
201
|
+
readonly name: "GetServiceRollout",
|
|
202
|
+
readonly I: typeof GetServiceRolloutRequest,
|
|
203
|
+
readonly O: typeof Rollout,
|
|
204
|
+
readonly kind: MethodKind.Unary,
|
|
205
|
+
},
|
|
206
|
+
/**
|
|
207
|
+
* Creates a new service configuration rollout. Based on rollout, the
|
|
208
|
+
* Google Service Management will roll out the service configurations to
|
|
209
|
+
* different backend services. For example, the logging configuration will be
|
|
210
|
+
* pushed to Google Cloud Logging.
|
|
211
|
+
*
|
|
212
|
+
* Please note that any previous pending and running Rollouts and associated
|
|
213
|
+
* Operations will be automatically cancelled so that the latest Rollout will
|
|
214
|
+
* not be blocked by previous Rollouts.
|
|
215
|
+
*
|
|
216
|
+
* Only the 100 most recent (in any state) and the last 10 successful (if not
|
|
217
|
+
* already part of the set of 100 most recent) rollouts are kept for each
|
|
218
|
+
* service. The rest will be deleted eventually.
|
|
219
|
+
*
|
|
220
|
+
* Operation<response: Rollout>
|
|
221
|
+
*
|
|
222
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout
|
|
223
|
+
*/
|
|
224
|
+
readonly createServiceRollout: {
|
|
225
|
+
readonly name: "CreateServiceRollout",
|
|
226
|
+
readonly I: typeof CreateServiceRolloutRequest,
|
|
227
|
+
readonly O: typeof Operation,
|
|
228
|
+
readonly kind: MethodKind.Unary,
|
|
229
|
+
},
|
|
230
|
+
/**
|
|
231
|
+
* Generates and returns a report (errors, warnings and changes from
|
|
232
|
+
* existing configurations) associated with
|
|
233
|
+
* GenerateConfigReportRequest.new_value
|
|
234
|
+
*
|
|
235
|
+
* If GenerateConfigReportRequest.old_value is specified,
|
|
236
|
+
* GenerateConfigReportRequest will contain a single ChangeReport based on the
|
|
237
|
+
* comparison between GenerateConfigReportRequest.new_value and
|
|
238
|
+
* GenerateConfigReportRequest.old_value.
|
|
239
|
+
* If GenerateConfigReportRequest.old_value is not specified, this method
|
|
240
|
+
* will compare GenerateConfigReportRequest.new_value with the last pushed
|
|
241
|
+
* service configuration.
|
|
242
|
+
*
|
|
243
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.GenerateConfigReport
|
|
244
|
+
*/
|
|
245
|
+
readonly generateConfigReport: {
|
|
246
|
+
readonly name: "GenerateConfigReport",
|
|
247
|
+
readonly I: typeof GenerateConfigReportRequest,
|
|
248
|
+
readonly O: typeof GenerateConfigReportResponse,
|
|
249
|
+
readonly kind: MethodKind.Unary,
|
|
250
|
+
},
|
|
251
|
+
}
|
|
252
|
+
};
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
// Copyright 2022 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-connect-es v1.7.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/servicemanagement/v1/servicemanager.proto (package google.api.servicemanagement.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { CreateServiceConfigRequest, CreateServiceRequest, CreateServiceRolloutRequest, DeleteServiceRequest, GenerateConfigReportRequest, GenerateConfigReportResponse, GetServiceConfigRequest, GetServiceRequest, GetServiceRolloutRequest, ListServiceConfigsRequest, ListServiceConfigsResponse, ListServiceRolloutsRequest, ListServiceRolloutsResponse, ListServicesRequest, ListServicesResponse, SubmitConfigSourceRequest, UndeleteServiceRequest } from "./servicemanager_pb.js";
|
|
21
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
22
|
+
import { ManagedService, Rollout } from "./resources_pb.js";
|
|
23
|
+
import { Operation } from "../../../longrunning/operations_pb.js";
|
|
24
|
+
import { Service } from "../../service_pb.js";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* [Google Service Management
|
|
28
|
+
* API](https://cloud.google.com/service-infrastructure/docs/overview)
|
|
29
|
+
*
|
|
30
|
+
* @generated from service google.api.servicemanagement.v1.ServiceManager
|
|
31
|
+
*/
|
|
32
|
+
export const ServiceManager = {
|
|
33
|
+
typeName: "google.api.servicemanagement.v1.ServiceManager",
|
|
34
|
+
methods: {
|
|
35
|
+
/**
|
|
36
|
+
* Lists managed services.
|
|
37
|
+
*
|
|
38
|
+
* Returns all public services. For authenticated users, also returns all
|
|
39
|
+
* services the calling user has "servicemanagement.services.get" permission
|
|
40
|
+
* for.
|
|
41
|
+
*
|
|
42
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.ListServices
|
|
43
|
+
*/
|
|
44
|
+
listServices: {
|
|
45
|
+
name: "ListServices",
|
|
46
|
+
I: ListServicesRequest,
|
|
47
|
+
O: ListServicesResponse,
|
|
48
|
+
kind: MethodKind.Unary,
|
|
49
|
+
},
|
|
50
|
+
/**
|
|
51
|
+
* Gets a managed service. Authentication is required unless the service is
|
|
52
|
+
* public.
|
|
53
|
+
*
|
|
54
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.GetService
|
|
55
|
+
*/
|
|
56
|
+
getService: {
|
|
57
|
+
name: "GetService",
|
|
58
|
+
I: GetServiceRequest,
|
|
59
|
+
O: ManagedService,
|
|
60
|
+
kind: MethodKind.Unary,
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* Creates a new managed service.
|
|
64
|
+
*
|
|
65
|
+
* A managed service is immutable, and is subject to mandatory 30-day
|
|
66
|
+
* data retention. You cannot move a service or recreate it within 30 days
|
|
67
|
+
* after deletion.
|
|
68
|
+
*
|
|
69
|
+
* One producer project can own no more than 500 services. For security and
|
|
70
|
+
* reliability purposes, a production service should be hosted in a
|
|
71
|
+
* dedicated producer project.
|
|
72
|
+
*
|
|
73
|
+
* Operation<response: ManagedService>
|
|
74
|
+
*
|
|
75
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.CreateService
|
|
76
|
+
*/
|
|
77
|
+
createService: {
|
|
78
|
+
name: "CreateService",
|
|
79
|
+
I: CreateServiceRequest,
|
|
80
|
+
O: Operation,
|
|
81
|
+
kind: MethodKind.Unary,
|
|
82
|
+
},
|
|
83
|
+
/**
|
|
84
|
+
* Deletes a managed service. This method will change the service to the
|
|
85
|
+
* `Soft-Delete` state for 30 days. Within this period, service producers may
|
|
86
|
+
* call
|
|
87
|
+
* [UndeleteService][google.api.servicemanagement.v1.ServiceManager.UndeleteService]
|
|
88
|
+
* to restore the service. After 30 days, the service will be permanently
|
|
89
|
+
* deleted.
|
|
90
|
+
*
|
|
91
|
+
* Operation<response: google.protobuf.Empty>
|
|
92
|
+
*
|
|
93
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.DeleteService
|
|
94
|
+
*/
|
|
95
|
+
deleteService: {
|
|
96
|
+
name: "DeleteService",
|
|
97
|
+
I: DeleteServiceRequest,
|
|
98
|
+
O: Operation,
|
|
99
|
+
kind: MethodKind.Unary,
|
|
100
|
+
},
|
|
101
|
+
/**
|
|
102
|
+
* Revives a previously deleted managed service. The method restores the
|
|
103
|
+
* service using the configuration at the time the service was deleted.
|
|
104
|
+
* The target service must exist and must have been deleted within the
|
|
105
|
+
* last 30 days.
|
|
106
|
+
*
|
|
107
|
+
* Operation<response: UndeleteServiceResponse>
|
|
108
|
+
*
|
|
109
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.UndeleteService
|
|
110
|
+
*/
|
|
111
|
+
undeleteService: {
|
|
112
|
+
name: "UndeleteService",
|
|
113
|
+
I: UndeleteServiceRequest,
|
|
114
|
+
O: Operation,
|
|
115
|
+
kind: MethodKind.Unary,
|
|
116
|
+
},
|
|
117
|
+
/**
|
|
118
|
+
* Lists the history of the service configuration for a managed service,
|
|
119
|
+
* from the newest to the oldest.
|
|
120
|
+
*
|
|
121
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.ListServiceConfigs
|
|
122
|
+
*/
|
|
123
|
+
listServiceConfigs: {
|
|
124
|
+
name: "ListServiceConfigs",
|
|
125
|
+
I: ListServiceConfigsRequest,
|
|
126
|
+
O: ListServiceConfigsResponse,
|
|
127
|
+
kind: MethodKind.Unary,
|
|
128
|
+
},
|
|
129
|
+
/**
|
|
130
|
+
* Gets a service configuration (version) for a managed service.
|
|
131
|
+
*
|
|
132
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.GetServiceConfig
|
|
133
|
+
*/
|
|
134
|
+
getServiceConfig: {
|
|
135
|
+
name: "GetServiceConfig",
|
|
136
|
+
I: GetServiceConfigRequest,
|
|
137
|
+
O: Service,
|
|
138
|
+
kind: MethodKind.Unary,
|
|
139
|
+
},
|
|
140
|
+
/**
|
|
141
|
+
* Creates a new service configuration (version) for a managed service.
|
|
142
|
+
* This method only stores the service configuration. To roll out the service
|
|
143
|
+
* configuration to backend systems please call
|
|
144
|
+
* [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
|
|
145
|
+
*
|
|
146
|
+
* Only the 100 most recent service configurations and ones referenced by
|
|
147
|
+
* existing rollouts are kept for each service. The rest will be deleted
|
|
148
|
+
* eventually.
|
|
149
|
+
*
|
|
150
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.CreateServiceConfig
|
|
151
|
+
*/
|
|
152
|
+
createServiceConfig: {
|
|
153
|
+
name: "CreateServiceConfig",
|
|
154
|
+
I: CreateServiceConfigRequest,
|
|
155
|
+
O: Service,
|
|
156
|
+
kind: MethodKind.Unary,
|
|
157
|
+
},
|
|
158
|
+
/**
|
|
159
|
+
* Creates a new service configuration (version) for a managed service based
|
|
160
|
+
* on
|
|
161
|
+
* user-supplied configuration source files (for example: OpenAPI
|
|
162
|
+
* Specification). This method stores the source configurations as well as the
|
|
163
|
+
* generated service configuration. To rollout the service configuration to
|
|
164
|
+
* other services,
|
|
165
|
+
* please call
|
|
166
|
+
* [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
|
|
167
|
+
*
|
|
168
|
+
* Only the 100 most recent configuration sources and ones referenced by
|
|
169
|
+
* existing service configurtions are kept for each service. The rest will be
|
|
170
|
+
* deleted eventually.
|
|
171
|
+
*
|
|
172
|
+
* Operation<response: SubmitConfigSourceResponse>
|
|
173
|
+
*
|
|
174
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.SubmitConfigSource
|
|
175
|
+
*/
|
|
176
|
+
submitConfigSource: {
|
|
177
|
+
name: "SubmitConfigSource",
|
|
178
|
+
I: SubmitConfigSourceRequest,
|
|
179
|
+
O: Operation,
|
|
180
|
+
kind: MethodKind.Unary,
|
|
181
|
+
},
|
|
182
|
+
/**
|
|
183
|
+
* Lists the history of the service configuration rollouts for a managed
|
|
184
|
+
* service, from the newest to the oldest.
|
|
185
|
+
*
|
|
186
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.ListServiceRollouts
|
|
187
|
+
*/
|
|
188
|
+
listServiceRollouts: {
|
|
189
|
+
name: "ListServiceRollouts",
|
|
190
|
+
I: ListServiceRolloutsRequest,
|
|
191
|
+
O: ListServiceRolloutsResponse,
|
|
192
|
+
kind: MethodKind.Unary,
|
|
193
|
+
},
|
|
194
|
+
/**
|
|
195
|
+
* Gets a service configuration
|
|
196
|
+
* [rollout][google.api.servicemanagement.v1.Rollout].
|
|
197
|
+
*
|
|
198
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.GetServiceRollout
|
|
199
|
+
*/
|
|
200
|
+
getServiceRollout: {
|
|
201
|
+
name: "GetServiceRollout",
|
|
202
|
+
I: GetServiceRolloutRequest,
|
|
203
|
+
O: Rollout,
|
|
204
|
+
kind: MethodKind.Unary,
|
|
205
|
+
},
|
|
206
|
+
/**
|
|
207
|
+
* Creates a new service configuration rollout. Based on rollout, the
|
|
208
|
+
* Google Service Management will roll out the service configurations to
|
|
209
|
+
* different backend services. For example, the logging configuration will be
|
|
210
|
+
* pushed to Google Cloud Logging.
|
|
211
|
+
*
|
|
212
|
+
* Please note that any previous pending and running Rollouts and associated
|
|
213
|
+
* Operations will be automatically cancelled so that the latest Rollout will
|
|
214
|
+
* not be blocked by previous Rollouts.
|
|
215
|
+
*
|
|
216
|
+
* Only the 100 most recent (in any state) and the last 10 successful (if not
|
|
217
|
+
* already part of the set of 100 most recent) rollouts are kept for each
|
|
218
|
+
* service. The rest will be deleted eventually.
|
|
219
|
+
*
|
|
220
|
+
* Operation<response: Rollout>
|
|
221
|
+
*
|
|
222
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout
|
|
223
|
+
*/
|
|
224
|
+
createServiceRollout: {
|
|
225
|
+
name: "CreateServiceRollout",
|
|
226
|
+
I: CreateServiceRolloutRequest,
|
|
227
|
+
O: Operation,
|
|
228
|
+
kind: MethodKind.Unary,
|
|
229
|
+
},
|
|
230
|
+
/**
|
|
231
|
+
* Generates and returns a report (errors, warnings and changes from
|
|
232
|
+
* existing configurations) associated with
|
|
233
|
+
* GenerateConfigReportRequest.new_value
|
|
234
|
+
*
|
|
235
|
+
* If GenerateConfigReportRequest.old_value is specified,
|
|
236
|
+
* GenerateConfigReportRequest will contain a single ChangeReport based on the
|
|
237
|
+
* comparison between GenerateConfigReportRequest.new_value and
|
|
238
|
+
* GenerateConfigReportRequest.old_value.
|
|
239
|
+
* If GenerateConfigReportRequest.old_value is not specified, this method
|
|
240
|
+
* will compare GenerateConfigReportRequest.new_value with the last pushed
|
|
241
|
+
* service configuration.
|
|
242
|
+
*
|
|
243
|
+
* @generated from rpc google.api.servicemanagement.v1.ServiceManager.GenerateConfigReport
|
|
244
|
+
*/
|
|
245
|
+
generateConfigReport: {
|
|
246
|
+
name: "GenerateConfigReport",
|
|
247
|
+
I: GenerateConfigReportRequest,
|
|
248
|
+
O: GenerateConfigReportResponse,
|
|
249
|
+
kind: MethodKind.Unary,
|
|
250
|
+
},
|
|
251
|
+
}
|
|
252
|
+
};
|