google-cloud-chronicle-v1 0.a → 0.1.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 (74) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/cloud/chronicle/v1/data_access_control_pb.rb +67 -0
  6. data/lib/google/cloud/chronicle/v1/data_access_control_service/client.rb +1414 -0
  7. data/lib/google/cloud/chronicle/v1/data_access_control_service/credentials.rb +47 -0
  8. data/lib/google/cloud/chronicle/v1/data_access_control_service/paths.rb +94 -0
  9. data/lib/google/cloud/chronicle/v1/data_access_control_service/rest/client.rb +1318 -0
  10. data/lib/google/cloud/chronicle/v1/data_access_control_service/rest/service_stub.rb +695 -0
  11. data/lib/google/cloud/chronicle/v1/data_access_control_service/rest.rb +53 -0
  12. data/lib/google/cloud/chronicle/v1/data_access_control_service.rb +56 -0
  13. data/lib/google/cloud/chronicle/v1/data_access_control_services_pb.rb +76 -0
  14. data/lib/google/cloud/chronicle/v1/entity_pb.rb +62 -0
  15. data/lib/google/cloud/chronicle/v1/entity_service/client.rb +891 -0
  16. data/lib/google/cloud/chronicle/v1/entity_service/credentials.rb +47 -0
  17. data/lib/google/cloud/chronicle/v1/entity_service/paths.rb +73 -0
  18. data/lib/google/cloud/chronicle/v1/entity_service/rest/client.rb +830 -0
  19. data/lib/google/cloud/chronicle/v1/entity_service/rest/service_stub.rb +388 -0
  20. data/lib/google/cloud/chronicle/v1/entity_service/rest.rb +52 -0
  21. data/lib/google/cloud/chronicle/v1/entity_service.rb +55 -0
  22. data/lib/google/cloud/chronicle/v1/entity_services_pb.rb +54 -0
  23. data/lib/google/cloud/chronicle/v1/instance_pb.rb +48 -0
  24. data/lib/google/cloud/chronicle/v1/instance_service/client.rb +464 -0
  25. data/lib/google/cloud/chronicle/v1/instance_service/credentials.rb +47 -0
  26. data/lib/google/cloud/chronicle/v1/instance_service/paths.rb +52 -0
  27. data/lib/google/cloud/chronicle/v1/instance_service/rest/client.rb +431 -0
  28. data/lib/google/cloud/chronicle/v1/instance_service/rest/service_stub.rb +142 -0
  29. data/lib/google/cloud/chronicle/v1/instance_service/rest.rb +52 -0
  30. data/lib/google/cloud/chronicle/v1/instance_service.rb +55 -0
  31. data/lib/google/cloud/chronicle/v1/instance_services_pb.rb +45 -0
  32. data/lib/google/cloud/chronicle/v1/reference_list_pb.rb +61 -0
  33. data/lib/google/cloud/chronicle/v1/reference_list_service/client.rb +792 -0
  34. data/lib/google/cloud/chronicle/v1/reference_list_service/credentials.rb +47 -0
  35. data/lib/google/cloud/chronicle/v1/reference_list_service/paths.rb +73 -0
  36. data/lib/google/cloud/chronicle/v1/reference_list_service/rest/client.rb +738 -0
  37. data/lib/google/cloud/chronicle/v1/reference_list_service/rest/service_stub.rb +327 -0
  38. data/lib/google/cloud/chronicle/v1/reference_list_service/rest.rb +52 -0
  39. data/lib/google/cloud/chronicle/v1/reference_list_service.rb +55 -0
  40. data/lib/google/cloud/chronicle/v1/reference_list_services_pb.rb +51 -0
  41. data/lib/google/cloud/chronicle/v1/rest.rb +41 -0
  42. data/lib/google/cloud/chronicle/v1/rule_pb.rb +85 -0
  43. data/lib/google/cloud/chronicle/v1/rule_service/client.rb +1674 -0
  44. data/lib/google/cloud/chronicle/v1/rule_service/credentials.rb +47 -0
  45. data/lib/google/cloud/chronicle/v1/rule_service/operations.rb +813 -0
  46. data/lib/google/cloud/chronicle/v1/rule_service/paths.rb +159 -0
  47. data/lib/google/cloud/chronicle/v1/rule_service/rest/client.rb +1564 -0
  48. data/lib/google/cloud/chronicle/v1/rule_service/rest/operations.rb +914 -0
  49. data/lib/google/cloud/chronicle/v1/rule_service/rest/service_stub.rb +817 -0
  50. data/lib/google/cloud/chronicle/v1/rule_service/rest.rb +53 -0
  51. data/lib/google/cloud/chronicle/v1/rule_service.rb +56 -0
  52. data/lib/google/cloud/chronicle/v1/rule_services_pb.rb +70 -0
  53. data/lib/google/cloud/chronicle/v1/version.rb +7 -2
  54. data/lib/google/cloud/chronicle/v1.rb +49 -0
  55. data/lib/google-cloud-chronicle-v1.rb +21 -0
  56. data/proto_docs/README.md +4 -0
  57. data/proto_docs/google/api/client.rb +473 -0
  58. data/proto_docs/google/api/field_behavior.rb +85 -0
  59. data/proto_docs/google/api/launch_stage.rb +71 -0
  60. data/proto_docs/google/api/resource.rb +227 -0
  61. data/proto_docs/google/cloud/chronicle/v1/data_access_control.rb +364 -0
  62. data/proto_docs/google/cloud/chronicle/v1/entity.rb +210 -0
  63. data/proto_docs/google/cloud/chronicle/v1/instance.rb +47 -0
  64. data/proto_docs/google/cloud/chronicle/v1/reference_list.rb +232 -0
  65. data/proto_docs/google/cloud/chronicle/v1/rule.rb +701 -0
  66. data/proto_docs/google/longrunning/operations.rb +173 -0
  67. data/proto_docs/google/protobuf/any.rb +145 -0
  68. data/proto_docs/google/protobuf/duration.rb +98 -0
  69. data/proto_docs/google/protobuf/empty.rb +34 -0
  70. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  71. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  72. data/proto_docs/google/rpc/status.rb +48 -0
  73. data/proto_docs/google/type/interval.rb +45 -0
  74. metadata +110 -10
@@ -0,0 +1,159 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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
+ module RuleService
25
+ # Path helper methods for the RuleService API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified DataAccessScope resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}`
33
+ #
34
+ # @param project [String]
35
+ # @param location [String]
36
+ # @param instance [String]
37
+ # @param data_access_scope [String]
38
+ #
39
+ # @return [::String]
40
+ def data_access_scope_path project:, location:, instance:, data_access_scope:
41
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
42
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
43
+ raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
44
+
45
+ "projects/#{project}/locations/#{location}/instances/#{instance}/dataAccessScopes/#{data_access_scope}"
46
+ end
47
+
48
+ ##
49
+ # Create a fully-qualified Instance resource string.
50
+ #
51
+ # The resource will be in the following format:
52
+ #
53
+ # `projects/{project}/locations/{location}/instances/{instance}`
54
+ #
55
+ # @param project [String]
56
+ # @param location [String]
57
+ # @param instance [String]
58
+ #
59
+ # @return [::String]
60
+ def instance_path project:, location:, instance:
61
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
62
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
63
+
64
+ "projects/#{project}/locations/#{location}/instances/#{instance}"
65
+ end
66
+
67
+ ##
68
+ # Create a fully-qualified ReferenceList resource string.
69
+ #
70
+ # The resource will be in the following format:
71
+ #
72
+ # `projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}`
73
+ #
74
+ # @param project [String]
75
+ # @param location [String]
76
+ # @param instance [String]
77
+ # @param reference_list [String]
78
+ #
79
+ # @return [::String]
80
+ def reference_list_path project:, location:, instance:, reference_list:
81
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
82
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
83
+ raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
84
+
85
+ "projects/#{project}/locations/#{location}/instances/#{instance}/referenceLists/#{reference_list}"
86
+ end
87
+
88
+ ##
89
+ # Create a fully-qualified Retrohunt resource string.
90
+ #
91
+ # The resource will be in the following format:
92
+ #
93
+ # `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`
94
+ #
95
+ # @param project [String]
96
+ # @param location [String]
97
+ # @param instance [String]
98
+ # @param rule [String]
99
+ # @param retrohunt [String]
100
+ #
101
+ # @return [::String]
102
+ def retrohunt_path project:, location:, instance:, rule:, retrohunt:
103
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
104
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
105
+ raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
106
+ raise ::ArgumentError, "rule cannot contain /" if rule.to_s.include? "/"
107
+
108
+ "projects/#{project}/locations/#{location}/instances/#{instance}/rules/#{rule}/retrohunts/#{retrohunt}"
109
+ end
110
+
111
+ ##
112
+ # Create a fully-qualified Rule resource string.
113
+ #
114
+ # The resource will be in the following format:
115
+ #
116
+ # `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
117
+ #
118
+ # @param project [String]
119
+ # @param location [String]
120
+ # @param instance [String]
121
+ # @param rule [String]
122
+ #
123
+ # @return [::String]
124
+ def rule_path project:, location:, instance:, rule:
125
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
126
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
127
+ raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
128
+
129
+ "projects/#{project}/locations/#{location}/instances/#{instance}/rules/#{rule}"
130
+ end
131
+
132
+ ##
133
+ # Create a fully-qualified RuleDeployment resource string.
134
+ #
135
+ # The resource will be in the following format:
136
+ #
137
+ # `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment`
138
+ #
139
+ # @param project [String]
140
+ # @param location [String]
141
+ # @param instance [String]
142
+ # @param rule [String]
143
+ #
144
+ # @return [::String]
145
+ def rule_deployment_path project:, location:, instance:, rule:
146
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
147
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
148
+ raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
149
+
150
+ "projects/#{project}/locations/#{location}/instances/#{instance}/rules/#{rule}/deployment"
151
+ end
152
+
153
+ extend self
154
+ end
155
+ end
156
+ end
157
+ end
158
+ end
159
+ end