auth_pb2.py 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # -*- coding: utf-8 -*-
  2. # Copyright 2025 Google LLC
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. # Generated by the protocol buffer compiler. DO NOT EDIT!
  16. # source: google/api/auth.proto
  17. # Protobuf Python Version: 4.25.3
  18. """Generated protocol buffer code."""
  19. from google.protobuf import descriptor as _descriptor
  20. from google.protobuf import descriptor_pool as _descriptor_pool
  21. from google.protobuf import symbol_database as _symbol_database
  22. from google.protobuf.internal import builder as _builder
  23. # @@protoc_insertion_point(imports)
  24. _sym_db = _symbol_database.Default()
  25. DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
  26. b'\n\x15google/api/auth.proto\x12\ngoogle.api"l\n\x0e\x41uthentication\x12-\n\x05rules\x18\x03 \x03(\x0b\x32\x1e.google.api.AuthenticationRule\x12+\n\tproviders\x18\x04 \x03(\x0b\x32\x18.google.api.AuthProvider"\xa9\x01\n\x12\x41uthenticationRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12,\n\x05oauth\x18\x02 \x01(\x0b\x32\x1d.google.api.OAuthRequirements\x12 \n\x18\x61llow_without_credential\x18\x05 \x01(\x08\x12\x31\n\x0crequirements\x18\x07 \x03(\x0b\x32\x1b.google.api.AuthRequirement"^\n\x0bJwtLocation\x12\x10\n\x06header\x18\x01 \x01(\tH\x00\x12\x0f\n\x05query\x18\x02 \x01(\tH\x00\x12\x10\n\x06\x63ookie\x18\x04 \x01(\tH\x00\x12\x14\n\x0cvalue_prefix\x18\x03 \x01(\tB\x04\n\x02in"\x9a\x01\n\x0c\x41uthProvider\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06issuer\x18\x02 \x01(\t\x12\x10\n\x08jwks_uri\x18\x03 \x01(\t\x12\x11\n\taudiences\x18\x04 \x01(\t\x12\x19\n\x11\x61uthorization_url\x18\x05 \x01(\t\x12.\n\rjwt_locations\x18\x06 \x03(\x0b\x32\x17.google.api.JwtLocation"-\n\x11OAuthRequirements\x12\x18\n\x10\x63\x61nonical_scopes\x18\x01 \x01(\t"9\n\x0f\x41uthRequirement\x12\x13\n\x0bprovider_id\x18\x01 \x01(\t\x12\x11\n\taudiences\x18\x02 \x01(\tBk\n\x0e\x63om.google.apiB\tAuthProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3'
  27. )
  28. _globals = globals()
  29. _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
  30. _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.auth_pb2", _globals)
  31. if _descriptor._USE_C_DESCRIPTORS == False:
  32. _globals["DESCRIPTOR"]._options = None
  33. _globals[
  34. "DESCRIPTOR"
  35. ]._serialized_options = b"\n\016com.google.apiB\tAuthProtoP\001ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\242\002\004GAPI"
  36. _globals["_AUTHENTICATION"]._serialized_start = 37
  37. _globals["_AUTHENTICATION"]._serialized_end = 145
  38. _globals["_AUTHENTICATIONRULE"]._serialized_start = 148
  39. _globals["_AUTHENTICATIONRULE"]._serialized_end = 317
  40. _globals["_JWTLOCATION"]._serialized_start = 319
  41. _globals["_JWTLOCATION"]._serialized_end = 413
  42. _globals["_AUTHPROVIDER"]._serialized_start = 416
  43. _globals["_AUTHPROVIDER"]._serialized_end = 570
  44. _globals["_OAUTHREQUIREMENTS"]._serialized_start = 572
  45. _globals["_OAUTHREQUIREMENTS"]._serialized_end = 617
  46. _globals["_AUTHREQUIREMENT"]._serialized_start = 619
  47. _globals["_AUTHREQUIREMENT"]._serialized_end = 676
  48. # @@protoc_insertion_point(module_scope)