google-cloud-service_control-v1 0.2.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -56,8 +56,10 @@ module Google
56
56
  # @!attribute [rw] end_time
57
57
  # @return [::Google::Protobuf::Timestamp]
58
58
  # End time of the operation.
59
- # Required when the operation is used in {::Google::Cloud::ServiceControl::V1::ServiceController::Client#report ServiceController.Report},
60
- # but optional when the operation is used in {::Google::Cloud::ServiceControl::V1::ServiceController::Client#check ServiceController.Check}.
59
+ # Required when the operation is used in
60
+ # {::Google::Cloud::ServiceControl::V1::ServiceController::Client#report ServiceController.Report},
61
+ # but optional when the operation is used in
62
+ # {::Google::Cloud::ServiceControl::V1::ServiceController::Client#check ServiceController.Check}.
61
63
  # @!attribute [rw] labels
62
64
  # @return [::Google::Protobuf::Map{::String => ::String}]
63
65
  # Labels describing the operation. Only the following labels are allowed:
@@ -112,13 +114,13 @@ module Google
112
114
 
113
115
  # Defines the importance of the data contained in the operation.
114
116
  module Importance
115
- # The API implementation may cache and aggregate the data.
116
- # The data may be lost when rare and unexpected system failures occur.
117
+ # Allows data caching, batching, and aggregation. It provides
118
+ # higher performance with higher data loss risk.
117
119
  LOW = 0
118
120
 
119
- # The API implementation doesn't cache and aggregate the data.
120
- # If the method returns successfully, it's guaranteed that the data has
121
- # been persisted in durable storage.
121
+ # Disables data aggregation to minimize data loss. It is for operations
122
+ # that contains significant monetary value or audit trail. This feature
123
+ # only applies to the client libraries.
122
124
  HIGH = 1
123
125
  end
124
126
  end
@@ -63,6 +63,7 @@ module Google
63
63
  # (1) the quota operation is performed on non-API resources.
64
64
  # (2) quota_metrics is set because the caller is doing quota override.
65
65
  #
66
+ #
66
67
  # Example of an RPC method name:
67
68
  # google.example.library.v1.LibraryService.CreateShelf
68
69
  # @!attribute [rw] consumer_id
@@ -137,14 +138,14 @@ module Google
137
138
  # Unimplemented. When used in AllocateQuotaRequest, this returns the
138
139
  # effective quota limit(s) in the response, and no quota check will be
139
140
  # performed. Not supported for other requests, and even for
140
- # AllocateQuotaRequest, this is currently supported only for whitelisted
141
+ # AllocateQuotaRequest, this is currently supported only for allowlisted
141
142
  # services.
142
143
  QUERY_ONLY = 4
143
144
 
144
145
  # The operation allocates quota for the amount specified in the service
145
146
  # configuration or specified using the quota metrics. If the requested
146
147
  # amount is higher than the available quota, request does not fail and
147
- # remaining quota would become negative (going over the limit)
148
+ # remaining quota would become negative (going over the limit).
148
149
  # Not supported for Rate Quota.
149
150
  ADJUST_ONLY = 5
150
151
  end
@@ -190,6 +191,10 @@ module Google
190
191
  # @!attribute [rw] description
191
192
  # @return [::String]
192
193
  # Free-form text that provides details on the cause of the error.
194
+ # @!attribute [rw] status
195
+ # @return [::Google::Rpc::Status]
196
+ # Contains additional information about the quota error.
197
+ # If available, `status.code` will be non zero.
193
198
  class QuotaError
194
199
  include ::Google::Protobuf::MessageExts
195
200
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -48,8 +48,9 @@ module Google
48
48
  # Response message for the Check method.
49
49
  # @!attribute [rw] operation_id
50
50
  # @return [::String]
51
- # The same operation_id value used in the {::Google::Cloud::ServiceControl::V1::CheckRequest CheckRequest}.
52
- # Used for logging and diagnostics purposes.
51
+ # The same operation_id value used in the
52
+ # {::Google::Cloud::ServiceControl::V1::CheckRequest CheckRequest}. Used for logging
53
+ # and diagnostics purposes.
53
54
  # @!attribute [rw] check_errors
54
55
  # @return [::Array<::Google::Cloud::ServiceControl::V1::CheckError>]
55
56
  # Indicate the decision of the check.
@@ -148,7 +149,8 @@ module Google
148
149
  #
149
150
  # There is no limit on the number of operations in the same ReportRequest,
150
151
  # however the ReportRequest size should be no larger than 1MB. See
151
- # {::Google::Cloud::ServiceControl::V1::ReportResponse#report_errors ReportResponse.report_errors} for partial failure behavior.
152
+ # {::Google::Cloud::ServiceControl::V1::ReportResponse#report_errors ReportResponse.report_errors}
153
+ # for partial failure behavior.
152
154
  # @!attribute [rw] service_config_id
153
155
  # @return [::String]
154
156
  # Specifies which version of service config should be used to process the
@@ -188,13 +190,17 @@ module Google
188
190
  include ::Google::Protobuf::MessageExts
189
191
  extend ::Google::Protobuf::MessageExts::ClassMethods
190
192
 
191
- # Represents the processing error of one {::Google::Cloud::ServiceControl::V1::Operation Operation} in the request.
193
+ # Represents the processing error of one
194
+ # {::Google::Cloud::ServiceControl::V1::Operation Operation} in the request.
192
195
  # @!attribute [rw] operation_id
193
196
  # @return [::String]
194
- # The {::Google::Cloud::ServiceControl::V1::Operation#operation_id Operation.operation_id} value from the request.
197
+ # The
198
+ # {::Google::Cloud::ServiceControl::V1::Operation#operation_id Operation.operation_id}
199
+ # value from the request.
195
200
  # @!attribute [rw] status
196
201
  # @return [::Google::Rpc::Status]
197
- # Details of the error when processing the {::Google::Cloud::ServiceControl::V1::Operation Operation}.
202
+ # Details of the error when processing the
203
+ # {::Google::Cloud::ServiceControl::V1::Operation Operation}.
198
204
  class ReportError
199
205
  include ::Google::Protobuf::MessageExts
200
206
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -18,51 +18,53 @@
18
18
 
19
19
 
20
20
  module Google
21
- module Logging
22
- module Type
23
- # The severity of the event described in a log entry, expressed as one of the
24
- # standard severity levels listed below. For your reference, the levels are
25
- # assigned the listed numeric values. The effect of using numeric values other
26
- # than those listed is undefined.
27
- #
28
- # You can filter for log entries by severity. For example, the following
29
- # filter expression will match log entries with severities `INFO`, `NOTICE`,
30
- # and `WARNING`:
31
- #
32
- # severity > DEBUG AND severity <= WARNING
33
- #
34
- # If you are writing log entries, you should map other severity encodings to
35
- # one of these standard levels. For example, you might map all of Java's FINE,
36
- # FINER, and FINEST levels to `LogSeverity.DEBUG`. You can preserve the
37
- # original severity level in the log entry payload if you wish.
38
- module LogSeverity
39
- # (0) The log entry has no assigned severity level.
40
- DEFAULT = 0
21
+ module Cloud
22
+ module Logging
23
+ module Type
24
+ # The severity of the event described in a log entry, expressed as one of the
25
+ # standard severity levels listed below. For your reference, the levels are
26
+ # assigned the listed numeric values. The effect of using numeric values other
27
+ # than those listed is undefined.
28
+ #
29
+ # You can filter for log entries by severity. For example, the following
30
+ # filter expression will match log entries with severities `INFO`, `NOTICE`,
31
+ # and `WARNING`:
32
+ #
33
+ # severity > DEBUG AND severity <= WARNING
34
+ #
35
+ # If you are writing log entries, you should map other severity encodings to
36
+ # one of these standard levels. For example, you might map all of Java's FINE,
37
+ # FINER, and FINEST levels to `LogSeverity.DEBUG`. You can preserve the
38
+ # original severity level in the log entry payload if you wish.
39
+ module LogSeverity
40
+ # (0) The log entry has no assigned severity level.
41
+ DEFAULT = 0
41
42
 
42
- # (100) Debug or trace information.
43
- DEBUG = 100
43
+ # (100) Debug or trace information.
44
+ DEBUG = 100
44
45
 
45
- # (200) Routine information, such as ongoing status or performance.
46
- INFO = 200
46
+ # (200) Routine information, such as ongoing status or performance.
47
+ INFO = 200
47
48
 
48
- # (300) Normal but significant events, such as start up, shut down, or
49
- # a configuration change.
50
- NOTICE = 300
49
+ # (300) Normal but significant events, such as start up, shut down, or
50
+ # a configuration change.
51
+ NOTICE = 300
51
52
 
52
- # (400) Warning events might cause problems.
53
- WARNING = 400
53
+ # (400) Warning events might cause problems.
54
+ WARNING = 400
54
55
 
55
- # (500) Error events are likely to cause problems.
56
- ERROR = 500
56
+ # (500) Error events are likely to cause problems.
57
+ ERROR = 500
57
58
 
58
- # (600) Critical events cause more severe problems or outages.
59
- CRITICAL = 600
59
+ # (600) Critical events cause more severe problems or outages.
60
+ CRITICAL = 600
60
61
 
61
- # (700) A person must take an action immediately.
62
- ALERT = 700
62
+ # (700) A person must take an action immediately.
63
+ ALERT = 700
63
64
 
64
- # (800) One or more systems are unusable.
65
- EMERGENCY = 800
65
+ # (800) One or more systems are unusable.
66
+ EMERGENCY = 800
67
+ end
66
68
  end
67
69
  end
68
70
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-service_control-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-09 00:00:00.000000000 Z
11
+ date: 2021-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0.5'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '0.3'
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.5'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.3'
32
+ version: 2.a
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: google-cloud-errors
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +50,14 @@ dependencies:
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: 1.24.0
53
+ version: 1.25.1
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: 1.24.0
60
+ version: 1.25.1
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: minitest
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -184,6 +190,7 @@ files:
184
190
  - lib/google/cloud/service_control/v1/service_controller/credentials.rb
185
191
  - lib/google/cloud/service_control/v1/version.rb
186
192
  - proto_docs/README.md
193
+ - proto_docs/google/api/distribution.rb
187
194
  - proto_docs/google/api/resource.rb
188
195
  - proto_docs/google/api/servicecontrol/v1/check_error.rb
189
196
  - proto_docs/google/api/servicecontrol/v1/distribution.rb
@@ -211,14 +218,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
211
218
  requirements:
212
219
  - - ">="
213
220
  - !ruby/object:Gem::Version
214
- version: '2.4'
221
+ version: '2.5'
215
222
  required_rubygems_version: !ruby/object:Gem::Requirement
216
223
  requirements:
217
224
  - - ">="
218
225
  - !ruby/object:Gem::Version
219
226
  version: '0'
220
227
  requirements: []
221
- rubygems_version: 3.2.6
228
+ rubygems_version: 3.2.17
222
229
  signing_key:
223
230
  specification_version: 4
224
231
  summary: API Client library for the Service Control API V1 API