25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

146 satır
7.5 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/errors/authorization_error.proto
  3. package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors"
  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. // Enum describing possible authorization errors.
  17. type AuthorizationErrorEnum_AuthorizationError int32
  18. const (
  19. // Enum unspecified.
  20. AuthorizationErrorEnum_UNSPECIFIED AuthorizationErrorEnum_AuthorizationError = 0
  21. // The received error code is not known in this version.
  22. AuthorizationErrorEnum_UNKNOWN AuthorizationErrorEnum_AuthorizationError = 1
  23. // User doesn't have permission to access customer.
  24. AuthorizationErrorEnum_USER_PERMISSION_DENIED AuthorizationErrorEnum_AuthorizationError = 2
  25. // The developer token is not whitelisted.
  26. AuthorizationErrorEnum_DEVELOPER_TOKEN_NOT_WHITELISTED AuthorizationErrorEnum_AuthorizationError = 3
  27. // The developer token is not allowed with the project sent in the request.
  28. AuthorizationErrorEnum_DEVELOPER_TOKEN_PROHIBITED AuthorizationErrorEnum_AuthorizationError = 4
  29. // The Google Cloud project sent in the request does not have permission to
  30. // access the api.
  31. AuthorizationErrorEnum_PROJECT_DISABLED AuthorizationErrorEnum_AuthorizationError = 5
  32. // Authorization of the client failed.
  33. AuthorizationErrorEnum_AUTHORIZATION_ERROR AuthorizationErrorEnum_AuthorizationError = 6
  34. // The user does not have permission to perform this action
  35. // (e.g., ADD, UPDATE, REMOVE) on the resource or call a method.
  36. AuthorizationErrorEnum_ACTION_NOT_PERMITTED AuthorizationErrorEnum_AuthorizationError = 7
  37. // Signup not complete.
  38. AuthorizationErrorEnum_INCOMPLETE_SIGNUP AuthorizationErrorEnum_AuthorizationError = 8
  39. )
  40. var AuthorizationErrorEnum_AuthorizationError_name = map[int32]string{
  41. 0: "UNSPECIFIED",
  42. 1: "UNKNOWN",
  43. 2: "USER_PERMISSION_DENIED",
  44. 3: "DEVELOPER_TOKEN_NOT_WHITELISTED",
  45. 4: "DEVELOPER_TOKEN_PROHIBITED",
  46. 5: "PROJECT_DISABLED",
  47. 6: "AUTHORIZATION_ERROR",
  48. 7: "ACTION_NOT_PERMITTED",
  49. 8: "INCOMPLETE_SIGNUP",
  50. }
  51. var AuthorizationErrorEnum_AuthorizationError_value = map[string]int32{
  52. "UNSPECIFIED": 0,
  53. "UNKNOWN": 1,
  54. "USER_PERMISSION_DENIED": 2,
  55. "DEVELOPER_TOKEN_NOT_WHITELISTED": 3,
  56. "DEVELOPER_TOKEN_PROHIBITED": 4,
  57. "PROJECT_DISABLED": 5,
  58. "AUTHORIZATION_ERROR": 6,
  59. "ACTION_NOT_PERMITTED": 7,
  60. "INCOMPLETE_SIGNUP": 8,
  61. }
  62. func (x AuthorizationErrorEnum_AuthorizationError) String() string {
  63. return proto.EnumName(AuthorizationErrorEnum_AuthorizationError_name, int32(x))
  64. }
  65. func (AuthorizationErrorEnum_AuthorizationError) EnumDescriptor() ([]byte, []int) {
  66. return fileDescriptor_authorization_error_68249e5a93461beb, []int{0, 0}
  67. }
  68. // Container for enum describing possible authorization errors.
  69. type AuthorizationErrorEnum struct {
  70. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  71. XXX_unrecognized []byte `json:"-"`
  72. XXX_sizecache int32 `json:"-"`
  73. }
  74. func (m *AuthorizationErrorEnum) Reset() { *m = AuthorizationErrorEnum{} }
  75. func (m *AuthorizationErrorEnum) String() string { return proto.CompactTextString(m) }
  76. func (*AuthorizationErrorEnum) ProtoMessage() {}
  77. func (*AuthorizationErrorEnum) Descriptor() ([]byte, []int) {
  78. return fileDescriptor_authorization_error_68249e5a93461beb, []int{0}
  79. }
  80. func (m *AuthorizationErrorEnum) XXX_Unmarshal(b []byte) error {
  81. return xxx_messageInfo_AuthorizationErrorEnum.Unmarshal(m, b)
  82. }
  83. func (m *AuthorizationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  84. return xxx_messageInfo_AuthorizationErrorEnum.Marshal(b, m, deterministic)
  85. }
  86. func (dst *AuthorizationErrorEnum) XXX_Merge(src proto.Message) {
  87. xxx_messageInfo_AuthorizationErrorEnum.Merge(dst, src)
  88. }
  89. func (m *AuthorizationErrorEnum) XXX_Size() int {
  90. return xxx_messageInfo_AuthorizationErrorEnum.Size(m)
  91. }
  92. func (m *AuthorizationErrorEnum) XXX_DiscardUnknown() {
  93. xxx_messageInfo_AuthorizationErrorEnum.DiscardUnknown(m)
  94. }
  95. var xxx_messageInfo_AuthorizationErrorEnum proto.InternalMessageInfo
  96. func init() {
  97. proto.RegisterType((*AuthorizationErrorEnum)(nil), "google.ads.googleads.v0.errors.AuthorizationErrorEnum")
  98. proto.RegisterEnum("google.ads.googleads.v0.errors.AuthorizationErrorEnum_AuthorizationError", AuthorizationErrorEnum_AuthorizationError_name, AuthorizationErrorEnum_AuthorizationError_value)
  99. }
  100. func init() {
  101. proto.RegisterFile("google/ads/googleads/v0/errors/authorization_error.proto", fileDescriptor_authorization_error_68249e5a93461beb)
  102. }
  103. var fileDescriptor_authorization_error_68249e5a93461beb = []byte{
  104. // 409 bytes of a gzipped FileDescriptorProto
  105. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x6e, 0x13, 0x31,
  106. 0x10, 0x86, 0xc9, 0x16, 0x5a, 0xe4, 0x1e, 0x58, 0x4c, 0x69, 0x51, 0x0f, 0x41, 0x0a, 0x77, 0xef,
  107. 0x4a, 0x5c, 0xd0, 0x72, 0x72, 0xb2, 0x43, 0x62, 0x9a, 0xda, 0x96, 0xd7, 0x9b, 0x4a, 0x55, 0x24,
  108. 0x6b, 0x61, 0xa3, 0x25, 0x52, 0xbb, 0xae, 0xd6, 0x69, 0x0f, 0x3c, 0x04, 0x0f, 0xc1, 0x91, 0x47,
  109. 0xe1, 0x51, 0x38, 0xc2, 0x0b, 0x20, 0xaf, 0x69, 0x84, 0xa8, 0xe8, 0xc9, 0xbf, 0x7e, 0x7f, 0xff,
  110. 0xcc, 0x68, 0x06, 0xbd, 0x69, 0xac, 0x6d, 0x2e, 0x56, 0x49, 0x55, 0xbb, 0x24, 0x48, 0xaf, 0x6e,
  111. 0xd2, 0x64, 0xd5, 0x75, 0xb6, 0x73, 0x49, 0x75, 0xbd, 0xf9, 0x64, 0xbb, 0xf5, 0xe7, 0x6a, 0xb3,
  112. 0xb6, 0xad, 0xe9, 0x4d, 0x72, 0xd5, 0xd9, 0x8d, 0xc5, 0xc3, 0x80, 0x93, 0xaa, 0x76, 0x64, 0x9b,
  113. 0x24, 0x37, 0x29, 0x09, 0xc9, 0xd1, 0x97, 0x08, 0x1d, 0xd2, 0xbf, 0xd3, 0xe0, 0x7d, 0x68, 0xaf,
  114. 0x2f, 0x47, 0xbf, 0x06, 0x08, 0xdf, 0xfd, 0xc2, 0x4f, 0xd0, 0x7e, 0xc9, 0x0b, 0x09, 0x13, 0xf6,
  115. 0x8e, 0x41, 0x1e, 0x3f, 0xc0, 0xfb, 0x68, 0xaf, 0xe4, 0x27, 0x5c, 0x9c, 0xf1, 0x78, 0x80, 0x8f,
  116. 0xd1, 0x61, 0x59, 0x80, 0x32, 0x12, 0xd4, 0x29, 0x2b, 0x0a, 0x26, 0xb8, 0xc9, 0x81, 0x7b, 0x30,
  117. 0xc2, 0xaf, 0xd0, 0xcb, 0x1c, 0x16, 0x30, 0x17, 0x12, 0x94, 0xd1, 0xe2, 0x04, 0xb8, 0x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 0xb2, 0x6c, 0x8b,
  129. 0x64, 0xd9, 0x22, 0xcd, 0xb2, 0x00, 0x7d, 0xd8, 0xed, 0xa7, 0x7b, 0xfd, 0x3b, 0x00, 0x00, 0xff,
  130. 0xff, 0x2c, 0x87, 0x34, 0x10, 0x68, 0x02, 0x00, 0x00,
  131. }