@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,534 @@
|
|
|
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/iam/admin/v1/iam.proto (package google.iam.admin.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { CreateRoleRequest, CreateServiceAccountKeyRequest, CreateServiceAccountRequest, DeleteRoleRequest, DeleteServiceAccountKeyRequest, DeleteServiceAccountRequest, DisableServiceAccountKeyRequest, DisableServiceAccountRequest, EnableServiceAccountKeyRequest, EnableServiceAccountRequest, GetRoleRequest, GetServiceAccountKeyRequest, GetServiceAccountRequest, LintPolicyRequest, LintPolicyResponse, ListRolesRequest, ListRolesResponse, ListServiceAccountKeysRequest, ListServiceAccountKeysResponse, ListServiceAccountsRequest, ListServiceAccountsResponse, PatchServiceAccountRequest, QueryAuditableServicesRequest, QueryAuditableServicesResponse, QueryGrantableRolesRequest, QueryGrantableRolesResponse, QueryTestablePermissionsRequest, QueryTestablePermissionsResponse, Role, ServiceAccount, ServiceAccountKey, SignBlobRequest, SignBlobResponse, SignJwtRequest, SignJwtResponse, UndeleteRoleRequest, UndeleteServiceAccountRequest, UndeleteServiceAccountResponse, UpdateRoleRequest, UploadServiceAccountKeyRequest } from "./iam_pb.js";
|
|
21
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
22
|
+
import { Empty } from "../../../protobuf/empty_pb.js";
|
|
23
|
+
import { GetIamPolicyRequest, SetIamPolicyRequest, TestIamPermissionsRequest, TestIamPermissionsResponse } from "../../v1/iam_policy_pb.js";
|
|
24
|
+
import { Policy } from "../../v1/policy_pb.js";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Creates and manages Identity and Access Management (IAM) resources.
|
|
28
|
+
*
|
|
29
|
+
* You can use this service to work with all of the following resources:
|
|
30
|
+
*
|
|
31
|
+
* * **Service accounts**, which identify an application or a virtual machine
|
|
32
|
+
* (VM) instance rather than a person
|
|
33
|
+
* * **Service account keys**, which service accounts use to authenticate with
|
|
34
|
+
* Google APIs
|
|
35
|
+
* * **IAM policies for service accounts**, which specify the roles that a
|
|
36
|
+
* principal has for the service account
|
|
37
|
+
* * **IAM custom roles**, which help you limit the number of permissions that
|
|
38
|
+
* you grant to principals
|
|
39
|
+
*
|
|
40
|
+
* In addition, you can use this service to complete the following tasks, among
|
|
41
|
+
* others:
|
|
42
|
+
*
|
|
43
|
+
* * Test whether a service account can use specific permissions
|
|
44
|
+
* * Check which roles you can grant for a specific resource
|
|
45
|
+
* * Lint, or validate, condition expressions in an IAM policy
|
|
46
|
+
*
|
|
47
|
+
* When you read data from the IAM API, each read is eventually consistent. In
|
|
48
|
+
* other words, if you write data with the IAM API, then immediately read that
|
|
49
|
+
* data, the read operation might return an older version of the data. To deal
|
|
50
|
+
* with this behavior, your application can retry the request with truncated
|
|
51
|
+
* exponential backoff.
|
|
52
|
+
*
|
|
53
|
+
* In contrast, writing data to the IAM API is sequentially consistent. In other
|
|
54
|
+
* words, write operations are always processed in the order in which they were
|
|
55
|
+
* received.
|
|
56
|
+
*
|
|
57
|
+
* @generated from service google.iam.admin.v1.IAM
|
|
58
|
+
*/
|
|
59
|
+
export declare const IAM: {
|
|
60
|
+
readonly typeName: "google.iam.admin.v1.IAM",
|
|
61
|
+
readonly methods: {
|
|
62
|
+
/**
|
|
63
|
+
* Lists every [ServiceAccount][google.iam.admin.v1.ServiceAccount] that belongs to a specific project.
|
|
64
|
+
*
|
|
65
|
+
* @generated from rpc google.iam.admin.v1.IAM.ListServiceAccounts
|
|
66
|
+
*/
|
|
67
|
+
readonly listServiceAccounts: {
|
|
68
|
+
readonly name: "ListServiceAccounts",
|
|
69
|
+
readonly I: typeof ListServiceAccountsRequest,
|
|
70
|
+
readonly O: typeof ListServiceAccountsResponse,
|
|
71
|
+
readonly kind: MethodKind.Unary,
|
|
72
|
+
},
|
|
73
|
+
/**
|
|
74
|
+
* Gets a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
|
|
75
|
+
*
|
|
76
|
+
* @generated from rpc google.iam.admin.v1.IAM.GetServiceAccount
|
|
77
|
+
*/
|
|
78
|
+
readonly getServiceAccount: {
|
|
79
|
+
readonly name: "GetServiceAccount",
|
|
80
|
+
readonly I: typeof GetServiceAccountRequest,
|
|
81
|
+
readonly O: typeof ServiceAccount,
|
|
82
|
+
readonly kind: MethodKind.Unary,
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
* Creates a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
|
|
86
|
+
*
|
|
87
|
+
* @generated from rpc google.iam.admin.v1.IAM.CreateServiceAccount
|
|
88
|
+
*/
|
|
89
|
+
readonly createServiceAccount: {
|
|
90
|
+
readonly name: "CreateServiceAccount",
|
|
91
|
+
readonly I: typeof CreateServiceAccountRequest,
|
|
92
|
+
readonly O: typeof ServiceAccount,
|
|
93
|
+
readonly kind: MethodKind.Unary,
|
|
94
|
+
},
|
|
95
|
+
/**
|
|
96
|
+
* **Note:** We are in the process of deprecating this method. Use
|
|
97
|
+
* [PatchServiceAccount][google.iam.admin.v1.IAM.PatchServiceAccount] instead.
|
|
98
|
+
*
|
|
99
|
+
* Updates a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
|
|
100
|
+
*
|
|
101
|
+
* You can update only the `display_name` field.
|
|
102
|
+
*
|
|
103
|
+
* @generated from rpc google.iam.admin.v1.IAM.UpdateServiceAccount
|
|
104
|
+
*/
|
|
105
|
+
readonly updateServiceAccount: {
|
|
106
|
+
readonly name: "UpdateServiceAccount",
|
|
107
|
+
readonly I: typeof ServiceAccount,
|
|
108
|
+
readonly O: typeof ServiceAccount,
|
|
109
|
+
readonly kind: MethodKind.Unary,
|
|
110
|
+
},
|
|
111
|
+
/**
|
|
112
|
+
* Patches a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
|
|
113
|
+
*
|
|
114
|
+
* @generated from rpc google.iam.admin.v1.IAM.PatchServiceAccount
|
|
115
|
+
*/
|
|
116
|
+
readonly patchServiceAccount: {
|
|
117
|
+
readonly name: "PatchServiceAccount",
|
|
118
|
+
readonly I: typeof PatchServiceAccountRequest,
|
|
119
|
+
readonly O: typeof ServiceAccount,
|
|
120
|
+
readonly kind: MethodKind.Unary,
|
|
121
|
+
},
|
|
122
|
+
/**
|
|
123
|
+
* Deletes a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
|
|
124
|
+
*
|
|
125
|
+
* **Warning:** After you delete a service account, you might not be able to
|
|
126
|
+
* undelete it. If you know that you need to re-enable the service account in
|
|
127
|
+
* the future, use [DisableServiceAccount][google.iam.admin.v1.IAM.DisableServiceAccount] instead.
|
|
128
|
+
*
|
|
129
|
+
* If you delete a service account, IAM permanently removes the service
|
|
130
|
+
* account 30 days later. Google Cloud cannot recover the service account
|
|
131
|
+
* after it is permanently removed, even if you file a support request.
|
|
132
|
+
*
|
|
133
|
+
* To help avoid unplanned outages, we recommend that you disable the service
|
|
134
|
+
* account before you delete it. Use [DisableServiceAccount][google.iam.admin.v1.IAM.DisableServiceAccount] to disable the
|
|
135
|
+
* service account, then wait at least 24 hours and watch for unintended
|
|
136
|
+
* consequences. If there are no unintended consequences, you can delete the
|
|
137
|
+
* service account.
|
|
138
|
+
*
|
|
139
|
+
* @generated from rpc google.iam.admin.v1.IAM.DeleteServiceAccount
|
|
140
|
+
*/
|
|
141
|
+
readonly deleteServiceAccount: {
|
|
142
|
+
readonly name: "DeleteServiceAccount",
|
|
143
|
+
readonly I: typeof DeleteServiceAccountRequest,
|
|
144
|
+
readonly O: typeof Empty,
|
|
145
|
+
readonly kind: MethodKind.Unary,
|
|
146
|
+
},
|
|
147
|
+
/**
|
|
148
|
+
* Restores a deleted [ServiceAccount][google.iam.admin.v1.ServiceAccount].
|
|
149
|
+
*
|
|
150
|
+
* **Important:** It is not always possible to restore a deleted service
|
|
151
|
+
* account. Use this method only as a last resort.
|
|
152
|
+
*
|
|
153
|
+
* After you delete a service account, IAM permanently removes the service
|
|
154
|
+
* account 30 days later. There is no way to restore a deleted service account
|
|
155
|
+
* that has been permanently removed.
|
|
156
|
+
*
|
|
157
|
+
* @generated from rpc google.iam.admin.v1.IAM.UndeleteServiceAccount
|
|
158
|
+
*/
|
|
159
|
+
readonly undeleteServiceAccount: {
|
|
160
|
+
readonly name: "UndeleteServiceAccount",
|
|
161
|
+
readonly I: typeof UndeleteServiceAccountRequest,
|
|
162
|
+
readonly O: typeof UndeleteServiceAccountResponse,
|
|
163
|
+
readonly kind: MethodKind.Unary,
|
|
164
|
+
},
|
|
165
|
+
/**
|
|
166
|
+
* Enables a [ServiceAccount][google.iam.admin.v1.ServiceAccount] that was disabled by
|
|
167
|
+
* [DisableServiceAccount][google.iam.admin.v1.IAM.DisableServiceAccount].
|
|
168
|
+
*
|
|
169
|
+
* If the service account is already enabled, then this method has no effect.
|
|
170
|
+
*
|
|
171
|
+
* If the service account was disabled by other means—for example, if Google
|
|
172
|
+
* disabled the service account because it was compromised—you cannot use this
|
|
173
|
+
* method to enable the service account.
|
|
174
|
+
*
|
|
175
|
+
* @generated from rpc google.iam.admin.v1.IAM.EnableServiceAccount
|
|
176
|
+
*/
|
|
177
|
+
readonly enableServiceAccount: {
|
|
178
|
+
readonly name: "EnableServiceAccount",
|
|
179
|
+
readonly I: typeof EnableServiceAccountRequest,
|
|
180
|
+
readonly O: typeof Empty,
|
|
181
|
+
readonly kind: MethodKind.Unary,
|
|
182
|
+
},
|
|
183
|
+
/**
|
|
184
|
+
* Disables a [ServiceAccount][google.iam.admin.v1.ServiceAccount] immediately.
|
|
185
|
+
*
|
|
186
|
+
* If an application uses the service account to authenticate, that
|
|
187
|
+
* application can no longer call Google APIs or access Google Cloud
|
|
188
|
+
* resources. Existing access tokens for the service account are rejected, and
|
|
189
|
+
* requests for new access tokens will fail.
|
|
190
|
+
*
|
|
191
|
+
* To re-enable the service account, use [EnableServiceAccount][google.iam.admin.v1.IAM.EnableServiceAccount]. After you
|
|
192
|
+
* re-enable the service account, its existing access tokens will be accepted,
|
|
193
|
+
* and you can request new access tokens.
|
|
194
|
+
*
|
|
195
|
+
* To help avoid unplanned outages, we recommend that you disable the service
|
|
196
|
+
* account before you delete it. Use this method to disable the service
|
|
197
|
+
* account, then wait at least 24 hours and watch for unintended consequences.
|
|
198
|
+
* If there are no unintended consequences, you can delete the service account
|
|
199
|
+
* with [DeleteServiceAccount][google.iam.admin.v1.IAM.DeleteServiceAccount].
|
|
200
|
+
*
|
|
201
|
+
* @generated from rpc google.iam.admin.v1.IAM.DisableServiceAccount
|
|
202
|
+
*/
|
|
203
|
+
readonly disableServiceAccount: {
|
|
204
|
+
readonly name: "DisableServiceAccount",
|
|
205
|
+
readonly I: typeof DisableServiceAccountRequest,
|
|
206
|
+
readonly O: typeof Empty,
|
|
207
|
+
readonly kind: MethodKind.Unary,
|
|
208
|
+
},
|
|
209
|
+
/**
|
|
210
|
+
* Lists every [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey] for a service account.
|
|
211
|
+
*
|
|
212
|
+
* @generated from rpc google.iam.admin.v1.IAM.ListServiceAccountKeys
|
|
213
|
+
*/
|
|
214
|
+
readonly listServiceAccountKeys: {
|
|
215
|
+
readonly name: "ListServiceAccountKeys",
|
|
216
|
+
readonly I: typeof ListServiceAccountKeysRequest,
|
|
217
|
+
readonly O: typeof ListServiceAccountKeysResponse,
|
|
218
|
+
readonly kind: MethodKind.Unary,
|
|
219
|
+
},
|
|
220
|
+
/**
|
|
221
|
+
* Gets a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey].
|
|
222
|
+
*
|
|
223
|
+
* @generated from rpc google.iam.admin.v1.IAM.GetServiceAccountKey
|
|
224
|
+
*/
|
|
225
|
+
readonly getServiceAccountKey: {
|
|
226
|
+
readonly name: "GetServiceAccountKey",
|
|
227
|
+
readonly I: typeof GetServiceAccountKeyRequest,
|
|
228
|
+
readonly O: typeof ServiceAccountKey,
|
|
229
|
+
readonly kind: MethodKind.Unary,
|
|
230
|
+
},
|
|
231
|
+
/**
|
|
232
|
+
* Creates a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey].
|
|
233
|
+
*
|
|
234
|
+
* @generated from rpc google.iam.admin.v1.IAM.CreateServiceAccountKey
|
|
235
|
+
*/
|
|
236
|
+
readonly createServiceAccountKey: {
|
|
237
|
+
readonly name: "CreateServiceAccountKey",
|
|
238
|
+
readonly I: typeof CreateServiceAccountKeyRequest,
|
|
239
|
+
readonly O: typeof ServiceAccountKey,
|
|
240
|
+
readonly kind: MethodKind.Unary,
|
|
241
|
+
},
|
|
242
|
+
/**
|
|
243
|
+
* Uploads the public key portion of a key pair that you manage, and
|
|
244
|
+
* associates the public key with a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
|
|
245
|
+
*
|
|
246
|
+
* After you upload the public key, you can use the private key from the key
|
|
247
|
+
* pair as a service account key.
|
|
248
|
+
*
|
|
249
|
+
* @generated from rpc google.iam.admin.v1.IAM.UploadServiceAccountKey
|
|
250
|
+
*/
|
|
251
|
+
readonly uploadServiceAccountKey: {
|
|
252
|
+
readonly name: "UploadServiceAccountKey",
|
|
253
|
+
readonly I: typeof UploadServiceAccountKeyRequest,
|
|
254
|
+
readonly O: typeof ServiceAccountKey,
|
|
255
|
+
readonly kind: MethodKind.Unary,
|
|
256
|
+
},
|
|
257
|
+
/**
|
|
258
|
+
* Deletes a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey]. Deleting a service account key does not
|
|
259
|
+
* revoke short-lived credentials that have been issued based on the service
|
|
260
|
+
* account key.
|
|
261
|
+
*
|
|
262
|
+
* @generated from rpc google.iam.admin.v1.IAM.DeleteServiceAccountKey
|
|
263
|
+
*/
|
|
264
|
+
readonly deleteServiceAccountKey: {
|
|
265
|
+
readonly name: "DeleteServiceAccountKey",
|
|
266
|
+
readonly I: typeof DeleteServiceAccountKeyRequest,
|
|
267
|
+
readonly O: typeof Empty,
|
|
268
|
+
readonly kind: MethodKind.Unary,
|
|
269
|
+
},
|
|
270
|
+
/**
|
|
271
|
+
* Disable a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey]. A disabled service account key can be
|
|
272
|
+
* re-enabled with [EnableServiceAccountKey][google.iam.admin.v1.IAM.EnableServiceAccountKey].
|
|
273
|
+
*
|
|
274
|
+
* @generated from rpc google.iam.admin.v1.IAM.DisableServiceAccountKey
|
|
275
|
+
*/
|
|
276
|
+
readonly disableServiceAccountKey: {
|
|
277
|
+
readonly name: "DisableServiceAccountKey",
|
|
278
|
+
readonly I: typeof DisableServiceAccountKeyRequest,
|
|
279
|
+
readonly O: typeof Empty,
|
|
280
|
+
readonly kind: MethodKind.Unary,
|
|
281
|
+
},
|
|
282
|
+
/**
|
|
283
|
+
* Enable a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey].
|
|
284
|
+
*
|
|
285
|
+
* @generated from rpc google.iam.admin.v1.IAM.EnableServiceAccountKey
|
|
286
|
+
*/
|
|
287
|
+
readonly enableServiceAccountKey: {
|
|
288
|
+
readonly name: "EnableServiceAccountKey",
|
|
289
|
+
readonly I: typeof EnableServiceAccountKeyRequest,
|
|
290
|
+
readonly O: typeof Empty,
|
|
291
|
+
readonly kind: MethodKind.Unary,
|
|
292
|
+
},
|
|
293
|
+
/**
|
|
294
|
+
* **Note:** This method is deprecated. Use the
|
|
295
|
+
* [`signBlob`](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signBlob)
|
|
296
|
+
* method in the IAM Service Account Credentials API instead. If you currently
|
|
297
|
+
* use this method, see the [migration
|
|
298
|
+
* guide](https://cloud.google.com/iam/help/credentials/migrate-api) for
|
|
299
|
+
* instructions.
|
|
300
|
+
*
|
|
301
|
+
* Signs a blob using the system-managed private key for a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
|
|
302
|
+
*
|
|
303
|
+
* @generated from rpc google.iam.admin.v1.IAM.SignBlob
|
|
304
|
+
* @deprecated
|
|
305
|
+
*/
|
|
306
|
+
readonly signBlob: {
|
|
307
|
+
readonly name: "SignBlob",
|
|
308
|
+
readonly I: typeof SignBlobRequest,
|
|
309
|
+
readonly O: typeof SignBlobResponse,
|
|
310
|
+
readonly kind: MethodKind.Unary,
|
|
311
|
+
},
|
|
312
|
+
/**
|
|
313
|
+
* **Note:** This method is deprecated. Use the
|
|
314
|
+
* [`signJwt`](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signJwt)
|
|
315
|
+
* method in the IAM Service Account Credentials API instead. If you currently
|
|
316
|
+
* use this method, see the [migration
|
|
317
|
+
* guide](https://cloud.google.com/iam/help/credentials/migrate-api) for
|
|
318
|
+
* instructions.
|
|
319
|
+
*
|
|
320
|
+
* Signs a JSON Web Token (JWT) using the system-managed private key for a
|
|
321
|
+
* [ServiceAccount][google.iam.admin.v1.ServiceAccount].
|
|
322
|
+
*
|
|
323
|
+
* @generated from rpc google.iam.admin.v1.IAM.SignJwt
|
|
324
|
+
* @deprecated
|
|
325
|
+
*/
|
|
326
|
+
readonly signJwt: {
|
|
327
|
+
readonly name: "SignJwt",
|
|
328
|
+
readonly I: typeof SignJwtRequest,
|
|
329
|
+
readonly O: typeof SignJwtResponse,
|
|
330
|
+
readonly kind: MethodKind.Unary,
|
|
331
|
+
},
|
|
332
|
+
/**
|
|
333
|
+
* Gets the IAM policy that is attached to a [ServiceAccount][google.iam.admin.v1.ServiceAccount]. This IAM
|
|
334
|
+
* policy specifies which principals have access to the service account.
|
|
335
|
+
*
|
|
336
|
+
* This method does not tell you whether the service account has been granted
|
|
337
|
+
* any roles on other resources. To check whether a service account has role
|
|
338
|
+
* grants on a resource, use the `getIamPolicy` method for that resource. For
|
|
339
|
+
* example, to view the role grants for a project, call the Resource Manager
|
|
340
|
+
* API's
|
|
341
|
+
* [`projects.getIamPolicy`](https://cloud.google.com/resource-manager/reference/rest/v1/projects/getIamPolicy)
|
|
342
|
+
* method.
|
|
343
|
+
*
|
|
344
|
+
* @generated from rpc google.iam.admin.v1.IAM.GetIamPolicy
|
|
345
|
+
*/
|
|
346
|
+
readonly getIamPolicy: {
|
|
347
|
+
readonly name: "GetIamPolicy",
|
|
348
|
+
readonly I: typeof GetIamPolicyRequest,
|
|
349
|
+
readonly O: typeof Policy,
|
|
350
|
+
readonly kind: MethodKind.Unary,
|
|
351
|
+
},
|
|
352
|
+
/**
|
|
353
|
+
* Sets the IAM policy that is attached to a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
|
|
354
|
+
*
|
|
355
|
+
* Use this method to grant or revoke access to the service account. For
|
|
356
|
+
* example, you could grant a principal the ability to impersonate the service
|
|
357
|
+
* account.
|
|
358
|
+
*
|
|
359
|
+
* This method does not enable the service account to access other resources.
|
|
360
|
+
* To grant roles to a service account on a resource, follow these steps:
|
|
361
|
+
*
|
|
362
|
+
* 1. Call the resource's `getIamPolicy` method to get its current IAM policy.
|
|
363
|
+
* 2. Edit the policy so that it binds the service account to an IAM role for
|
|
364
|
+
* the resource.
|
|
365
|
+
* 3. Call the resource's `setIamPolicy` method to update its IAM policy.
|
|
366
|
+
*
|
|
367
|
+
* For detailed instructions, see
|
|
368
|
+
* [Manage access to project, folders, and
|
|
369
|
+
* organizations](https://cloud.google.com/iam/help/service-accounts/granting-access-to-service-accounts)
|
|
370
|
+
* or [Manage access to other
|
|
371
|
+
* resources](https://cloud.google.com/iam/help/access/manage-other-resources).
|
|
372
|
+
*
|
|
373
|
+
* @generated from rpc google.iam.admin.v1.IAM.SetIamPolicy
|
|
374
|
+
*/
|
|
375
|
+
readonly setIamPolicy: {
|
|
376
|
+
readonly name: "SetIamPolicy",
|
|
377
|
+
readonly I: typeof SetIamPolicyRequest,
|
|
378
|
+
readonly O: typeof Policy,
|
|
379
|
+
readonly kind: MethodKind.Unary,
|
|
380
|
+
},
|
|
381
|
+
/**
|
|
382
|
+
* Tests whether the caller has the specified permissions on a
|
|
383
|
+
* [ServiceAccount][google.iam.admin.v1.ServiceAccount].
|
|
384
|
+
*
|
|
385
|
+
* @generated from rpc google.iam.admin.v1.IAM.TestIamPermissions
|
|
386
|
+
*/
|
|
387
|
+
readonly testIamPermissions: {
|
|
388
|
+
readonly name: "TestIamPermissions",
|
|
389
|
+
readonly I: typeof TestIamPermissionsRequest,
|
|
390
|
+
readonly O: typeof TestIamPermissionsResponse,
|
|
391
|
+
readonly kind: MethodKind.Unary,
|
|
392
|
+
},
|
|
393
|
+
/**
|
|
394
|
+
* Lists roles that can be granted on a Google Cloud resource. A role is
|
|
395
|
+
* grantable if the IAM policy for the resource can contain bindings to the
|
|
396
|
+
* role.
|
|
397
|
+
*
|
|
398
|
+
* @generated from rpc google.iam.admin.v1.IAM.QueryGrantableRoles
|
|
399
|
+
*/
|
|
400
|
+
readonly queryGrantableRoles: {
|
|
401
|
+
readonly name: "QueryGrantableRoles",
|
|
402
|
+
readonly I: typeof QueryGrantableRolesRequest,
|
|
403
|
+
readonly O: typeof QueryGrantableRolesResponse,
|
|
404
|
+
readonly kind: MethodKind.Unary,
|
|
405
|
+
},
|
|
406
|
+
/**
|
|
407
|
+
* Lists every predefined [Role][google.iam.admin.v1.Role] that IAM supports, or every custom role
|
|
408
|
+
* that is defined for an organization or project.
|
|
409
|
+
*
|
|
410
|
+
* @generated from rpc google.iam.admin.v1.IAM.ListRoles
|
|
411
|
+
*/
|
|
412
|
+
readonly listRoles: {
|
|
413
|
+
readonly name: "ListRoles",
|
|
414
|
+
readonly I: typeof ListRolesRequest,
|
|
415
|
+
readonly O: typeof ListRolesResponse,
|
|
416
|
+
readonly kind: MethodKind.Unary,
|
|
417
|
+
},
|
|
418
|
+
/**
|
|
419
|
+
* Gets the definition of a [Role][google.iam.admin.v1.Role].
|
|
420
|
+
*
|
|
421
|
+
* @generated from rpc google.iam.admin.v1.IAM.GetRole
|
|
422
|
+
*/
|
|
423
|
+
readonly getRole: {
|
|
424
|
+
readonly name: "GetRole",
|
|
425
|
+
readonly I: typeof GetRoleRequest,
|
|
426
|
+
readonly O: typeof Role,
|
|
427
|
+
readonly kind: MethodKind.Unary,
|
|
428
|
+
},
|
|
429
|
+
/**
|
|
430
|
+
* Creates a new custom [Role][google.iam.admin.v1.Role].
|
|
431
|
+
*
|
|
432
|
+
* @generated from rpc google.iam.admin.v1.IAM.CreateRole
|
|
433
|
+
*/
|
|
434
|
+
readonly createRole: {
|
|
435
|
+
readonly name: "CreateRole",
|
|
436
|
+
readonly I: typeof CreateRoleRequest,
|
|
437
|
+
readonly O: typeof Role,
|
|
438
|
+
readonly kind: MethodKind.Unary,
|
|
439
|
+
},
|
|
440
|
+
/**
|
|
441
|
+
* Updates the definition of a custom [Role][google.iam.admin.v1.Role].
|
|
442
|
+
*
|
|
443
|
+
* @generated from rpc google.iam.admin.v1.IAM.UpdateRole
|
|
444
|
+
*/
|
|
445
|
+
readonly updateRole: {
|
|
446
|
+
readonly name: "UpdateRole",
|
|
447
|
+
readonly I: typeof UpdateRoleRequest,
|
|
448
|
+
readonly O: typeof Role,
|
|
449
|
+
readonly kind: MethodKind.Unary,
|
|
450
|
+
},
|
|
451
|
+
/**
|
|
452
|
+
* Deletes a custom [Role][google.iam.admin.v1.Role].
|
|
453
|
+
*
|
|
454
|
+
* When you delete a custom role, the following changes occur immediately:
|
|
455
|
+
*
|
|
456
|
+
* * You cannot bind a principal to the custom role in an IAM
|
|
457
|
+
* [Policy][google.iam.v1.Policy].
|
|
458
|
+
* * Existing bindings to the custom role are not changed, but they have no
|
|
459
|
+
* effect.
|
|
460
|
+
* * By default, the response from [ListRoles][google.iam.admin.v1.IAM.ListRoles] does not include the custom
|
|
461
|
+
* role.
|
|
462
|
+
*
|
|
463
|
+
* You have 7 days to undelete the custom role. After 7 days, the following
|
|
464
|
+
* changes occur:
|
|
465
|
+
*
|
|
466
|
+
* * The custom role is permanently deleted and cannot be recovered.
|
|
467
|
+
* * If an IAM policy contains a binding to the custom role, the binding is
|
|
468
|
+
* permanently removed.
|
|
469
|
+
*
|
|
470
|
+
* @generated from rpc google.iam.admin.v1.IAM.DeleteRole
|
|
471
|
+
*/
|
|
472
|
+
readonly deleteRole: {
|
|
473
|
+
readonly name: "DeleteRole",
|
|
474
|
+
readonly I: typeof DeleteRoleRequest,
|
|
475
|
+
readonly O: typeof Role,
|
|
476
|
+
readonly kind: MethodKind.Unary,
|
|
477
|
+
},
|
|
478
|
+
/**
|
|
479
|
+
* Undeletes a custom [Role][google.iam.admin.v1.Role].
|
|
480
|
+
*
|
|
481
|
+
* @generated from rpc google.iam.admin.v1.IAM.UndeleteRole
|
|
482
|
+
*/
|
|
483
|
+
readonly undeleteRole: {
|
|
484
|
+
readonly name: "UndeleteRole",
|
|
485
|
+
readonly I: typeof UndeleteRoleRequest,
|
|
486
|
+
readonly O: typeof Role,
|
|
487
|
+
readonly kind: MethodKind.Unary,
|
|
488
|
+
},
|
|
489
|
+
/**
|
|
490
|
+
* Lists every permission that you can test on a resource. A permission is
|
|
491
|
+
* testable if you can check whether a principal has that permission on the
|
|
492
|
+
* resource.
|
|
493
|
+
*
|
|
494
|
+
* @generated from rpc google.iam.admin.v1.IAM.QueryTestablePermissions
|
|
495
|
+
*/
|
|
496
|
+
readonly queryTestablePermissions: {
|
|
497
|
+
readonly name: "QueryTestablePermissions",
|
|
498
|
+
readonly I: typeof QueryTestablePermissionsRequest,
|
|
499
|
+
readonly O: typeof QueryTestablePermissionsResponse,
|
|
500
|
+
readonly kind: MethodKind.Unary,
|
|
501
|
+
},
|
|
502
|
+
/**
|
|
503
|
+
* Returns a list of services that allow you to opt into audit logs that are
|
|
504
|
+
* not generated by default.
|
|
505
|
+
*
|
|
506
|
+
* To learn more about audit logs, see the [Logging
|
|
507
|
+
* documentation](https://cloud.google.com/logging/docs/audit).
|
|
508
|
+
*
|
|
509
|
+
* @generated from rpc google.iam.admin.v1.IAM.QueryAuditableServices
|
|
510
|
+
*/
|
|
511
|
+
readonly queryAuditableServices: {
|
|
512
|
+
readonly name: "QueryAuditableServices",
|
|
513
|
+
readonly I: typeof QueryAuditableServicesRequest,
|
|
514
|
+
readonly O: typeof QueryAuditableServicesResponse,
|
|
515
|
+
readonly kind: MethodKind.Unary,
|
|
516
|
+
},
|
|
517
|
+
/**
|
|
518
|
+
* Lints, or validates, an IAM policy. Currently checks the
|
|
519
|
+
* [google.iam.v1.Binding.condition][google.iam.v1.Binding.condition] field, which contains a condition
|
|
520
|
+
* expression for a role binding.
|
|
521
|
+
*
|
|
522
|
+
* Successful calls to this method always return an HTTP `200 OK` status code,
|
|
523
|
+
* even if the linter detects an issue in the IAM policy.
|
|
524
|
+
*
|
|
525
|
+
* @generated from rpc google.iam.admin.v1.IAM.LintPolicy
|
|
526
|
+
*/
|
|
527
|
+
readonly lintPolicy: {
|
|
528
|
+
readonly name: "LintPolicy",
|
|
529
|
+
readonly I: typeof LintPolicyRequest,
|
|
530
|
+
readonly O: typeof LintPolicyResponse,
|
|
531
|
+
readonly kind: MethodKind.Unary,
|
|
532
|
+
},
|
|
533
|
+
}
|
|
534
|
+
};
|