| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/errors/operation_access_denied_error.proto |
| |
| package errors |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // Enum describing possible operation access denied errors. |
| type OperationAccessDeniedErrorEnum_OperationAccessDeniedError int32 |
| |
| const ( |
| // Enum unspecified. |
| OperationAccessDeniedErrorEnum_UNSPECIFIED OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 0 |
| // The received error code is not known in this version. |
| OperationAccessDeniedErrorEnum_UNKNOWN OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 1 |
| // Unauthorized invocation of a service's method (get, mutate, etc.) |
| OperationAccessDeniedErrorEnum_ACTION_NOT_PERMITTED OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 2 |
| // Unauthorized CREATE operation in invoking a service's mutate method. |
| OperationAccessDeniedErrorEnum_CREATE_OPERATION_NOT_PERMITTED OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 3 |
| // Unauthorized REMOVE operation in invoking a service's mutate method. |
| OperationAccessDeniedErrorEnum_REMOVE_OPERATION_NOT_PERMITTED OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 4 |
| // Unauthorized UPDATE operation in invoking a service's mutate method. |
| OperationAccessDeniedErrorEnum_UPDATE_OPERATION_NOT_PERMITTED OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 5 |
| // A mutate action is not allowed on this campaign, from this client. |
| OperationAccessDeniedErrorEnum_MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 6 |
| // This operation is not permitted on this campaign type |
| OperationAccessDeniedErrorEnum_OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 7 |
| // A CREATE operation may not set status to REMOVED. |
| OperationAccessDeniedErrorEnum_CREATE_AS_REMOVED_NOT_PERMITTED OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 8 |
| // This operation is not allowed because the campaign or adgroup is removed. |
| OperationAccessDeniedErrorEnum_OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 9 |
| // This operation is not permitted on this ad group type. |
| OperationAccessDeniedErrorEnum_OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 10 |
| // The mutate is not allowed for this customer. |
| OperationAccessDeniedErrorEnum_MUTATE_NOT_PERMITTED_FOR_CUSTOMER OperationAccessDeniedErrorEnum_OperationAccessDeniedError = 11 |
| ) |
| |
| var OperationAccessDeniedErrorEnum_OperationAccessDeniedError_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "ACTION_NOT_PERMITTED", |
| 3: "CREATE_OPERATION_NOT_PERMITTED", |
| 4: "REMOVE_OPERATION_NOT_PERMITTED", |
| 5: "UPDATE_OPERATION_NOT_PERMITTED", |
| 6: "MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT", |
| 7: "OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE", |
| 8: "CREATE_AS_REMOVED_NOT_PERMITTED", |
| 9: "OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE", |
| 10: "OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE", |
| 11: "MUTATE_NOT_PERMITTED_FOR_CUSTOMER", |
| } |
| |
| var OperationAccessDeniedErrorEnum_OperationAccessDeniedError_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "ACTION_NOT_PERMITTED": 2, |
| "CREATE_OPERATION_NOT_PERMITTED": 3, |
| "REMOVE_OPERATION_NOT_PERMITTED": 4, |
| "UPDATE_OPERATION_NOT_PERMITTED": 5, |
| "MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT": 6, |
| "OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE": 7, |
| "CREATE_AS_REMOVED_NOT_PERMITTED": 8, |
| "OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE": 9, |
| "OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE": 10, |
| "MUTATE_NOT_PERMITTED_FOR_CUSTOMER": 11, |
| } |
| |
| func (x OperationAccessDeniedErrorEnum_OperationAccessDeniedError) String() string { |
| return proto.EnumName(OperationAccessDeniedErrorEnum_OperationAccessDeniedError_name, int32(x)) |
| } |
| |
| func (OperationAccessDeniedErrorEnum_OperationAccessDeniedError) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_df7a6e22c97aafa3, []int{0, 0} |
| } |
| |
| // Container for enum describing possible operation access denied errors. |
| type OperationAccessDeniedErrorEnum struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *OperationAccessDeniedErrorEnum) Reset() { *m = OperationAccessDeniedErrorEnum{} } |
| func (m *OperationAccessDeniedErrorEnum) String() string { return proto.CompactTextString(m) } |
| func (*OperationAccessDeniedErrorEnum) ProtoMessage() {} |
| func (*OperationAccessDeniedErrorEnum) Descriptor() ([]byte, []int) { |
| return fileDescriptor_df7a6e22c97aafa3, []int{0} |
| } |
| |
| func (m *OperationAccessDeniedErrorEnum) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_OperationAccessDeniedErrorEnum.Unmarshal(m, b) |
| } |
| func (m *OperationAccessDeniedErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_OperationAccessDeniedErrorEnum.Marshal(b, m, deterministic) |
| } |
| func (m *OperationAccessDeniedErrorEnum) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_OperationAccessDeniedErrorEnum.Merge(m, src) |
| } |
| func (m *OperationAccessDeniedErrorEnum) XXX_Size() int { |
| return xxx_messageInfo_OperationAccessDeniedErrorEnum.Size(m) |
| } |
| func (m *OperationAccessDeniedErrorEnum) XXX_DiscardUnknown() { |
| xxx_messageInfo_OperationAccessDeniedErrorEnum.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_OperationAccessDeniedErrorEnum proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterEnum("google.ads.googleads.v3.errors.OperationAccessDeniedErrorEnum_OperationAccessDeniedError", OperationAccessDeniedErrorEnum_OperationAccessDeniedError_name, OperationAccessDeniedErrorEnum_OperationAccessDeniedError_value) |
| proto.RegisterType((*OperationAccessDeniedErrorEnum)(nil), "google.ads.googleads.v3.errors.OperationAccessDeniedErrorEnum") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/errors/operation_access_denied_error.proto", fileDescriptor_df7a6e22c97aafa3) |
| } |
| |
| var fileDescriptor_df7a6e22c97aafa3 = []byte{ |
| // 448 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x8a, 0xd3, 0x40, |
| 0x1c, 0xc6, 0x6d, 0xab, 0xbb, 0x3a, 0x3d, 0x18, 0x06, 0x0f, 0xb2, 0x48, 0x17, 0x23, 0x0a, 0x8a, |
| 0x4e, 0x84, 0xdc, 0xe2, 0x69, 0x9a, 0xcc, 0x96, 0xa0, 0x99, 0x19, 0xa6, 0x93, 0x8a, 0x52, 0x18, |
| 0x62, 0x13, 0x42, 0x61, 0x37, 0x13, 0x32, 0x75, 0x1f, 0xc8, 0xa3, 0x4f, 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