@xeonr/upload-pool-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -0
- package/dist/errors.d.ts +14 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +15 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -0
- package/dist/job-context.d.ts +18 -0
- package/dist/job-context.d.ts.map +1 -0
- package/dist/job-context.js +176 -0
- package/dist/job-context.js.map +1 -0
- package/dist/pool.d.ts +16 -0
- package/dist/pool.d.ts.map +1 -0
- package/dist/pool.js +111 -0
- package/dist/pool.js.map +1 -0
- package/dist/protocol/buf/validate/expression_pb.d.ts +128 -0
- package/dist/protocol/buf/validate/expression_pb.d.ts.map +1 -0
- package/dist/protocol/buf/validate/expression_pb.js +34 -0
- package/dist/protocol/buf/validate/expression_pb.js.map +1 -0
- package/dist/protocol/buf/validate/priv/private_pb.d.ts +54 -0
- package/dist/protocol/buf/validate/priv/private_pb.d.ts.map +1 -0
- package/dist/protocol/buf/validate/priv/private_pb.js +36 -0
- package/dist/protocol/buf/validate/priv/private_pb.js.map +1 -0
- package/dist/protocol/buf/validate/validate_pb.d.ts +3685 -0
- package/dist/protocol/buf/validate/validate_pb.d.ts.map +1 -0
- package/dist/protocol/buf/validate/validate_pb.js +223 -0
- package/dist/protocol/buf/validate/validate_pb.js.map +1 -0
- package/dist/protocol/gnostic/discovery/v1/discovery_pb.d.ts +816 -0
- package/dist/protocol/gnostic/discovery/v1/discovery_pb.d.ts.map +1 -0
- package/dist/protocol/gnostic/discovery/v1/discovery_pb.js +160 -0
- package/dist/protocol/gnostic/discovery/v1/discovery_pb.js.map +1 -0
- package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.d.ts +2229 -0
- package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.d.ts.map +1 -0
- package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.js +320 -0
- package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.js.map +1 -0
- package/dist/protocol/gnostic/openapi/v3/annotations_pb.d.ts +24 -0
- package/dist/protocol/gnostic/openapi/v3/annotations_pb.d.ts.map +1 -0
- package/dist/protocol/gnostic/openapi/v3/annotations_pb.js +37 -0
- package/dist/protocol/gnostic/openapi/v3/annotations_pb.js.map +1 -0
- package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.d.ts +2245 -0
- package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.d.ts.map +1 -0
- package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.js +410 -0
- package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.js.map +1 -0
- package/dist/protocol/google/api/annotations_pb.d.ts +14 -0
- package/dist/protocol/google/api/annotations_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/annotations_pb.js +27 -0
- package/dist/protocol/google/api/annotations_pb.js.map +1 -0
- package/dist/protocol/google/api/client_pb.d.ts +1034 -0
- package/dist/protocol/google/api/client_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/client_pb.js +338 -0
- package/dist/protocol/google/api/client_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/checked_pb.d.ts +672 -0
- package/dist/protocol/google/api/expr/v1alpha1/checked_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/checked_pb.js +176 -0
- package/dist/protocol/google/api/expr/v1alpha1/checked_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/eval_pb.d.ts +185 -0
- package/dist/protocol/google/api/expr/v1alpha1/eval_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/eval_pb.js +46 -0
- package/dist/protocol/google/api/expr/v1alpha1/eval_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/explain_pb.d.ts +68 -0
- package/dist/protocol/google/api/expr/v1alpha1/explain_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/explain_pb.js +32 -0
- package/dist/protocol/google/api/expr/v1alpha1/explain_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.d.ts +796 -0
- package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.js +128 -0
- package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/value_pb.d.ts +224 -0
- package/dist/protocol/google/api/expr/v1alpha1/value_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/value_pb.js +45 -0
- package/dist/protocol/google/api/expr/v1alpha1/value_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/decl_pb.d.ts +151 -0
- package/dist/protocol/google/api/expr/v1beta1/decl_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/decl_pb.js +41 -0
- package/dist/protocol/google/api/expr/v1beta1/decl_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/eval_pb.d.ts +203 -0
- package/dist/protocol/google/api/expr/v1beta1/eval_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/eval_pb.js +52 -0
- package/dist/protocol/google/api/expr/v1beta1/eval_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/expr_pb.d.ts +504 -0
- package/dist/protocol/google/api/expr/v1beta1/expr_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/expr_pb.js +72 -0
- package/dist/protocol/google/api/expr/v1beta1/expr_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/source_pb.d.ts +86 -0
- package/dist/protocol/google/api/expr/v1beta1/source_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/source_pb.js +30 -0
- package/dist/protocol/google/api/expr/v1beta1/source_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/value_pb.d.ts +224 -0
- package/dist/protocol/google/api/expr/v1beta1/value_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/value_pb.js +46 -0
- package/dist/protocol/google/api/expr/v1beta1/value_pb.js.map +1 -0
- package/dist/protocol/google/api/field_behavior_pb.d.ts +122 -0
- package/dist/protocol/google/api/field_behavior_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/field_behavior_pb.js +136 -0
- package/dist/protocol/google/api/field_behavior_pb.js.map +1 -0
- package/dist/protocol/google/api/field_info_pb.d.ts +140 -0
- package/dist/protocol/google/api/field_info_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/field_info_pb.js +108 -0
- package/dist/protocol/google/api/field_info_pb.js.map +1 -0
- package/dist/protocol/google/api/http_pb.d.ts +441 -0
- package/dist/protocol/google/api/http_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/http_pb.js +34 -0
- package/dist/protocol/google/api/http_pb.js.map +1 -0
- package/dist/protocol/google/api/httpbody_pb.d.ts +81 -0
- package/dist/protocol/google/api/httpbody_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/httpbody_pb.js +25 -0
- package/dist/protocol/google/api/httpbody_pb.js.map +1 -0
- package/dist/protocol/google/api/launch_stage_pb.d.ts +87 -0
- package/dist/protocol/google/api/launch_stage_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/launch_stage_pb.js +101 -0
- package/dist/protocol/google/api/launch_stage_pb.js.map +1 -0
- package/dist/protocol/google/api/resource_pb.d.ts +304 -0
- package/dist/protocol/google/api/resource_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/resource_pb.js +116 -0
- package/dist/protocol/google/api/resource_pb.js.map +1 -0
- package/dist/protocol/google/api/routing_pb.d.ts +476 -0
- package/dist/protocol/google/api/routing_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/routing_pb.js +36 -0
- package/dist/protocol/google/api/routing_pb.js.map +1 -0
- package/dist/protocol/google/api/visibility_pb.d.ts +128 -0
- package/dist/protocol/google/api/visibility_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/visibility_pb.js +66 -0
- package/dist/protocol/google/api/visibility_pb.js.map +1 -0
- package/dist/protocol/google/bytestream/bytestream_pb.d.ts +278 -0
- package/dist/protocol/google/bytestream/bytestream_pb.d.ts.map +1 -0
- package/dist/protocol/google/bytestream/bytestream_pb.js +77 -0
- package/dist/protocol/google/bytestream/bytestream_pb.js.map +1 -0
- package/dist/protocol/google/geo/type/viewport_pb.d.ts +66 -0
- package/dist/protocol/google/geo/type/viewport_pb.d.ts.map +1 -0
- package/dist/protocol/google/geo/type/viewport_pb.js +26 -0
- package/dist/protocol/google/geo/type/viewport_pb.js.map +1 -0
- package/dist/protocol/google/iam/v1/iam_policy_pb.d.ts +193 -0
- package/dist/protocol/google/iam/v1/iam_policy_pb.d.ts.map +1 -0
- package/dist/protocol/google/iam/v1/iam_policy_pb.js +76 -0
- package/dist/protocol/google/iam/v1/iam_policy_pb.js.map +1 -0
- package/dist/protocol/google/iam/v1/options_pb.d.ts +42 -0
- package/dist/protocol/google/iam/v1/options_pb.d.ts.map +1 -0
- package/dist/protocol/google/iam/v1/options_pb.js +24 -0
- package/dist/protocol/google/iam/v1/options_pb.js.map +1 -0
- package/dist/protocol/google/iam/v1/policy_pb.d.ts +571 -0
- package/dist/protocol/google/iam/v1/policy_pb.d.ts.map +1 -0
- package/dist/protocol/google/iam/v1/policy_pb.js +152 -0
- package/dist/protocol/google/iam/v1/policy_pb.js.map +1 -0
- package/dist/protocol/google/longrunning/operations_pb.d.ts +398 -0
- package/dist/protocol/google/longrunning/operations_pb.d.ts.map +1 -0
- package/dist/protocol/google/longrunning/operations_pb.js +89 -0
- package/dist/protocol/google/longrunning/operations_pb.js.map +1 -0
- package/dist/protocol/google/rpc/code_pb.d.ts +228 -0
- package/dist/protocol/google/rpc/code_pb.d.ts.map +1 -0
- package/dist/protocol/google/rpc/code_pb.js +242 -0
- package/dist/protocol/google/rpc/code_pb.js.map +1 -0
- package/dist/protocol/google/rpc/context/attribute_context_pb.d.ts +560 -0
- package/dist/protocol/google/rpc/context/attribute_context_pb.d.ts.map +1 -0
- package/dist/protocol/google/rpc/context/attribute_context_pb.js +55 -0
- package/dist/protocol/google/rpc/context/attribute_context_pb.js.map +1 -0
- package/dist/protocol/google/rpc/error_details_pb.d.ts +581 -0
- package/dist/protocol/google/rpc/error_details_pb.d.ts.map +1 -0
- package/dist/protocol/google/rpc/error_details_pb.js +90 -0
- package/dist/protocol/google/rpc/error_details_pb.js.map +1 -0
- package/dist/protocol/google/rpc/status_pb.d.ts +49 -0
- package/dist/protocol/google/rpc/status_pb.d.ts.map +1 -0
- package/dist/protocol/google/rpc/status_pb.js +25 -0
- package/dist/protocol/google/rpc/status_pb.js.map +1 -0
- package/dist/protocol/google/type/calendar_period_pb.d.ts +71 -0
- package/dist/protocol/google/type/calendar_period_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/calendar_period_pb.js +85 -0
- package/dist/protocol/google/type/calendar_period_pb.js.map +1 -0
- package/dist/protocol/google/type/color_pb.d.ts +176 -0
- package/dist/protocol/google/type/color_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/color_pb.js +25 -0
- package/dist/protocol/google/type/color_pb.js.map +1 -0
- package/dist/protocol/google/type/date_pb.d.ts +56 -0
- package/dist/protocol/google/type/date_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/date_pb.js +24 -0
- package/dist/protocol/google/type/date_pb.js.map +1 -0
- package/dist/protocol/google/type/datetime_pb.d.ts +148 -0
- package/dist/protocol/google/type/datetime_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/datetime_pb.js +30 -0
- package/dist/protocol/google/type/datetime_pb.js.map +1 -0
- package/dist/protocol/google/type/dayofweek_pb.d.ts +65 -0
- package/dist/protocol/google/type/dayofweek_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/dayofweek_pb.js +79 -0
- package/dist/protocol/google/type/dayofweek_pb.js.map +1 -0
- package/dist/protocol/google/type/decimal_pb.d.ts +89 -0
- package/dist/protocol/google/type/decimal_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/decimal_pb.js +24 -0
- package/dist/protocol/google/type/decimal_pb.js.map +1 -0
- package/dist/protocol/google/type/expr_pb.d.ts +78 -0
- package/dist/protocol/google/type/expr_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/expr_pb.js +24 -0
- package/dist/protocol/google/type/expr_pb.js.map +1 -0
- package/dist/protocol/google/type/fraction_pb.d.ts +32 -0
- package/dist/protocol/google/type/fraction_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/fraction_pb.js +24 -0
- package/dist/protocol/google/type/fraction_pb.js.map +1 -0
- package/dist/protocol/google/type/interval_pb.d.ts +43 -0
- package/dist/protocol/google/type/interval_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/interval_pb.js +25 -0
- package/dist/protocol/google/type/interval_pb.js.map +1 -0
- package/dist/protocol/google/type/latlng_pb.d.ts +35 -0
- package/dist/protocol/google/type/latlng_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/latlng_pb.js +24 -0
- package/dist/protocol/google/type/latlng_pb.js.map +1 -0
- package/dist/protocol/google/type/localized_text_pb.d.ts +35 -0
- package/dist/protocol/google/type/localized_text_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/localized_text_pb.js +24 -0
- package/dist/protocol/google/type/localized_text_pb.js.map +1 -0
- package/dist/protocol/google/type/money_pb.d.ts +43 -0
- package/dist/protocol/google/type/money_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/money_pb.js +24 -0
- package/dist/protocol/google/type/money_pb.js.map +1 -0
- package/dist/protocol/google/type/month_pb.d.ts +95 -0
- package/dist/protocol/google/type/month_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/month_pb.js +109 -0
- package/dist/protocol/google/type/month_pb.js.map +1 -0
- package/dist/protocol/google/type/phone_number_pb.d.ts +145 -0
- package/dist/protocol/google/type/phone_number_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/phone_number_pb.js +29 -0
- package/dist/protocol/google/type/phone_number_pb.js.map +1 -0
- package/dist/protocol/google/type/postal_address_pb.d.ts +160 -0
- package/dist/protocol/google/type/postal_address_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/postal_address_pb.js +24 -0
- package/dist/protocol/google/type/postal_address_pb.js.map +1 -0
- package/dist/protocol/google/type/quaternion_pb.d.ts +99 -0
- package/dist/protocol/google/type/quaternion_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/quaternion_pb.js +24 -0
- package/dist/protocol/google/type/quaternion_pb.js.map +1 -0
- package/dist/protocol/google/type/timeofday_pb.d.ts +52 -0
- package/dist/protocol/google/type/timeofday_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/timeofday_pb.js +24 -0
- package/dist/protocol/google/type/timeofday_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/account_pb.d.ts +144 -0
- package/dist/protocol/uplim/api/v1/account_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/account_pb.js +100 -0
- package/dist/protocol/uplim/api/v1/account_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/auth_pb.d.ts +231 -0
- package/dist/protocol/uplim/api/v1/auth_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/auth_pb.js +65 -0
- package/dist/protocol/uplim/api/v1/auth_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/buckets_pb.d.ts +1920 -0
- package/dist/protocol/uplim/api/v1/buckets_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/buckets_pb.js +471 -0
- package/dist/protocol/uplim/api/v1/buckets_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/content_type_matcher_pb.d.ts +398 -0
- package/dist/protocol/uplim/api/v1/content_type_matcher_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/content_type_matcher_pb.js +79 -0
- package/dist/protocol/uplim/api/v1/content_type_matcher_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/events_pb.d.ts +767 -0
- package/dist/protocol/uplim/api/v1/events_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/events_pb.js +242 -0
- package/dist/protocol/uplim/api/v1/events_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_admin_pb.d.ts +1059 -0
- package/dist/protocol/uplim/api/v1/integration_admin_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_admin_pb.js +209 -0
- package/dist/protocol/uplim/api/v1/integration_admin_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_install_pb.d.ts +313 -0
- package/dist/protocol/uplim/api/v1/integration_install_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_install_pb.js +129 -0
- package/dist/protocol/uplim/api/v1/integration_install_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_types_pb.d.ts +767 -0
- package/dist/protocol/uplim/api/v1/integration_types_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_types_pb.js +221 -0
- package/dist/protocol/uplim/api/v1/integration_types_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/integrations_pb.d.ts +807 -0
- package/dist/protocol/uplim/api/v1/integrations_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/integrations_pb.js +169 -0
- package/dist/protocol/uplim/api/v1/integrations_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/internal_pb.d.ts +204 -0
- package/dist/protocol/uplim/api/v1/internal_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/internal_pb.js +118 -0
- package/dist/protocol/uplim/api/v1/internal_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/metadata_pb.d.ts +265 -0
- package/dist/protocol/uplim/api/v1/metadata_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/metadata_pb.js +50 -0
- package/dist/protocol/uplim/api/v1/metadata_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/public-buckets_pb.d.ts +64 -0
- package/dist/protocol/uplim/api/v1/public-buckets_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/public-buckets_pb.js +28 -0
- package/dist/protocol/uplim/api/v1/public-buckets_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/public-uploads_pb.d.ts +461 -0
- package/dist/protocol/uplim/api/v1/public-uploads_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/public-uploads_pb.js +139 -0
- package/dist/protocol/uplim/api/v1/public-uploads_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/upload-aliases_pb.d.ts +396 -0
- package/dist/protocol/uplim/api/v1/upload-aliases_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/upload-aliases_pb.js +69 -0
- package/dist/protocol/uplim/api/v1/upload-aliases_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/uploads_pb.d.ts +3736 -0
- package/dist/protocol/uplim/api/v1/uploads_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/uploads_pb.js +732 -0
- package/dist/protocol/uplim/api/v1/uploads_pb.js.map +1 -0
- package/dist/protocol/uplim/workflow/v1/activities_pb.d.ts +394 -0
- package/dist/protocol/uplim/workflow/v1/activities_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/workflow/v1/activities_pb.js +122 -0
- package/dist/protocol/uplim/workflow/v1/activities_pb.js.map +1 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.d.ts +486 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.js +158 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.js.map +1 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_pb.d.ts +289 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_pb.js +66 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_pb.js.map +1 -0
- package/dist/protocol/uplim/workflow/v1/workflows_pb.d.ts +602 -0
- package/dist/protocol/uplim/workflow/v1/workflows_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/workflow/v1/workflows_pb.js +194 -0
- package/dist/protocol/uplim/workflow/v1/workflows_pb.js.map +1 -0
- package/dist/rpc-clients.d.ts +9 -0
- package/dist/rpc-clients.d.ts.map +1 -0
- package/dist/rpc-clients.js +24 -0
- package/dist/rpc-clients.js.map +1 -0
- package/dist/sse-client.d.ts +20 -0
- package/dist/sse-client.d.ts.map +1 -0
- package/dist/sse-client.js +68 -0
- package/dist/sse-client.js.map +1 -0
- package/dist/types.d.ts +174 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +17 -0
- package/dist/types.js.map +1 -0
- package/package.json +47 -0
- package/src/errors.ts +14 -0
- package/src/index.ts +41 -0
- package/src/job-context.ts +244 -0
- package/src/pool.ts +143 -0
- package/src/protocol/buf/validate/expression_pb.ts +163 -0
- package/src/protocol/buf/validate/priv/private_pb.ts +86 -0
- package/src/protocol/buf/validate/validate_pb.ts +3802 -0
- package/src/protocol/gnostic/discovery/v1/discovery_pb.ts +1020 -0
- package/src/protocol/gnostic/openapi/v2/openapiv2_pb.ts +2679 -0
- package/src/protocol/gnostic/openapi/v3/annotations_pb.ts +55 -0
- package/src/protocol/gnostic/openapi/v3/openapiv3_pb.ts +2660 -0
- package/src/protocol/google/api/annotations_pb.ts +39 -0
- package/src/protocol/google/api/client_pb.ts +1183 -0
- package/src/protocol/google/api/expr/v1alpha1/checked_pb.ts +751 -0
- package/src/protocol/google/api/expr/v1alpha1/eval_pb.ts +222 -0
- package/src/protocol/google/api/expr/v1alpha1/explain_pb.ts +98 -0
- package/src/protocol/google/api/expr/v1alpha1/syntax_pb.ts +882 -0
- package/src/protocol/google/api/expr/v1alpha1/value_pb.ts +260 -0
- package/src/protocol/google/api/expr/v1beta1/decl_pb.ts +191 -0
- package/src/protocol/google/api/expr/v1beta1/eval_pb.ts +244 -0
- package/src/protocol/google/api/expr/v1beta1/expr_pb.ts +565 -0
- package/src/protocol/google/api/expr/v1beta1/source_pb.ts +117 -0
- package/src/protocol/google/api/expr/v1beta1/value_pb.ts +261 -0
- package/src/protocol/google/api/field_behavior_pb.ts +157 -0
- package/src/protocol/google/api/field_info_pb.ts +178 -0
- package/src/protocol/google/api/http_pb.ts +474 -0
- package/src/protocol/google/api/httpbody_pb.ts +108 -0
- package/src/protocol/google/api/launch_stage_pb.ts +118 -0
- package/src/protocol/google/api/resource_pb.ts +354 -0
- package/src/protocol/google/api/routing_pb.ts +507 -0
- package/src/protocol/google/api/visibility_pb.ts +169 -0
- package/src/protocol/google/bytestream/bytestream_pb.ts +325 -0
- package/src/protocol/google/geo/type/viewport_pb.ts +93 -0
- package/src/protocol/google/iam/v1/iam_policy_pb.ts +239 -0
- package/src/protocol/google/iam/v1/options_pb.ts +66 -0
- package/src/protocol/google/iam/v1/policy_pb.ts +644 -0
- package/src/protocol/google/longrunning/operations_pb.ts +460 -0
- package/src/protocol/google/rpc/code_pb.ts +268 -0
- package/src/protocol/google/rpc/context/attribute_context_pb.ts +638 -0
- package/src/protocol/google/rpc/error_details_pb.ts +662 -0
- package/src/protocol/google/rpc/status_pb.ts +76 -0
- package/src/protocol/google/type/calendar_period_pb.ts +102 -0
- package/src/protocol/google/type/color_pb.ts +204 -0
- package/src/protocol/google/type/date_pb.ts +82 -0
- package/src/protocol/google/type/datetime_pb.ts +181 -0
- package/src/protocol/google/type/dayofweek_pb.ts +96 -0
- package/src/protocol/google/type/decimal_pb.ts +113 -0
- package/src/protocol/google/type/expr_pb.ts +105 -0
- package/src/protocol/google/type/fraction_pb.ts +57 -0
- package/src/protocol/google/type/interval_pb.ts +69 -0
- package/src/protocol/google/type/latlng_pb.ts +60 -0
- package/src/protocol/google/type/localized_text_pb.ts +60 -0
- package/src/protocol/google/type/money_pb.ts +69 -0
- package/src/protocol/google/type/month_pb.ts +131 -0
- package/src/protocol/google/type/phone_number_pb.ts +171 -0
- package/src/protocol/google/type/postal_address_pb.ts +194 -0
- package/src/protocol/google/type/quaternion_pb.ts +126 -0
- package/src/protocol/google/type/timeofday_pb.ts +79 -0
- package/src/protocol/uplim/api/v1/account_pb.ts +178 -0
- package/src/protocol/uplim/api/v1/auth_pb.ts +278 -0
- package/src/protocol/uplim/api/v1/buckets_pb.ts +2214 -0
- package/src/protocol/uplim/api/v1/content_type_matcher_pb.ts +448 -0
- package/src/protocol/uplim/api/v1/events_pb.ts +874 -0
- package/src/protocol/uplim/api/v1/integration_admin_pb.ts +1237 -0
- package/src/protocol/uplim/api/v1/integration_install_pb.ts +386 -0
- package/src/protocol/uplim/api/v1/integration_types_pb.ts +896 -0
- package/src/protocol/uplim/api/v1/integrations_pb.ts +944 -0
- package/src/protocol/uplim/api/v1/internal_pb.ts +234 -0
- package/src/protocol/uplim/api/v1/metadata_pb.ts +305 -0
- package/src/protocol/uplim/api/v1/public-buckets_pb.ts +83 -0
- package/src/protocol/uplim/api/v1/public-uploads_pb.ts +543 -0
- package/src/protocol/uplim/api/v1/upload-aliases_pb.ts +468 -0
- package/src/protocol/uplim/api/v1/uploads_pb.ts +4294 -0
- package/src/protocol/uplim/workflow/v1/activities_pb.ts +488 -0
- package/src/protocol/uplim/workflow/v1/integration_queue_admin_pb.ts +594 -0
- package/src/protocol/uplim/workflow/v1/integration_queue_pb.ts +353 -0
- package/src/protocol/uplim/workflow/v1/workflows_pb.ts +746 -0
- package/src/rpc-clients.ts +29 -0
- package/src/sse-client.ts +83 -0
- package/src/types.ts +169 -0
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
// Copyright 2025 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.10.1 with parameter "target=ts,import_extension=.js"
|
|
16
|
+
// @generated from file google/bytestream/bytestream.proto (package google.bytestream, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
21
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the file google/bytestream/bytestream.proto.
|
|
25
|
+
*/
|
|
26
|
+
export const file_google_bytestream_bytestream: GenFile = /*@__PURE__*/
|
|
27
|
+
fileDesc("CiJnb29nbGUvYnl0ZXN0cmVhbS9ieXRlc3RyZWFtLnByb3RvEhFnb29nbGUuYnl0ZXN0cmVhbSJVCgtSZWFkUmVxdWVzdBIVCg1yZXNvdXJjZV9uYW1lGAEgASgJEhcKC3JlYWRfb2Zmc2V0GAIgASgDQgIwARIWCgpyZWFkX2xpbWl0GAMgASgDQgIwASIcCgxSZWFkUmVzcG9uc2USDAoEZGF0YRgKIAEoDCJjCgxXcml0ZVJlcXVlc3QSFQoNcmVzb3VyY2VfbmFtZRgBIAEoCRIYCgx3cml0ZV9vZmZzZXQYAiABKANCAjABEhQKDGZpbmlzaF93cml0ZRgDIAEoCBIMCgRkYXRhGAogASgMIisKDVdyaXRlUmVzcG9uc2USGgoOY29tbWl0dGVkX3NpemUYASABKANCAjABIjAKF1F1ZXJ5V3JpdGVTdGF0dXNSZXF1ZXN0EhUKDXJlc291cmNlX25hbWUYASABKAkiSAoYUXVlcnlXcml0ZVN0YXR1c1Jlc3BvbnNlEhoKDmNvbW1pdHRlZF9zaXplGAEgASgDQgIwARIQCghjb21wbGV0ZRgCIAEoCDKSAgoKQnl0ZVN0cmVhbRJJCgRSZWFkEh4uZ29vZ2xlLmJ5dGVzdHJlYW0uUmVhZFJlcXVlc3QaHy5nb29nbGUuYnl0ZXN0cmVhbS5SZWFkUmVzcG9uc2UwARJMCgVXcml0ZRIfLmdvb2dsZS5ieXRlc3RyZWFtLldyaXRlUmVxdWVzdBogLmdvb2dsZS5ieXRlc3RyZWFtLldyaXRlUmVzcG9uc2UoARJrChBRdWVyeVdyaXRlU3RhdHVzEiouZ29vZ2xlLmJ5dGVzdHJlYW0uUXVlcnlXcml0ZVN0YXR1c1JlcXVlc3QaKy5nb29nbGUuYnl0ZXN0cmVhbS5RdWVyeVdyaXRlU3RhdHVzUmVzcG9uc2VCygEKFWNvbS5nb29nbGUuYnl0ZXN0cmVhbUIPQnl0ZXN0cmVhbVByb3RvUAFaO2dvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYnl0ZXN0cmVhbTtieXRlc3RyZWFtogIDR0JYqgIRR29vZ2xlLkJ5dGVzdHJlYW3KAhFHb29nbGVcQnl0ZXN0cmVhbeICHUdvb2dsZVxCeXRlc3RyZWFtXEdQQk1ldGFkYXRh6gISR29vZ2xlOjpCeXRlc3RyZWFtYgZwcm90bzM");
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Request object for ByteStream.Read.
|
|
31
|
+
*
|
|
32
|
+
* @generated from message google.bytestream.ReadRequest
|
|
33
|
+
*/
|
|
34
|
+
export type ReadRequest = Message<"google.bytestream.ReadRequest"> & {
|
|
35
|
+
/**
|
|
36
|
+
* The name of the resource to read.
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: string resource_name = 1;
|
|
39
|
+
*/
|
|
40
|
+
resourceName: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* The offset for the first byte to return in the read, relative to the start
|
|
44
|
+
* of the resource.
|
|
45
|
+
*
|
|
46
|
+
* A `read_offset` that is negative or greater than the size of the resource
|
|
47
|
+
* will cause an `OUT_OF_RANGE` error.
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: int64 read_offset = 2 [jstype = JS_STRING];
|
|
50
|
+
*/
|
|
51
|
+
readOffset: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* The maximum number of `data` bytes the server is allowed to return in the
|
|
55
|
+
* sum of all `ReadResponse` messages. A `read_limit` of zero indicates that
|
|
56
|
+
* there is no limit, and a negative `read_limit` will cause an error.
|
|
57
|
+
*
|
|
58
|
+
* If the stream returns fewer bytes than allowed by the `read_limit` and no
|
|
59
|
+
* error occurred, the stream includes all data from the `read_offset` to the
|
|
60
|
+
* end of the resource.
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: int64 read_limit = 3 [jstype = JS_STRING];
|
|
63
|
+
*/
|
|
64
|
+
readLimit: string;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Describes the message google.bytestream.ReadRequest.
|
|
69
|
+
* Use `create(ReadRequestSchema)` to create a new message.
|
|
70
|
+
*/
|
|
71
|
+
export const ReadRequestSchema: GenMessage<ReadRequest> = /*@__PURE__*/
|
|
72
|
+
messageDesc(file_google_bytestream_bytestream, 0);
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Response object for ByteStream.Read.
|
|
76
|
+
*
|
|
77
|
+
* @generated from message google.bytestream.ReadResponse
|
|
78
|
+
*/
|
|
79
|
+
export type ReadResponse = Message<"google.bytestream.ReadResponse"> & {
|
|
80
|
+
/**
|
|
81
|
+
* A portion of the data for the resource. The service **may** leave `data`
|
|
82
|
+
* empty for any given `ReadResponse`. This enables the service to inform the
|
|
83
|
+
* client that the request is still live while it is running an operation to
|
|
84
|
+
* generate more data.
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: bytes data = 10;
|
|
87
|
+
*/
|
|
88
|
+
data: Uint8Array;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Describes the message google.bytestream.ReadResponse.
|
|
93
|
+
* Use `create(ReadResponseSchema)` to create a new message.
|
|
94
|
+
*/
|
|
95
|
+
export const ReadResponseSchema: GenMessage<ReadResponse> = /*@__PURE__*/
|
|
96
|
+
messageDesc(file_google_bytestream_bytestream, 1);
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Request object for ByteStream.Write.
|
|
100
|
+
*
|
|
101
|
+
* @generated from message google.bytestream.WriteRequest
|
|
102
|
+
*/
|
|
103
|
+
export type WriteRequest = Message<"google.bytestream.WriteRequest"> & {
|
|
104
|
+
/**
|
|
105
|
+
* The name of the resource to write. This **must** be set on the first
|
|
106
|
+
* `WriteRequest` of each `Write()` action. If it is set on subsequent calls,
|
|
107
|
+
* it **must** match the value of the first request.
|
|
108
|
+
*
|
|
109
|
+
* @generated from field: string resource_name = 1;
|
|
110
|
+
*/
|
|
111
|
+
resourceName: string;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* The offset from the beginning of the resource at which the data should be
|
|
115
|
+
* written. It is required on all `WriteRequest`s.
|
|
116
|
+
*
|
|
117
|
+
* In the first `WriteRequest` of a `Write()` action, it indicates
|
|
118
|
+
* the initial offset for the `Write()` call. The value **must** be equal to
|
|
119
|
+
* the `committed_size` that a call to `QueryWriteStatus()` would return.
|
|
120
|
+
*
|
|
121
|
+
* On subsequent calls, this value **must** be set and **must** be equal to
|
|
122
|
+
* the sum of the first `write_offset` and the sizes of all `data` bundles
|
|
123
|
+
* sent previously on this stream.
|
|
124
|
+
*
|
|
125
|
+
* An incorrect value will cause an error.
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: int64 write_offset = 2 [jstype = JS_STRING];
|
|
128
|
+
*/
|
|
129
|
+
writeOffset: string;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* If `true`, this indicates that the write is complete. Sending any
|
|
133
|
+
* `WriteRequest`s subsequent to one in which `finish_write` is `true` will
|
|
134
|
+
* cause an error.
|
|
135
|
+
*
|
|
136
|
+
* @generated from field: bool finish_write = 3;
|
|
137
|
+
*/
|
|
138
|
+
finishWrite: boolean;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* A portion of the data for the resource. The client **may** leave `data`
|
|
142
|
+
* empty for any given `WriteRequest`. This enables the client to inform the
|
|
143
|
+
* service that the request is still live while it is running an operation to
|
|
144
|
+
* generate more data.
|
|
145
|
+
*
|
|
146
|
+
* @generated from field: bytes data = 10;
|
|
147
|
+
*/
|
|
148
|
+
data: Uint8Array;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Describes the message google.bytestream.WriteRequest.
|
|
153
|
+
* Use `create(WriteRequestSchema)` to create a new message.
|
|
154
|
+
*/
|
|
155
|
+
export const WriteRequestSchema: GenMessage<WriteRequest> = /*@__PURE__*/
|
|
156
|
+
messageDesc(file_google_bytestream_bytestream, 2);
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Response object for ByteStream.Write.
|
|
160
|
+
*
|
|
161
|
+
* @generated from message google.bytestream.WriteResponse
|
|
162
|
+
*/
|
|
163
|
+
export type WriteResponse = Message<"google.bytestream.WriteResponse"> & {
|
|
164
|
+
/**
|
|
165
|
+
* The number of bytes that have been processed for the given resource.
|
|
166
|
+
*
|
|
167
|
+
* @generated from field: int64 committed_size = 1 [jstype = JS_STRING];
|
|
168
|
+
*/
|
|
169
|
+
committedSize: string;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Describes the message google.bytestream.WriteResponse.
|
|
174
|
+
* Use `create(WriteResponseSchema)` to create a new message.
|
|
175
|
+
*/
|
|
176
|
+
export const WriteResponseSchema: GenMessage<WriteResponse> = /*@__PURE__*/
|
|
177
|
+
messageDesc(file_google_bytestream_bytestream, 3);
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Request object for ByteStream.QueryWriteStatus.
|
|
181
|
+
*
|
|
182
|
+
* @generated from message google.bytestream.QueryWriteStatusRequest
|
|
183
|
+
*/
|
|
184
|
+
export type QueryWriteStatusRequest = Message<"google.bytestream.QueryWriteStatusRequest"> & {
|
|
185
|
+
/**
|
|
186
|
+
* The name of the resource whose write status is being requested.
|
|
187
|
+
*
|
|
188
|
+
* @generated from field: string resource_name = 1;
|
|
189
|
+
*/
|
|
190
|
+
resourceName: string;
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Describes the message google.bytestream.QueryWriteStatusRequest.
|
|
195
|
+
* Use `create(QueryWriteStatusRequestSchema)` to create a new message.
|
|
196
|
+
*/
|
|
197
|
+
export const QueryWriteStatusRequestSchema: GenMessage<QueryWriteStatusRequest> = /*@__PURE__*/
|
|
198
|
+
messageDesc(file_google_bytestream_bytestream, 4);
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Response object for ByteStream.QueryWriteStatus.
|
|
202
|
+
*
|
|
203
|
+
* @generated from message google.bytestream.QueryWriteStatusResponse
|
|
204
|
+
*/
|
|
205
|
+
export type QueryWriteStatusResponse = Message<"google.bytestream.QueryWriteStatusResponse"> & {
|
|
206
|
+
/**
|
|
207
|
+
* The number of bytes that have been processed for the given resource.
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: int64 committed_size = 1 [jstype = JS_STRING];
|
|
210
|
+
*/
|
|
211
|
+
committedSize: string;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* `complete` is `true` only if the client has sent a `WriteRequest` with
|
|
215
|
+
* `finish_write` set to true, and the server has processed that request.
|
|
216
|
+
*
|
|
217
|
+
* @generated from field: bool complete = 2;
|
|
218
|
+
*/
|
|
219
|
+
complete: boolean;
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Describes the message google.bytestream.QueryWriteStatusResponse.
|
|
224
|
+
* Use `create(QueryWriteStatusResponseSchema)` to create a new message.
|
|
225
|
+
*/
|
|
226
|
+
export const QueryWriteStatusResponseSchema: GenMessage<QueryWriteStatusResponse> = /*@__PURE__*/
|
|
227
|
+
messageDesc(file_google_bytestream_bytestream, 5);
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* #### Introduction
|
|
231
|
+
*
|
|
232
|
+
* The Byte Stream API enables a client to read and write a stream of bytes to
|
|
233
|
+
* and from a resource. Resources have names, and these names are supplied in
|
|
234
|
+
* the API calls below to identify the resource that is being read from or
|
|
235
|
+
* written to.
|
|
236
|
+
*
|
|
237
|
+
* All implementations of the Byte Stream API export the interface defined here:
|
|
238
|
+
*
|
|
239
|
+
* * `Read()`: Reads the contents of a resource.
|
|
240
|
+
*
|
|
241
|
+
* * `Write()`: Writes the contents of a resource. The client can call `Write()`
|
|
242
|
+
* multiple times with the same resource and can check the status of the write
|
|
243
|
+
* by calling `QueryWriteStatus()`.
|
|
244
|
+
*
|
|
245
|
+
* #### Service parameters and metadata
|
|
246
|
+
*
|
|
247
|
+
* The ByteStream API provides no direct way to access/modify any metadata
|
|
248
|
+
* associated with the resource.
|
|
249
|
+
*
|
|
250
|
+
* #### Errors
|
|
251
|
+
*
|
|
252
|
+
* The errors returned by the service are in the Google canonical error space.
|
|
253
|
+
*
|
|
254
|
+
* @generated from service google.bytestream.ByteStream
|
|
255
|
+
*/
|
|
256
|
+
export const ByteStream: GenService<{
|
|
257
|
+
/**
|
|
258
|
+
* `Read()` is used to retrieve the contents of a resource as a sequence
|
|
259
|
+
* of bytes. The bytes are returned in a sequence of responses, and the
|
|
260
|
+
* responses are delivered as the results of a server-side streaming RPC.
|
|
261
|
+
*
|
|
262
|
+
* @generated from rpc google.bytestream.ByteStream.Read
|
|
263
|
+
*/
|
|
264
|
+
read: {
|
|
265
|
+
methodKind: "server_streaming";
|
|
266
|
+
input: typeof ReadRequestSchema;
|
|
267
|
+
output: typeof ReadResponseSchema;
|
|
268
|
+
},
|
|
269
|
+
/**
|
|
270
|
+
* `Write()` is used to send the contents of a resource as a sequence of
|
|
271
|
+
* bytes. The bytes are sent in a sequence of request protos of a client-side
|
|
272
|
+
* streaming RPC.
|
|
273
|
+
*
|
|
274
|
+
* A `Write()` action is resumable. If there is an error or the connection is
|
|
275
|
+
* broken during the `Write()`, the client should check the status of the
|
|
276
|
+
* `Write()` by calling `QueryWriteStatus()` and continue writing from the
|
|
277
|
+
* returned `committed_size`. This may be less than the amount of data the
|
|
278
|
+
* client previously sent.
|
|
279
|
+
*
|
|
280
|
+
* Calling `Write()` on a resource name that was previously written and
|
|
281
|
+
* finalized could cause an error, depending on whether the underlying service
|
|
282
|
+
* allows over-writing of previously written resources.
|
|
283
|
+
*
|
|
284
|
+
* When the client closes the request channel, the service will respond with
|
|
285
|
+
* a `WriteResponse`. The service will not view the resource as `complete`
|
|
286
|
+
* until the client has sent a `WriteRequest` with `finish_write` set to
|
|
287
|
+
* `true`. Sending any requests on a stream after sending a request with
|
|
288
|
+
* `finish_write` set to `true` will cause an error. The client **should**
|
|
289
|
+
* check the `WriteResponse` it receives to determine how much data the
|
|
290
|
+
* service was able to commit and whether the service views the resource as
|
|
291
|
+
* `complete` or not.
|
|
292
|
+
*
|
|
293
|
+
* @generated from rpc google.bytestream.ByteStream.Write
|
|
294
|
+
*/
|
|
295
|
+
write: {
|
|
296
|
+
methodKind: "client_streaming";
|
|
297
|
+
input: typeof WriteRequestSchema;
|
|
298
|
+
output: typeof WriteResponseSchema;
|
|
299
|
+
},
|
|
300
|
+
/**
|
|
301
|
+
* `QueryWriteStatus()` is used to find the `committed_size` for a resource
|
|
302
|
+
* that is being written, which can then be used as the `write_offset` for
|
|
303
|
+
* the next `Write()` call.
|
|
304
|
+
*
|
|
305
|
+
* If the resource does not exist (i.e., the resource has been deleted, or the
|
|
306
|
+
* first `Write()` has not yet reached the service), this method returns the
|
|
307
|
+
* error `NOT_FOUND`.
|
|
308
|
+
*
|
|
309
|
+
* The client **may** call `QueryWriteStatus()` at any time to determine how
|
|
310
|
+
* much data has been processed for this resource. This is useful if the
|
|
311
|
+
* client is buffering data and needs to know which data can be safely
|
|
312
|
+
* evicted. For any sequence of `QueryWriteStatus()` calls for a given
|
|
313
|
+
* resource name, the sequence of returned `committed_size` values will be
|
|
314
|
+
* non-decreasing.
|
|
315
|
+
*
|
|
316
|
+
* @generated from rpc google.bytestream.ByteStream.QueryWriteStatus
|
|
317
|
+
*/
|
|
318
|
+
queryWriteStatus: {
|
|
319
|
+
methodKind: "unary";
|
|
320
|
+
input: typeof QueryWriteStatusRequestSchema;
|
|
321
|
+
output: typeof QueryWriteStatusResponseSchema;
|
|
322
|
+
},
|
|
323
|
+
}> = /*@__PURE__*/
|
|
324
|
+
serviceDesc(file_google_bytestream_bytestream, 0);
|
|
325
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
// Copyright 2025 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
|
+
|
|
16
|
+
// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=.js"
|
|
17
|
+
// @generated from file google/geo/type/viewport.proto (package google.geo.type, syntax proto3)
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
|
|
20
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
21
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
22
|
+
import type { LatLng } from "../../type/latlng_pb.js";
|
|
23
|
+
import { file_google_type_latlng } from "../../type/latlng_pb.js";
|
|
24
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the file google/geo/type/viewport.proto.
|
|
28
|
+
*/
|
|
29
|
+
export const file_google_geo_type_viewport: GenFile = /*@__PURE__*/
|
|
30
|
+
fileDesc("Ch5nb29nbGUvZ2VvL3R5cGUvdmlld3BvcnQucHJvdG8SD2dvb2dsZS5nZW8udHlwZSJPCghWaWV3cG9ydBIgCgNsb3cYASABKAsyEy5nb29nbGUudHlwZS5MYXRMbmcSIQoEaGlnaBgCIAEoCzITLmdvb2dsZS50eXBlLkxhdExuZ0LEAQoTY29tLmdvb2dsZS5nZW8udHlwZUINVmlld3BvcnRQcm90b1ABWkBnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2dlby90eXBlL3ZpZXdwb3J0O3ZpZXdwb3J0ogIDR0dUqgIPR29vZ2xlLkdlby5UeXBlygIPR29vZ2xlXEdlb1xUeXBl4gIbR29vZ2xlXEdlb1xUeXBlXEdQQk1ldGFkYXRh6gIRR29vZ2xlOjpHZW86OlR5cGViBnByb3RvMw", [file_google_type_latlng]);
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* A latitude-longitude viewport, represented as two diagonally opposite `low`
|
|
34
|
+
* and `high` points. A viewport is considered a closed region, i.e. it includes
|
|
35
|
+
* its boundary. The latitude bounds must range between -90 to 90 degrees
|
|
36
|
+
* inclusive, and the longitude bounds must range between -180 to 180 degrees
|
|
37
|
+
* inclusive. Various cases include:
|
|
38
|
+
*
|
|
39
|
+
* - If `low` = `high`, the viewport consists of that single point.
|
|
40
|
+
*
|
|
41
|
+
* - If `low.longitude` > `high.longitude`, the longitude range is inverted
|
|
42
|
+
* (the viewport crosses the 180 degree longitude line).
|
|
43
|
+
*
|
|
44
|
+
* - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees,
|
|
45
|
+
* the viewport includes all longitudes.
|
|
46
|
+
*
|
|
47
|
+
* - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees,
|
|
48
|
+
* the longitude range is empty.
|
|
49
|
+
*
|
|
50
|
+
* - If `low.latitude` > `high.latitude`, the latitude range is empty.
|
|
51
|
+
*
|
|
52
|
+
* Both `low` and `high` must be populated, and the represented box cannot be
|
|
53
|
+
* empty (as specified by the definitions above). An empty viewport will result
|
|
54
|
+
* in an error.
|
|
55
|
+
*
|
|
56
|
+
* For example, this viewport fully encloses New York City:
|
|
57
|
+
*
|
|
58
|
+
* {
|
|
59
|
+
* "low": {
|
|
60
|
+
* "latitude": 40.477398,
|
|
61
|
+
* "longitude": -74.259087
|
|
62
|
+
* },
|
|
63
|
+
* "high": {
|
|
64
|
+
* "latitude": 40.91618,
|
|
65
|
+
* "longitude": -73.70018
|
|
66
|
+
* }
|
|
67
|
+
* }
|
|
68
|
+
*
|
|
69
|
+
* @generated from message google.geo.type.Viewport
|
|
70
|
+
*/
|
|
71
|
+
export type Viewport = Message<"google.geo.type.Viewport"> & {
|
|
72
|
+
/**
|
|
73
|
+
* Required. The low point of the viewport.
|
|
74
|
+
*
|
|
75
|
+
* @generated from field: google.type.LatLng low = 1;
|
|
76
|
+
*/
|
|
77
|
+
low?: LatLng;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Required. The high point of the viewport.
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: google.type.LatLng high = 2;
|
|
83
|
+
*/
|
|
84
|
+
high?: LatLng;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Describes the message google.geo.type.Viewport.
|
|
89
|
+
* Use `create(ViewportSchema)` to create a new message.
|
|
90
|
+
*/
|
|
91
|
+
export const ViewportSchema: GenMessage<Viewport> = /*@__PURE__*/
|
|
92
|
+
messageDesc(file_google_geo_type_viewport, 0);
|
|
93
|
+
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
// Copyright 2025 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.10.1 with parameter "target=ts,import_extension=.js"
|
|
16
|
+
// @generated from file google/iam/v1/iam_policy.proto (package google.iam.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
21
|
+
import { file_google_api_annotations } from "../../api/annotations_pb.js";
|
|
22
|
+
import { file_google_api_client } from "../../api/client_pb.js";
|
|
23
|
+
import { file_google_api_field_behavior } from "../../api/field_behavior_pb.js";
|
|
24
|
+
import { file_google_api_resource } from "../../api/resource_pb.js";
|
|
25
|
+
import type { GetPolicyOptions } from "./options_pb.js";
|
|
26
|
+
import { file_google_iam_v1_options } from "./options_pb.js";
|
|
27
|
+
import type { Policy, PolicySchema } from "./policy_pb.js";
|
|
28
|
+
import { file_google_iam_v1_policy } from "./policy_pb.js";
|
|
29
|
+
import type { FieldMask } from "@bufbuild/protobuf/wkt";
|
|
30
|
+
import { file_google_protobuf_field_mask } from "@bufbuild/protobuf/wkt";
|
|
31
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the file google/iam/v1/iam_policy.proto.
|
|
35
|
+
*/
|
|
36
|
+
export const file_google_iam_v1_iam_policy: GenFile = /*@__PURE__*/
|
|
37
|
+
fileDesc("Ch5nb29nbGUvaWFtL3YxL2lhbV9wb2xpY3kucHJvdG8SDWdvb2dsZS5pYW0udjEijwEKE1NldElhbVBvbGljeVJlcXVlc3QSGwoIcmVzb3VyY2UYASABKAlCCeBBAvpBAwoBKhIqCgZwb2xpY3kYAiABKAsyFS5nb29nbGUuaWFtLnYxLlBvbGljeUID4EECEi8KC3VwZGF0ZV9tYXNrGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLkZpZWxkTWFzayJkChNHZXRJYW1Qb2xpY3lSZXF1ZXN0EhsKCHJlc291cmNlGAEgASgJQgngQQL6QQMKASoSMAoHb3B0aW9ucxgCIAEoCzIfLmdvb2dsZS5pYW0udjEuR2V0UG9saWN5T3B0aW9ucyJSChlUZXN0SWFtUGVybWlzc2lvbnNSZXF1ZXN0EhsKCHJlc291cmNlGAEgASgJQgngQQL6QQMKASoSGAoLcGVybWlzc2lvbnMYAiADKAlCA+BBAiIxChpUZXN0SWFtUGVybWlzc2lvbnNSZXNwb25zZRITCgtwZXJtaXNzaW9ucxgBIAMoCTK0AwoJSUFNUG9saWN5EnQKDFNldElhbVBvbGljeRIiLmdvb2dsZS5pYW0udjEuU2V0SWFtUG9saWN5UmVxdWVzdBoVLmdvb2dsZS5pYW0udjEuUG9saWN5IimC0+STAiM6ASoiHi92MS97cmVzb3VyY2U9Kip9OnNldElhbVBvbGljeRJ0CgxHZXRJYW1Qb2xpY3kSIi5nb29nbGUuaWFtLnYxLkdldElhbVBvbGljeVJlcXVlc3QaFS5nb29nbGUuaWFtLnYxLlBvbGljeSIpgtPkkwIjOgEqIh4vdjEve3Jlc291cmNlPSoqfTpnZXRJYW1Qb2xpY3kSmgEKElRlc3RJYW1QZXJtaXNzaW9ucxIoLmdvb2dsZS5pYW0udjEuVGVzdElhbVBlcm1pc3Npb25zUmVxdWVzdBopLmdvb2dsZS5pYW0udjEuVGVzdElhbVBlcm1pc3Npb25zUmVzcG9uc2UiL4LT5JMCKToBKiIkL3YxL3tyZXNvdXJjZT0qKn06dGVzdElhbVBlcm1pc3Npb25zGh7KQRtpYW0tbWV0YS1hcGkuZ29vZ2xlYXBpcy5jb21CpAEKEWNvbS5nb29nbGUuaWFtLnYxQg5JYW1Qb2xpY3lQcm90b1ABWiljbG91ZC5nb29nbGUuY29tL2dvL2lhbS9hcGl2MS9pYW1wYjtpYW1wYqICA0dJWKoCDUdvb2dsZS5JYW0uVjHKAg1Hb29nbGVcSWFtXFYx4gIZR29vZ2xlXElhbVxWMVxHUEJNZXRhZGF0YeoCD0dvb2dsZTo6SWFtOjpWMWIGcHJvdG8z", [file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_iam_v1_options, file_google_iam_v1_policy, file_google_protobuf_field_mask]);
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Request message for `SetIamPolicy` method.
|
|
41
|
+
*
|
|
42
|
+
* @generated from message google.iam.v1.SetIamPolicyRequest
|
|
43
|
+
*/
|
|
44
|
+
export type SetIamPolicyRequest = Message<"google.iam.v1.SetIamPolicyRequest"> & {
|
|
45
|
+
/**
|
|
46
|
+
* REQUIRED: The resource for which the policy is being specified.
|
|
47
|
+
* See the operation documentation for the appropriate value for this field.
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: string resource = 1;
|
|
50
|
+
*/
|
|
51
|
+
resource: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* REQUIRED: The complete policy to be applied to the `resource`. The size of
|
|
55
|
+
* the policy is limited to a few 10s of KB. An empty policy is a
|
|
56
|
+
* valid policy but certain Cloud Platform services (such as Projects)
|
|
57
|
+
* might reject them.
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: google.iam.v1.Policy policy = 2;
|
|
60
|
+
*/
|
|
61
|
+
policy?: Policy;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
|
65
|
+
* the fields in the mask will be modified. If no mask is provided, the
|
|
66
|
+
* following default mask is used:
|
|
67
|
+
*
|
|
68
|
+
* `paths: "bindings, etag"`
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 3;
|
|
71
|
+
*/
|
|
72
|
+
updateMask?: FieldMask;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message google.iam.v1.SetIamPolicyRequest.
|
|
77
|
+
* Use `create(SetIamPolicyRequestSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export const SetIamPolicyRequestSchema: GenMessage<SetIamPolicyRequest> = /*@__PURE__*/
|
|
80
|
+
messageDesc(file_google_iam_v1_iam_policy, 0);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Request message for `GetIamPolicy` method.
|
|
84
|
+
*
|
|
85
|
+
* @generated from message google.iam.v1.GetIamPolicyRequest
|
|
86
|
+
*/
|
|
87
|
+
export type GetIamPolicyRequest = Message<"google.iam.v1.GetIamPolicyRequest"> & {
|
|
88
|
+
/**
|
|
89
|
+
* REQUIRED: The resource for which the policy is being requested.
|
|
90
|
+
* See the operation documentation for the appropriate value for this field.
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: string resource = 1;
|
|
93
|
+
*/
|
|
94
|
+
resource: string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* OPTIONAL: A `GetPolicyOptions` object for specifying options to
|
|
98
|
+
* `GetIamPolicy`.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: google.iam.v1.GetPolicyOptions options = 2;
|
|
101
|
+
*/
|
|
102
|
+
options?: GetPolicyOptions;
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Describes the message google.iam.v1.GetIamPolicyRequest.
|
|
107
|
+
* Use `create(GetIamPolicyRequestSchema)` to create a new message.
|
|
108
|
+
*/
|
|
109
|
+
export const GetIamPolicyRequestSchema: GenMessage<GetIamPolicyRequest> = /*@__PURE__*/
|
|
110
|
+
messageDesc(file_google_iam_v1_iam_policy, 1);
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Request message for `TestIamPermissions` method.
|
|
114
|
+
*
|
|
115
|
+
* @generated from message google.iam.v1.TestIamPermissionsRequest
|
|
116
|
+
*/
|
|
117
|
+
export type TestIamPermissionsRequest = Message<"google.iam.v1.TestIamPermissionsRequest"> & {
|
|
118
|
+
/**
|
|
119
|
+
* REQUIRED: The resource for which the policy detail is being requested.
|
|
120
|
+
* See the operation documentation for the appropriate value for this field.
|
|
121
|
+
*
|
|
122
|
+
* @generated from field: string resource = 1;
|
|
123
|
+
*/
|
|
124
|
+
resource: string;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* The set of permissions to check for the `resource`. Permissions with
|
|
128
|
+
* wildcards (such as '*' or 'storage.*') are not allowed. For more
|
|
129
|
+
* information see
|
|
130
|
+
* [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: repeated string permissions = 2;
|
|
133
|
+
*/
|
|
134
|
+
permissions: string[];
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Describes the message google.iam.v1.TestIamPermissionsRequest.
|
|
139
|
+
* Use `create(TestIamPermissionsRequestSchema)` to create a new message.
|
|
140
|
+
*/
|
|
141
|
+
export const TestIamPermissionsRequestSchema: GenMessage<TestIamPermissionsRequest> = /*@__PURE__*/
|
|
142
|
+
messageDesc(file_google_iam_v1_iam_policy, 2);
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Response message for `TestIamPermissions` method.
|
|
146
|
+
*
|
|
147
|
+
* @generated from message google.iam.v1.TestIamPermissionsResponse
|
|
148
|
+
*/
|
|
149
|
+
export type TestIamPermissionsResponse = Message<"google.iam.v1.TestIamPermissionsResponse"> & {
|
|
150
|
+
/**
|
|
151
|
+
* A subset of `TestPermissionsRequest.permissions` that the caller is
|
|
152
|
+
* allowed.
|
|
153
|
+
*
|
|
154
|
+
* @generated from field: repeated string permissions = 1;
|
|
155
|
+
*/
|
|
156
|
+
permissions: string[];
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Describes the message google.iam.v1.TestIamPermissionsResponse.
|
|
161
|
+
* Use `create(TestIamPermissionsResponseSchema)` to create a new message.
|
|
162
|
+
*/
|
|
163
|
+
export const TestIamPermissionsResponseSchema: GenMessage<TestIamPermissionsResponse> = /*@__PURE__*/
|
|
164
|
+
messageDesc(file_google_iam_v1_iam_policy, 3);
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* API Overview
|
|
168
|
+
*
|
|
169
|
+
* Manages Identity and Access Management (IAM) policies.
|
|
170
|
+
*
|
|
171
|
+
* Any implementation of an API that offers access control features
|
|
172
|
+
* implements the google.iam.v1.IAMPolicy interface.
|
|
173
|
+
*
|
|
174
|
+
* ## Data model
|
|
175
|
+
*
|
|
176
|
+
* Access control is applied when a principal (user or service account), takes
|
|
177
|
+
* some action on a resource exposed by a service. Resources, identified by
|
|
178
|
+
* URI-like names, are the unit of access control specification. Service
|
|
179
|
+
* implementations can choose the granularity of access control and the
|
|
180
|
+
* supported permissions for their resources.
|
|
181
|
+
* For example one database service may allow access control to be
|
|
182
|
+
* specified only at the Table level, whereas another might allow access control
|
|
183
|
+
* to also be specified at the Column level.
|
|
184
|
+
*
|
|
185
|
+
* ## Policy Structure
|
|
186
|
+
*
|
|
187
|
+
* See google.iam.v1.Policy
|
|
188
|
+
*
|
|
189
|
+
* This is intentionally not a CRUD style API because access control policies
|
|
190
|
+
* are created and deleted implicitly with the resources to which they are
|
|
191
|
+
* attached.
|
|
192
|
+
*
|
|
193
|
+
* @generated from service google.iam.v1.IAMPolicy
|
|
194
|
+
*/
|
|
195
|
+
export const IAMPolicy: GenService<{
|
|
196
|
+
/**
|
|
197
|
+
* Sets the access control policy on the specified resource. Replaces any
|
|
198
|
+
* existing policy.
|
|
199
|
+
*
|
|
200
|
+
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
201
|
+
*
|
|
202
|
+
* @generated from rpc google.iam.v1.IAMPolicy.SetIamPolicy
|
|
203
|
+
*/
|
|
204
|
+
setIamPolicy: {
|
|
205
|
+
methodKind: "unary";
|
|
206
|
+
input: typeof SetIamPolicyRequestSchema;
|
|
207
|
+
output: typeof PolicySchema;
|
|
208
|
+
},
|
|
209
|
+
/**
|
|
210
|
+
* Gets the access control policy for a resource.
|
|
211
|
+
* Returns an empty policy if the resource exists and does not have a policy
|
|
212
|
+
* set.
|
|
213
|
+
*
|
|
214
|
+
* @generated from rpc google.iam.v1.IAMPolicy.GetIamPolicy
|
|
215
|
+
*/
|
|
216
|
+
getIamPolicy: {
|
|
217
|
+
methodKind: "unary";
|
|
218
|
+
input: typeof GetIamPolicyRequestSchema;
|
|
219
|
+
output: typeof PolicySchema;
|
|
220
|
+
},
|
|
221
|
+
/**
|
|
222
|
+
* Returns permissions that a caller has on the specified resource.
|
|
223
|
+
* If the resource does not exist, this will return an empty set of
|
|
224
|
+
* permissions, not a `NOT_FOUND` error.
|
|
225
|
+
*
|
|
226
|
+
* Note: This operation is designed to be used for building permission-aware
|
|
227
|
+
* UIs and command-line tools, not for authorization checking. This operation
|
|
228
|
+
* may "fail open" without warning.
|
|
229
|
+
*
|
|
230
|
+
* @generated from rpc google.iam.v1.IAMPolicy.TestIamPermissions
|
|
231
|
+
*/
|
|
232
|
+
testIamPermissions: {
|
|
233
|
+
methodKind: "unary";
|
|
234
|
+
input: typeof TestIamPermissionsRequestSchema;
|
|
235
|
+
output: typeof TestIamPermissionsResponseSchema;
|
|
236
|
+
},
|
|
237
|
+
}> = /*@__PURE__*/
|
|
238
|
+
serviceDesc(file_google_iam_v1_iam_policy, 0);
|
|
239
|
+
|