google-cloud-chronicle-v1 0.4.0 → 0.6.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.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +4 -4
- data/README.md +6 -6
- data/lib/google/cloud/chronicle/v1/big_query_export_pb.rb +34 -0
- data/lib/google/cloud/chronicle/v1/big_query_export_service/client.rb +682 -0
- data/lib/google/cloud/chronicle/v1/big_query_export_service/credentials.rb +49 -0
- data/lib/google/cloud/chronicle/v1/big_query_export_service/paths.rb +71 -0
- data/lib/google/cloud/chronicle/v1/big_query_export_service/rest/client.rb +618 -0
- data/lib/google/cloud/chronicle/v1/big_query_export_service/rest/service_stub.rb +266 -0
- data/lib/google/cloud/chronicle/v1/big_query_export_service/rest.rb +52 -0
- data/lib/google/cloud/chronicle/v1/big_query_export_service.rb +55 -0
- data/lib/google/cloud/chronicle/v1/big_query_export_services_pb.rb +51 -0
- data/lib/google/cloud/chronicle/v1/dashboard_chart_pb.rb +83 -0
- data/lib/google/cloud/chronicle/v1/dashboard_chart_service/client.rb +584 -0
- data/lib/google/cloud/chronicle/v1/dashboard_chart_service/credentials.rb +49 -0
- data/lib/google/cloud/chronicle/v1/dashboard_chart_service/paths.rb +73 -0
- data/lib/google/cloud/chronicle/v1/dashboard_chart_service/rest/client.rb +527 -0
- data/lib/google/cloud/chronicle/v1/dashboard_chart_service/rest/service_stub.rb +203 -0
- data/lib/google/cloud/chronicle/v1/dashboard_chart_service/rest.rb +52 -0
- data/lib/google/cloud/chronicle/v1/dashboard_chart_service.rb +55 -0
- data/lib/google/cloud/chronicle/v1/dashboard_chart_services_pb.rb +47 -0
- data/lib/google/cloud/chronicle/v1/dashboard_query_pb.rb +58 -0
- data/lib/google/cloud/chronicle/v1/dashboard_query_service/client.rb +589 -0
- data/lib/google/cloud/chronicle/v1/dashboard_query_service/credentials.rb +49 -0
- data/lib/google/cloud/chronicle/v1/dashboard_query_service/paths.rb +94 -0
- data/lib/google/cloud/chronicle/v1/dashboard_query_service/rest/client.rb +532 -0
- data/lib/google/cloud/chronicle/v1/dashboard_query_service/rest/service_stub.rb +204 -0
- data/lib/google/cloud/chronicle/v1/dashboard_query_service/rest.rb +52 -0
- data/lib/google/cloud/chronicle/v1/dashboard_query_service.rb +55 -0
- data/lib/google/cloud/chronicle/v1/dashboard_query_services_pb.rb +47 -0
- data/lib/google/cloud/chronicle/v1/data_table_pb.rb +57 -0
- data/lib/google/cloud/chronicle/v1/data_table_service/client.rb +1915 -0
- data/lib/google/cloud/chronicle/v1/data_table_service/credentials.rb +49 -0
- data/lib/google/cloud/chronicle/v1/data_table_service/paths.rb +138 -0
- data/lib/google/cloud/chronicle/v1/data_table_service/rest/client.rb +1767 -0
- data/lib/google/cloud/chronicle/v1/data_table_service/rest/service_stub.rb +1004 -0
- data/lib/google/cloud/chronicle/v1/data_table_service/rest.rb +52 -0
- data/lib/google/cloud/chronicle/v1/data_table_service.rb +55 -0
- data/lib/google/cloud/chronicle/v1/data_table_services_pb.rb +73 -0
- data/lib/google/cloud/chronicle/v1/featured_content_metadata_pb.rb +25 -0
- data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_pb.rb +33 -0
- data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/client.rb +717 -0
- data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/credentials.rb +49 -0
- data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/paths.rb +136 -0
- data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/rest/client.rb +653 -0
- data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/rest/service_stub.rb +265 -0
- data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/rest.rb +53 -0
- data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service.rb +56 -0
- data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_services_pb.rb +50 -0
- data/lib/google/cloud/chronicle/v1/native_dashboard_pb.rb +61 -0
- data/lib/google/cloud/chronicle/v1/native_dashboard_service/client.rb +1611 -0
- data/lib/google/cloud/chronicle/v1/native_dashboard_service/credentials.rb +49 -0
- data/lib/google/cloud/chronicle/v1/native_dashboard_service/paths.rb +115 -0
- data/lib/google/cloud/chronicle/v1/native_dashboard_service/rest/client.rb +1484 -0
- data/lib/google/cloud/chronicle/v1/native_dashboard_service/rest/service_stub.rb +822 -0
- data/lib/google/cloud/chronicle/v1/native_dashboard_service/rest.rb +52 -0
- data/lib/google/cloud/chronicle/v1/native_dashboard_service.rb +55 -0
- data/lib/google/cloud/chronicle/v1/native_dashboard_services_pb.rb +67 -0
- data/lib/google/cloud/chronicle/v1/rest.rb +7 -1
- data/lib/google/cloud/chronicle/v1/version.rb +1 -1
- data/lib/google/cloud/chronicle/v1.rb +8 -2
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/cloud/chronicle/v1/big_query_export.rb +142 -0
- data/proto_docs/google/cloud/chronicle/v1/dashboard_chart.rb +923 -0
- data/proto_docs/google/cloud/chronicle/v1/dashboard_query.rb +653 -0
- data/proto_docs/google/cloud/chronicle/v1/data_table.rb +512 -0
- data/proto_docs/google/cloud/chronicle/v1/featured_content_metadata.rb +82 -0
- data/proto_docs/google/cloud/chronicle/v1/featured_content_native_dashboard.rb +141 -0
- data/proto_docs/google/cloud/chronicle/v1/native_dashboard.rb +502 -0
- data/proto_docs/google/type/date.rb +56 -0
- metadata +71 -9
|
@@ -0,0 +1,512 @@
|
|
|
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
|
+
# A request to create DataTable.
|
|
25
|
+
# @!attribute [rw] parent
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Required. The parent resource where this data table will be created.
|
|
28
|
+
# Format: projects/\\{project}/locations/\\{location}/instances/\\{instance}
|
|
29
|
+
# @!attribute [rw] data_table
|
|
30
|
+
# @return [::Google::Cloud::Chronicle::V1::DataTable]
|
|
31
|
+
# Required. The data table being created.
|
|
32
|
+
# @!attribute [rw] data_table_id
|
|
33
|
+
# @return [::String]
|
|
34
|
+
# Required. The ID to use for the data table. This is also the display name
|
|
35
|
+
# for the data table. It must satisfy the following requirements:
|
|
36
|
+
# - Starts with letter.
|
|
37
|
+
# - Contains only letters, numbers and underscore.
|
|
38
|
+
# - Must be unique and has length < 256.
|
|
39
|
+
class CreateDataTableRequest
|
|
40
|
+
include ::Google::Protobuf::MessageExts
|
|
41
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# A request to get details about a data table.
|
|
45
|
+
# @!attribute [rw] name
|
|
46
|
+
# @return [::String]
|
|
47
|
+
# Required. The resource name of the data table to retrieve.
|
|
48
|
+
# Format:
|
|
49
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instances}/dataTables/\\{data_table}
|
|
50
|
+
class GetDataTableRequest
|
|
51
|
+
include ::Google::Protobuf::MessageExts
|
|
52
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# A request to update details of data table.
|
|
56
|
+
# @!attribute [rw] data_table
|
|
57
|
+
# @return [::Google::Cloud::Chronicle::V1::DataTable]
|
|
58
|
+
# Required. This field is used to identify the datatable to update.
|
|
59
|
+
# Format:
|
|
60
|
+
# projects/\\{project}/locations/\\{locations}/instances/\\{instance}/dataTables/\\{data_table}
|
|
61
|
+
# @!attribute [rw] update_mask
|
|
62
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
63
|
+
# Optional. The list of metadata fields to update. Currently data tables only
|
|
64
|
+
# support updating the `description`, `row_time_to_live` and `scope_info`
|
|
65
|
+
# fields. When no field mask is supplied, all non-empty fields will be
|
|
66
|
+
# updated. A field mask of "*" will update all fields, whether empty or not.
|
|
67
|
+
class UpdateDataTableRequest
|
|
68
|
+
include ::Google::Protobuf::MessageExts
|
|
69
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# A request for a list of data tables.
|
|
73
|
+
# @!attribute [rw] parent
|
|
74
|
+
# @return [::String]
|
|
75
|
+
# Required. The parent resource where this data table will be created.
|
|
76
|
+
# Format: projects/\\{project}/locations/\\{location}/instances/\\{instance}
|
|
77
|
+
# @!attribute [rw] page_size
|
|
78
|
+
# @return [::Integer]
|
|
79
|
+
# Optional. The maximum number of data tables to return. The service may
|
|
80
|
+
# return fewer than this value. If unspecified, at most 100 data tables will
|
|
81
|
+
# be returned. The maximum value is 1000; values above 1000 will be coerced
|
|
82
|
+
# to 1000.
|
|
83
|
+
# @!attribute [rw] page_token
|
|
84
|
+
# @return [::String]
|
|
85
|
+
# Optional. A page token, received from a previous `ListDataTables` call.
|
|
86
|
+
# Provide this to retrieve the subsequent page.
|
|
87
|
+
# When paginating, all other parameters provided to
|
|
88
|
+
# `ListDataTables` must match the call that provided the page
|
|
89
|
+
# token.
|
|
90
|
+
# @!attribute [rw] order_by
|
|
91
|
+
# @return [::String]
|
|
92
|
+
# Optional. Configures ordering of DataTables in the response.
|
|
93
|
+
# Note: Our implementation currently supports order by "create_time asc" only
|
|
94
|
+
class ListDataTablesRequest
|
|
95
|
+
include ::Google::Protobuf::MessageExts
|
|
96
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Request message for deleting data tables.
|
|
100
|
+
# @!attribute [rw] name
|
|
101
|
+
# @return [::String]
|
|
102
|
+
# Required. The resource name of the data table to delete.
|
|
103
|
+
# Format
|
|
104
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instances}/dataTables/\\{data_table}
|
|
105
|
+
# @!attribute [rw] force
|
|
106
|
+
# @return [::Boolean]
|
|
107
|
+
# Optional. If set to true, any rows under this data table will also be
|
|
108
|
+
# deleted. (Otherwise, the request will only work if the data table has no
|
|
109
|
+
# rows.)
|
|
110
|
+
class DeleteDataTableRequest
|
|
111
|
+
include ::Google::Protobuf::MessageExts
|
|
112
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# Response message for listing data tables.
|
|
116
|
+
# @!attribute [rw] data_tables
|
|
117
|
+
# @return [::Array<::Google::Cloud::Chronicle::V1::DataTable>]
|
|
118
|
+
# The list of the data tables returned.
|
|
119
|
+
# @!attribute [rw] next_page_token
|
|
120
|
+
# @return [::String]
|
|
121
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
|
122
|
+
# If this field is omitted, there are no subsequent pages.
|
|
123
|
+
class ListDataTablesResponse
|
|
124
|
+
include ::Google::Protobuf::MessageExts
|
|
125
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# Request to create data table row.
|
|
129
|
+
# @!attribute [rw] parent
|
|
130
|
+
# @return [::String]
|
|
131
|
+
# Required. The resource id of the data table.
|
|
132
|
+
# Format:
|
|
133
|
+
# /projects/\\{project}/locations/\\{location}/instances/\\{instance}/dataTables/\\{data_table}
|
|
134
|
+
# @!attribute [rw] data_table_row
|
|
135
|
+
# @return [::Google::Cloud::Chronicle::V1::DataTableRow]
|
|
136
|
+
# Required. The data table row to create.
|
|
137
|
+
class CreateDataTableRowRequest
|
|
138
|
+
include ::Google::Protobuf::MessageExts
|
|
139
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# Request to update data table row.
|
|
143
|
+
# @!attribute [rw] data_table_row
|
|
144
|
+
# @return [::Google::Cloud::Chronicle::V1::DataTableRow]
|
|
145
|
+
# Required. Format:
|
|
146
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/dataTables/\\{data_table}/dataTableRows/\\{data_table_row}
|
|
147
|
+
# @!attribute [rw] update_mask
|
|
148
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
149
|
+
# Optional. The list of fields to update. Currently data table rows only
|
|
150
|
+
# support updating the `values` field. When no field mask is supplied, all
|
|
151
|
+
# non-empty fields will be updated. A field mask of "*" will update all
|
|
152
|
+
# fields, whether empty or not.
|
|
153
|
+
class UpdateDataTableRowRequest
|
|
154
|
+
include ::Google::Protobuf::MessageExts
|
|
155
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# Request to list data table rows.
|
|
159
|
+
# @!attribute [rw] parent
|
|
160
|
+
# @return [::String]
|
|
161
|
+
# Required. The resource id of the data table.
|
|
162
|
+
# Format:
|
|
163
|
+
# projects/\\{project}/locations/\\{locations}/instances/\\{instance}/dataTables/\\{data_table}
|
|
164
|
+
# @!attribute [rw] page_size
|
|
165
|
+
# @return [::Integer]
|
|
166
|
+
# Optional. The maximum number of data table rows to return. The service may
|
|
167
|
+
# return fewer than this value. If unspecified, at most 100 data table rows
|
|
168
|
+
# will be returned. The maximum value is 1000; values above 1000 will be
|
|
169
|
+
# coerced to 1000.
|
|
170
|
+
# @!attribute [rw] page_token
|
|
171
|
+
# @return [::String]
|
|
172
|
+
# Optional. A page token, received from a previous `ListDataTableRows` call.
|
|
173
|
+
# @!attribute [rw] order_by
|
|
174
|
+
# @return [::String]
|
|
175
|
+
# Optional. Configures ordering of DataTables in the response.
|
|
176
|
+
# Note: Our implementation currently supports order by "create_time asc" only
|
|
177
|
+
# @!attribute [rw] filter
|
|
178
|
+
# @return [::String]
|
|
179
|
+
# Optional. Filter facilitating search over data table rows. This filter
|
|
180
|
+
# performs a case-insensitive substring match on the row values.
|
|
181
|
+
class ListDataTableRowsRequest
|
|
182
|
+
include ::Google::Protobuf::MessageExts
|
|
183
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
# Response message for listing data table rows.
|
|
187
|
+
# @!attribute [rw] data_table_rows
|
|
188
|
+
# @return [::Array<::Google::Cloud::Chronicle::V1::DataTableRow>]
|
|
189
|
+
# The list of the data table rows returned.
|
|
190
|
+
# @!attribute [rw] next_page_token
|
|
191
|
+
# @return [::String]
|
|
192
|
+
# Optional. A token, which can be sent as `page_token` to retrieve the next
|
|
193
|
+
# page. If this field is omitted, there are no subsequent pages.
|
|
194
|
+
class ListDataTableRowsResponse
|
|
195
|
+
include ::Google::Protobuf::MessageExts
|
|
196
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
# Request to get data table row.
|
|
200
|
+
# @!attribute [rw] name
|
|
201
|
+
# @return [::String]
|
|
202
|
+
# Required. The resource name of the data table row i,e row_id.
|
|
203
|
+
# Format:
|
|
204
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/dataTables/\\{data_table}/dataTableRows/\\{data_table_row}
|
|
205
|
+
class GetDataTableRowRequest
|
|
206
|
+
include ::Google::Protobuf::MessageExts
|
|
207
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
# Request to delete data table row.
|
|
211
|
+
# @!attribute [rw] name
|
|
212
|
+
# @return [::String]
|
|
213
|
+
# Required. The resource name of the data table row i,e row_id.
|
|
214
|
+
# Format:
|
|
215
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/dataTables/\\{data_table}/dataTableRows/\\{data_table_row}
|
|
216
|
+
class DeleteDataTableRowRequest
|
|
217
|
+
include ::Google::Protobuf::MessageExts
|
|
218
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
# Request to create data table rows in bulk.
|
|
222
|
+
# @!attribute [rw] parent
|
|
223
|
+
# @return [::String]
|
|
224
|
+
# Required. The resource id of the data table.
|
|
225
|
+
# Format:
|
|
226
|
+
# /projects/\\{project}/locations/\\{location}/instances/\\{instance}/dataTables/\\{data_table}
|
|
227
|
+
# @!attribute [rw] requests
|
|
228
|
+
# @return [::Array<::Google::Cloud::Chronicle::V1::CreateDataTableRowRequest>]
|
|
229
|
+
# Required. Data table rows to create. A maximum of 1000 rows (for sync
|
|
230
|
+
# requests) or 2000 rows (for async requests) can be created in a single
|
|
231
|
+
# request. Total size of the rows should be less than 4MB.
|
|
232
|
+
class BulkCreateDataTableRowsRequest
|
|
233
|
+
include ::Google::Protobuf::MessageExts
|
|
234
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
# Response message with created data table rows.
|
|
238
|
+
# @!attribute [rw] data_table_rows
|
|
239
|
+
# @return [::Array<::Google::Cloud::Chronicle::V1::DataTableRow>]
|
|
240
|
+
# DataTableRows created
|
|
241
|
+
class BulkCreateDataTableRowsResponse
|
|
242
|
+
include ::Google::Protobuf::MessageExts
|
|
243
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
# Request to get data table rows in bulk.
|
|
247
|
+
# @!attribute [rw] parent
|
|
248
|
+
# @return [::String]
|
|
249
|
+
# Required. The resource id of the data table.
|
|
250
|
+
# Format:
|
|
251
|
+
# /projects/\\{project}/locations/\\{location}/instances/\\{instance}/dataTables/\\{data_table}
|
|
252
|
+
# @!attribute [rw] requests
|
|
253
|
+
# @return [::Array<::Google::Cloud::Chronicle::V1::GetDataTableRowRequest>]
|
|
254
|
+
# Required. Data table rows to get. At max 1,000 rows can be there in a
|
|
255
|
+
# request.
|
|
256
|
+
class BulkGetDataTableRowsRequest
|
|
257
|
+
include ::Google::Protobuf::MessageExts
|
|
258
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
# Response message with data table rows.
|
|
262
|
+
# @!attribute [rw] data_table_rows
|
|
263
|
+
# @return [::Array<::Google::Cloud::Chronicle::V1::DataTableRow>]
|
|
264
|
+
# The requested data table rows.
|
|
265
|
+
class BulkGetDataTableRowsResponse
|
|
266
|
+
include ::Google::Protobuf::MessageExts
|
|
267
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
# Request to replace data table rows in bulk.
|
|
271
|
+
# @!attribute [rw] parent
|
|
272
|
+
# @return [::String]
|
|
273
|
+
# Required. The resource id of the data table.
|
|
274
|
+
# Format:
|
|
275
|
+
# /projects/\\{project}/locations/\\{location}/instances/\\{instance}/dataTables/\\{data_table}
|
|
276
|
+
# @!attribute [rw] requests
|
|
277
|
+
# @return [::Array<::Google::Cloud::Chronicle::V1::CreateDataTableRowRequest>]
|
|
278
|
+
# Required. Data table rows to replace the existing data table rows. A
|
|
279
|
+
# maximum of 1000 rows (for sync requests) or 2000 rows (for async requests)
|
|
280
|
+
# can be replaced in a single request. Total size of the rows should be less
|
|
281
|
+
# than 4MB.
|
|
282
|
+
class BulkReplaceDataTableRowsRequest
|
|
283
|
+
include ::Google::Protobuf::MessageExts
|
|
284
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
# Response message with data table rows that replaced existing data table rows.
|
|
288
|
+
# @!attribute [rw] data_table_rows
|
|
289
|
+
# @return [::Array<::Google::Cloud::Chronicle::V1::DataTableRow>]
|
|
290
|
+
# DataTableRows that replaced existing data table rows
|
|
291
|
+
class BulkReplaceDataTableRowsResponse
|
|
292
|
+
include ::Google::Protobuf::MessageExts
|
|
293
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
# Request to update data table rows in bulk.
|
|
297
|
+
# @!attribute [rw] parent
|
|
298
|
+
# @return [::String]
|
|
299
|
+
# Required. The resource id of the data table.
|
|
300
|
+
# Format:
|
|
301
|
+
# /projects/\\{project}/locations/\\{location}/instances/\\{instance}/dataTables/\\{data_table}
|
|
302
|
+
# @!attribute [rw] requests
|
|
303
|
+
# @return [::Array<::Google::Cloud::Chronicle::V1::UpdateDataTableRowRequest>]
|
|
304
|
+
# Required. Data table rows to update. At max 1,000 rows (or rows with size
|
|
305
|
+
# less than 2MB) can be there in a request.
|
|
306
|
+
class BulkUpdateDataTableRowsRequest
|
|
307
|
+
include ::Google::Protobuf::MessageExts
|
|
308
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
# Response message with updated data table rows.
|
|
312
|
+
# @!attribute [rw] data_table_rows
|
|
313
|
+
# @return [::Array<::Google::Cloud::Chronicle::V1::DataTableRow>]
|
|
314
|
+
# DataTableRows updated
|
|
315
|
+
class BulkUpdateDataTableRowsResponse
|
|
316
|
+
include ::Google::Protobuf::MessageExts
|
|
317
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
# DataTableScopeInfo specifies the scope info of the data table.
|
|
321
|
+
# @!attribute [rw] data_access_scopes
|
|
322
|
+
# @return [::Array<::String>]
|
|
323
|
+
# Required. Contains the list of scope names of the data table. If the list
|
|
324
|
+
# is empty, the data table is treated as unscoped. The scope names should be
|
|
325
|
+
# full resource names and should be of the format:
|
|
326
|
+
# "projects/\\{project}/locations/\\{location}/instances/\\{instance}/dataAccessScopes/\\{scope_name}"
|
|
327
|
+
class DataTableScopeInfo
|
|
328
|
+
include ::Google::Protobuf::MessageExts
|
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
# DataTable represents the data table resource.
|
|
333
|
+
# @!attribute [rw] name
|
|
334
|
+
# @return [::String]
|
|
335
|
+
# Identifier. The resource name of the data table
|
|
336
|
+
# Format:
|
|
337
|
+
# "\\{project}/locations/\\{location}/instances/\\{instance}/dataTables/\\{data_table}"
|
|
338
|
+
# @!attribute [r] display_name
|
|
339
|
+
# @return [::String]
|
|
340
|
+
# Output only. The unique display name of the data table.
|
|
341
|
+
# @!attribute [rw] description
|
|
342
|
+
# @return [::String]
|
|
343
|
+
# Required. A user-provided description of the data table.
|
|
344
|
+
# @!attribute [r] create_time
|
|
345
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
346
|
+
# Output only. Table create time
|
|
347
|
+
# @!attribute [r] update_time
|
|
348
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
349
|
+
# Output only. Table update time
|
|
350
|
+
# @!attribute [rw] column_info
|
|
351
|
+
# @return [::Array<::Google::Cloud::Chronicle::V1::DataTableColumnInfo>]
|
|
352
|
+
# Immutable. Details of all the columns in the table
|
|
353
|
+
# @!attribute [r] data_table_uuid
|
|
354
|
+
# @return [::String]
|
|
355
|
+
# Output only. Data table unique id
|
|
356
|
+
# @!attribute [r] rules
|
|
357
|
+
# @return [::Array<::String>]
|
|
358
|
+
# Output only. The resource names for the associated Rules that use this
|
|
359
|
+
# data table. Format:
|
|
360
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/rules/\\{rule}.
|
|
361
|
+
# \\{rule} here refers to the rule id.
|
|
362
|
+
# @!attribute [r] rule_associations_count
|
|
363
|
+
# @return [::Integer]
|
|
364
|
+
# Output only. The count of rules using the data table.
|
|
365
|
+
# @!attribute [rw] row_time_to_live
|
|
366
|
+
# @return [::String]
|
|
367
|
+
# Optional. User-provided TTL of the data table.
|
|
368
|
+
# @!attribute [r] approximate_row_count
|
|
369
|
+
# @return [::Integer]
|
|
370
|
+
# Output only. The count of rows in the data table.
|
|
371
|
+
# @!attribute [rw] scope_info
|
|
372
|
+
# @return [::Google::Cloud::Chronicle::V1::DataTableScopeInfo]
|
|
373
|
+
# Optional. The scope info of the data table.
|
|
374
|
+
# During data table creation, if this field is not set, the data
|
|
375
|
+
# table without scopes (an unscoped table) will be created for a global
|
|
376
|
+
# user. For a scoped user, this field must be set. During data table
|
|
377
|
+
# update, if scope_info is requested to be updated, this field must be set.
|
|
378
|
+
# @!attribute [r] update_source
|
|
379
|
+
# @return [::Google::Cloud::Chronicle::V1::DataTableUpdateSource]
|
|
380
|
+
# Output only. Source of the data table update.
|
|
381
|
+
# @!attribute [r] row_time_to_live_update_time
|
|
382
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
383
|
+
# Output only. Last update time of the TTL of the data table.
|
|
384
|
+
class DataTable
|
|
385
|
+
include ::Google::Protobuf::MessageExts
|
|
386
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
# DataTableRow represents a single row in a data table.
|
|
390
|
+
# @!attribute [rw] name
|
|
391
|
+
# @return [::String]
|
|
392
|
+
# Identifier. The resource name of the data table
|
|
393
|
+
# Format:
|
|
394
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/dataTables/\\{data_table}/dataTableRows/\\{data_table_row}
|
|
395
|
+
# @!attribute [rw] values
|
|
396
|
+
# @return [::Array<::String>]
|
|
397
|
+
# Required. All column values for a single row. The values should be in the
|
|
398
|
+
# same order as the columns of the data tables.
|
|
399
|
+
# @!attribute [r] create_time
|
|
400
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
401
|
+
# Output only. DataTableRow create time
|
|
402
|
+
# @!attribute [r] update_time
|
|
403
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
404
|
+
# Output only. DataTableRow update time
|
|
405
|
+
# @!attribute [rw] row_time_to_live
|
|
406
|
+
# @return [::String]
|
|
407
|
+
# Optional. User-provided TTL of the data table row.
|
|
408
|
+
class DataTableRow
|
|
409
|
+
include ::Google::Protobuf::MessageExts
|
|
410
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
411
|
+
end
|
|
412
|
+
|
|
413
|
+
# DataTableColumnInfo represents the column metadata of the
|
|
414
|
+
# datatable. The column_index represents the ordering of the
|
|
415
|
+
# values in DataTableRow.
|
|
416
|
+
# @!attribute [rw] mapped_column_path
|
|
417
|
+
# @return [::String]
|
|
418
|
+
# Entity proto field path that the column is mapped to
|
|
419
|
+
#
|
|
420
|
+
# Note: The following fields are mutually exclusive: `mapped_column_path`, `column_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
421
|
+
# @!attribute [rw] column_type
|
|
422
|
+
# @return [::Google::Cloud::Chronicle::V1::DataTableColumnInfo::DataTableColumnType]
|
|
423
|
+
# Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX
|
|
424
|
+
#
|
|
425
|
+
# Note: The following fields are mutually exclusive: `column_type`, `mapped_column_path`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
426
|
+
# @!attribute [rw] column_index
|
|
427
|
+
# @return [::Integer]
|
|
428
|
+
# Required. Column Index. 0,1,2...
|
|
429
|
+
# @!attribute [rw] original_column
|
|
430
|
+
# @return [::String]
|
|
431
|
+
# Required. Original column name of the Data Table (present in the CSV header
|
|
432
|
+
# in case of creation of data tables using file uploads). It must satisfy the
|
|
433
|
+
# following requirements:
|
|
434
|
+
# - Starts with letter.
|
|
435
|
+
# - Contains only letters, numbers and underscore.
|
|
436
|
+
# - Must be unique and has length < 256.
|
|
437
|
+
# @!attribute [rw] key_column
|
|
438
|
+
# @return [::Boolean]
|
|
439
|
+
# Optional. Whether to include this column in the calculation of the row ID.
|
|
440
|
+
# If no columns have key_column = true, all columns will be included in the
|
|
441
|
+
# calculation of the row ID.
|
|
442
|
+
# @!attribute [rw] repeated_values
|
|
443
|
+
# @return [::Boolean]
|
|
444
|
+
# Optional. Whether the column is a repeated values column.
|
|
445
|
+
class DataTableColumnInfo
|
|
446
|
+
include ::Google::Protobuf::MessageExts
|
|
447
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
448
|
+
|
|
449
|
+
# DataTableColumnType denotes the type of the column to be referenced in the
|
|
450
|
+
# rule.
|
|
451
|
+
module DataTableColumnType
|
|
452
|
+
# The default Data Table Column Type.
|
|
453
|
+
DATA_TABLE_COLUMN_TYPE_UNSPECIFIED = 0
|
|
454
|
+
|
|
455
|
+
# Denotes the type of the column as STRING.
|
|
456
|
+
STRING = 1
|
|
457
|
+
|
|
458
|
+
# Denotes the type of the column as REGEX.
|
|
459
|
+
REGEX = 2
|
|
460
|
+
|
|
461
|
+
# Denotes the type of the column as CIDR.
|
|
462
|
+
CIDR = 3
|
|
463
|
+
|
|
464
|
+
# Denotes the type of the column as NUMBER (includes int and float).
|
|
465
|
+
NUMBER = 4
|
|
466
|
+
end
|
|
467
|
+
end
|
|
468
|
+
|
|
469
|
+
# The request message for GetDataTableOperationErrors.
|
|
470
|
+
# @!attribute [rw] name
|
|
471
|
+
# @return [::String]
|
|
472
|
+
# Required. Resource name for the data table operation errors.
|
|
473
|
+
# Format:
|
|
474
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/dataTableOperationErrors/\\{data_table_operation_errors}
|
|
475
|
+
class GetDataTableOperationErrorsRequest
|
|
476
|
+
include ::Google::Protobuf::MessageExts
|
|
477
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
478
|
+
end
|
|
479
|
+
|
|
480
|
+
# The message containing the errors for a data table operation.
|
|
481
|
+
# @!attribute [rw] name
|
|
482
|
+
# @return [::String]
|
|
483
|
+
# Identifier. Resource name for the data table operation errors.
|
|
484
|
+
# Format:
|
|
485
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/dataTableOperationErrors/\\{data_table_operation_errors}
|
|
486
|
+
# @!attribute [rw] rpc_errors
|
|
487
|
+
# @return [::Array<::Google::Rpc::Status>]
|
|
488
|
+
# The list of errors.
|
|
489
|
+
# Replaces the deprecated `errors` field.
|
|
490
|
+
class DataTableOperationErrors
|
|
491
|
+
include ::Google::Protobuf::MessageExts
|
|
492
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
493
|
+
end
|
|
494
|
+
|
|
495
|
+
# DataTableUpdateSource denotes the source that updated the data table.
|
|
496
|
+
module DataTableUpdateSource
|
|
497
|
+
# The data table is updated by the user.
|
|
498
|
+
DATA_TABLE_UPDATE_SOURCE_UNSPECIFIED = 0
|
|
499
|
+
|
|
500
|
+
# The data table is updated by the user.
|
|
501
|
+
USER = 1
|
|
502
|
+
|
|
503
|
+
# The data table is updated by the rule.
|
|
504
|
+
RULE = 2
|
|
505
|
+
|
|
506
|
+
# The data table is updated by the search.
|
|
507
|
+
SEARCH = 3
|
|
508
|
+
end
|
|
509
|
+
end
|
|
510
|
+
end
|
|
511
|
+
end
|
|
512
|
+
end
|
|
@@ -0,0 +1,82 @@
|
|
|
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
|
+
# FeaturedContentMetadata holds metadata about the Featured Content.
|
|
25
|
+
# @!attribute [rw] id
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Required. Unique identifier of the featured content.
|
|
28
|
+
# @!attribute [r] display_name
|
|
29
|
+
# @return [::String]
|
|
30
|
+
# Output only. The display name of the featured content.
|
|
31
|
+
# @!attribute [r] create_time
|
|
32
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
33
|
+
# Output only. Timestamp indicating when the item was created.
|
|
34
|
+
# @!attribute [r] update_time
|
|
35
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
36
|
+
# Output only. Timestamp indicating when the item was updated.
|
|
37
|
+
# @!attribute [r] author
|
|
38
|
+
# @return [::String]
|
|
39
|
+
# Output only. Content item author full name.
|
|
40
|
+
# @!attribute [r] certified
|
|
41
|
+
# @return [::Boolean]
|
|
42
|
+
# Output only. Determine if this content item is officially certified by
|
|
43
|
+
# Google or created by the community.
|
|
44
|
+
# @!attribute [r] description
|
|
45
|
+
# @return [::String]
|
|
46
|
+
# Output only. The description of the content item.
|
|
47
|
+
# @!attribute [r] categories
|
|
48
|
+
# @return [::Array<::String>]
|
|
49
|
+
# Output only. Categories the content is associated with.
|
|
50
|
+
# @!attribute [r] version
|
|
51
|
+
# @return [::String]
|
|
52
|
+
# Output only. Featured content version (Major.Minor.Patch).
|
|
53
|
+
# @!attribute [r] verified
|
|
54
|
+
# @return [::Boolean]
|
|
55
|
+
# Output only. Whether the content is verified by Google (applicable for 3rd
|
|
56
|
+
# party content).
|
|
57
|
+
# @!attribute [r] source_type
|
|
58
|
+
# @return [::Google::Cloud::Chronicle::V1::FeaturedContentMetadata::ContentSourceType]
|
|
59
|
+
# Output only. The source type of the content.
|
|
60
|
+
class FeaturedContentMetadata
|
|
61
|
+
include ::Google::Protobuf::MessageExts
|
|
62
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
63
|
+
|
|
64
|
+
# ContentSourceType specifying the content source of origin
|
|
65
|
+
module ContentSourceType
|
|
66
|
+
# Unspecified content source type
|
|
67
|
+
CONTENT_SOURCE_TYPE_UNSPECIFIED = 0
|
|
68
|
+
|
|
69
|
+
# Certified Google content source type
|
|
70
|
+
GOOGLE = 1
|
|
71
|
+
|
|
72
|
+
# Community content source type
|
|
73
|
+
COMMUNITY = 2
|
|
74
|
+
|
|
75
|
+
# Partner content source type
|
|
76
|
+
PARTNER = 3
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|