You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

94 lines
3.8 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/api/experimental/authorization_config.proto
  3. package api // import "google.golang.org/genproto/googleapis/api"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. // Configuration of authorization.
  17. //
  18. // This section determines the authorization provider, if unspecified, then no
  19. // authorization check will be done.
  20. //
  21. // Example:
  22. //
  23. // experimental:
  24. // authorization:
  25. // provider: firebaserules.googleapis.com
  26. type AuthorizationConfig struct {
  27. // The name of the authorization provider, such as
  28. // firebaserules.googleapis.com.
  29. Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
  30. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  31. XXX_unrecognized []byte `json:"-"`
  32. XXX_sizecache int32 `json:"-"`
  33. }
  34. func (m *AuthorizationConfig) Reset() { *m = AuthorizationConfig{} }
  35. func (m *AuthorizationConfig) String() string { return proto.CompactTextString(m) }
  36. func (*AuthorizationConfig) ProtoMessage() {}
  37. func (*AuthorizationConfig) Descriptor() ([]byte, []int) {
  38. return fileDescriptor_authorization_config_201ba24923dedcb5, []int{0}
  39. }
  40. func (m *AuthorizationConfig) XXX_Unmarshal(b []byte) error {
  41. return xxx_messageInfo_AuthorizationConfig.Unmarshal(m, b)
  42. }
  43. func (m *AuthorizationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  44. return xxx_messageInfo_AuthorizationConfig.Marshal(b, m, deterministic)
  45. }
  46. func (dst *AuthorizationConfig) XXX_Merge(src proto.Message) {
  47. xxx_messageInfo_AuthorizationConfig.Merge(dst, src)
  48. }
  49. func (m *AuthorizationConfig) XXX_Size() int {
  50. return xxx_messageInfo_AuthorizationConfig.Size(m)
  51. }
  52. func (m *AuthorizationConfig) XXX_DiscardUnknown() {
  53. xxx_messageInfo_AuthorizationConfig.DiscardUnknown(m)
  54. }
  55. var xxx_messageInfo_AuthorizationConfig proto.InternalMessageInfo
  56. func (m *AuthorizationConfig) GetProvider() string {
  57. if m != nil {
  58. return m.Provider
  59. }
  60. return ""
  61. }
  62. func init() {
  63. proto.RegisterType((*AuthorizationConfig)(nil), "google.api.AuthorizationConfig")
  64. }
  65. func init() {
  66. proto.RegisterFile("google/api/experimental/authorization_config.proto", fileDescriptor_authorization_config_201ba24923dedcb5)
  67. }
  68. var fileDescriptor_authorization_config_201ba24923dedcb5 = []byte{
  69. // 180 bytes of a gzipped FileDescriptorProto
  70. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4a, 0xcf, 0xcf, 0x4f,
  71. 0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x4f, 0xad, 0x28, 0x48, 0x2d, 0xca, 0xcc, 0x4d, 0xcd,
  72. 0x2b, 0x49, 0xcc, 0xd1, 0x4f, 0x2c, 0x2d, 0xc9, 0xc8, 0x2f, 0xca, 0xac, 0x4a, 0x2c, 0xc9, 0xcc,
  73. 0xcf, 0x8b, 0x4f, 0xce, 0xcf, 0x4b, 0xcb, 0x4c, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2,
  74. 0x82, 0xe8, 0xd1, 0x4b, 0x2c, 0xc8, 0x54, 0x32, 0xe4, 0x12, 0x76, 0x44, 0x56, 0xe9, 0x0c, 0x56,
  75. 0x28, 0x24, 0xc5, 0xc5, 0x51, 0x50, 0x94, 0x5f, 0x96, 0x99, 0x92, 0x5a, 0x24, 0xc1, 0xa8, 0xc0,
  76. 0xa8, 0xc1, 0x19, 0x04, 0xe7, 0x3b, 0x25, 0x71, 0xf1, 0x25, 0xe7, 0xe7, 0xea, 0x21, 0x0c, 0x71,
  77. 0x92, 0xc0, 0x62, 0x44, 0x00, 0xc8, 0xaa, 0x00, 0xc6, 0x28, 0x5d, 0xa8, 0xba, 0xf4, 0xfc, 0x9c,
  78. 0xc4, 0xbc, 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, 0x3c, 0xb0, 0x43, 0xf4, 0x21, 0x52,
  79. 0x89, 0x05, 0x99, 0xc5, 0x20, 0xf7, 0x5b, 0x27, 0x16, 0x64, 0x2e, 0x62, 0x62, 0x71, 0x77, 0x0c,
  80. 0xf0, 0x4c, 0x62, 0x03, 0x2b, 0x30, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x52, 0x27, 0x0c, 0xba,
  81. 0xdf, 0x00, 0x00, 0x00,
  82. }