@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,319 @@
|
|
|
1
|
+
// Copyright 2020 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/iam/credentials/v1/common.proto (package google.iam.credentials.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
|
+
import type { Duration } from "../../../protobuf/duration_pb";
|
|
22
|
+
import type { Timestamp } from "../../../protobuf/timestamp_pb";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the file google/iam/credentials/v1/common.proto.
|
|
26
|
+
*/
|
|
27
|
+
export declare const file_google_iam_credentials_v1_common: GenFile;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from message google.iam.credentials.v1.GenerateAccessTokenRequest
|
|
31
|
+
*/
|
|
32
|
+
export declare type GenerateAccessTokenRequest = Message<"google.iam.credentials.v1.GenerateAccessTokenRequest"> & {
|
|
33
|
+
/**
|
|
34
|
+
* Required. The resource name of the service account for which the credentials
|
|
35
|
+
* are requested, in the following format:
|
|
36
|
+
* `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
|
|
37
|
+
* character is required; replacing it with a project ID is invalid.
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: string name = 1;
|
|
40
|
+
*/
|
|
41
|
+
name: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* The sequence of service accounts in a delegation chain. Each service
|
|
45
|
+
* account must be granted the `roles/iam.serviceAccountTokenCreator` role
|
|
46
|
+
* on its next service account in the chain. The last service account in the
|
|
47
|
+
* chain must be granted the `roles/iam.serviceAccountTokenCreator` role
|
|
48
|
+
* on the service account that is specified in the `name` field of the
|
|
49
|
+
* request.
|
|
50
|
+
*
|
|
51
|
+
* The delegates must have the following format:
|
|
52
|
+
* `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
|
|
53
|
+
* character is required; replacing it with a project ID is invalid.
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: repeated string delegates = 2;
|
|
56
|
+
*/
|
|
57
|
+
delegates: string[];
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Required. Code to identify the scopes to be included in the OAuth 2.0 access token.
|
|
61
|
+
* See https://developers.google.com/identity/protocols/googlescopes for more
|
|
62
|
+
* information.
|
|
63
|
+
* At least one value required.
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: repeated string scope = 4;
|
|
66
|
+
*/
|
|
67
|
+
scope: string[];
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* The desired lifetime duration of the access token in seconds.
|
|
71
|
+
* Must be set to a value less than or equal to 3600 (1 hour). If a value is
|
|
72
|
+
* not specified, the token's lifetime will be set to a default value of one
|
|
73
|
+
* hour.
|
|
74
|
+
*
|
|
75
|
+
* @generated from field: google.protobuf.Duration lifetime = 7;
|
|
76
|
+
*/
|
|
77
|
+
lifetime?: Duration;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Describes the message google.iam.credentials.v1.GenerateAccessTokenRequest.
|
|
82
|
+
* Use `create(GenerateAccessTokenRequestSchema)` to create a new message.
|
|
83
|
+
*/
|
|
84
|
+
export declare const GenerateAccessTokenRequestSchema: GenMessage<GenerateAccessTokenRequest>;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @generated from message google.iam.credentials.v1.GenerateAccessTokenResponse
|
|
88
|
+
*/
|
|
89
|
+
export declare type GenerateAccessTokenResponse = Message<"google.iam.credentials.v1.GenerateAccessTokenResponse"> & {
|
|
90
|
+
/**
|
|
91
|
+
* The OAuth 2.0 access token.
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: string access_token = 1;
|
|
94
|
+
*/
|
|
95
|
+
accessToken: string;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Token expiration time.
|
|
99
|
+
* The expiration time is always set.
|
|
100
|
+
*
|
|
101
|
+
* @generated from field: google.protobuf.Timestamp expire_time = 3;
|
|
102
|
+
*/
|
|
103
|
+
expireTime?: Timestamp;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message google.iam.credentials.v1.GenerateAccessTokenResponse.
|
|
108
|
+
* Use `create(GenerateAccessTokenResponseSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export declare const GenerateAccessTokenResponseSchema: GenMessage<GenerateAccessTokenResponse>;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @generated from message google.iam.credentials.v1.SignBlobRequest
|
|
114
|
+
*/
|
|
115
|
+
export declare type SignBlobRequest = Message<"google.iam.credentials.v1.SignBlobRequest"> & {
|
|
116
|
+
/**
|
|
117
|
+
* Required. The resource name of the service account for which the credentials
|
|
118
|
+
* are requested, in the following format:
|
|
119
|
+
* `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
|
|
120
|
+
* character is required; replacing it with a project ID is invalid.
|
|
121
|
+
*
|
|
122
|
+
* @generated from field: string name = 1;
|
|
123
|
+
*/
|
|
124
|
+
name: string;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* The sequence of service accounts in a delegation chain. Each service
|
|
128
|
+
* account must be granted the `roles/iam.serviceAccountTokenCreator` role
|
|
129
|
+
* on its next service account in the chain. The last service account in the
|
|
130
|
+
* chain must be granted the `roles/iam.serviceAccountTokenCreator` role
|
|
131
|
+
* on the service account that is specified in the `name` field of the
|
|
132
|
+
* request.
|
|
133
|
+
*
|
|
134
|
+
* The delegates must have the following format:
|
|
135
|
+
* `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
|
|
136
|
+
* character is required; replacing it with a project ID is invalid.
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: repeated string delegates = 3;
|
|
139
|
+
*/
|
|
140
|
+
delegates: string[];
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Required. The bytes to sign.
|
|
144
|
+
*
|
|
145
|
+
* @generated from field: bytes payload = 5;
|
|
146
|
+
*/
|
|
147
|
+
payload: Uint8Array;
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Describes the message google.iam.credentials.v1.SignBlobRequest.
|
|
152
|
+
* Use `create(SignBlobRequestSchema)` to create a new message.
|
|
153
|
+
*/
|
|
154
|
+
export declare const SignBlobRequestSchema: GenMessage<SignBlobRequest>;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @generated from message google.iam.credentials.v1.SignBlobResponse
|
|
158
|
+
*/
|
|
159
|
+
export declare type SignBlobResponse = Message<"google.iam.credentials.v1.SignBlobResponse"> & {
|
|
160
|
+
/**
|
|
161
|
+
* The ID of the key used to sign the blob.
|
|
162
|
+
*
|
|
163
|
+
* @generated from field: string key_id = 1;
|
|
164
|
+
*/
|
|
165
|
+
keyId: string;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* The signed blob.
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: bytes signed_blob = 4;
|
|
171
|
+
*/
|
|
172
|
+
signedBlob: Uint8Array;
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Describes the message google.iam.credentials.v1.SignBlobResponse.
|
|
177
|
+
* Use `create(SignBlobResponseSchema)` to create a new message.
|
|
178
|
+
*/
|
|
179
|
+
export declare const SignBlobResponseSchema: GenMessage<SignBlobResponse>;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @generated from message google.iam.credentials.v1.SignJwtRequest
|
|
183
|
+
*/
|
|
184
|
+
export declare type SignJwtRequest = Message<"google.iam.credentials.v1.SignJwtRequest"> & {
|
|
185
|
+
/**
|
|
186
|
+
* Required. The resource name of the service account for which the credentials
|
|
187
|
+
* are requested, in the following format:
|
|
188
|
+
* `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
|
|
189
|
+
* character is required; replacing it with a project ID is invalid.
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: string name = 1;
|
|
192
|
+
*/
|
|
193
|
+
name: string;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* The sequence of service accounts in a delegation chain. Each service
|
|
197
|
+
* account must be granted the `roles/iam.serviceAccountTokenCreator` role
|
|
198
|
+
* on its next service account in the chain. The last service account in the
|
|
199
|
+
* chain must be granted the `roles/iam.serviceAccountTokenCreator` role
|
|
200
|
+
* on the service account that is specified in the `name` field of the
|
|
201
|
+
* request.
|
|
202
|
+
*
|
|
203
|
+
* The delegates must have the following format:
|
|
204
|
+
* `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
|
|
205
|
+
* character is required; replacing it with a project ID is invalid.
|
|
206
|
+
*
|
|
207
|
+
* @generated from field: repeated string delegates = 3;
|
|
208
|
+
*/
|
|
209
|
+
delegates: string[];
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.
|
|
213
|
+
*
|
|
214
|
+
* @generated from field: string payload = 5;
|
|
215
|
+
*/
|
|
216
|
+
payload: string;
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Describes the message google.iam.credentials.v1.SignJwtRequest.
|
|
221
|
+
* Use `create(SignJwtRequestSchema)` to create a new message.
|
|
222
|
+
*/
|
|
223
|
+
export declare const SignJwtRequestSchema: GenMessage<SignJwtRequest>;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @generated from message google.iam.credentials.v1.SignJwtResponse
|
|
227
|
+
*/
|
|
228
|
+
export declare type SignJwtResponse = Message<"google.iam.credentials.v1.SignJwtResponse"> & {
|
|
229
|
+
/**
|
|
230
|
+
* The ID of the key used to sign the JWT.
|
|
231
|
+
*
|
|
232
|
+
* @generated from field: string key_id = 1;
|
|
233
|
+
*/
|
|
234
|
+
keyId: string;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* The signed JWT.
|
|
238
|
+
*
|
|
239
|
+
* @generated from field: string signed_jwt = 2;
|
|
240
|
+
*/
|
|
241
|
+
signedJwt: string;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Describes the message google.iam.credentials.v1.SignJwtResponse.
|
|
246
|
+
* Use `create(SignJwtResponseSchema)` to create a new message.
|
|
247
|
+
*/
|
|
248
|
+
export declare const SignJwtResponseSchema: GenMessage<SignJwtResponse>;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* @generated from message google.iam.credentials.v1.GenerateIdTokenRequest
|
|
252
|
+
*/
|
|
253
|
+
export declare type GenerateIdTokenRequest = Message<"google.iam.credentials.v1.GenerateIdTokenRequest"> & {
|
|
254
|
+
/**
|
|
255
|
+
* Required. The resource name of the service account for which the credentials
|
|
256
|
+
* are requested, in the following format:
|
|
257
|
+
* `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
|
|
258
|
+
* character is required; replacing it with a project ID is invalid.
|
|
259
|
+
*
|
|
260
|
+
* @generated from field: string name = 1;
|
|
261
|
+
*/
|
|
262
|
+
name: string;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* The sequence of service accounts in a delegation chain. Each service
|
|
266
|
+
* account must be granted the `roles/iam.serviceAccountTokenCreator` role
|
|
267
|
+
* on its next service account in the chain. The last service account in the
|
|
268
|
+
* chain must be granted the `roles/iam.serviceAccountTokenCreator` role
|
|
269
|
+
* on the service account that is specified in the `name` field of the
|
|
270
|
+
* request.
|
|
271
|
+
*
|
|
272
|
+
* The delegates must have the following format:
|
|
273
|
+
* `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-` wildcard
|
|
274
|
+
* character is required; replacing it with a project ID is invalid.
|
|
275
|
+
*
|
|
276
|
+
* @generated from field: repeated string delegates = 2;
|
|
277
|
+
*/
|
|
278
|
+
delegates: string[];
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Required. The audience for the token, such as the API or account that this token
|
|
282
|
+
* grants access to.
|
|
283
|
+
*
|
|
284
|
+
* @generated from field: string audience = 3;
|
|
285
|
+
*/
|
|
286
|
+
audience: string;
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Include the service account email in the token. If set to `true`, the
|
|
290
|
+
* token will contain `email` and `email_verified` claims.
|
|
291
|
+
*
|
|
292
|
+
* @generated from field: bool include_email = 4;
|
|
293
|
+
*/
|
|
294
|
+
includeEmail: boolean;
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Describes the message google.iam.credentials.v1.GenerateIdTokenRequest.
|
|
299
|
+
* Use `create(GenerateIdTokenRequestSchema)` to create a new message.
|
|
300
|
+
*/
|
|
301
|
+
export declare const GenerateIdTokenRequestSchema: GenMessage<GenerateIdTokenRequest>;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* @generated from message google.iam.credentials.v1.GenerateIdTokenResponse
|
|
305
|
+
*/
|
|
306
|
+
export declare type GenerateIdTokenResponse = Message<"google.iam.credentials.v1.GenerateIdTokenResponse"> & {
|
|
307
|
+
/**
|
|
308
|
+
* The OpenId Connect ID token.
|
|
309
|
+
*
|
|
310
|
+
* @generated from field: string token = 1;
|
|
311
|
+
*/
|
|
312
|
+
token: string;
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Describes the message google.iam.credentials.v1.GenerateIdTokenResponse.
|
|
317
|
+
* Use `create(GenerateIdTokenResponseSchema)` to create a new message.
|
|
318
|
+
*/
|
|
319
|
+
export declare const GenerateIdTokenResponseSchema: GenMessage<GenerateIdTokenResponse>;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// Copyright 2020 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/iam/credentials/v1/common.proto (package google.iam.credentials.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { file_google_api_field_behavior } from "../../../api/field_behavior_pb";
|
|
21
|
+
import { file_google_api_resource } from "../../../api/resource_pb";
|
|
22
|
+
import { file_google_protobuf_duration } from "../../../protobuf/duration_pb";
|
|
23
|
+
import { file_google_protobuf_timestamp } from "../../../protobuf/timestamp_pb";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Describes the file google/iam/credentials/v1/common.proto.
|
|
27
|
+
*/
|
|
28
|
+
export const file_google_iam_credentials_v1_common = /*@__PURE__*/
|
|
29
|
+
fileDesc("CiZnb29nbGUvaWFtL2NyZWRlbnRpYWxzL3YxL2NvbW1vbi5wcm90bxIZZ29vZ2xlLmlhbS5jcmVkZW50aWFscy52MSKrAQoaR2VuZXJhdGVBY2Nlc3NUb2tlblJlcXVlc3QSOAoEbmFtZRgBIAEoCUIq4kEBAvpBIwohaWFtLmdvb2dsZWFwaXMuY29tL1NlcnZpY2VBY2NvdW50EhEKCWRlbGVnYXRlcxgCIAMoCRITCgVzY29wZRgEIAMoCUIE4kEBAhIrCghsaWZldGltZRgHIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbiJkChtHZW5lcmF0ZUFjY2Vzc1Rva2VuUmVzcG9uc2USFAoMYWNjZXNzX3Rva2VuGAEgASgJEi8KC2V4cGlyZV90aW1lGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCJ1Cg9TaWduQmxvYlJlcXVlc3QSOAoEbmFtZRgBIAEoCUIq4kEBAvpBIwohaWFtLmdvb2dsZWFwaXMuY29tL1NlcnZpY2VBY2NvdW50EhEKCWRlbGVnYXRlcxgDIAMoCRIVCgdwYXlsb2FkGAUgASgMQgTiQQECIjcKEFNpZ25CbG9iUmVzcG9uc2USDgoGa2V5X2lkGAEgASgJEhMKC3NpZ25lZF9ibG9iGAQgASgMInQKDlNpZ25Kd3RSZXF1ZXN0EjgKBG5hbWUYASABKAlCKuJBAQL6QSMKIWlhbS5nb29nbGVhcGlzLmNvbS9TZXJ2aWNlQWNjb3VudBIRCglkZWxlZ2F0ZXMYAyADKAkSFQoHcGF5bG9hZBgFIAEoCUIE4kEBAiI1Cg9TaWduSnd0UmVzcG9uc2USDgoGa2V5X2lkGAEgASgJEhIKCnNpZ25lZF9qd3QYAiABKAkilAEKFkdlbmVyYXRlSWRUb2tlblJlcXVlc3QSOAoEbmFtZRgBIAEoCUIq4kEBAvpBIwohaWFtLmdvb2dsZWFwaXMuY29tL1NlcnZpY2VBY2NvdW50EhEKCWRlbGVnYXRlcxgCIAMoCRIWCghhdWRpZW5jZRgDIAEoCUIE4kEBAhIVCg1pbmNsdWRlX2VtYWlsGAQgASgIIigKF0dlbmVyYXRlSWRUb2tlblJlc3BvbnNlEg0KBXRva2VuGAEgASgJQqsCCiNjb20uZ29vZ2xlLmNsb3VkLmlhbS5jcmVkZW50aWFscy52MUIZSUFNQ3JlZGVudGlhbHNDb21tb25Qcm90b1ABWkRnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2lhbS9jcmVkZW50aWFscy92MTtjcmVkZW50aWFsc/gBAaoCH0dvb2dsZS5DbG91ZC5JYW0uQ3JlZGVudGlhbHMuVjHKAh9Hb29nbGVcQ2xvdWRcSWFtXENyZWRlbnRpYWxzXFYx6kFZCiFpYW0uZ29vZ2xlYXBpcy5jb20vU2VydmljZUFjY291bnQSNHByb2plY3RzL3twcm9qZWN0fS9zZXJ2aWNlQWNjb3VudHMve3NlcnZpY2VfYWNjb3VudH1iBnByb3RvMw", [file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_duration, file_google_protobuf_timestamp]);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message google.iam.credentials.v1.GenerateAccessTokenRequest.
|
|
33
|
+
* Use `create(GenerateAccessTokenRequestSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const GenerateAccessTokenRequestSchema = /*@__PURE__*/
|
|
36
|
+
messageDesc(file_google_iam_credentials_v1_common, 0);
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message google.iam.credentials.v1.GenerateAccessTokenResponse.
|
|
40
|
+
* Use `create(GenerateAccessTokenResponseSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export const GenerateAccessTokenResponseSchema = /*@__PURE__*/
|
|
43
|
+
messageDesc(file_google_iam_credentials_v1_common, 1);
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message google.iam.credentials.v1.SignBlobRequest.
|
|
47
|
+
* Use `create(SignBlobRequestSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export const SignBlobRequestSchema = /*@__PURE__*/
|
|
50
|
+
messageDesc(file_google_iam_credentials_v1_common, 2);
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message google.iam.credentials.v1.SignBlobResponse.
|
|
54
|
+
* Use `create(SignBlobResponseSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export const SignBlobResponseSchema = /*@__PURE__*/
|
|
57
|
+
messageDesc(file_google_iam_credentials_v1_common, 3);
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Describes the message google.iam.credentials.v1.SignJwtRequest.
|
|
61
|
+
* Use `create(SignJwtRequestSchema)` to create a new message.
|
|
62
|
+
*/
|
|
63
|
+
export const SignJwtRequestSchema = /*@__PURE__*/
|
|
64
|
+
messageDesc(file_google_iam_credentials_v1_common, 4);
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message google.iam.credentials.v1.SignJwtResponse.
|
|
68
|
+
* Use `create(SignJwtResponseSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export const SignJwtResponseSchema = /*@__PURE__*/
|
|
71
|
+
messageDesc(file_google_iam_credentials_v1_common, 5);
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Describes the message google.iam.credentials.v1.GenerateIdTokenRequest.
|
|
75
|
+
* Use `create(GenerateIdTokenRequestSchema)` to create a new message.
|
|
76
|
+
*/
|
|
77
|
+
export const GenerateIdTokenRequestSchema = /*@__PURE__*/
|
|
78
|
+
messageDesc(file_google_iam_credentials_v1_common, 6);
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Describes the message google.iam.credentials.v1.GenerateIdTokenResponse.
|
|
82
|
+
* Use `create(GenerateIdTokenResponseSchema)` to create a new message.
|
|
83
|
+
*/
|
|
84
|
+
export const GenerateIdTokenResponseSchema = /*@__PURE__*/
|
|
85
|
+
messageDesc(file_google_iam_credentials_v1_common, 7);
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// Copyright 2020 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/iam/credentials/v1/iamcredentials.proto (package google.iam.credentials.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { GenerateAccessTokenRequest, GenerateAccessTokenResponse, GenerateIdTokenRequest, GenerateIdTokenResponse, SignBlobRequest, SignBlobResponse, SignJwtRequest, SignJwtResponse } from "./common_pb.js";
|
|
21
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* A service account is a special type of Google account that belongs to your
|
|
25
|
+
* application or a virtual machine (VM), instead of to an individual end user.
|
|
26
|
+
* Your application assumes the identity of the service account to call Google
|
|
27
|
+
* APIs, so that the users aren't directly involved.
|
|
28
|
+
*
|
|
29
|
+
* Service account credentials are used to temporarily assume the identity
|
|
30
|
+
* of the service account. Supported credential types include OAuth 2.0 access
|
|
31
|
+
* tokens, OpenID Connect ID tokens, self-signed JSON Web Tokens (JWTs), and
|
|
32
|
+
* more.
|
|
33
|
+
*
|
|
34
|
+
* @generated from service google.iam.credentials.v1.IAMCredentials
|
|
35
|
+
*/
|
|
36
|
+
export declare const IAMCredentials: {
|
|
37
|
+
readonly typeName: "google.iam.credentials.v1.IAMCredentials",
|
|
38
|
+
readonly methods: {
|
|
39
|
+
/**
|
|
40
|
+
* Generates an OAuth 2.0 access token for a service account.
|
|
41
|
+
*
|
|
42
|
+
* @generated from rpc google.iam.credentials.v1.IAMCredentials.GenerateAccessToken
|
|
43
|
+
*/
|
|
44
|
+
readonly generateAccessToken: {
|
|
45
|
+
readonly name: "GenerateAccessToken",
|
|
46
|
+
readonly I: typeof GenerateAccessTokenRequest,
|
|
47
|
+
readonly O: typeof GenerateAccessTokenResponse,
|
|
48
|
+
readonly kind: MethodKind.Unary,
|
|
49
|
+
},
|
|
50
|
+
/**
|
|
51
|
+
* Generates an OpenID Connect ID token for a service account.
|
|
52
|
+
*
|
|
53
|
+
* @generated from rpc google.iam.credentials.v1.IAMCredentials.GenerateIdToken
|
|
54
|
+
*/
|
|
55
|
+
readonly generateIdToken: {
|
|
56
|
+
readonly name: "GenerateIdToken",
|
|
57
|
+
readonly I: typeof GenerateIdTokenRequest,
|
|
58
|
+
readonly O: typeof GenerateIdTokenResponse,
|
|
59
|
+
readonly kind: MethodKind.Unary,
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* Signs a blob using a service account's system-managed private key.
|
|
63
|
+
*
|
|
64
|
+
* @generated from rpc google.iam.credentials.v1.IAMCredentials.SignBlob
|
|
65
|
+
*/
|
|
66
|
+
readonly signBlob: {
|
|
67
|
+
readonly name: "SignBlob",
|
|
68
|
+
readonly I: typeof SignBlobRequest,
|
|
69
|
+
readonly O: typeof SignBlobResponse,
|
|
70
|
+
readonly kind: MethodKind.Unary,
|
|
71
|
+
},
|
|
72
|
+
/**
|
|
73
|
+
* Signs a JWT using a service account's system-managed private key.
|
|
74
|
+
*
|
|
75
|
+
* @generated from rpc google.iam.credentials.v1.IAMCredentials.SignJwt
|
|
76
|
+
*/
|
|
77
|
+
readonly signJwt: {
|
|
78
|
+
readonly name: "SignJwt",
|
|
79
|
+
readonly I: typeof SignJwtRequest,
|
|
80
|
+
readonly O: typeof SignJwtResponse,
|
|
81
|
+
readonly kind: MethodKind.Unary,
|
|
82
|
+
},
|
|
83
|
+
}
|
|
84
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// Copyright 2020 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/iam/credentials/v1/iamcredentials.proto (package google.iam.credentials.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { GenerateAccessTokenRequest, GenerateAccessTokenResponse, GenerateIdTokenRequest, GenerateIdTokenResponse, SignBlobRequest, SignBlobResponse, SignJwtRequest, SignJwtResponse } from "./common_pb.js";
|
|
21
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* A service account is a special type of Google account that belongs to your
|
|
25
|
+
* application or a virtual machine (VM), instead of to an individual end user.
|
|
26
|
+
* Your application assumes the identity of the service account to call Google
|
|
27
|
+
* APIs, so that the users aren't directly involved.
|
|
28
|
+
*
|
|
29
|
+
* Service account credentials are used to temporarily assume the identity
|
|
30
|
+
* of the service account. Supported credential types include OAuth 2.0 access
|
|
31
|
+
* tokens, OpenID Connect ID tokens, self-signed JSON Web Tokens (JWTs), and
|
|
32
|
+
* more.
|
|
33
|
+
*
|
|
34
|
+
* @generated from service google.iam.credentials.v1.IAMCredentials
|
|
35
|
+
*/
|
|
36
|
+
export const IAMCredentials = {
|
|
37
|
+
typeName: "google.iam.credentials.v1.IAMCredentials",
|
|
38
|
+
methods: {
|
|
39
|
+
/**
|
|
40
|
+
* Generates an OAuth 2.0 access token for a service account.
|
|
41
|
+
*
|
|
42
|
+
* @generated from rpc google.iam.credentials.v1.IAMCredentials.GenerateAccessToken
|
|
43
|
+
*/
|
|
44
|
+
generateAccessToken: {
|
|
45
|
+
name: "GenerateAccessToken",
|
|
46
|
+
I: GenerateAccessTokenRequest,
|
|
47
|
+
O: GenerateAccessTokenResponse,
|
|
48
|
+
kind: MethodKind.Unary,
|
|
49
|
+
},
|
|
50
|
+
/**
|
|
51
|
+
* Generates an OpenID Connect ID token for a service account.
|
|
52
|
+
*
|
|
53
|
+
* @generated from rpc google.iam.credentials.v1.IAMCredentials.GenerateIdToken
|
|
54
|
+
*/
|
|
55
|
+
generateIdToken: {
|
|
56
|
+
name: "GenerateIdToken",
|
|
57
|
+
I: GenerateIdTokenRequest,
|
|
58
|
+
O: GenerateIdTokenResponse,
|
|
59
|
+
kind: MethodKind.Unary,
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* Signs a blob using a service account's system-managed private key.
|
|
63
|
+
*
|
|
64
|
+
* @generated from rpc google.iam.credentials.v1.IAMCredentials.SignBlob
|
|
65
|
+
*/
|
|
66
|
+
signBlob: {
|
|
67
|
+
name: "SignBlob",
|
|
68
|
+
I: SignBlobRequest,
|
|
69
|
+
O: SignBlobResponse,
|
|
70
|
+
kind: MethodKind.Unary,
|
|
71
|
+
},
|
|
72
|
+
/**
|
|
73
|
+
* Signs a JWT using a service account's system-managed private key.
|
|
74
|
+
*
|
|
75
|
+
* @generated from rpc google.iam.credentials.v1.IAMCredentials.SignJwt
|
|
76
|
+
*/
|
|
77
|
+
signJwt: {
|
|
78
|
+
name: "SignJwt",
|
|
79
|
+
I: SignJwtRequest,
|
|
80
|
+
O: SignJwtResponse,
|
|
81
|
+
kind: MethodKind.Unary,
|
|
82
|
+
},
|
|
83
|
+
}
|
|
84
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// Copyright 2020 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/iam/credentials/v1/iamcredentials.proto (package google.iam.credentials.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import type { GenerateAccessTokenRequestSchema, GenerateAccessTokenResponseSchema, GenerateIdTokenRequestSchema, GenerateIdTokenResponseSchema, SignBlobRequestSchema, SignBlobResponseSchema, SignJwtRequestSchema, SignJwtResponseSchema } from "./common_pb";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the file google/iam/credentials/v1/iamcredentials.proto.
|
|
24
|
+
*/
|
|
25
|
+
export declare const file_google_iam_credentials_v1_iamcredentials: GenFile;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* A service account is a special type of Google account that belongs to your
|
|
29
|
+
* application or a virtual machine (VM), instead of to an individual end user.
|
|
30
|
+
* Your application assumes the identity of the service account to call Google
|
|
31
|
+
* APIs, so that the users aren't directly involved.
|
|
32
|
+
*
|
|
33
|
+
* Service account credentials are used to temporarily assume the identity
|
|
34
|
+
* of the service account. Supported credential types include OAuth 2.0 access
|
|
35
|
+
* tokens, OpenID Connect ID tokens, self-signed JSON Web Tokens (JWTs), and
|
|
36
|
+
* more.
|
|
37
|
+
*
|
|
38
|
+
* @generated from service google.iam.credentials.v1.IAMCredentials
|
|
39
|
+
*/
|
|
40
|
+
export declare const IAMCredentials: GenService<{
|
|
41
|
+
/**
|
|
42
|
+
* Generates an OAuth 2.0 access token for a service account.
|
|
43
|
+
*
|
|
44
|
+
* @generated from rpc google.iam.credentials.v1.IAMCredentials.GenerateAccessToken
|
|
45
|
+
*/
|
|
46
|
+
generateAccessToken: {
|
|
47
|
+
methodKind: "unary";
|
|
48
|
+
input: typeof GenerateAccessTokenRequestSchema;
|
|
49
|
+
output: typeof GenerateAccessTokenResponseSchema;
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* Generates an OpenID Connect ID token for a service account.
|
|
53
|
+
*
|
|
54
|
+
* @generated from rpc google.iam.credentials.v1.IAMCredentials.GenerateIdToken
|
|
55
|
+
*/
|
|
56
|
+
generateIdToken: {
|
|
57
|
+
methodKind: "unary";
|
|
58
|
+
input: typeof GenerateIdTokenRequestSchema;
|
|
59
|
+
output: typeof GenerateIdTokenResponseSchema;
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* Signs a blob using a service account's system-managed private key.
|
|
63
|
+
*
|
|
64
|
+
* @generated from rpc google.iam.credentials.v1.IAMCredentials.SignBlob
|
|
65
|
+
*/
|
|
66
|
+
signBlob: {
|
|
67
|
+
methodKind: "unary";
|
|
68
|
+
input: typeof SignBlobRequestSchema;
|
|
69
|
+
output: typeof SignBlobResponseSchema;
|
|
70
|
+
},
|
|
71
|
+
/**
|
|
72
|
+
* Signs a JWT using a service account's system-managed private key.
|
|
73
|
+
*
|
|
74
|
+
* @generated from rpc google.iam.credentials.v1.IAMCredentials.SignJwt
|
|
75
|
+
*/
|
|
76
|
+
signJwt: {
|
|
77
|
+
methodKind: "unary";
|
|
78
|
+
input: typeof SignJwtRequestSchema;
|
|
79
|
+
output: typeof SignJwtResponseSchema;
|
|
80
|
+
},
|
|
81
|
+
}>;
|