Class: Google::Cloud::ServiceControl::V1::CheckError

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/api/servicecontrol/v1/check_error.rb

Overview

Defines the errors to be returned in google.api.servicecontrol.v1.CheckResponse.check_errors.

Defined Under Namespace

Modules: Code

Instance Attribute Summary collapse

Instance Attribute Details

#code::Google::Cloud::ServiceControl::V1::CheckError::Code

Returns The error code.



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'proto_docs/google/api/servicecontrol/v1/check_error.rb', line 45

class CheckError
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Error codes for Check responses.
  module Code
    # This is never used in `CheckResponse`.
    ERROR_CODE_UNSPECIFIED = 0

    # The consumer's project id, network container, or resource container was
    # not found. Same as [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND].
    NOT_FOUND = 5

    # The consumer doesn't have access to the specified resource.
    # Same as [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
    PERMISSION_DENIED = 7

    # Quota check failed. Same as [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED].
    RESOURCE_EXHAUSTED = 8

    # The consumer hasn't activated the service.
    SERVICE_NOT_ACTIVATED = 104

    # The consumer cannot access the service because billing is disabled.
    BILLING_DISABLED = 107

    # The consumer's project has been marked as deleted (soft deletion).
    PROJECT_DELETED = 108

    # The consumer's project number or id does not represent a valid project.
    PROJECT_INVALID = 114

    # The input consumer info does not represent a valid consumer folder or
    # organization.
    CONSUMER_INVALID = 125

    # The IP address of the consumer is invalid for the specific consumer
    # project.
    IP_ADDRESS_BLOCKED = 109

    # The referer address of the consumer request is invalid for the specific
    # consumer project.
    REFERER_BLOCKED = 110

    # The client application of the consumer request is invalid for the
    # specific consumer project.
    CLIENT_APP_BLOCKED = 111

    # The API targeted by this request is invalid for the specified consumer
    # project.
    API_TARGET_BLOCKED = 122

    # The consumer's API key is invalid.
    API_KEY_INVALID = 105

    # The consumer's API Key has expired.
    API_KEY_EXPIRED = 112

    # The consumer's API Key was not found in config record.
    API_KEY_NOT_FOUND = 113

    # The credential in the request can not be verified.
    INVALID_CREDENTIAL = 123

    # The backend server for looking up project id/number is unavailable.
    NAMESPACE_LOOKUP_UNAVAILABLE = 300

    # The backend server for checking service status is unavailable.
    SERVICE_STATUS_UNAVAILABLE = 301

    # The backend server for checking billing status is unavailable.
    BILLING_STATUS_UNAVAILABLE = 302

    # Cloud Resource Manager backend server is unavailable.
    CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE = 305
  end
end

#detail::String

Returns Free-form text providing details on the error cause of the error.

Returns:

  • (::String)

    Free-form text providing details on the error cause of the error.



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'proto_docs/google/api/servicecontrol/v1/check_error.rb', line 45

class CheckError
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Error codes for Check responses.
  module Code
    # This is never used in `CheckResponse`.
    ERROR_CODE_UNSPECIFIED = 0

    # The consumer's project id, network container, or resource container was
    # not found. Same as [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND].
    NOT_FOUND = 5

    # The consumer doesn't have access to the specified resource.
    # Same as [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
    PERMISSION_DENIED = 7

    # Quota check failed. Same as [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED].
    RESOURCE_EXHAUSTED = 8

    # The consumer hasn't activated the service.
    SERVICE_NOT_ACTIVATED = 104

    # The consumer cannot access the service because billing is disabled.
    BILLING_DISABLED = 107

    # The consumer's project has been marked as deleted (soft deletion).
    PROJECT_DELETED = 108

    # The consumer's project number or id does not represent a valid project.
    PROJECT_INVALID = 114

    # The input consumer info does not represent a valid consumer folder or
    # organization.
    CONSUMER_INVALID = 125

    # The IP address of the consumer is invalid for the specific consumer
    # project.
    IP_ADDRESS_BLOCKED = 109

    # The referer address of the consumer request is invalid for the specific
    # consumer project.
    REFERER_BLOCKED = 110

    # The client application of the consumer request is invalid for the
    # specific consumer project.
    CLIENT_APP_BLOCKED = 111

    # The API targeted by this request is invalid for the specified consumer
    # project.
    API_TARGET_BLOCKED = 122

    # The consumer's API key is invalid.
    API_KEY_INVALID = 105

    # The consumer's API Key has expired.
    API_KEY_EXPIRED = 112

    # The consumer's API Key was not found in config record.
    API_KEY_NOT_FOUND = 113

    # The credential in the request can not be verified.
    INVALID_CREDENTIAL = 123

    # The backend server for looking up project id/number is unavailable.
    NAMESPACE_LOOKUP_UNAVAILABLE = 300

    # The backend server for checking service status is unavailable.
    SERVICE_STATUS_UNAVAILABLE = 301

    # The backend server for checking billing status is unavailable.
    BILLING_STATUS_UNAVAILABLE = 302

    # Cloud Resource Manager backend server is unavailable.
    CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE = 305
  end
end

#status::Google::Rpc::Status

Returns Contains public information about the check error. If available, status.code will be non zero and client can propagate it out as public error.

Returns:

  • (::Google::Rpc::Status)

    Contains public information about the check error. If available, status.code will be non zero and client can propagate it out as public error.



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'proto_docs/google/api/servicecontrol/v1/check_error.rb', line 45

class CheckError
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Error codes for Check responses.
  module Code
    # This is never used in `CheckResponse`.
    ERROR_CODE_UNSPECIFIED = 0

    # The consumer's project id, network container, or resource container was
    # not found. Same as [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND].
    NOT_FOUND = 5

    # The consumer doesn't have access to the specified resource.
    # Same as [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
    PERMISSION_DENIED = 7

    # Quota check failed. Same as [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED].
    RESOURCE_EXHAUSTED = 8

    # The consumer hasn't activated the service.
    SERVICE_NOT_ACTIVATED = 104

    # The consumer cannot access the service because billing is disabled.
    BILLING_DISABLED = 107

    # The consumer's project has been marked as deleted (soft deletion).
    PROJECT_DELETED = 108

    # The consumer's project number or id does not represent a valid project.
    PROJECT_INVALID = 114

    # The input consumer info does not represent a valid consumer folder or
    # organization.
    CONSUMER_INVALID = 125

    # The IP address of the consumer is invalid for the specific consumer
    # project.
    IP_ADDRESS_BLOCKED = 109

    # The referer address of the consumer request is invalid for the specific
    # consumer project.
    REFERER_BLOCKED = 110

    # The client application of the consumer request is invalid for the
    # specific consumer project.
    CLIENT_APP_BLOCKED = 111

    # The API targeted by this request is invalid for the specified consumer
    # project.
    API_TARGET_BLOCKED = 122

    # The consumer's API key is invalid.
    API_KEY_INVALID = 105

    # The consumer's API Key has expired.
    API_KEY_EXPIRED = 112

    # The consumer's API Key was not found in config record.
    API_KEY_NOT_FOUND = 113

    # The credential in the request can not be verified.
    INVALID_CREDENTIAL = 123

    # The backend server for looking up project id/number is unavailable.
    NAMESPACE_LOOKUP_UNAVAILABLE = 300

    # The backend server for checking service status is unavailable.
    SERVICE_STATUS_UNAVAILABLE = 301

    # The backend server for checking billing status is unavailable.
    BILLING_STATUS_UNAVAILABLE = 302

    # Cloud Resource Manager backend server is unavailable.
    CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE = 305
  end
end

#subject::String

Returns Subject to whom this error applies. See the specific code enum for more details on this field. For example:

  • "project:"
  • "folder:"
  • "organization:".

Returns:

  • (::String)

    Subject to whom this error applies. See the specific code enum for more details on this field. For example:

    • "project:"
    • "folder:"
    • "organization:"


45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'proto_docs/google/api/servicecontrol/v1/check_error.rb', line 45

class CheckError
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Error codes for Check responses.
  module Code
    # This is never used in `CheckResponse`.
    ERROR_CODE_UNSPECIFIED = 0

    # The consumer's project id, network container, or resource container was
    # not found. Same as [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND].
    NOT_FOUND = 5

    # The consumer doesn't have access to the specified resource.
    # Same as [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
    PERMISSION_DENIED = 7

    # Quota check failed. Same as [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED].
    RESOURCE_EXHAUSTED = 8

    # The consumer hasn't activated the service.
    SERVICE_NOT_ACTIVATED = 104

    # The consumer cannot access the service because billing is disabled.
    BILLING_DISABLED = 107

    # The consumer's project has been marked as deleted (soft deletion).
    PROJECT_DELETED = 108

    # The consumer's project number or id does not represent a valid project.
    PROJECT_INVALID = 114

    # The input consumer info does not represent a valid consumer folder or
    # organization.
    CONSUMER_INVALID = 125

    # The IP address of the consumer is invalid for the specific consumer
    # project.
    IP_ADDRESS_BLOCKED = 109

    # The referer address of the consumer request is invalid for the specific
    # consumer project.
    REFERER_BLOCKED = 110

    # The client application of the consumer request is invalid for the
    # specific consumer project.
    CLIENT_APP_BLOCKED = 111

    # The API targeted by this request is invalid for the specified consumer
    # project.
    API_TARGET_BLOCKED = 122

    # The consumer's API key is invalid.
    API_KEY_INVALID = 105

    # The consumer's API Key has expired.
    API_KEY_EXPIRED = 112

    # The consumer's API Key was not found in config record.
    API_KEY_NOT_FOUND = 113

    # The credential in the request can not be verified.
    INVALID_CREDENTIAL = 123

    # The backend server for looking up project id/number is unavailable.
    NAMESPACE_LOOKUP_UNAVAILABLE = 300

    # The backend server for checking service status is unavailable.
    SERVICE_STATUS_UNAVAILABLE = 301

    # The backend server for checking billing status is unavailable.
    BILLING_STATUS_UNAVAILABLE = 302

    # Cloud Resource Manager backend server is unavailable.
    CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE = 305
  end
end