@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,151 @@
|
|
|
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/apikeys/v2/apikeys.proto (package google.api.apikeys.v2, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { CreateKeyRequest, DeleteKeyRequest, GetKeyRequest, GetKeyStringRequest, GetKeyStringResponse, ListKeysRequest, ListKeysResponse, LookupKeyRequest, LookupKeyResponse, UndeleteKeyRequest, UpdateKeyRequest } from "./apikeys_pb.js";
|
|
21
|
+
import { Operation } from "../../../longrunning/operations_pb.js";
|
|
22
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
23
|
+
import { Key } from "./resources_pb.js";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Manages the API keys associated with projects.
|
|
27
|
+
*
|
|
28
|
+
* @generated from service google.api.apikeys.v2.ApiKeys
|
|
29
|
+
*/
|
|
30
|
+
export const ApiKeys = {
|
|
31
|
+
typeName: "google.api.apikeys.v2.ApiKeys",
|
|
32
|
+
methods: {
|
|
33
|
+
/**
|
|
34
|
+
* Creates a new API key.
|
|
35
|
+
*
|
|
36
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
37
|
+
* location is `global`.
|
|
38
|
+
*
|
|
39
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.CreateKey
|
|
40
|
+
*/
|
|
41
|
+
createKey: {
|
|
42
|
+
name: "CreateKey",
|
|
43
|
+
I: CreateKeyRequest,
|
|
44
|
+
O: Operation,
|
|
45
|
+
kind: MethodKind.Unary,
|
|
46
|
+
},
|
|
47
|
+
/**
|
|
48
|
+
* Lists the API keys owned by a project. The key string of the API key
|
|
49
|
+
* isn't included in the response.
|
|
50
|
+
*
|
|
51
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
52
|
+
* location is `global`.
|
|
53
|
+
*
|
|
54
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.ListKeys
|
|
55
|
+
*/
|
|
56
|
+
listKeys: {
|
|
57
|
+
name: "ListKeys",
|
|
58
|
+
I: ListKeysRequest,
|
|
59
|
+
O: ListKeysResponse,
|
|
60
|
+
kind: MethodKind.Unary,
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* Gets the metadata for an API key. The key string of the API key
|
|
64
|
+
* isn't included in the response.
|
|
65
|
+
*
|
|
66
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
67
|
+
* location is `global`.
|
|
68
|
+
*
|
|
69
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.GetKey
|
|
70
|
+
*/
|
|
71
|
+
getKey: {
|
|
72
|
+
name: "GetKey",
|
|
73
|
+
I: GetKeyRequest,
|
|
74
|
+
O: Key,
|
|
75
|
+
kind: MethodKind.Unary,
|
|
76
|
+
},
|
|
77
|
+
/**
|
|
78
|
+
* Get the key string for an API key.
|
|
79
|
+
*
|
|
80
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
81
|
+
* location is `global`.
|
|
82
|
+
*
|
|
83
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.GetKeyString
|
|
84
|
+
*/
|
|
85
|
+
getKeyString: {
|
|
86
|
+
name: "GetKeyString",
|
|
87
|
+
I: GetKeyStringRequest,
|
|
88
|
+
O: GetKeyStringResponse,
|
|
89
|
+
kind: MethodKind.Unary,
|
|
90
|
+
},
|
|
91
|
+
/**
|
|
92
|
+
* Patches the modifiable fields of an API key.
|
|
93
|
+
* The key string of the API key isn't included in the response.
|
|
94
|
+
*
|
|
95
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
96
|
+
* location is `global`.
|
|
97
|
+
*
|
|
98
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.UpdateKey
|
|
99
|
+
*/
|
|
100
|
+
updateKey: {
|
|
101
|
+
name: "UpdateKey",
|
|
102
|
+
I: UpdateKeyRequest,
|
|
103
|
+
O: Operation,
|
|
104
|
+
kind: MethodKind.Unary,
|
|
105
|
+
},
|
|
106
|
+
/**
|
|
107
|
+
* Deletes an API key. Deleted key can be retrieved within 30 days of
|
|
108
|
+
* deletion. Afterward, key will be purged from the project.
|
|
109
|
+
*
|
|
110
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
111
|
+
* location is `global`.
|
|
112
|
+
*
|
|
113
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.DeleteKey
|
|
114
|
+
*/
|
|
115
|
+
deleteKey: {
|
|
116
|
+
name: "DeleteKey",
|
|
117
|
+
I: DeleteKeyRequest,
|
|
118
|
+
O: Operation,
|
|
119
|
+
kind: MethodKind.Unary,
|
|
120
|
+
},
|
|
121
|
+
/**
|
|
122
|
+
* Undeletes an API key which was deleted within 30 days.
|
|
123
|
+
*
|
|
124
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
125
|
+
* location is `global`.
|
|
126
|
+
*
|
|
127
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.UndeleteKey
|
|
128
|
+
*/
|
|
129
|
+
undeleteKey: {
|
|
130
|
+
name: "UndeleteKey",
|
|
131
|
+
I: UndeleteKeyRequest,
|
|
132
|
+
O: Operation,
|
|
133
|
+
kind: MethodKind.Unary,
|
|
134
|
+
},
|
|
135
|
+
/**
|
|
136
|
+
* Find the parent project and resource name of the API
|
|
137
|
+
* key that matches the key string in the request. If the API key has been
|
|
138
|
+
* purged, resource name will not be set.
|
|
139
|
+
* The service account must have the `apikeys.keys.lookup` permission
|
|
140
|
+
* on the parent project.
|
|
141
|
+
*
|
|
142
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.LookupKey
|
|
143
|
+
*/
|
|
144
|
+
lookupKey: {
|
|
145
|
+
name: "LookupKey",
|
|
146
|
+
I: LookupKeyRequest,
|
|
147
|
+
O: LookupKeyResponse,
|
|
148
|
+
kind: MethodKind.Unary,
|
|
149
|
+
},
|
|
150
|
+
}
|
|
151
|
+
};
|
|
@@ -0,0 +1,449 @@
|
|
|
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/apikeys/v2/apikeys.proto (package google.api.apikeys.v2, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
|
+
import type { Key, KeySchema } from "./resources_pb";
|
|
22
|
+
import type { FieldMask } from "../../../protobuf/field_mask_pb";
|
|
23
|
+
import type { OperationSchema } from "../../../longrunning/operations_pb";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Describes the file google/api/apikeys/v2/apikeys.proto.
|
|
27
|
+
*/
|
|
28
|
+
export declare const file_google_api_apikeys_v2_apikeys: GenFile;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Request message for `CreateKey` method.
|
|
32
|
+
*
|
|
33
|
+
* @generated from message google.api.apikeys.v2.CreateKeyRequest
|
|
34
|
+
*/
|
|
35
|
+
export declare type CreateKeyRequest = Message<"google.api.apikeys.v2.CreateKeyRequest"> & {
|
|
36
|
+
/**
|
|
37
|
+
* Required. The project in which the API key is created.
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: string parent = 1;
|
|
40
|
+
*/
|
|
41
|
+
parent: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Required. The API key fields to set at creation time.
|
|
45
|
+
* You can configure only the `display_name`, `restrictions`, and
|
|
46
|
+
* `annotations` fields.
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: google.api.apikeys.v2.Key key = 2;
|
|
49
|
+
*/
|
|
50
|
+
key?: Key;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* User specified key id (optional). If specified, it will become the final
|
|
54
|
+
* component of the key resource name.
|
|
55
|
+
*
|
|
56
|
+
* The id must be unique within the project, must conform with RFC-1034,
|
|
57
|
+
* is restricted to lower-cased letters, and has a maximum length of 63
|
|
58
|
+
* characters. In another word, the id must match the regular
|
|
59
|
+
* expression: `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
|
|
60
|
+
*
|
|
61
|
+
* The id must NOT be a UUID-like string.
|
|
62
|
+
*
|
|
63
|
+
* @generated from field: string key_id = 3;
|
|
64
|
+
*/
|
|
65
|
+
keyId: string;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message google.api.apikeys.v2.CreateKeyRequest.
|
|
70
|
+
* Use `create(CreateKeyRequestSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export declare const CreateKeyRequestSchema: GenMessage<CreateKeyRequest>;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Request message for `ListKeys` method.
|
|
76
|
+
*
|
|
77
|
+
* @generated from message google.api.apikeys.v2.ListKeysRequest
|
|
78
|
+
*/
|
|
79
|
+
export declare type ListKeysRequest = Message<"google.api.apikeys.v2.ListKeysRequest"> & {
|
|
80
|
+
/**
|
|
81
|
+
* Required. Lists all API keys associated with this project.
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: string parent = 1;
|
|
84
|
+
*/
|
|
85
|
+
parent: string;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Optional. Specifies the maximum number of results to be returned at a time.
|
|
89
|
+
*
|
|
90
|
+
* @generated from field: int32 page_size = 2;
|
|
91
|
+
*/
|
|
92
|
+
pageSize: number;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Optional. Requests a specific page of results.
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: string page_token = 3;
|
|
98
|
+
*/
|
|
99
|
+
pageToken: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Optional. Indicate that keys deleted in the past 30 days should also be
|
|
103
|
+
* returned.
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: bool show_deleted = 6;
|
|
106
|
+
*/
|
|
107
|
+
showDeleted: boolean;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Describes the message google.api.apikeys.v2.ListKeysRequest.
|
|
112
|
+
* Use `create(ListKeysRequestSchema)` to create a new message.
|
|
113
|
+
*/
|
|
114
|
+
export declare const ListKeysRequestSchema: GenMessage<ListKeysRequest>;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Response message for `ListKeys` method.
|
|
118
|
+
*
|
|
119
|
+
* @generated from message google.api.apikeys.v2.ListKeysResponse
|
|
120
|
+
*/
|
|
121
|
+
export declare type ListKeysResponse = Message<"google.api.apikeys.v2.ListKeysResponse"> & {
|
|
122
|
+
/**
|
|
123
|
+
* A list of API keys.
|
|
124
|
+
*
|
|
125
|
+
* @generated from field: repeated google.api.apikeys.v2.Key keys = 1;
|
|
126
|
+
*/
|
|
127
|
+
keys: Key[];
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* The pagination token for the next page of results.
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: string next_page_token = 2;
|
|
133
|
+
*/
|
|
134
|
+
nextPageToken: string;
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Describes the message google.api.apikeys.v2.ListKeysResponse.
|
|
139
|
+
* Use `create(ListKeysResponseSchema)` to create a new message.
|
|
140
|
+
*/
|
|
141
|
+
export declare const ListKeysResponseSchema: GenMessage<ListKeysResponse>;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Request message for `GetKey` method.
|
|
145
|
+
*
|
|
146
|
+
* @generated from message google.api.apikeys.v2.GetKeyRequest
|
|
147
|
+
*/
|
|
148
|
+
export declare type GetKeyRequest = Message<"google.api.apikeys.v2.GetKeyRequest"> & {
|
|
149
|
+
/**
|
|
150
|
+
* Required. The resource name of the API key to get.
|
|
151
|
+
*
|
|
152
|
+
* @generated from field: string name = 1;
|
|
153
|
+
*/
|
|
154
|
+
name: string;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Describes the message google.api.apikeys.v2.GetKeyRequest.
|
|
159
|
+
* Use `create(GetKeyRequestSchema)` to create a new message.
|
|
160
|
+
*/
|
|
161
|
+
export declare const GetKeyRequestSchema: GenMessage<GetKeyRequest>;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Request message for `GetKeyString` method.
|
|
165
|
+
*
|
|
166
|
+
* @generated from message google.api.apikeys.v2.GetKeyStringRequest
|
|
167
|
+
*/
|
|
168
|
+
export declare type GetKeyStringRequest = Message<"google.api.apikeys.v2.GetKeyStringRequest"> & {
|
|
169
|
+
/**
|
|
170
|
+
* Required. The resource name of the API key to be retrieved.
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: string name = 1;
|
|
173
|
+
*/
|
|
174
|
+
name: string;
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Describes the message google.api.apikeys.v2.GetKeyStringRequest.
|
|
179
|
+
* Use `create(GetKeyStringRequestSchema)` to create a new message.
|
|
180
|
+
*/
|
|
181
|
+
export declare const GetKeyStringRequestSchema: GenMessage<GetKeyStringRequest>;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Response message for `GetKeyString` method.
|
|
185
|
+
*
|
|
186
|
+
* @generated from message google.api.apikeys.v2.GetKeyStringResponse
|
|
187
|
+
*/
|
|
188
|
+
export declare type GetKeyStringResponse = Message<"google.api.apikeys.v2.GetKeyStringResponse"> & {
|
|
189
|
+
/**
|
|
190
|
+
* An encrypted and signed value of the key.
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: string key_string = 1;
|
|
193
|
+
*/
|
|
194
|
+
keyString: string;
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Describes the message google.api.apikeys.v2.GetKeyStringResponse.
|
|
199
|
+
* Use `create(GetKeyStringResponseSchema)` to create a new message.
|
|
200
|
+
*/
|
|
201
|
+
export declare const GetKeyStringResponseSchema: GenMessage<GetKeyStringResponse>;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Request message for `UpdateKey` method.
|
|
205
|
+
*
|
|
206
|
+
* @generated from message google.api.apikeys.v2.UpdateKeyRequest
|
|
207
|
+
*/
|
|
208
|
+
export declare type UpdateKeyRequest = Message<"google.api.apikeys.v2.UpdateKeyRequest"> & {
|
|
209
|
+
/**
|
|
210
|
+
* Required. Set the `name` field to the resource name of the API key to be
|
|
211
|
+
* updated. You can update only the `display_name`, `restrictions`, and
|
|
212
|
+
* `annotations` fields.
|
|
213
|
+
*
|
|
214
|
+
* @generated from field: google.api.apikeys.v2.Key key = 1;
|
|
215
|
+
*/
|
|
216
|
+
key?: Key;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* The field mask specifies which fields to be updated as part of this
|
|
220
|
+
* request. All other fields are ignored.
|
|
221
|
+
* Mutable fields are: `display_name`, `restrictions`, and `annotations`.
|
|
222
|
+
* If an update mask is not provided, the service treats it as an implied mask
|
|
223
|
+
* equivalent to all allowed fields that are set on the wire. If the field
|
|
224
|
+
* mask has a special value "*", the service treats it equivalent to replace
|
|
225
|
+
* all allowed mutable fields.
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 2;
|
|
228
|
+
*/
|
|
229
|
+
updateMask?: FieldMask;
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Describes the message google.api.apikeys.v2.UpdateKeyRequest.
|
|
234
|
+
* Use `create(UpdateKeyRequestSchema)` to create a new message.
|
|
235
|
+
*/
|
|
236
|
+
export declare const UpdateKeyRequestSchema: GenMessage<UpdateKeyRequest>;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Request message for `DeleteKey` method.
|
|
240
|
+
*
|
|
241
|
+
* @generated from message google.api.apikeys.v2.DeleteKeyRequest
|
|
242
|
+
*/
|
|
243
|
+
export declare type DeleteKeyRequest = Message<"google.api.apikeys.v2.DeleteKeyRequest"> & {
|
|
244
|
+
/**
|
|
245
|
+
* Required. The resource name of the API key to be deleted.
|
|
246
|
+
*
|
|
247
|
+
* @generated from field: string name = 1;
|
|
248
|
+
*/
|
|
249
|
+
name: string;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Optional. The etag known to the client for the expected state of the key.
|
|
253
|
+
* This is to be used for optimistic concurrency.
|
|
254
|
+
*
|
|
255
|
+
* @generated from field: string etag = 2;
|
|
256
|
+
*/
|
|
257
|
+
etag: string;
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Describes the message google.api.apikeys.v2.DeleteKeyRequest.
|
|
262
|
+
* Use `create(DeleteKeyRequestSchema)` to create a new message.
|
|
263
|
+
*/
|
|
264
|
+
export declare const DeleteKeyRequestSchema: GenMessage<DeleteKeyRequest>;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Request message for `UndeleteKey` method.
|
|
268
|
+
*
|
|
269
|
+
* @generated from message google.api.apikeys.v2.UndeleteKeyRequest
|
|
270
|
+
*/
|
|
271
|
+
export declare type UndeleteKeyRequest = Message<"google.api.apikeys.v2.UndeleteKeyRequest"> & {
|
|
272
|
+
/**
|
|
273
|
+
* Required. The resource name of the API key to be undeleted.
|
|
274
|
+
*
|
|
275
|
+
* @generated from field: string name = 1;
|
|
276
|
+
*/
|
|
277
|
+
name: string;
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Describes the message google.api.apikeys.v2.UndeleteKeyRequest.
|
|
282
|
+
* Use `create(UndeleteKeyRequestSchema)` to create a new message.
|
|
283
|
+
*/
|
|
284
|
+
export declare const UndeleteKeyRequestSchema: GenMessage<UndeleteKeyRequest>;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Request message for `LookupKey` method.
|
|
288
|
+
*
|
|
289
|
+
* @generated from message google.api.apikeys.v2.LookupKeyRequest
|
|
290
|
+
*/
|
|
291
|
+
export declare type LookupKeyRequest = Message<"google.api.apikeys.v2.LookupKeyRequest"> & {
|
|
292
|
+
/**
|
|
293
|
+
* Required. Finds the project that owns the key string value.
|
|
294
|
+
*
|
|
295
|
+
* @generated from field: string key_string = 1;
|
|
296
|
+
*/
|
|
297
|
+
keyString: string;
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Describes the message google.api.apikeys.v2.LookupKeyRequest.
|
|
302
|
+
* Use `create(LookupKeyRequestSchema)` to create a new message.
|
|
303
|
+
*/
|
|
304
|
+
export declare const LookupKeyRequestSchema: GenMessage<LookupKeyRequest>;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Response message for `LookupKey` method.
|
|
308
|
+
*
|
|
309
|
+
* @generated from message google.api.apikeys.v2.LookupKeyResponse
|
|
310
|
+
*/
|
|
311
|
+
export declare type LookupKeyResponse = Message<"google.api.apikeys.v2.LookupKeyResponse"> & {
|
|
312
|
+
/**
|
|
313
|
+
* The project that owns the key with the value specified in the request.
|
|
314
|
+
*
|
|
315
|
+
* @generated from field: string parent = 1;
|
|
316
|
+
*/
|
|
317
|
+
parent: string;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* The resource name of the API key. If the API key has been purged,
|
|
321
|
+
* resource name is empty.
|
|
322
|
+
*
|
|
323
|
+
* @generated from field: string name = 2;
|
|
324
|
+
*/
|
|
325
|
+
name: string;
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* Describes the message google.api.apikeys.v2.LookupKeyResponse.
|
|
330
|
+
* Use `create(LookupKeyResponseSchema)` to create a new message.
|
|
331
|
+
*/
|
|
332
|
+
export declare const LookupKeyResponseSchema: GenMessage<LookupKeyResponse>;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Manages the API keys associated with projects.
|
|
336
|
+
*
|
|
337
|
+
* @generated from service google.api.apikeys.v2.ApiKeys
|
|
338
|
+
*/
|
|
339
|
+
export declare const ApiKeys: GenService<{
|
|
340
|
+
/**
|
|
341
|
+
* Creates a new API key.
|
|
342
|
+
*
|
|
343
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
344
|
+
* location is `global`.
|
|
345
|
+
*
|
|
346
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.CreateKey
|
|
347
|
+
*/
|
|
348
|
+
createKey: {
|
|
349
|
+
methodKind: "unary";
|
|
350
|
+
input: typeof CreateKeyRequestSchema;
|
|
351
|
+
output: typeof OperationSchema;
|
|
352
|
+
},
|
|
353
|
+
/**
|
|
354
|
+
* Lists the API keys owned by a project. The key string of the API key
|
|
355
|
+
* isn't included in the response.
|
|
356
|
+
*
|
|
357
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
358
|
+
* location is `global`.
|
|
359
|
+
*
|
|
360
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.ListKeys
|
|
361
|
+
*/
|
|
362
|
+
listKeys: {
|
|
363
|
+
methodKind: "unary";
|
|
364
|
+
input: typeof ListKeysRequestSchema;
|
|
365
|
+
output: typeof ListKeysResponseSchema;
|
|
366
|
+
},
|
|
367
|
+
/**
|
|
368
|
+
* Gets the metadata for an API key. The key string of the API key
|
|
369
|
+
* isn't included in the response.
|
|
370
|
+
*
|
|
371
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
372
|
+
* location is `global`.
|
|
373
|
+
*
|
|
374
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.GetKey
|
|
375
|
+
*/
|
|
376
|
+
getKey: {
|
|
377
|
+
methodKind: "unary";
|
|
378
|
+
input: typeof GetKeyRequestSchema;
|
|
379
|
+
output: typeof KeySchema;
|
|
380
|
+
},
|
|
381
|
+
/**
|
|
382
|
+
* Get the key string for an API key.
|
|
383
|
+
*
|
|
384
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
385
|
+
* location is `global`.
|
|
386
|
+
*
|
|
387
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.GetKeyString
|
|
388
|
+
*/
|
|
389
|
+
getKeyString: {
|
|
390
|
+
methodKind: "unary";
|
|
391
|
+
input: typeof GetKeyStringRequestSchema;
|
|
392
|
+
output: typeof GetKeyStringResponseSchema;
|
|
393
|
+
},
|
|
394
|
+
/**
|
|
395
|
+
* Patches the modifiable fields of an API key.
|
|
396
|
+
* The key string of the API key isn't included in the response.
|
|
397
|
+
*
|
|
398
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
399
|
+
* location is `global`.
|
|
400
|
+
*
|
|
401
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.UpdateKey
|
|
402
|
+
*/
|
|
403
|
+
updateKey: {
|
|
404
|
+
methodKind: "unary";
|
|
405
|
+
input: typeof UpdateKeyRequestSchema;
|
|
406
|
+
output: typeof OperationSchema;
|
|
407
|
+
},
|
|
408
|
+
/**
|
|
409
|
+
* Deletes an API key. Deleted key can be retrieved within 30 days of
|
|
410
|
+
* deletion. Afterward, key will be purged from the project.
|
|
411
|
+
*
|
|
412
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
413
|
+
* location is `global`.
|
|
414
|
+
*
|
|
415
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.DeleteKey
|
|
416
|
+
*/
|
|
417
|
+
deleteKey: {
|
|
418
|
+
methodKind: "unary";
|
|
419
|
+
input: typeof DeleteKeyRequestSchema;
|
|
420
|
+
output: typeof OperationSchema;
|
|
421
|
+
},
|
|
422
|
+
/**
|
|
423
|
+
* Undeletes an API key which was deleted within 30 days.
|
|
424
|
+
*
|
|
425
|
+
* NOTE: Key is a global resource; hence the only supported value for
|
|
426
|
+
* location is `global`.
|
|
427
|
+
*
|
|
428
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.UndeleteKey
|
|
429
|
+
*/
|
|
430
|
+
undeleteKey: {
|
|
431
|
+
methodKind: "unary";
|
|
432
|
+
input: typeof UndeleteKeyRequestSchema;
|
|
433
|
+
output: typeof OperationSchema;
|
|
434
|
+
},
|
|
435
|
+
/**
|
|
436
|
+
* Find the parent project and resource name of the API
|
|
437
|
+
* key that matches the key string in the request. If the API key has been
|
|
438
|
+
* purged, resource name will not be set.
|
|
439
|
+
* The service account must have the `apikeys.keys.lookup` permission
|
|
440
|
+
* on the parent project.
|
|
441
|
+
*
|
|
442
|
+
* @generated from rpc google.api.apikeys.v2.ApiKeys.LookupKey
|
|
443
|
+
*/
|
|
444
|
+
lookupKey: {
|
|
445
|
+
methodKind: "unary";
|
|
446
|
+
input: typeof LookupKeyRequestSchema;
|
|
447
|
+
output: typeof LookupKeyResponseSchema;
|
|
448
|
+
},
|
|
449
|
+
}>;
|