google-cloud-chronicle-v1 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/chronicle/v1/reference_list_pb.rb +4 -1
  3. data/lib/google/cloud/chronicle/v1/reference_list_service/client.rb +104 -0
  4. data/lib/google/cloud/chronicle/v1/reference_list_service/credentials.rb +2 -0
  5. data/lib/google/cloud/chronicle/v1/reference_list_service/rest/client.rb +97 -0
  6. data/lib/google/cloud/chronicle/v1/reference_list_service/rest/service_stub.rb +62 -0
  7. data/lib/google/cloud/chronicle/v1/reference_list_services_pb.rb +2 -0
  8. data/lib/google/cloud/chronicle/v1/rest.rb +1 -0
  9. data/lib/google/cloud/chronicle/v1/rule_execution_error_pb.rb +30 -0
  10. data/lib/google/cloud/chronicle/v1/rule_execution_error_service/client.rb +522 -0
  11. data/lib/google/cloud/chronicle/v1/rule_execution_error_service/credentials.rb +49 -0
  12. data/lib/google/cloud/chronicle/v1/rule_execution_error_service/paths.rb +52 -0
  13. data/lib/google/cloud/chronicle/v1/rule_execution_error_service/rest/client.rb +472 -0
  14. data/lib/google/cloud/chronicle/v1/rule_execution_error_service/rest/service_stub.rb +142 -0
  15. data/lib/google/cloud/chronicle/v1/rule_execution_error_service/rest.rb +53 -0
  16. data/lib/google/cloud/chronicle/v1/rule_execution_error_service.rb +56 -0
  17. data/lib/google/cloud/chronicle/v1/rule_execution_error_services_pb.rb +46 -0
  18. data/lib/google/cloud/chronicle/v1/rule_pb.rb +3 -1
  19. data/lib/google/cloud/chronicle/v1/rule_service/client.rb +101 -0
  20. data/lib/google/cloud/chronicle/v1/rule_service/credentials.rb +2 -0
  21. data/lib/google/cloud/chronicle/v1/rule_service/rest/client.rb +94 -0
  22. data/lib/google/cloud/chronicle/v1/rule_service/rest/service_stub.rb +62 -0
  23. data/lib/google/cloud/chronicle/v1/rule_services_pb.rb +2 -0
  24. data/lib/google/cloud/chronicle/v1/version.rb +1 -1
  25. data/lib/google/cloud/chronicle/v1.rb +1 -0
  26. data/proto_docs/google/cloud/chronicle/v1/reference_list.rb +43 -0
  27. data/proto_docs/google/cloud/chronicle/v1/rule.rb +27 -0
  28. data/proto_docs/google/cloud/chronicle/v1/rule_execution_error.rb +116 -0
  29. metadata +11 -1
@@ -0,0 +1,116 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Chronicle
23
+ module V1
24
+ # Request message for ListRuleExecutionErrors.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. The instance to list rule execution errors from.
28
+ # Format:
29
+ # projects/\\{project}/locations/\\{location}/instances/\\{instance}
30
+ # @!attribute [rw] page_size
31
+ # @return [::Integer]
32
+ # The maximum number of rule execution errors to return. The service may
33
+ # return fewer than this value. If unspecified, at most 1000 rule execution
34
+ # errors will be returned. The maximum value is 10000; values above 10000
35
+ # will be coerced to 10000.
36
+ # @!attribute [rw] page_token
37
+ # @return [::String]
38
+ # A page token, received from a previous `ListRuleExecutionErrors` call.
39
+ # Provide this to retrieve the subsequent page.
40
+ #
41
+ # When paginating, all other parameters provided to `ListRuleExecutionErrors`
42
+ # must match the call that provided the page token.
43
+ # @!attribute [rw] filter
44
+ # @return [::String]
45
+ # A filter that can be used to retrieve specific rule execution errors.
46
+ # Only the following filters are allowed:
47
+ # ```
48
+ # rule = "\\{Rule.name}"
49
+ # curated_rule = "\\{CuratedRule.name}"
50
+ # ```
51
+ # The value for rule or curated_rule must be a valid rule resource name or a
52
+ # valid curated rule resource name specified in quotes.
53
+ #
54
+ # For 'rule', an optional 'revision_id' can be specified which can be used to
55
+ # fetch errors for a given revision of the rule. A '-' is also allowed to
56
+ # fetch errors across all revisions of the rule. If unspecified, only errors
57
+ # corresponding to the most recent revision of the rule will be returned. So
58
+ # these variations are all allowed:
59
+ # ```
60
+ # rule = "\\{Rule.name}"
61
+ # rule = "\\{Rule.name}@\\{Rule.revision_id}"
62
+ # rule = "\\{Rule.name}@-"
63
+ # ```
64
+ # Revision IDs are not supported for curated rules.
65
+ class ListRuleExecutionErrorsRequest
66
+ include ::Google::Protobuf::MessageExts
67
+ extend ::Google::Protobuf::MessageExts::ClassMethods
68
+ end
69
+
70
+ # Response message for ListRuleExecutionErrors.
71
+ # @!attribute [rw] rule_execution_errors
72
+ # @return [::Array<::Google::Cloud::Chronicle::V1::RuleExecutionError>]
73
+ # List of rule execution errors.
74
+ # @!attribute [rw] next_page_token
75
+ # @return [::String]
76
+ # A token, which can be sent as `page_token` to retrieve the next page.
77
+ # If this field is omitted, there are no subsequent pages.
78
+ class ListRuleExecutionErrorsResponse
79
+ include ::Google::Protobuf::MessageExts
80
+ extend ::Google::Protobuf::MessageExts::ClassMethods
81
+ end
82
+
83
+ # The RuleExecutionError resource represents an error generated from
84
+ # running/deploying a rule.
85
+ # @!attribute [r] rule
86
+ # @return [::String]
87
+ # Output only. The resource name of the rule that generated the rule
88
+ # execution error.
89
+ #
90
+ # Note: The following fields are mutually exclusive: `rule`, `curated_rule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
91
+ # @!attribute [r] curated_rule
92
+ # @return [::String]
93
+ # Output only. The resource name of the curated rule that generated the
94
+ # rule execution error.
95
+ #
96
+ # Note: The following fields are mutually exclusive: `curated_rule`, `rule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
97
+ # @!attribute [r] name
98
+ # @return [::String]
99
+ # Output only. The resource name of the rule execution error.
100
+ # Format:
101
+ # projects/\\{project}/locations/\\{location}/instances/\\{instance}/ruleExecutionErrors/\\{rule_execution_error}
102
+ # @!attribute [r] error
103
+ # @return [::Google::Rpc::Status]
104
+ # Output only. The error status corresponding with the rule execution error.
105
+ # @!attribute [r] time_range
106
+ # @return [::Google::Type::Interval]
107
+ # Output only. The event time range that the rule execution error corresponds
108
+ # with.
109
+ class RuleExecutionError
110
+ include ::Google::Protobuf::MessageExts
111
+ extend ::Google::Protobuf::MessageExts::ClassMethods
112
+ end
113
+ end
114
+ end
115
+ end
116
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-chronicle-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -145,6 +145,15 @@ files:
145
145
  - lib/google/cloud/chronicle/v1/reference_list_service/rest/service_stub.rb
146
146
  - lib/google/cloud/chronicle/v1/reference_list_services_pb.rb
147
147
  - lib/google/cloud/chronicle/v1/rest.rb
148
+ - lib/google/cloud/chronicle/v1/rule_execution_error_pb.rb
149
+ - lib/google/cloud/chronicle/v1/rule_execution_error_service.rb
150
+ - lib/google/cloud/chronicle/v1/rule_execution_error_service/client.rb
151
+ - lib/google/cloud/chronicle/v1/rule_execution_error_service/credentials.rb
152
+ - lib/google/cloud/chronicle/v1/rule_execution_error_service/paths.rb
153
+ - lib/google/cloud/chronicle/v1/rule_execution_error_service/rest.rb
154
+ - lib/google/cloud/chronicle/v1/rule_execution_error_service/rest/client.rb
155
+ - lib/google/cloud/chronicle/v1/rule_execution_error_service/rest/service_stub.rb
156
+ - lib/google/cloud/chronicle/v1/rule_execution_error_services_pb.rb
148
157
  - lib/google/cloud/chronicle/v1/rule_pb.rb
149
158
  - lib/google/cloud/chronicle/v1/rule_service.rb
150
159
  - lib/google/cloud/chronicle/v1/rule_service/client.rb
@@ -174,6 +183,7 @@ files:
174
183
  - proto_docs/google/cloud/chronicle/v1/native_dashboard.rb
175
184
  - proto_docs/google/cloud/chronicle/v1/reference_list.rb
176
185
  - proto_docs/google/cloud/chronicle/v1/rule.rb
186
+ - proto_docs/google/cloud/chronicle/v1/rule_execution_error.rb
177
187
  - proto_docs/google/longrunning/operations.rb
178
188
  - proto_docs/google/protobuf/any.rb
179
189
  - proto_docs/google/protobuf/duration.rb