py2docfx 0.1.11rc1981066__py3-none-any.whl → 0.1.11rc1996319__py3-none-any.whl

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.
Files changed (126) hide show
  1. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/authorization_code.py +1 -1
  2. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/azd_cli.py +20 -14
  3. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/azure_arc.py +1 -1
  4. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/azure_cli.py +36 -14
  5. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/azure_powershell.py +1 -1
  6. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/chained.py +2 -2
  7. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/default.py +4 -3
  8. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/imds.py +2 -2
  9. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_credentials/managed_identity.py +1 -1
  10. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_internal/__init__.py +2 -0
  11. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_internal/auth_code_redirect_handler.py +1 -1
  12. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_internal/decorators.py +15 -7
  13. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_internal/interactive.py +1 -1
  14. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_internal/managed_identity_client.py +0 -1
  15. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_internal/msal_client.py +1 -1
  16. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_internal/msal_managed_identity_client.py +2 -1
  17. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_internal/shared_token_cache.py +3 -3
  18. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_internal/utils.py +17 -2
  19. py2docfx/venv/venv1/Lib/site-packages/azure/identity/_version.py +1 -1
  20. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/azd_cli.py +14 -11
  21. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/azure_cli.py +30 -12
  22. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/default.py +2 -2
  23. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/imds.py +3 -3
  24. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_credentials/managed_identity.py +1 -1
  25. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_internal/decorators.py +15 -7
  26. py2docfx/venv/venv1/Lib/site-packages/azure/identity/aio/_internal/managed_identity_client.py +1 -1
  27. py2docfx/venv/venv1/Lib/site-packages/cryptography/__about__.py +1 -1
  28. py2docfx/venv/venv1/Lib/site-packages/google/api/annotations_pb2.py +7 -4
  29. py2docfx/venv/venv1/Lib/site-packages/google/api/auth_pb2.py +6 -3
  30. py2docfx/venv/venv1/Lib/site-packages/google/api/backend_pb2.py +14 -7
  31. py2docfx/venv/venv1/Lib/site-packages/google/api/billing_pb2.py +6 -3
  32. py2docfx/venv/venv1/Lib/site-packages/google/api/client_pb2.py +47 -38
  33. py2docfx/venv/venv1/Lib/site-packages/google/api/config_change_pb2.py +6 -3
  34. py2docfx/venv/venv1/Lib/site-packages/google/api/consumer_pb2.py +6 -3
  35. py2docfx/venv/venv1/Lib/site-packages/google/api/context_pb2.py +6 -3
  36. py2docfx/venv/venv1/Lib/site-packages/google/api/control_pb2.py +6 -4
  37. py2docfx/venv/venv1/Lib/site-packages/google/api/distribution_pb2.py +7 -5
  38. py2docfx/venv/venv1/Lib/site-packages/google/api/documentation_pb2.py +6 -3
  39. py2docfx/venv/venv1/Lib/site-packages/google/api/endpoint_pb2.py +6 -3
  40. py2docfx/venv/venv1/Lib/site-packages/google/api/error_reason_pb2.py +6 -3
  41. py2docfx/venv/venv1/Lib/site-packages/google/api/field_behavior_pb2.py +8 -6
  42. py2docfx/venv/venv1/Lib/site-packages/google/api/field_info_pb2.py +6 -4
  43. py2docfx/venv/venv1/Lib/site-packages/google/api/http_pb2.py +7 -4
  44. py2docfx/venv/venv1/Lib/site-packages/google/api/httpbody_pb2.py +6 -4
  45. py2docfx/venv/venv1/Lib/site-packages/google/api/label_pb2.py +7 -4
  46. py2docfx/venv/venv1/Lib/site-packages/google/api/launch_stage_pb2.py +6 -3
  47. py2docfx/venv/venv1/Lib/site-packages/google/api/log_pb2.py +6 -4
  48. py2docfx/venv/venv1/Lib/site-packages/google/api/logging_pb2.py +6 -3
  49. py2docfx/venv/venv1/Lib/site-packages/google/api/metric_pb2.py +12 -9
  50. py2docfx/venv/venv1/Lib/site-packages/google/api/monitored_resource_pb2.py +15 -10
  51. py2docfx/venv/venv1/Lib/site-packages/google/api/monitoring_pb2.py +6 -3
  52. py2docfx/venv/venv1/Lib/site-packages/google/api/policy_pb2.py +7 -5
  53. py2docfx/venv/venv1/Lib/site-packages/google/api/quota_pb2.py +10 -7
  54. py2docfx/venv/venv1/Lib/site-packages/google/api/resource_pb2.py +7 -5
  55. py2docfx/venv/venv1/Lib/site-packages/google/api/routing_pb2.py +6 -4
  56. py2docfx/venv/venv1/Lib/site-packages/google/api/service_pb2.py +15 -12
  57. py2docfx/venv/venv1/Lib/site-packages/google/api/source_info_pb2.py +6 -4
  58. py2docfx/venv/venv1/Lib/site-packages/google/api/system_parameter_pb2.py +6 -3
  59. py2docfx/venv/venv1/Lib/site-packages/google/api/usage_pb2.py +6 -3
  60. py2docfx/venv/venv1/Lib/site-packages/google/api/visibility_pb2.py +7 -5
  61. py2docfx/venv/venv1/Lib/site-packages/google/cloud/extended_operations_pb2.py +6 -4
  62. py2docfx/venv/venv1/Lib/site-packages/google/cloud/location/locations_pb2.py +18 -13
  63. py2docfx/venv/venv1/Lib/site-packages/google/gapic/metadata/gapic_metadata_pb2.py +31 -26
  64. py2docfx/venv/venv1/Lib/site-packages/google/logging/type/http_request_pb2.py +6 -4
  65. py2docfx/venv/venv1/Lib/site-packages/google/logging/type/log_severity_pb2.py +6 -3
  66. py2docfx/venv/venv1/Lib/site-packages/google/longrunning/operations_grpc.py +2 -1
  67. py2docfx/venv/venv1/Lib/site-packages/google/longrunning/operations_grpc_pb2.py +11 -10
  68. py2docfx/venv/venv1/Lib/site-packages/google/longrunning/operations_pb2.py +20 -17
  69. py2docfx/venv/venv1/Lib/site-packages/google/longrunning/operations_pb2_grpc.py +1 -2
  70. py2docfx/venv/venv1/Lib/site-packages/google/longrunning/operations_proto.py +2 -1
  71. py2docfx/venv/venv1/Lib/site-packages/google/longrunning/operations_proto_pb2.py +22 -19
  72. py2docfx/venv/venv1/Lib/site-packages/google/rpc/code_pb2.py +6 -3
  73. py2docfx/venv/venv1/Lib/site-packages/google/rpc/context/attribute_context_pb2.py +20 -16
  74. py2docfx/venv/venv1/Lib/site-packages/google/rpc/context/audit_context_pb2.py +7 -5
  75. py2docfx/venv/venv1/Lib/site-packages/google/rpc/error_details_pb2.py +21 -19
  76. py2docfx/venv/venv1/Lib/site-packages/google/rpc/http_pb2.py +6 -3
  77. py2docfx/venv/venv1/Lib/site-packages/google/rpc/status_pb2.py +6 -4
  78. py2docfx/venv/venv1/Lib/site-packages/google/type/calendar_period_pb2.py +6 -3
  79. py2docfx/venv/venv1/Lib/site-packages/google/type/color_pb2.py +6 -4
  80. py2docfx/venv/venv1/Lib/site-packages/google/type/date_pb2.py +6 -3
  81. py2docfx/venv/venv1/Lib/site-packages/google/type/datetime_pb2.py +6 -4
  82. py2docfx/venv/venv1/Lib/site-packages/google/type/dayofweek_pb2.py +6 -3
  83. py2docfx/venv/venv1/Lib/site-packages/google/type/decimal_pb2.py +6 -3
  84. py2docfx/venv/venv1/Lib/site-packages/google/type/expr_pb2.py +6 -3
  85. py2docfx/venv/venv1/Lib/site-packages/google/type/fraction_pb2.py +6 -3
  86. py2docfx/venv/venv1/Lib/site-packages/google/type/interval_pb2.py +6 -4
  87. py2docfx/venv/venv1/Lib/site-packages/google/type/latlng_pb2.py +6 -3
  88. py2docfx/venv/venv1/Lib/site-packages/google/type/localized_text_pb2.py +6 -3
  89. py2docfx/venv/venv1/Lib/site-packages/google/type/money_pb2.py +6 -3
  90. py2docfx/venv/venv1/Lib/site-packages/google/type/month_pb2.py +6 -3
  91. py2docfx/venv/venv1/Lib/site-packages/google/type/phone_number_pb2.py +6 -3
  92. py2docfx/venv/venv1/Lib/site-packages/google/type/postal_address_pb2.py +6 -3
  93. py2docfx/venv/venv1/Lib/site-packages/google/type/quaternion_pb2.py +6 -3
  94. py2docfx/venv/venv1/Lib/site-packages/google/type/timeofday_pb2.py +6 -3
  95. py2docfx/venv/venv1/Lib/site-packages/psutil/__init__.py +122 -201
  96. py2docfx/venv/venv1/Lib/site-packages/psutil/_common.py +84 -128
  97. py2docfx/venv/venv1/Lib/site-packages/psutil/_psaix.py +24 -38
  98. py2docfx/venv/venv1/Lib/site-packages/psutil/_psbsd.py +44 -58
  99. py2docfx/venv/venv1/Lib/site-packages/psutil/_pslinux.py +170 -254
  100. py2docfx/venv/venv1/Lib/site-packages/psutil/_psosx.py +8 -16
  101. py2docfx/venv/venv1/Lib/site-packages/psutil/_psposix.py +13 -49
  102. py2docfx/venv/venv1/Lib/site-packages/psutil/_pssunos.py +41 -60
  103. py2docfx/venv/venv1/Lib/site-packages/psutil/_pswindows.py +75 -145
  104. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/__init__.py +105 -193
  105. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_aix.py +2 -2
  106. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_bsd.py +27 -26
  107. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_connections.py +16 -17
  108. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_contracts.py +5 -19
  109. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_linux.py +153 -211
  110. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_memleaks.py +0 -6
  111. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_misc.py +22 -207
  112. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_osx.py +9 -4
  113. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_posix.py +8 -15
  114. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_process.py +104 -184
  115. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_process_all.py +28 -36
  116. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_scripts.py +240 -0
  117. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_sunos.py +1 -1
  118. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_system.py +44 -50
  119. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_testutils.py +23 -33
  120. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_unicode.py +8 -67
  121. py2docfx/venv/venv1/Lib/site-packages/psutil/tests/test_windows.py +32 -52
  122. {py2docfx-0.1.11rc1981066.dist-info → py2docfx-0.1.11rc1996319.dist-info}/METADATA +1 -1
  123. {py2docfx-0.1.11rc1981066.dist-info → py2docfx-0.1.11rc1996319.dist-info}/RECORD +125 -125
  124. py2docfx/venv/venv1/Lib/site-packages/psutil/_compat.py +0 -477
  125. {py2docfx-0.1.11rc1981066.dist-info → py2docfx-0.1.11rc1996319.dist-info}/WHEEL +0 -0
  126. {py2docfx-0.1.11rc1981066.dist-info → py2docfx-0.1.11rc1996319.dist-info}/top_level.txt +0 -0
@@ -3,6 +3,7 @@
3
3
  # Licensed under the MIT License.
4
4
  # ------------------------------------
5
5
  import asyncio
6
+ import logging
6
7
  import os
7
8
  import shutil
8
9
  import sys
@@ -23,7 +24,17 @@ from ..._credentials.azure_cli import (
23
24
  parse_token,
24
25
  sanitize_output,
25
26
  )
26
- from ..._internal import _scopes_to_resource, resolve_tenant, within_dac, validate_tenant_id, validate_scope
27
+ from ..._internal import (
28
+ _scopes_to_resource,
29
+ resolve_tenant,
30
+ within_dac,
31
+ validate_tenant_id,
32
+ validate_scope,
33
+ validate_subscription,
34
+ )
35
+
36
+
37
+ _LOGGER = logging.getLogger(__name__)
27
38
 
28
39
 
29
40
  class AzureCliCredential(AsyncContextManager):
@@ -32,6 +43,8 @@ class AzureCliCredential(AsyncContextManager):
32
43
  This requires previously logging in to Azure via "az login", and will use the CLI's currently logged in identity.
33
44
 
34
45
  :keyword str tenant_id: Optional tenant to include in the token request.
46
+ :keyword str subscription: The name or ID of a subscription. Set this to acquire tokens for an account other
47
+ than the Azure CLI's current account.
35
48
  :keyword List[str] additionally_allowed_tenants: Specifies tenants in addition to the specified "tenant_id"
36
49
  for which the credential may acquire tokens. Add the wildcard value "*" to allow the credential to
37
50
  acquire tokens for any tenant the application can access.
@@ -51,12 +64,17 @@ class AzureCliCredential(AsyncContextManager):
51
64
  self,
52
65
  *,
53
66
  tenant_id: str = "",
67
+ subscription: Optional[str] = None,
54
68
  additionally_allowed_tenants: Optional[List[str]] = None,
55
69
  process_timeout: int = 10,
56
70
  ) -> None:
57
71
  if tenant_id:
58
72
  validate_tenant_id(tenant_id)
73
+ if subscription:
74
+ validate_subscription(subscription)
75
+
59
76
  self.tenant_id = tenant_id
77
+ self.subscription = subscription
60
78
  self._additionally_allowed_tenants = additionally_allowed_tenants or []
61
79
  self._process_timeout = process_timeout
62
80
 
@@ -131,7 +149,7 @@ class AzureCliCredential(AsyncContextManager):
131
149
  validate_scope(scope)
132
150
 
133
151
  resource = _scopes_to_resource(*scopes)
134
- command = COMMAND_LINE.format(resource)
152
+ command_args = COMMAND_LINE + ["--resource", resource]
135
153
  tenant = resolve_tenant(
136
154
  default_tenant=self.tenant_id,
137
155
  tenant_id=tenant_id,
@@ -140,8 +158,11 @@ class AzureCliCredential(AsyncContextManager):
140
158
  )
141
159
 
142
160
  if tenant:
143
- command += " --tenant " + tenant
144
- output = await _run_command(command, self._process_timeout)
161
+ command_args += ["--tenant", tenant]
162
+
163
+ if self.subscription:
164
+ command_args += ["--subscription", self.subscription]
165
+ output = await _run_command(command_args, self._process_timeout)
145
166
 
146
167
  token = parse_token(output)
147
168
  if not token:
@@ -161,19 +182,16 @@ class AzureCliCredential(AsyncContextManager):
161
182
  """Calling this method is unnecessary"""
162
183
 
163
184
 
164
- async def _run_command(command: str, timeout: int) -> str:
185
+ async def _run_command(command_args: List[str], timeout: int) -> str:
165
186
  # Ensure executable exists in PATH first. This avoids a subprocess call that would fail anyway.
166
- if shutil.which(EXECUTABLE_NAME) is None:
187
+ az_path = shutil.which(EXECUTABLE_NAME)
188
+ if not az_path:
167
189
  raise CredentialUnavailableError(message=CLI_NOT_FOUND)
168
190
 
169
- if sys.platform.startswith("win"):
170
- args = ("cmd", "/c " + command)
171
- else:
172
- args = ("/bin/sh", "-c", command)
173
-
191
+ args = [az_path] + command_args
174
192
  working_directory = get_safe_working_dir()
175
-
176
193
  try:
194
+ _LOGGER.debug("Executing subprocess with the following arguments %s", args)
177
195
  proc = await asyncio.create_subprocess_exec(
178
196
  *args,
179
197
  stdout=asyncio.subprocess.PIPE,
@@ -89,7 +89,7 @@ class DefaultAzureCredential(ChainedTokenCredential):
89
89
  :caption: Create a DefaultAzureCredential.
90
90
  """
91
91
 
92
- def __init__(self, **kwargs: Any) -> None: # pylint: disable=too-many-statements, too-many-locals
92
+ def __init__(self, **kwargs: Any) -> None: # pylint: disable=too-many-statements
93
93
  if "tenant_id" in kwargs:
94
94
  raise TypeError("'tenant_id' is not supported in DefaultAzureCredential.")
95
95
 
@@ -145,7 +145,7 @@ class DefaultAzureCredential(ChainedTokenCredential):
145
145
  WorkloadIdentityCredential(
146
146
  client_id=cast(str, client_id),
147
147
  tenant_id=workload_identity_tenant_id,
148
- file=os.environ[EnvironmentVariables.AZURE_FEDERATED_TOKEN_FILE],
148
+ token_file_path=os.environ[EnvironmentVariables.AZURE_FEDERATED_TOKEN_FILE],
149
149
  **kwargs
150
150
  )
151
151
  )
@@ -37,7 +37,7 @@ class ImdsCredential(AsyncContextManager, GetTokenMixin):
37
37
  async def _acquire_token_silently(self, *scopes: str, **kwargs: Any) -> Optional[AccessTokenInfo]:
38
38
  return self._client.get_cached_token(*scopes)
39
39
 
40
- async def _request_token(self, *scopes: str, **kwargs: Any) -> AccessTokenInfo: # pylint:disable=unused-argument
40
+ async def _request_token(self, *scopes: str, **kwargs: Any) -> AccessTokenInfo:
41
41
 
42
42
  if within_credential_chain.get() and not self._endpoint_available:
43
43
  # If within a chain (e.g. DefaultAzureCredential), we do a quick check to see if the IMDS endpoint
@@ -49,7 +49,7 @@ class ImdsCredential(AsyncContextManager, GetTokenMixin):
49
49
  # IMDS responded
50
50
  _check_forbidden_response(ex)
51
51
  self._endpoint_available = True
52
- except Exception as ex: # pylint:disable=broad-except
52
+ except Exception as ex:
53
53
  error_message = (
54
54
  "ManagedIdentityCredential authentication unavailable, no response from the IMDS endpoint."
55
55
  )
@@ -78,7 +78,7 @@ class ImdsCredential(AsyncContextManager, GetTokenMixin):
78
78
  _check_forbidden_response(ex)
79
79
  # any other error is unexpected
80
80
  raise ClientAuthenticationError(message=ex.message, response=ex.response) from ex
81
- except Exception as ex: # pylint:disable=broad-except
81
+ except Exception as ex:
82
82
  # if anything else was raised, assume the endpoint is unavailable
83
83
  error_message = "ManagedIdentityCredential authentication unavailable, no response from the IMDS endpoint."
84
84
  raise CredentialUnavailableError(error_message) from ex
@@ -96,7 +96,7 @@ class ManagedIdentityCredential(AsyncContextManager):
96
96
  self._credential = WorkloadIdentityCredential(
97
97
  tenant_id=os.environ[EnvironmentVariables.AZURE_TENANT_ID],
98
98
  client_id=workload_client_id,
99
- file=os.environ[EnvironmentVariables.AZURE_FEDERATED_TOKEN_FILE],
99
+ token_file_path=os.environ[EnvironmentVariables.AZURE_FEDERATED_TOKEN_FILE],
100
100
  **kwargs
101
101
  )
102
102
  else:
@@ -21,24 +21,32 @@ def log_get_token_async(fn):
21
21
  try:
22
22
  token = await fn(*args, **kwargs)
23
23
  _LOGGER.log(
24
- logging.DEBUG if within_credential_chain.get() else logging.INFO, "%s succeeded", fn.__qualname__
24
+ logging.DEBUG if within_credential_chain.get() else logging.INFO,
25
+ "%s succeeded",
26
+ fn.__qualname__,
25
27
  )
26
28
  if _LOGGER.isEnabledFor(logging.DEBUG):
27
29
  try:
28
- base64_meta_data = token.token.split(".")[1].encode("utf-8") + b"=="
29
- json_bytes = base64.decodebytes(base64_meta_data)
30
+ base64_meta_data = token.token.split(".")[1]
31
+ padding_needed = -len(base64_meta_data) % 4
32
+ if padding_needed:
33
+ base64_meta_data += "=" * padding_needed
34
+ json_bytes = base64.urlsafe_b64decode(base64_meta_data)
30
35
  json_string = json_bytes.decode("utf-8")
31
36
  json_dict = json.loads(json_string)
32
37
  upn = json_dict.get("upn", "unavailableUpn")
38
+ appid = json_dict.get("appid", "<unavailable>")
39
+ tid = json_dict.get("tid", "<unavailable>")
40
+ oid = json_dict.get("oid", "<unavailable>")
33
41
  log_string = (
34
- "[Authenticated account] Client ID: {}. Tenant ID: {}. User Principal Name: {}. "
35
- "Object ID (user): {}".format(json_dict["appid"], json_dict["tid"], upn, json_dict["oid"])
42
+ f"[Authenticated account] Client ID: {appid}. "
43
+ f"Tenant ID: {tid}. User Principal Name: {upn}. Object ID (user): {oid}"
36
44
  )
37
45
  _LOGGER.debug(log_string)
38
46
  except Exception as ex: # pylint: disable=broad-except
39
47
  _LOGGER.debug("Failed to log the account information: %s", ex, exc_info=True)
40
48
  return token
41
- except Exception as ex: # pylint: disable=broad-except
49
+ except Exception as ex:
42
50
  _LOGGER.log(
43
51
  logging.DEBUG if within_credential_chain.get() else logging.WARNING,
44
52
  "%s failed: %s",
@@ -67,7 +75,7 @@ def wrap_exceptions(fn):
67
75
  return result
68
76
  except ClientAuthenticationError:
69
77
  raise
70
- except Exception as ex: # pylint:disable=broad-except
78
+ except Exception as ex:
71
79
  auth_error = ClientAuthenticationError(message="Authentication failed: {}".format(ex))
72
80
  raise auth_error from ex
73
81
 
@@ -15,7 +15,7 @@ from ..._internal.pipeline import build_async_pipeline
15
15
  T = TypeVar("T", bound="AsyncManagedIdentityClient")
16
16
 
17
17
 
18
- # pylint:disable=async-client-bad-name,missing-client-constructor-parameter-credential
18
+ # pylint:disable=async-client-bad-name
19
19
  class AsyncManagedIdentityClient(AsyncContextManager, ManagedIdentityClientBase):
20
20
  async def __aenter__(self: T) -> T:
21
21
  await self._pipeline.__aenter__()
@@ -10,7 +10,7 @@ __all__ = [
10
10
  "__version__",
11
11
  ]
12
12
 
13
- __version__ = "44.0.0"
13
+ __version__ = "44.0.1"
14
14
 
15
15
 
16
16
  __author__ = "The Python Cryptographic Authority and individual contributors"
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2025 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
16
16
 
17
17
  # Generated by the protocol buffer compiler. DO NOT EDIT!
18
18
  # source: google/api/annotations.proto
19
+ # Protobuf Python Version: 4.25.3
19
20
  """Generated protocol buffer code."""
20
21
  from google.protobuf import descriptor as _descriptor
21
22
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -27,9 +28,9 @@ from google.protobuf.internal import builder as _builder
27
28
  _sym_db = _symbol_database.Default()
28
29
 
29
30
 
30
- from google.api import http_pb2 as google_dot_api_dot_http__pb2
31
31
  from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
32
32
 
33
+ from google.api import http_pb2 as google_dot_api_dot_http__pb2
33
34
 
34
35
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
35
36
  b'\n\x1cgoogle/api/annotations.proto\x12\ngoogle.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:E\n\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0\xca\xbc" \x01(\x0b\x32\x14.google.api.HttpRuleBn\n\x0e\x63om.google.apiB\x10\x41nnotationsProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3'
@@ -41,6 +42,8 @@ _builder.BuildTopDescriptorsAndMessages(
41
42
  DESCRIPTOR, "google.api.annotations_pb2", _globals
42
43
  )
43
44
  if _descriptor._USE_C_DESCRIPTORS == False:
44
- DESCRIPTOR._options = None
45
- DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\020AnnotationsProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\004GAPI"
45
+ _globals["DESCRIPTOR"]._options = None
46
+ _globals[
47
+ "DESCRIPTOR"
48
+ ]._serialized_options = b"\n\016com.google.apiB\020AnnotationsProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\004GAPI"
46
49
  # @@protoc_insertion_point(module_scope)
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2025 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
16
16
 
17
17
  # Generated by the protocol buffer compiler. DO NOT EDIT!
18
18
  # source: google/api/auth.proto
19
+ # Protobuf Python Version: 4.25.3
19
20
  """Generated protocol buffer code."""
20
21
  from google.protobuf import descriptor as _descriptor
21
22
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -35,8 +36,10 @@ _globals = globals()
35
36
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
36
37
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.auth_pb2", _globals)
37
38
  if _descriptor._USE_C_DESCRIPTORS == False:
38
- DESCRIPTOR._options = None
39
- DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\tAuthProtoP\001ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\242\002\004GAPI"
39
+ _globals["DESCRIPTOR"]._options = None
40
+ _globals[
41
+ "DESCRIPTOR"
42
+ ]._serialized_options = b"\n\016com.google.apiB\tAuthProtoP\001ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\242\002\004GAPI"
40
43
  _globals["_AUTHENTICATION"]._serialized_start = 37
41
44
  _globals["_AUTHENTICATION"]._serialized_end = 145
42
45
  _globals["_AUTHENTICATIONRULE"]._serialized_start = 148
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2025 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
16
16
 
17
17
  # Generated by the protocol buffer compiler. DO NOT EDIT!
18
18
  # source: google/api/backend.proto
19
+ # Protobuf Python Version: 4.25.3
19
20
  """Generated protocol buffer code."""
20
21
  from google.protobuf import descriptor as _descriptor
21
22
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -35,12 +36,18 @@ _globals = globals()
35
36
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
36
37
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.backend_pb2", _globals)
37
38
  if _descriptor._USE_C_DESCRIPTORS == False:
38
- DESCRIPTOR._options = None
39
- DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\014BackendProtoP\001ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\242\002\004GAPI"
40
- _BACKENDRULE_OVERRIDESBYREQUESTPROTOCOLENTRY._options = None
41
- _BACKENDRULE_OVERRIDESBYREQUESTPROTOCOLENTRY._serialized_options = b"8\001"
42
- _BACKENDRULE.fields_by_name["min_deadline"]._options = None
43
- _BACKENDRULE.fields_by_name["min_deadline"]._serialized_options = b"\030\001"
39
+ _globals["DESCRIPTOR"]._options = None
40
+ _globals[
41
+ "DESCRIPTOR"
42
+ ]._serialized_options = b"\n\016com.google.apiB\014BackendProtoP\001ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\242\002\004GAPI"
43
+ _globals["_BACKENDRULE_OVERRIDESBYREQUESTPROTOCOLENTRY"]._options = None
44
+ _globals[
45
+ "_BACKENDRULE_OVERRIDESBYREQUESTPROTOCOLENTRY"
46
+ ]._serialized_options = b"8\001"
47
+ _globals["_BACKENDRULE"].fields_by_name["min_deadline"]._options = None
48
+ _globals["_BACKENDRULE"].fields_by_name[
49
+ "min_deadline"
50
+ ]._serialized_options = b"\030\001"
44
51
  _globals["_BACKEND"]._serialized_start = 40
45
52
  _globals["_BACKEND"]._serialized_end = 89
46
53
  _globals["_BACKENDRULE"]._serialized_start = 92
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2025 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
16
16
 
17
17
  # Generated by the protocol buffer compiler. DO NOT EDIT!
18
18
  # source: google/api/billing.proto
19
+ # Protobuf Python Version: 4.25.3
19
20
  """Generated protocol buffer code."""
20
21
  from google.protobuf import descriptor as _descriptor
21
22
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -35,8 +36,10 @@ _globals = globals()
35
36
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
36
37
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.billing_pb2", _globals)
37
38
  if _descriptor._USE_C_DESCRIPTORS == False:
38
- DESCRIPTOR._options = None
39
- DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\014BillingProtoP\001ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\242\002\004GAPI"
39
+ _globals["DESCRIPTOR"]._options = None
40
+ _globals[
41
+ "DESCRIPTOR"
42
+ ]._serialized_options = b"\n\016com.google.apiB\014BillingProtoP\001ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\242\002\004GAPI"
40
43
  _globals["_BILLING"]._serialized_start = 41
41
44
  _globals["_BILLING"]._serialized_end = 188
42
45
  _globals["_BILLING_BILLINGDESTINATION"]._serialized_start = 123
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2025 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
16
16
 
17
17
  # Generated by the protocol buffer compiler. DO NOT EDIT!
18
18
  # source: google/api/client.proto
19
+ # Protobuf Python Version: 4.25.3
19
20
  """Generated protocol buffer code."""
20
21
  from google.protobuf import descriptor as _descriptor
21
22
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -27,35 +28,41 @@ from google.protobuf.internal import builder as _builder
27
28
  _sym_db = _symbol_database.Default()
28
29
 
29
30
 
30
- from google.api import launch_stage_pb2 as google_dot_api_dot_launch__stage__pb2
31
31
  from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
32
32
  from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
33
33
 
34
+ from google.api import launch_stage_pb2 as google_dot_api_dot_launch__stage__pb2
34
35
 
35
36
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
36
- b'\n\x17google/api/client.proto\x12\ngoogle.api\x1a\x1dgoogle/api/launch_stage.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto"\xbe\x01\n\x16\x43ommonLanguageSettings\x12\x1e\n\x12reference_docs_uri\x18\x01 \x01(\tB\x02\x18\x01\x12:\n\x0c\x64\x65stinations\x18\x02 \x03(\x0e\x32$.google.api.ClientLibraryDestination\x12H\n\x1aselective_gapic_generation\x18\x03 \x01(\x0b\x32$.google.api.SelectiveGapicGeneration"\xfb\x03\n\x15\x43lientLibrarySettings\x12\x0f\n\x07version\x18\x01 \x01(\t\x12-\n\x0claunch_stage\x18\x02 \x01(\x0e\x32\x17.google.api.LaunchStage\x12\x1a\n\x12rest_numeric_enums\x18\x03 \x01(\x08\x12/\n\rjava_settings\x18\x15 \x01(\x0b\x32\x18.google.api.JavaSettings\x12-\n\x0c\x63pp_settings\x18\x16 \x01(\x0b\x32\x17.google.api.CppSettings\x12-\n\x0cphp_settings\x18\x17 \x01(\x0b\x32\x17.google.api.PhpSettings\x12\x33\n\x0fpython_settings\x18\x18 \x01(\x0b\x32\x1a.google.api.PythonSettings\x12/\n\rnode_settings\x18\x19 \x01(\x0b\x32\x18.google.api.NodeSettings\x12\x33\n\x0f\x64otnet_settings\x18\x1a \x01(\x0b\x32\x1a.google.api.DotnetSettings\x12/\n\rruby_settings\x18\x1b \x01(\x0b\x32\x18.google.api.RubySettings\x12+\n\x0bgo_settings\x18\x1c \x01(\x0b\x32\x16.google.api.GoSettings"\xa8\x03\n\nPublishing\x12\x33\n\x0fmethod_settings\x18\x02 \x03(\x0b\x32\x1a.google.api.MethodSettings\x12\x15\n\rnew_issue_uri\x18\x65 \x01(\t\x12\x19\n\x11\x64ocumentation_uri\x18\x66 \x01(\t\x12\x16\n\x0e\x61pi_short_name\x18g \x01(\t\x12\x14\n\x0cgithub_label\x18h \x01(\t\x12\x1e\n\x16\x63odeowner_github_teams\x18i \x03(\t\x12\x16\n\x0e\x64oc_tag_prefix\x18j \x01(\t\x12;\n\x0corganization\x18k \x01(\x0e\x32%.google.api.ClientLibraryOrganization\x12;\n\x10library_settings\x18m \x03(\x0b\x32!.google.api.ClientLibrarySettings\x12)\n!proto_reference_documentation_uri\x18n \x01(\t\x12(\n rest_reference_documentation_uri\x18o \x01(\t"\xe3\x01\n\x0cJavaSettings\x12\x17\n\x0flibrary_package\x18\x01 \x01(\t\x12L\n\x13service_class_names\x18\x02 \x03(\x0b\x32/.google.api.JavaSettings.ServiceClassNamesEntry\x12\x32\n\x06\x63ommon\x18\x03 \x01(\x0b\x32".google.api.CommonLanguageSettings\x1a\x38\n\x16ServiceClassNamesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"A\n\x0b\x43ppSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettings"A\n\x0bPhpSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettings"\xf4\x01\n\x0ePythonSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettings\x12N\n\x15\x65xperimental_features\x18\x02 \x01(\x0b\x32/.google.api.PythonSettings.ExperimentalFeatures\x1a^\n\x14\x45xperimentalFeatures\x12\x1d\n\x15rest_async_io_enabled\x18\x01 \x01(\x08\x12\'\n\x1fprotobuf_pythonic_types_enabled\x18\x02 \x01(\x08"B\n\x0cNodeSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettings"\xaa\x03\n\x0e\x44otnetSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettings\x12I\n\x10renamed_services\x18\x02 \x03(\x0b\x32/.google.api.DotnetSettings.RenamedServicesEntry\x12K\n\x11renamed_resources\x18\x03 \x03(\x0b\x32\x30.google.api.DotnetSettings.RenamedResourcesEntry\x12\x19\n\x11ignored_resources\x18\x04 \x03(\t\x12 \n\x18\x66orced_namespace_aliases\x18\x05 \x03(\t\x12\x1e\n\x16handwritten_signatures\x18\x06 \x03(\t\x1a\x36\n\x14RenamedServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15RenamedResourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"B\n\x0cRubySettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettings"@\n\nGoSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettings"\xcf\x02\n\x0eMethodSettings\x12\x10\n\x08selector\x18\x01 \x01(\t\x12<\n\x0clong_running\x18\x02 \x01(\x0b\x32&.google.api.MethodSettings.LongRunning\x12\x1d\n\x15\x61uto_populated_fields\x18\x03 \x03(\t\x1a\xcd\x01\n\x0bLongRunning\x12\x35\n\x12initial_poll_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1d\n\x15poll_delay_multiplier\x18\x02 \x01(\x02\x12\x31\n\x0emax_poll_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12total_poll_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration"+\n\x18SelectiveGapicGeneration\x12\x0f\n\x07methods\x18\x01 \x03(\t*\xa3\x01\n\x19\x43lientLibraryOrganization\x12+\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x43LOUD\x10\x01\x12\x07\n\x03\x41\x44S\x10\x02\x12\n\n\x06PHOTOS\x10\x03\x12\x0f\n\x0bSTREET_VIEW\x10\x04\x12\x0c\n\x08SHOPPING\x10\x05\x12\x07\n\x03GEO\x10\x06\x12\x11\n\rGENERATIVE_AI\x10\x07*g\n\x18\x43lientLibraryDestination\x12*\n&CLIENT_LIBRARY_DESTINATION_UNSPECIFIED\x10\x00\x12\n\n\x06GITHUB\x10\n\x12\x13\n\x0fPACKAGE_MANAGER\x10\x14:9\n\x10method_signature\x12\x1e.google.protobuf.MethodOptions\x18\x9b\x08 \x03(\t:6\n\x0c\x64\x65\x66\x61ult_host\x12\x1f.google.protobuf.ServiceOptions\x18\x99\x08 \x01(\t:6\n\x0coauth_scopes\x12\x1f.google.protobuf.ServiceOptions\x18\x9a\x08 \x01(\t:8\n\x0b\x61pi_version\x12\x1f.google.protobuf.ServiceOptions\x18\xc1\xba\xab\xfa\x01 \x01(\tBi\n\x0e\x63om.google.apiB\x0b\x43lientProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3'
37
+ b'\n\x17google/api/client.proto\x12\ngoogle.api\x1a\x1dgoogle/api/launch_stage.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto"\xbe\x01\n\x16\x43ommonLanguageSettings\x12\x1e\n\x12reference_docs_uri\x18\x01 \x01(\tB\x02\x18\x01\x12:\n\x0c\x64\x65stinations\x18\x02 \x03(\x0e\x32$.google.api.ClientLibraryDestination\x12H\n\x1aselective_gapic_generation\x18\x03 \x01(\x0b\x32$.google.api.SelectiveGapicGeneration"\xfb\x03\n\x15\x43lientLibrarySettings\x12\x0f\n\x07version\x18\x01 \x01(\t\x12-\n\x0claunch_stage\x18\x02 \x01(\x0e\x32\x17.google.api.LaunchStage\x12\x1a\n\x12rest_numeric_enums\x18\x03 \x01(\x08\x12/\n\rjava_settings\x18\x15 \x01(\x0b\x32\x18.google.api.JavaSettings\x12-\n\x0c\x63pp_settings\x18\x16 \x01(\x0b\x32\x17.google.api.CppSettings\x12-\n\x0cphp_settings\x18\x17 \x01(\x0b\x32\x17.google.api.PhpSettings\x12\x33\n\x0fpython_settings\x18\x18 \x01(\x0b\x32\x1a.google.api.PythonSettings\x12/\n\rnode_settings\x18\x19 \x01(\x0b\x32\x18.google.api.NodeSettings\x12\x33\n\x0f\x64otnet_settings\x18\x1a \x01(\x0b\x32\x1a.google.api.DotnetSettings\x12/\n\rruby_settings\x18\x1b \x01(\x0b\x32\x18.google.api.RubySettings\x12+\n\x0bgo_settings\x18\x1c \x01(\x0b\x32\x16.google.api.GoSettings"\xa8\x03\n\nPublishing\x12\x33\n\x0fmethod_settings\x18\x02 \x03(\x0b\x32\x1a.google.api.MethodSettings\x12\x15\n\rnew_issue_uri\x18\x65 \x01(\t\x12\x19\n\x11\x64ocumentation_uri\x18\x66 \x01(\t\x12\x16\n\x0e\x61pi_short_name\x18g \x01(\t\x12\x14\n\x0cgithub_label\x18h \x01(\t\x12\x1e\n\x16\x63odeowner_github_teams\x18i \x03(\t\x12\x16\n\x0e\x64oc_tag_prefix\x18j \x01(\t\x12;\n\x0corganization\x18k \x01(\x0e\x32%.google.api.ClientLibraryOrganization\x12;\n\x10library_settings\x18m \x03(\x0b\x32!.google.api.ClientLibrarySettings\x12)\n!proto_reference_documentation_uri\x18n \x01(\t\x12(\n rest_reference_documentation_uri\x18o \x01(\t"\xe3\x01\n\x0cJavaSettings\x12\x17\n\x0flibrary_package\x18\x01 \x01(\t\x12L\n\x13service_class_names\x18\x02 \x03(\x0b\x32/.google.api.JavaSettings.ServiceClassNamesEntry\x12\x32\n\x06\x63ommon\x18\x03 \x01(\x0b\x32".google.api.CommonLanguageSettings\x1a\x38\n\x16ServiceClassNamesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"A\n\x0b\x43ppSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettings"A\n\x0bPhpSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettings"\x9b\x02\n\x0ePythonSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettings\x12N\n\x15\x65xperimental_features\x18\x02 \x01(\x0b\x32/.google.api.PythonSettings.ExperimentalFeatures\x1a\x84\x01\n\x14\x45xperimentalFeatures\x12\x1d\n\x15rest_async_io_enabled\x18\x01 \x01(\x08\x12\'\n\x1fprotobuf_pythonic_types_enabled\x18\x02 \x01(\x08\x12$\n\x1cunversioned_package_disabled\x18\x03 \x01(\x08"B\n\x0cNodeSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettings"\xaa\x03\n\x0e\x44otnetSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettings\x12I\n\x10renamed_services\x18\x02 \x03(\x0b\x32/.google.api.DotnetSettings.RenamedServicesEntry\x12K\n\x11renamed_resources\x18\x03 \x03(\x0b\x32\x30.google.api.DotnetSettings.RenamedResourcesEntry\x12\x19\n\x11ignored_resources\x18\x04 \x03(\t\x12 \n\x18\x66orced_namespace_aliases\x18\x05 \x03(\t\x12\x1e\n\x16handwritten_signatures\x18\x06 \x03(\t\x1a\x36\n\x14RenamedServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15RenamedResourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"B\n\x0cRubySettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettings"\xbf\x01\n\nGoSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32".google.api.CommonLanguageSettings\x12\x45\n\x10renamed_services\x18\x02 \x03(\x0b\x32+.google.api.GoSettings.RenamedServicesEntry\x1a\x36\n\x14RenamedServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xcf\x02\n\x0eMethodSettings\x12\x10\n\x08selector\x18\x01 \x01(\t\x12<\n\x0clong_running\x18\x02 \x01(\x0b\x32&.google.api.MethodSettings.LongRunning\x12\x1d\n\x15\x61uto_populated_fields\x18\x03 \x03(\t\x1a\xcd\x01\n\x0bLongRunning\x12\x35\n\x12initial_poll_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1d\n\x15poll_delay_multiplier\x18\x02 \x01(\x02\x12\x31\n\x0emax_poll_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12total_poll_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration"Q\n\x18SelectiveGapicGeneration\x12\x0f\n\x07methods\x18\x01 \x03(\t\x12$\n\x1cgenerate_omitted_as_internal\x18\x02 \x01(\x08*\xa3\x01\n\x19\x43lientLibraryOrganization\x12+\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x43LOUD\x10\x01\x12\x07\n\x03\x41\x44S\x10\x02\x12\n\n\x06PHOTOS\x10\x03\x12\x0f\n\x0bSTREET_VIEW\x10\x04\x12\x0c\n\x08SHOPPING\x10\x05\x12\x07\n\x03GEO\x10\x06\x12\x11\n\rGENERATIVE_AI\x10\x07*g\n\x18\x43lientLibraryDestination\x12*\n&CLIENT_LIBRARY_DESTINATION_UNSPECIFIED\x10\x00\x12\n\n\x06GITHUB\x10\n\x12\x13\n\x0fPACKAGE_MANAGER\x10\x14:9\n\x10method_signature\x12\x1e.google.protobuf.MethodOptions\x18\x9b\x08 \x03(\t:6\n\x0c\x64\x65\x66\x61ult_host\x12\x1f.google.protobuf.ServiceOptions\x18\x99\x08 \x01(\t:6\n\x0coauth_scopes\x12\x1f.google.protobuf.ServiceOptions\x18\x9a\x08 \x01(\t:8\n\x0b\x61pi_version\x12\x1f.google.protobuf.ServiceOptions\x18\xc1\xba\xab\xfa\x01 \x01(\tBi\n\x0e\x63om.google.apiB\x0b\x43lientProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3'
37
38
  )
38
39
 
39
40
  _globals = globals()
40
41
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
41
42
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.client_pb2", _globals)
42
43
  if _descriptor._USE_C_DESCRIPTORS == False:
43
- DESCRIPTOR._options = None
44
- DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\013ClientProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\004GAPI"
45
- _COMMONLANGUAGESETTINGS.fields_by_name["reference_docs_uri"]._options = None
46
- _COMMONLANGUAGESETTINGS.fields_by_name[
44
+ _globals["DESCRIPTOR"]._options = None
45
+ _globals[
46
+ "DESCRIPTOR"
47
+ ]._serialized_options = b"\n\016com.google.apiB\013ClientProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\004GAPI"
48
+ _globals["_COMMONLANGUAGESETTINGS"].fields_by_name[
49
+ "reference_docs_uri"
50
+ ]._options = None
51
+ _globals["_COMMONLANGUAGESETTINGS"].fields_by_name[
47
52
  "reference_docs_uri"
48
53
  ]._serialized_options = b"\030\001"
49
- _JAVASETTINGS_SERVICECLASSNAMESENTRY._options = None
50
- _JAVASETTINGS_SERVICECLASSNAMESENTRY._serialized_options = b"8\001"
51
- _DOTNETSETTINGS_RENAMEDSERVICESENTRY._options = None
52
- _DOTNETSETTINGS_RENAMEDSERVICESENTRY._serialized_options = b"8\001"
53
- _DOTNETSETTINGS_RENAMEDRESOURCESENTRY._options = None
54
- _DOTNETSETTINGS_RENAMEDRESOURCESENTRY._serialized_options = b"8\001"
55
- _globals["_CLIENTLIBRARYORGANIZATION"]._serialized_start = 2892
56
- _globals["_CLIENTLIBRARYORGANIZATION"]._serialized_end = 3055
57
- _globals["_CLIENTLIBRARYDESTINATION"]._serialized_start = 3057
58
- _globals["_CLIENTLIBRARYDESTINATION"]._serialized_end = 3160
54
+ _globals["_JAVASETTINGS_SERVICECLASSNAMESENTRY"]._options = None
55
+ _globals["_JAVASETTINGS_SERVICECLASSNAMESENTRY"]._serialized_options = b"8\001"
56
+ _globals["_DOTNETSETTINGS_RENAMEDSERVICESENTRY"]._options = None
57
+ _globals["_DOTNETSETTINGS_RENAMEDSERVICESENTRY"]._serialized_options = b"8\001"
58
+ _globals["_DOTNETSETTINGS_RENAMEDRESOURCESENTRY"]._options = None
59
+ _globals["_DOTNETSETTINGS_RENAMEDRESOURCESENTRY"]._serialized_options = b"8\001"
60
+ _globals["_GOSETTINGS_RENAMEDSERVICESENTRY"]._options = None
61
+ _globals["_GOSETTINGS_RENAMEDSERVICESENTRY"]._serialized_options = b"8\001"
62
+ _globals["_CLIENTLIBRARYORGANIZATION"]._serialized_start = 3097
63
+ _globals["_CLIENTLIBRARYORGANIZATION"]._serialized_end = 3260
64
+ _globals["_CLIENTLIBRARYDESTINATION"]._serialized_start = 3262
65
+ _globals["_CLIENTLIBRARYDESTINATION"]._serialized_end = 3365
59
66
  _globals["_COMMONLANGUAGESETTINGS"]._serialized_start = 137
60
67
  _globals["_COMMONLANGUAGESETTINGS"]._serialized_end = 327
61
68
  _globals["_CLIENTLIBRARYSETTINGS"]._serialized_start = 330
@@ -71,25 +78,27 @@ if _descriptor._USE_C_DESCRIPTORS == False:
71
78
  _globals["_PHPSETTINGS"]._serialized_start = 1563
72
79
  _globals["_PHPSETTINGS"]._serialized_end = 1628
73
80
  _globals["_PYTHONSETTINGS"]._serialized_start = 1631
74
- _globals["_PYTHONSETTINGS"]._serialized_end = 1875
75
- _globals["_PYTHONSETTINGS_EXPERIMENTALFEATURES"]._serialized_start = 1781
76
- _globals["_PYTHONSETTINGS_EXPERIMENTALFEATURES"]._serialized_end = 1875
77
- _globals["_NODESETTINGS"]._serialized_start = 1877
78
- _globals["_NODESETTINGS"]._serialized_end = 1943
79
- _globals["_DOTNETSETTINGS"]._serialized_start = 1946
80
- _globals["_DOTNETSETTINGS"]._serialized_end = 2372
81
- _globals["_DOTNETSETTINGS_RENAMEDSERVICESENTRY"]._serialized_start = 2261
82
- _globals["_DOTNETSETTINGS_RENAMEDSERVICESENTRY"]._serialized_end = 2315
83
- _globals["_DOTNETSETTINGS_RENAMEDRESOURCESENTRY"]._serialized_start = 2317
84
- _globals["_DOTNETSETTINGS_RENAMEDRESOURCESENTRY"]._serialized_end = 2372
85
- _globals["_RUBYSETTINGS"]._serialized_start = 2374
86
- _globals["_RUBYSETTINGS"]._serialized_end = 2440
87
- _globals["_GOSETTINGS"]._serialized_start = 2442
88
- _globals["_GOSETTINGS"]._serialized_end = 2506
89
- _globals["_METHODSETTINGS"]._serialized_start = 2509
90
- _globals["_METHODSETTINGS"]._serialized_end = 2844
91
- _globals["_METHODSETTINGS_LONGRUNNING"]._serialized_start = 2639
92
- _globals["_METHODSETTINGS_LONGRUNNING"]._serialized_end = 2844
93
- _globals["_SELECTIVEGAPICGENERATION"]._serialized_start = 2846
94
- _globals["_SELECTIVEGAPICGENERATION"]._serialized_end = 2889
81
+ _globals["_PYTHONSETTINGS"]._serialized_end = 1914
82
+ _globals["_PYTHONSETTINGS_EXPERIMENTALFEATURES"]._serialized_start = 1782
83
+ _globals["_PYTHONSETTINGS_EXPERIMENTALFEATURES"]._serialized_end = 1914
84
+ _globals["_NODESETTINGS"]._serialized_start = 1916
85
+ _globals["_NODESETTINGS"]._serialized_end = 1982
86
+ _globals["_DOTNETSETTINGS"]._serialized_start = 1985
87
+ _globals["_DOTNETSETTINGS"]._serialized_end = 2411
88
+ _globals["_DOTNETSETTINGS_RENAMEDSERVICESENTRY"]._serialized_start = 2300
89
+ _globals["_DOTNETSETTINGS_RENAMEDSERVICESENTRY"]._serialized_end = 2354
90
+ _globals["_DOTNETSETTINGS_RENAMEDRESOURCESENTRY"]._serialized_start = 2356
91
+ _globals["_DOTNETSETTINGS_RENAMEDRESOURCESENTRY"]._serialized_end = 2411
92
+ _globals["_RUBYSETTINGS"]._serialized_start = 2413
93
+ _globals["_RUBYSETTINGS"]._serialized_end = 2479
94
+ _globals["_GOSETTINGS"]._serialized_start = 2482
95
+ _globals["_GOSETTINGS"]._serialized_end = 2673
96
+ _globals["_GOSETTINGS_RENAMEDSERVICESENTRY"]._serialized_start = 2300
97
+ _globals["_GOSETTINGS_RENAMEDSERVICESENTRY"]._serialized_end = 2354
98
+ _globals["_METHODSETTINGS"]._serialized_start = 2676
99
+ _globals["_METHODSETTINGS"]._serialized_end = 3011
100
+ _globals["_METHODSETTINGS_LONGRUNNING"]._serialized_start = 2806
101
+ _globals["_METHODSETTINGS_LONGRUNNING"]._serialized_end = 3011
102
+ _globals["_SELECTIVEGAPICGENERATION"]._serialized_start = 3013
103
+ _globals["_SELECTIVEGAPICGENERATION"]._serialized_end = 3094
95
104
  # @@protoc_insertion_point(module_scope)
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2025 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
16
16
 
17
17
  # Generated by the protocol buffer compiler. DO NOT EDIT!
18
18
  # source: google/api/config_change.proto
19
+ # Protobuf Python Version: 4.25.3
19
20
  """Generated protocol buffer code."""
20
21
  from google.protobuf import descriptor as _descriptor
21
22
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -37,8 +38,10 @@ _builder.BuildTopDescriptorsAndMessages(
37
38
  DESCRIPTOR, "google.api.config_change_pb2", _globals
38
39
  )
39
40
  if _descriptor._USE_C_DESCRIPTORS == False:
40
- DESCRIPTOR._options = None
41
- DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\021ConfigChangeProtoP\001ZCgoogle.golang.org/genproto/googleapis/api/configchange;configchange\242\002\004GAPI"
41
+ _globals["DESCRIPTOR"]._options = None
42
+ _globals[
43
+ "DESCRIPTOR"
44
+ ]._serialized_options = b"\n\016com.google.apiB\021ConfigChangeProtoP\001ZCgoogle.golang.org/genproto/googleapis/api/configchange;configchange\242\002\004GAPI"
42
45
  _globals["_CHANGETYPE"]._serialized_start = 231
43
46
  _globals["_CHANGETYPE"]._serialized_end = 310
44
47
  _globals["_CONFIGCHANGE"]._serialized_start = 47
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2025 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
16
16
 
17
17
  # Generated by the protocol buffer compiler. DO NOT EDIT!
18
18
  # source: google/api/consumer.proto
19
+ # Protobuf Python Version: 4.25.3
19
20
  """Generated protocol buffer code."""
20
21
  from google.protobuf import descriptor as _descriptor
21
22
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -35,8 +36,10 @@ _globals = globals()
35
36
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
36
37
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.consumer_pb2", _globals)
37
38
  if _descriptor._USE_C_DESCRIPTORS == False:
38
- DESCRIPTOR._options = None
39
- DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\rConsumerProtoP\001ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig"
39
+ _globals["DESCRIPTOR"]._options = None
40
+ _globals[
41
+ "DESCRIPTOR"
42
+ ]._serialized_options = b"\n\016com.google.apiB\rConsumerProtoP\001ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig"
40
43
  _globals["_PROJECTPROPERTIES"]._serialized_start = 41
41
44
  _globals["_PROJECTPROPERTIES"]._serialized_end = 102
42
45
  _globals["_PROPERTY"]._serialized_start = 105
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2025 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
16
16
 
17
17
  # Generated by the protocol buffer compiler. DO NOT EDIT!
18
18
  # source: google/api/context.proto
19
+ # Protobuf Python Version: 4.25.3
19
20
  """Generated protocol buffer code."""
20
21
  from google.protobuf import descriptor as _descriptor
21
22
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -35,8 +36,10 @@ _globals = globals()
35
36
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
36
37
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.context_pb2", _globals)
37
38
  if _descriptor._USE_C_DESCRIPTORS == False:
38
- DESCRIPTOR._options = None
39
- DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\014ContextProtoP\001ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\242\002\004GAPI"
39
+ _globals["DESCRIPTOR"]._options = None
40
+ _globals[
41
+ "DESCRIPTOR"
42
+ ]._serialized_options = b"\n\016com.google.apiB\014ContextProtoP\001ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\242\002\004GAPI"
40
43
  _globals["_CONTEXT"]._serialized_start = 40
41
44
  _globals["_CONTEXT"]._serialized_end = 89
42
45
  _globals["_CONTEXTRULE"]._serialized_start = 92
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2025 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
16
16
 
17
17
  # Generated by the protocol buffer compiler. DO NOT EDIT!
18
18
  # source: google/api/control.proto
19
+ # Protobuf Python Version: 4.25.3
19
20
  """Generated protocol buffer code."""
20
21
  from google.protobuf import descriptor as _descriptor
21
22
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -29,7 +30,6 @@ _sym_db = _symbol_database.Default()
29
30
 
30
31
  from google.api import policy_pb2 as google_dot_api_dot_policy__pb2
31
32
 
32
-
33
33
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
34
34
  b'\n\x18google/api/control.proto\x12\ngoogle.api\x1a\x17google/api/policy.proto"Q\n\x07\x43ontrol\x12\x13\n\x0b\x65nvironment\x18\x01 \x01(\t\x12\x31\n\x0fmethod_policies\x18\x04 \x03(\x0b\x32\x18.google.api.MethodPolicyBn\n\x0e\x63om.google.apiB\x0c\x43ontrolProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3'
35
35
  )
@@ -38,8 +38,10 @@ _globals = globals()
38
38
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
39
39
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.control_pb2", _globals)
40
40
  if _descriptor._USE_C_DESCRIPTORS == False:
41
- DESCRIPTOR._options = None
42
- DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\014ControlProtoP\001ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\242\002\004GAPI"
41
+ _globals["DESCRIPTOR"]._options = None
42
+ _globals[
43
+ "DESCRIPTOR"
44
+ ]._serialized_options = b"\n\016com.google.apiB\014ControlProtoP\001ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\242\002\004GAPI"
43
45
  _globals["_CONTROL"]._serialized_start = 65
44
46
  _globals["_CONTROL"]._serialized_end = 146
45
47
  # @@protoc_insertion_point(module_scope)