google-cloud-chronicle-v1 0.3.1 → 0.4.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/lib/google/cloud/chronicle/v1/data_access_control_pb.rb +2 -25
- data/lib/google/cloud/chronicle/v1/entity_pb.rb +2 -25
- data/lib/google/cloud/chronicle/v1/instance_pb.rb +2 -23
- data/lib/google/cloud/chronicle/v1/reference_list_pb.rb +2 -25
- data/lib/google/cloud/chronicle/v1/rule_pb.rb +2 -26
- data/lib/google/cloud/chronicle/v1/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6f94e2caab94b6ac43251e0bd7a5b312e784384a5a9aef07fb7b9df49ca96302
|
|
4
|
+
data.tar.gz: 2a37e0243353a35e2011af017d0312458ceb642daed20139b3c69c59764933d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 25fb92ee341130b10e8ef99a560f49a00cc6c2879c68ca95790f6d2ad60400333720021bb7874455416a43d91e2d40c324eec1cdf61160846dfe3edda728631d
|
|
7
|
+
data.tar.gz: 66d89a33f49790575a4a42b683e409231ef582395afdd90168bbd39f29a068d0f69af21dd009847c71db50624e21e37509fbe466ca60aab1f7b1fd78c934d4b6
|
|
@@ -15,31 +15,8 @@ require 'google/protobuf/timestamp_pb'
|
|
|
15
15
|
|
|
16
16
|
descriptor_data = "\n3google/cloud/chronicle/v1/data_access_control.proto\x12\x19google.cloud.chronicle.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcf\x01\n\x1c\x43reateDataAccessLabelRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(chronicle.googleapis.com/DataAccessLabel\x12J\n\x11\x64\x61ta_access_label\x18\x02 \x01(\x0b\x32*.google.cloud.chronicle.v1.DataAccessLabelB\x03\xe0\x41\x02\x12!\n\x14\x64\x61ta_access_label_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"[\n\x19GetDataAccessLabelRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(chronicle.googleapis.com/DataAccessLabel\"\x9b\x01\n\x1bListDataAccessLabelsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(chronicle.googleapis.com/DataAccessLabel\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x1cListDataAccessLabelsResponse\x12\x46\n\x12\x64\x61ta_access_labels\x18\x01 \x03(\x0b\x32*.google.cloud.chronicle.v1.DataAccessLabel\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9b\x01\n\x1cUpdateDataAccessLabelRequest\x12J\n\x11\x64\x61ta_access_label\x18\x01 \x01(\x0b\x32*.google.cloud.chronicle.v1.DataAccessLabelB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"^\n\x1c\x44\x65leteDataAccessLabelRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(chronicle.googleapis.com/DataAccessLabel\"\xcf\x01\n\x1c\x43reateDataAccessScopeRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(chronicle.googleapis.com/DataAccessScope\x12J\n\x11\x64\x61ta_access_scope\x18\x02 \x01(\x0b\x32*.google.cloud.chronicle.v1.DataAccessScopeB\x03\xe0\x41\x02\x12!\n\x14\x64\x61ta_access_scope_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"[\n\x19GetDataAccessScopeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(chronicle.googleapis.com/DataAccessScope\"\x9b\x01\n\x1bListDataAccessScopesRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(chronicle.googleapis.com/DataAccessScope\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xd3\x01\n\x1cListDataAccessScopesResponse\x12\x46\n\x12\x64\x61ta_access_scopes\x18\x01 \x03(\x0b\x32*.google.cloud.chronicle.v1.DataAccessScope\x12-\n global_data_access_scope_granted\x18\x03 \x01(\x08H\x00\x88\x01\x01\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\tB#\n!_global_data_access_scope_granted\"\x9b\x01\n\x1cUpdateDataAccessScopeRequest\x12J\n\x11\x64\x61ta_access_scope\x18\x01 \x01(\x0b\x32*.google.cloud.chronicle.v1.DataAccessScopeB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"^\n\x1c\x44\x65leteDataAccessScopeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(chronicle.googleapis.com/DataAccessScope\"\xd5\x03\n\x0f\x44\x61taAccessLabel\x12\x13\n\tudm_query\x18\x03 \x01(\tH\x00\x12;\n\x04name\x18\x01 \x01(\tB-\xfa\x41*\n(chronicle.googleapis.com/DataAccessLabel\x12\x19\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06\x61uthor\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0blast_editor\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01:\x91\x01\xea\x41\x8d\x01\n(chronicle.googleapis.com/DataAccessLabel\x12\x61projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}B\x0c\n\ndefinition\"\x88\x05\n\x0f\x44\x61taAccessScope\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(chronicle.googleapis.com/DataAccessScope\x12\\\n\x1a\x61llowed_data_access_labels\x18\x02 \x03(\x0b\x32\x33.google.cloud.chronicle.v1.DataAccessLabelReferenceB\x03\xe0\x41\x01\x12[\n\x19\x64\x65nied_data_access_labels\x18\x03 \x03(\x0b\x32\x33.google.cloud.chronicle.v1.DataAccessLabelReferenceB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06\x61uthor\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0blast_editor\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tallow_all\x18\n \x01(\x08\x42\x03\xe0\x41\x01:\x91\x01\xea\x41\x8d\x01\n(chronicle.googleapis.com/DataAccessScope\x12\x61projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}\"\xd0\x01\n\x18\x44\x61taAccessLabelReference\x12\x1b\n\x11\x64\x61ta_access_label\x18\x01 \x01(\tH\x00\x12\x12\n\x08log_type\x18\x02 \x01(\tH\x00\x12\x19\n\x0f\x61sset_namespace\x18\x03 \x01(\tH\x00\x12\x44\n\x0fingestion_label\x18\x04 \x01(\x0b\x32).google.cloud.chronicle.v1.IngestionLabelH\x00\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x03\x42\x07\n\x05label\"V\n\x0eIngestionLabel\x12 \n\x13ingestion_label_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\"\n\x15ingestion_label_value\x18\x02 \x01(\tB\x03\xe0\x41\x01\x32\xe6\x12\n\x18\x44\x61taAccessControlService\x12\x8a\x02\n\x15\x43reateDataAccessLabel\x12\x37.google.cloud.chronicle.v1.CreateDataAccessLabelRequest\x1a*.google.cloud.chronicle.v1.DataAccessLabel\"\x8b\x01\xda\x41-parent,data_access_label,data_access_label_id\x82\xd3\xe4\x93\x02U\"@/v1/{parent=projects/*/locations/*/instances/*}/dataAccessLabels:\x11\x64\x61ta_access_label\x12\xc7\x01\n\x12GetDataAccessLabel\x12\x34.google.cloud.chronicle.v1.GetDataAccessLabelRequest\x1a*.google.cloud.chronicle.v1.DataAccessLabel\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\x12@/v1/{name=projects/*/locations/*/instances/*/dataAccessLabels/*}\x12\xda\x01\n\x14ListDataAccessLabels\x12\x36.google.cloud.chronicle.v1.ListDataAccessLabelsRequest\x1a\x37.google.cloud.chronicle.v1.ListDataAccessLabelsResponse\"Q\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x42\x12@/v1/{parent=projects/*/locations/*/instances/*}/dataAccessLabels\x12\x8c\x02\n\x15UpdateDataAccessLabel\x12\x37.google.cloud.chronicle.v1.UpdateDataAccessLabelRequest\x1a*.google.cloud.chronicle.v1.DataAccessLabel\"\x8d\x01\xda\x41\x1d\x64\x61ta_access_label,update_mask\x82\xd3\xe4\x93\x02g2R/v1/{data_access_label.name=projects/*/locations/*/instances/*/dataAccessLabels/*}:\x11\x64\x61ta_access_label\x12\xb9\x01\n\x15\x44\x65leteDataAccessLabel\x12\x37.google.cloud.chronicle.v1.DeleteDataAccessLabelRequest\x1a\x16.google.protobuf.Empty\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42*@/v1/{name=projects/*/locations/*/instances/*/dataAccessLabels/*}\x12\x8a\x02\n\x15\x43reateDataAccessScope\x12\x37.google.cloud.chronicle.v1.CreateDataAccessScopeRequest\x1a*.google.cloud.chronicle.v1.DataAccessScope\"\x8b\x01\xda\x41-parent,data_access_scope,data_access_scope_id\x82\xd3\xe4\x93\x02U\"@/v1/{parent=projects/*/locations/*/instances/*}/dataAccessScopes:\x11\x64\x61ta_access_scope\x12\xc7\x01\n\x12GetDataAccessScope\x12\x34.google.cloud.chronicle.v1.GetDataAccessScopeRequest\x1a*.google.cloud.chronicle.v1.DataAccessScope\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\x12@/v1/{name=projects/*/locations/*/instances/*/dataAccessScopes/*}\x12\xda\x01\n\x14ListDataAccessScopes\x12\x36.google.cloud.chronicle.v1.ListDataAccessScopesRequest\x1a\x37.google.cloud.chronicle.v1.ListDataAccessScopesResponse\"Q\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x42\x12@/v1/{parent=projects/*/locations/*/instances/*}/dataAccessScopes\x12\x8c\x02\n\x15UpdateDataAccessScope\x12\x37.google.cloud.chronicle.v1.UpdateDataAccessScopeRequest\x1a*.google.cloud.chronicle.v1.DataAccessScope\"\x8d\x01\xda\x41\x1d\x64\x61ta_access_scope,update_mask\x82\xd3\xe4\x93\x02g2R/v1/{data_access_scope.name=projects/*/locations/*/instances/*/dataAccessScopes/*}:\x11\x64\x61ta_access_scope\x12\xb9\x01\n\x15\x44\x65leteDataAccessScope\x12\x37.google.cloud.chronicle.v1.DeleteDataAccessScopeRequest\x1a\x16.google.protobuf.Empty\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42*@/v1/{name=projects/*/locations/*/instances/*/dataAccessScopes/*}\x1aL\xca\x41\x18\x63hronicle.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc6\x01\n\x1d\x63om.google.cloud.chronicle.v1B\x0f\x44\x61taAccessProtoP\x01Z;cloud.google.com/go/chronicle/apiv1/chroniclepb;chroniclepb\xaa\x02\x19Google.Cloud.Chronicle.V1\xca\x02\x19Google\\Cloud\\Chronicle\\V1\xea\x02\x1cGoogle::Cloud::Chronicle::V1b\x06proto3"
|
|
17
17
|
|
|
18
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
19
|
-
|
|
20
|
-
begin
|
|
21
|
-
pool.add_serialized_file(descriptor_data)
|
|
22
|
-
rescue TypeError
|
|
23
|
-
# Compatibility code: will be removed in the next major version.
|
|
24
|
-
require 'google/protobuf/descriptor_pb'
|
|
25
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
26
|
-
parsed.clear_dependency
|
|
27
|
-
serialized = parsed.class.encode(parsed)
|
|
28
|
-
file = pool.add_serialized_file(serialized)
|
|
29
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
30
|
-
imports = [
|
|
31
|
-
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
|
32
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
33
|
-
]
|
|
34
|
-
imports.each do |type_name, expected_filename|
|
|
35
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
36
|
-
if import_file.name != expected_filename
|
|
37
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
41
|
-
warn "This will become an error in the next major version."
|
|
42
|
-
end
|
|
18
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
|
43
20
|
|
|
44
21
|
module Google
|
|
45
22
|
module Cloud
|
|
@@ -15,31 +15,8 @@ require 'google/protobuf/timestamp_pb'
|
|
|
15
15
|
|
|
16
16
|
descriptor_data = "\n&google/cloud/chronicle/v1/entity.proto\x12\x19google.cloud.chronicle.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd5\x06\n\tWatchlist\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12multiplying_factor\x18\x05 \x01(\x02\x42\x03\xe0\x41\x01\x12h\n\x1b\x65ntity_population_mechanism\x18\x06 \x01(\x0b\x32>.google.cloud.chronicle.v1.Watchlist.EntityPopulationMechanismB\x03\xe0\x41\x02\x12K\n\x0c\x65ntity_count\x18\x07 \x01(\x0b\x32\x30.google.cloud.chronicle.v1.Watchlist.EntityCountB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\\\n\x1awatchlist_user_preferences\x18\n \x01(\x0b\x32\x33.google.cloud.chronicle.v1.WatchlistUserPreferencesB\x03\xe0\x41\x01\x1a\x90\x01\n\x19\x45ntityPopulationMechanism\x12\\\n\x06manual\x18\x01 \x01(\x0b\x32\x45.google.cloud.chronicle.v1.Watchlist.EntityPopulationMechanism.ManualB\x03\xe0\x41\x01H\x00\x1a\x08\n\x06ManualB\x0b\n\tmechanism\x1a\x34\n\x0b\x45ntityCount\x12\x11\n\x04user\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x12\n\x05\x61sset\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03:\x94\x01\xea\x41\x90\x01\n\"chronicle.googleapis.com/Watchlist\x12Sprojects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}*\nwatchlists2\twatchlist\"/\n\x18WatchlistUserPreferences\x12\x13\n\x06pinned\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"O\n\x13GetWatchlistRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"chronicle.googleapis.com/Watchlist\"\x99\x01\n\x15ListWatchlistsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"chronicle.googleapis.com/Watchlist\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"u\n\x16ListWatchlistsResponse\x12=\n\nwatchlists\x18\x01 \x03(\x0b\x32$.google.cloud.chronicle.v1.WatchlistB\x03\xe0\x41\x01\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xad\x01\n\x16\x43reateWatchlistRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"chronicle.googleapis.com/Watchlist\x12\x19\n\x0cwatchlist_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12<\n\twatchlist\x18\x03 \x01(\x0b\x32$.google.cloud.chronicle.v1.WatchlistB\x03\xe0\x41\x02\"\x8c\x01\n\x16UpdateWatchlistRequest\x12<\n\twatchlist\x18\x01 \x01(\x0b\x32$.google.cloud.chronicle.v1.WatchlistB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"f\n\x16\x44\x65leteWatchlistRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"chronicle.googleapis.com/Watchlist\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x32\xbe\x08\n\rEntityService\x12\xaf\x01\n\x0cGetWatchlist\x12..google.cloud.chronicle.v1.GetWatchlistRequest\x1a$.google.cloud.chronicle.v1.Watchlist\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/*/instances/*/watchlists/*}\x12\xc2\x01\n\x0eListWatchlists\x12\x30.google.cloud.chronicle.v1.ListWatchlistsRequest\x1a\x31.google.cloud.chronicle.v1.ListWatchlistsResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*/instances/*}/watchlists\x12\xd9\x01\n\x0f\x43reateWatchlist\x12\x31.google.cloud.chronicle.v1.CreateWatchlistRequest\x1a$.google.cloud.chronicle.v1.Watchlist\"m\xda\x41\x1dparent,watchlist,watchlist_id\x82\xd3\xe4\x93\x02G\":/v1/{parent=projects/*/locations/*/instances/*}/watchlists:\twatchlist\x12\xdb\x01\n\x0fUpdateWatchlist\x12\x31.google.cloud.chronicle.v1.UpdateWatchlistRequest\x1a$.google.cloud.chronicle.v1.Watchlist\"o\xda\x41\x15watchlist,update_mask\x82\xd3\xe4\x93\x02Q2D/v1/{watchlist.name=projects/*/locations/*/instances/*/watchlists/*}:\twatchlist\x12\xad\x01\n\x0f\x44\x65leteWatchlist\x12\x31.google.cloud.chronicle.v1.DeleteWatchlistRequest\x1a\x16.google.protobuf.Empty\"O\xda\x41\nname,force\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/locations/*/instances/*/watchlists/*}\x1aL\xca\x41\x18\x63hronicle.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc2\x01\n\x1d\x63om.google.cloud.chronicle.v1B\x0b\x45ntityProtoP\x01Z;cloud.google.com/go/chronicle/apiv1/chroniclepb;chroniclepb\xaa\x02\x19Google.Cloud.Chronicle.V1\xca\x02\x19Google\\Cloud\\Chronicle\\V1\xea\x02\x1cGoogle::Cloud::Chronicle::V1b\x06proto3"
|
|
17
17
|
|
|
18
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
19
|
-
|
|
20
|
-
begin
|
|
21
|
-
pool.add_serialized_file(descriptor_data)
|
|
22
|
-
rescue TypeError
|
|
23
|
-
# Compatibility code: will be removed in the next major version.
|
|
24
|
-
require 'google/protobuf/descriptor_pb'
|
|
25
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
26
|
-
parsed.clear_dependency
|
|
27
|
-
serialized = parsed.class.encode(parsed)
|
|
28
|
-
file = pool.add_serialized_file(serialized)
|
|
29
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
30
|
-
imports = [
|
|
31
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
32
|
-
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
|
33
|
-
]
|
|
34
|
-
imports.each do |type_name, expected_filename|
|
|
35
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
36
|
-
if import_file.name != expected_filename
|
|
37
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
41
|
-
warn "This will become an error in the next major version."
|
|
42
|
-
end
|
|
18
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
|
43
20
|
|
|
44
21
|
module Google
|
|
45
22
|
module Cloud
|
|
@@ -12,29 +12,8 @@ require 'google/api/resource_pb'
|
|
|
12
12
|
|
|
13
13
|
descriptor_data = "\n(google/cloud/chronicle/v1/instance.proto\x12\x19google.cloud.chronicle.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x98\x01\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08:y\xea\x41v\n!chronicle.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}*\tinstances2\x08instance\"M\n\x12GetInstanceRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!chronicle.googleapis.com/Instance2\x81\x02\n\x0fInstanceService\x12\x9f\x01\n\x0bGetInstance\x12-.google.cloud.chronicle.v1.GetInstanceRequest\x1a#.google.cloud.chronicle.v1.Instance\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\x1aL\xca\x41\x18\x63hronicle.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc4\x01\n\x1d\x63om.google.cloud.chronicle.v1B\rInstanceProtoP\x01Z;cloud.google.com/go/chronicle/apiv1/chroniclepb;chroniclepb\xaa\x02\x19Google.Cloud.Chronicle.V1\xca\x02\x19Google\\Cloud\\Chronicle\\V1\xea\x02\x1cGoogle::Cloud::Chronicle::V1b\x06proto3"
|
|
14
14
|
|
|
15
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
16
|
-
|
|
17
|
-
begin
|
|
18
|
-
pool.add_serialized_file(descriptor_data)
|
|
19
|
-
rescue TypeError
|
|
20
|
-
# Compatibility code: will be removed in the next major version.
|
|
21
|
-
require 'google/protobuf/descriptor_pb'
|
|
22
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
23
|
-
parsed.clear_dependency
|
|
24
|
-
serialized = parsed.class.encode(parsed)
|
|
25
|
-
file = pool.add_serialized_file(serialized)
|
|
26
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
27
|
-
imports = [
|
|
28
|
-
]
|
|
29
|
-
imports.each do |type_name, expected_filename|
|
|
30
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
31
|
-
if import_file.name != expected_filename
|
|
32
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
36
|
-
warn "This will become an error in the next major version."
|
|
37
|
-
end
|
|
15
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
|
38
17
|
|
|
39
18
|
module Google
|
|
40
19
|
module Cloud
|
|
@@ -14,31 +14,8 @@ require 'google/protobuf/timestamp_pb'
|
|
|
14
14
|
|
|
15
15
|
descriptor_data = "\n.google/cloud/chronicle/v1/reference_list.proto\x12\x19google.cloud.chronicle.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"]\n\tScopeInfo\x12P\n\x14reference_list_scope\x18\x02 \x01(\x0b\x32-.google.cloud.chronicle.v1.ReferenceListScopeB\x03\xe0\x41\x02\".\n\x12ReferenceListScope\x12\x18\n\x0bscope_names\x18\x01 \x03(\tB\x03\xe0\x41\x01\"\x93\x01\n\x17GetReferenceListRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&chronicle.googleapis.com/ReferenceList\x12:\n\x04view\x18\x02 \x01(\x0e\x32,.google.cloud.chronicle.v1.ReferenceListView\"\xbe\x01\n\x19ListReferenceListsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&chronicle.googleapis.com/ReferenceList\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12:\n\x04view\x18\x04 \x01(\x0e\x32,.google.cloud.chronicle.v1.ReferenceListView\"x\n\x1aListReferenceListsResponse\x12\x41\n\x0freference_lists\x18\x01 \x03(\x0b\x32(.google.cloud.chronicle.v1.ReferenceList\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc3\x01\n\x1a\x43reateReferenceListRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&chronicle.googleapis.com/ReferenceList\x12\x45\n\x0ereference_list\x18\x02 \x01(\x0b\x32(.google.cloud.chronicle.v1.ReferenceListB\x03\xe0\x41\x02\x12\x1e\n\x11reference_list_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x94\x01\n\x1aUpdateReferenceListRequest\x12\x45\n\x0ereference_list\x18\x01 \x01(\x0b\x32(.google.cloud.chronicle.v1.ReferenceListB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xaa\x04\n\rReferenceList\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12=\n\x14revision_create_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x43\n\x07\x65ntries\x18\x05 \x03(\x0b\x32-.google.cloud.chronicle.v1.ReferenceListEntryB\x03\xe0\x41\x02\x12\x12\n\x05rules\x18\x06 \x03(\tB\x03\xe0\x41\x03\x12L\n\x0bsyntax_type\x18\x08 \x01(\x0e\x32\x32.google.cloud.chronicle.v1.ReferenceListSyntaxTypeB\x03\xe0\x41\x02\x12$\n\x17rule_associations_count\x18\t \x01(\x05\x42\x03\xe0\x41\x03\x12\x38\n\nscope_info\x18\x0b \x01(\x0b\x32$.google.cloud.chronicle.v1.ScopeInfo:\x8a\x01\xea\x41\x86\x01\n&chronicle.googleapis.com/ReferenceList\x12\\projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}\"(\n\x12ReferenceListEntry\x12\x12\n\x05value\x18\x01 \x01(\tB\x03\xe0\x41\x02*\xc2\x01\n\x17ReferenceListSyntaxType\x12*\n&REFERENCE_LIST_SYNTAX_TYPE_UNSPECIFIED\x10\x00\x12\x30\n,REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING\x10\x01\x12$\n REFERENCE_LIST_SYNTAX_TYPE_REGEX\x10\x02\x12#\n\x1fREFERENCE_LIST_SYNTAX_TYPE_CIDR\x10\x03*u\n\x11ReferenceListView\x12#\n\x1fREFERENCE_LIST_VIEW_UNSPECIFIED\x10\x00\x12\x1d\n\x19REFERENCE_LIST_VIEW_BASIC\x10\x01\x12\x1c\n\x18REFERENCE_LIST_VIEW_FULL\x10\x02\x32\xf5\x07\n\x14ReferenceListService\x12\xbf\x01\n\x10GetReferenceList\x12\x32.google.cloud.chronicle.v1.GetReferenceListRequest\x1a(.google.cloud.chronicle.v1.ReferenceList\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/instances/*/referenceLists/*}\x12\xd2\x01\n\x12ListReferenceLists\x12\x34.google.cloud.chronicle.v1.ListReferenceListsRequest\x1a\x35.google.cloud.chronicle.v1.ListReferenceListsResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/instances/*}/referenceLists\x12\xf9\x01\n\x13\x43reateReferenceList\x12\x35.google.cloud.chronicle.v1.CreateReferenceListRequest\x1a(.google.cloud.chronicle.v1.ReferenceList\"\x80\x01\xda\x41\'parent,reference_list,reference_list_id\x82\xd3\xe4\x93\x02P\">/v1/{parent=projects/*/locations/*/instances/*}/referenceLists:\x0ereference_list\x12\xfb\x01\n\x13UpdateReferenceList\x12\x35.google.cloud.chronicle.v1.UpdateReferenceListRequest\x1a(.google.cloud.chronicle.v1.ReferenceList\"\x82\x01\xda\x41\x1areference_list,update_mask\x82\xd3\xe4\x93\x02_2M/v1/{reference_list.name=projects/*/locations/*/instances/*/referenceLists/*}:\x0ereference_list\x1aL\xca\x41\x18\x63hronicle.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc9\x01\n\x1d\x63om.google.cloud.chronicle.v1B\x12ReferenceListProtoP\x01Z;cloud.google.com/go/chronicle/apiv1/chroniclepb;chroniclepb\xaa\x02\x19Google.Cloud.Chronicle.V1\xca\x02\x19Google\\Cloud\\Chronicle\\V1\xea\x02\x1cGoogle::Cloud::Chronicle::V1b\x06proto3"
|
|
16
16
|
|
|
17
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
18
|
-
|
|
19
|
-
begin
|
|
20
|
-
pool.add_serialized_file(descriptor_data)
|
|
21
|
-
rescue TypeError
|
|
22
|
-
# Compatibility code: will be removed in the next major version.
|
|
23
|
-
require 'google/protobuf/descriptor_pb'
|
|
24
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
25
|
-
parsed.clear_dependency
|
|
26
|
-
serialized = parsed.class.encode(parsed)
|
|
27
|
-
file = pool.add_serialized_file(serialized)
|
|
28
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
29
|
-
imports = [
|
|
30
|
-
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
|
31
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
32
|
-
]
|
|
33
|
-
imports.each do |type_name, expected_filename|
|
|
34
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
35
|
-
if import_file.name != expected_filename
|
|
36
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
40
|
-
warn "This will become an error in the next major version."
|
|
41
|
-
end
|
|
17
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
|
42
19
|
|
|
43
20
|
module Google
|
|
44
21
|
module Cloud
|
|
@@ -17,32 +17,8 @@ require 'google/type/interval_pb'
|
|
|
17
17
|
|
|
18
18
|
descriptor_data = "\n$google/cloud/chronicle/v1/rule.proto\x12\x19google.cloud.chronicle.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1agoogle/type/interval.proto\"\x91\t\n\x04Rule\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x0brevision_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x0c\n\x04text\x18\x04 \x01(\t\x12\x13\n\x06\x61uthor\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12:\n\x08severity\x18\x06 \x01(\x0b\x32#.google.cloud.chronicle.v1.SeverityB\x03\xe0\x41\x03\x12\x44\n\x08metadata\x18\x07 \x03(\x0b\x32-.google.cloud.chronicle.v1.Rule.MetadataEntryB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x14revision_create_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12P\n\x11\x63ompilation_state\x18\n \x01(\x0e\x32\x30.google.cloud.chronicle.v1.Rule.CompilationStateB\x03\xe0\x41\x03\x12\x36\n\x04type\x18\x0c \x01(\x0e\x32#.google.cloud.chronicle.v1.RuleTypeB\x03\xe0\x41\x03\x12G\n\x0freference_lists\x18\r \x03(\tB.\xe0\x41\x03\xfa\x41(\n&chronicle.googleapis.com/ReferenceList\x12M\n\x17\x61llowed_run_frequencies\x18\x0e \x03(\x0e\x32\'.google.cloud.chronicle.v1.RunFrequencyB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x0f \x01(\t\x12<\n\x05scope\x18\x10 \x01(\tB-\xfa\x41*\n(chronicle.googleapis.com/DataAccessScope\x12V\n\x17\x63ompilation_diagnostics\x18\x11 \x03(\x0b\x32\x30.google.cloud.chronicle.v1.CompilationDiagnosticB\x03\xe0\x41\x03\x12.\n!near_real_time_live_rule_eligible\x18\x12 \x01(\x08\x42\x03\xe0\x41\x03\x12?\n\x0binputs_used\x18\x14 \x01(\x0b\x32%.google.cloud.chronicle.v1.InputsUsedB\x03\xe0\x41\x03\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"P\n\x10\x43ompilationState\x12!\n\x1d\x43OMPILATION_STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02:m\xea\x41j\n\x1d\x63hronicle.googleapis.com/Rule\x12Iprojects/{project}/locations/{location}/instances/{instance}/rules/{rule}\"\xcb\x05\n\x0eRuleDeployment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x12\x10\n\x08\x61lerting\x18\x03 \x01(\x08\x12\x10\n\x08\x61rchived\x18\x04 \x01(\x08\x12\x35\n\x0c\x61rchive_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12>\n\rrun_frequency\x18\x06 \x01(\x0e\x32\'.google.cloud.chronicle.v1.RunFrequency\x12V\n\x0f\x65xecution_state\x18\x07 \x01(\x0e\x32\x38.google.cloud.chronicle.v1.RuleDeployment.ExecutionStateB\x03\xe0\x41\x03\x12=\n\x0eproducer_rules\x18\x08 \x03(\tB%\xe0\x41\x03\xfa\x41\x1f\x12\x1d\x63hronicle.googleapis.com/Rule\x12=\n\x0e\x63onsumer_rules\x18\t \x03(\tB%\xe0\x41\x03\xfa\x41\x1f\x12\x1d\x63hronicle.googleapis.com/Rule\x12\x46\n\x1dlast_alert_status_change_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"W\n\x0e\x45xecutionState\x12\x1f\n\x1b\x45XECUTION_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\x0b\n\x07LIMITED\x10\x02\x12\n\n\x06PAUSED\x10\x03:\x82\x01\xea\x41\x7f\n\'chronicle.googleapis.com/RuleDeployment\x12Tprojects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment\"\xc8\x03\n\tRetrohunt\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x10process_interval\x18\x02 \x01(\x0b\x32\x15.google.type.IntervalB\x03\xe0\x41\x02\x12\x36\n\x12\x65xecution_interval\x18\x03 \x01(\x0b\x32\x15.google.type.IntervalB\x03\xe0\x41\x03\x12>\n\x05state\x18\x04 \x01(\x0e\x32*.google.cloud.chronicle.v1.Retrohunt.StateB\x03\xe0\x41\x03\x12 \n\x13progress_percentage\x18\x05 \x01(\x02\x42\x03\xe0\x41\x03\"P\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\x08\n\x04\x44ONE\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04:\x8a\x01\xea\x41\x86\x01\n\"chronicle.googleapis.com/Retrohunt\x12`projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}\"~\n\x11\x43reateRuleRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1d\x63hronicle.googleapis.com/Rule\x12\x32\n\x04rule\x18\x02 \x01(\x0b\x32\x1f.google.cloud.chronicle.v1.RuleB\x03\xe0\x41\x02\"x\n\x0eGetRuleRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x63hronicle.googleapis.com/Rule\x12\x31\n\x04view\x18\x02 \x01(\x0e\x32#.google.cloud.chronicle.v1.RuleView\"\xb3\x01\n\x10ListRulesRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\x12\x1d\x63hronicle.googleapis.com/Rule\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x31\n\x04view\x18\x04 \x01(\x0e\x32#.google.cloud.chronicle.v1.RuleView\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"\\\n\x11ListRulesResponse\x12.\n\x05rules\x18\x01 \x03(\x0b\x32\x1f.google.cloud.chronicle.v1.Rule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"x\n\x11UpdateRuleRequest\x12\x32\n\x04rule\x18\x01 \x01(\x0b\x32\x1f.google.cloud.chronicle.v1.RuleB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\\\n\x11\x44\x65leteRuleRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x63hronicle.googleapis.com/Rule\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xa9\x01\n\x18ListRuleRevisionsRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x63hronicle.googleapis.com/Rule\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x31\n\x04view\x18\x04 \x01(\x0e\x32#.google.cloud.chronicle.v1.RuleView\"d\n\x19ListRuleRevisionsResponse\x12.\n\x05rules\x18\x01 \x03(\x0b\x32\x1f.google.cloud.chronicle.v1.Rule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x92\x01\n\x16\x43reateRetrohuntRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"chronicle.googleapis.com/Retrohunt\x12<\n\tretrohunt\x18\x02 \x01(\x0b\x32$.google.cloud.chronicle.v1.RetrohuntB\x03\xe0\x41\x02\"O\n\x13GetRetrohuntRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"chronicle.googleapis.com/Retrohunt\"\x8a\x01\n\x15ListRetrohuntsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"chronicle.googleapis.com/Retrohunt\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"k\n\x16ListRetrohuntsResponse\x12\x38\n\nretrohunts\x18\x01 \x03(\x0b\x32$.google.cloud.chronicle.v1.Retrohunt\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Y\n\x18GetRuleDeploymentRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'chronicle.googleapis.com/RuleDeployment\"\x94\x01\n\x1aListRuleDeploymentsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'chronicle.googleapis.com/RuleDeployment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"{\n\x1bListRuleDeploymentsResponse\x12\x43\n\x10rule_deployments\x18\x01 \x03(\x0b\x32).google.cloud.chronicle.v1.RuleDeployment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9c\x01\n\x1bUpdateRuleDeploymentRequest\x12G\n\x0frule_deployment\x18\x01 \x01(\x0b\x32).google.cloud.chronicle.v1.RuleDeploymentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"y\n\x13\x43ompilationPosition\x12\x17\n\nstart_line\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x19\n\x0cstart_column\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x15\n\x08\x65nd_line\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x17\n\nend_column\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\"\x96\x02\n\x15\x43ompilationDiagnostic\x12\x14\n\x07message\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x08position\x18\x02 \x01(\x0b\x32..google.cloud.chronicle.v1.CompilationPositionB\x03\xe0\x41\x03\x12P\n\x08severity\x18\x03 \x01(\x0e\x32\x39.google.cloud.chronicle.v1.CompilationDiagnostic.SeverityB\x03\xe0\x41\x03\x12\x10\n\x03uri\x18\x05 \x01(\tB\x03\xe0\x41\x03\"<\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x0b\n\x07WARNING\x10\x01\x12\t\n\x05\x45RROR\x10\x02\" \n\x08Severity\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\"\x9a\x01\n\x11RetrohuntMetadata\x12\x35\n\tretrohunt\x18\x01 \x01(\tB\"\xfa\x41\x1f\n\x1d\x63hronicle.googleapis.com/Rule\x12\x31\n\x12\x65xecution_interval\x18\x02 \x01(\x0b\x32\x15.google.type.Interval\x12\x1b\n\x13progress_percentage\x18\x03 \x01(\x02\"Z\n\nInputsUsed\x12\x15\n\x08uses_udm\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0buses_entity\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1b\n\x0euses_detection\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01*N\n\x0cRunFrequency\x12\x1d\n\x19RUN_FREQUENCY_UNSPECIFIED\x10\x00\x12\x08\n\x04LIVE\x10\x01\x12\n\n\x06HOURLY\x10\x02\x12\t\n\x05\x44\x41ILY\x10\x03*H\n\x08RuleType\x12\x19\n\x15RULE_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSINGLE_EVENT\x10\x01\x12\x0f\n\x0bMULTI_EVENT\x10\x02*V\n\x08RuleView\x12\x19\n\x15RULE_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\x12\x1a\n\x16REVISION_METADATA_ONLY\x10\x03\x32\xa9\x13\n\x0bRuleService\x12\xae\x01\n\nCreateRule\x12,.google.cloud.chronicle.v1.CreateRuleRequest\x1a\x1f.google.cloud.chronicle.v1.Rule\"Q\xda\x41\x0bparent,rule\x82\xd3\xe4\x93\x02=\"5/v1/{parent=projects/*/locations/*/instances/*}/rules:\x04rule\x12\x9b\x01\n\x07GetRule\x12).google.cloud.chronicle.v1.GetRuleRequest\x1a\x1f.google.cloud.chronicle.v1.Rule\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/instances/*/rules/*}\x12\xae\x01\n\tListRules\x12+.google.cloud.chronicle.v1.ListRulesRequest\x1a,.google.cloud.chronicle.v1.ListRulesResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*/instances/*}/rules\x12\xb8\x01\n\nUpdateRule\x12,.google.cloud.chronicle.v1.UpdateRuleRequest\x1a\x1f.google.cloud.chronicle.v1.Rule\"[\xda\x41\x10rule,update_mask\x82\xd3\xe4\x93\x02\x42\x32:/v1/{rule.name=projects/*/locations/*/instances/*/rules/*}:\x04rule\x12\x98\x01\n\nDeleteRule\x12,.google.cloud.chronicle.v1.DeleteRuleRequest\x1a\x16.google.protobuf.Empty\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/instances/*/rules/*}\x12\xd2\x01\n\x11ListRuleRevisions\x12\x33.google.cloud.chronicle.v1.ListRuleRevisionsRequest\x1a\x34.google.cloud.chronicle.v1.ListRuleRevisionsResponse\"R\xda\x41\x04name\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{name=projects/*/locations/*/instances/*/rules/*}:listRevisions\x12\xef\x01\n\x0f\x43reateRetrohunt\x12\x31.google.cloud.chronicle.v1.CreateRetrohuntRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\x1e\n\tRetrohunt\x12\x11RetrohuntMetadata\xda\x41\x10parent,retrohunt\x82\xd3\xe4\x93\x02O\"B/v1/{parent=projects/*/locations/*/instances/*/rules/*}/retrohunts:\tretrohunt\x12\xb7\x01\n\x0cGetRetrohunt\x12..google.cloud.chronicle.v1.GetRetrohuntRequest\x1a$.google.cloud.chronicle.v1.Retrohunt\"Q\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{name=projects/*/locations/*/instances/*/rules/*/retrohunts/*}\x12\xca\x01\n\x0eListRetrohunts\x12\x30.google.cloud.chronicle.v1.ListRetrohuntsRequest\x1a\x31.google.cloud.chronicle.v1.ListRetrohuntsResponse\"S\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{parent=projects/*/locations/*/instances/*/rules/*}/retrohunts\x12\xc4\x01\n\x11GetRuleDeployment\x12\x33.google.cloud.chronicle.v1.GetRuleDeploymentRequest\x1a).google.cloud.chronicle.v1.RuleDeployment\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\x12@/v1/{name=projects/*/locations/*/instances/*/rules/*/deployment}\x12\xda\x01\n\x13ListRuleDeployments\x12\x35.google.cloud.chronicle.v1.ListRuleDeploymentsRequest\x1a\x36.google.cloud.chronicle.v1.ListRuleDeploymentsResponse\"T\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{parent=projects/*/locations/*/instances/*/rules/*}/deployments\x12\x83\x02\n\x14UpdateRuleDeployment\x12\x36.google.cloud.chronicle.v1.UpdateRuleDeploymentRequest\x1a).google.cloud.chronicle.v1.RuleDeployment\"\x87\x01\xda\x41\x1brule_deployment,update_mask\x82\xd3\xe4\x93\x02\x63\x32P/v1/{rule_deployment.name=projects/*/locations/*/instances/*/rules/*/deployment}:\x0frule_deployment\x1aL\xca\x41\x18\x63hronicle.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc0\x01\n\x1d\x63om.google.cloud.chronicle.v1B\tRuleProtoP\x01Z;cloud.google.com/go/chronicle/apiv1/chroniclepb;chroniclepb\xaa\x02\x19Google.Cloud.Chronicle.V1\xca\x02\x19Google\\Cloud\\Chronicle\\V1\xea\x02\x1cGoogle::Cloud::Chronicle::V1b\x06proto3"
|
|
19
19
|
|
|
20
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
21
|
-
|
|
22
|
-
begin
|
|
23
|
-
pool.add_serialized_file(descriptor_data)
|
|
24
|
-
rescue TypeError
|
|
25
|
-
# Compatibility code: will be removed in the next major version.
|
|
26
|
-
require 'google/protobuf/descriptor_pb'
|
|
27
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
28
|
-
parsed.clear_dependency
|
|
29
|
-
serialized = parsed.class.encode(parsed)
|
|
30
|
-
file = pool.add_serialized_file(serialized)
|
|
31
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
32
|
-
imports = [
|
|
33
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
34
|
-
["google.type.Interval", "google/type/interval.proto"],
|
|
35
|
-
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
|
36
|
-
]
|
|
37
|
-
imports.each do |type_name, expected_filename|
|
|
38
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
39
|
-
if import_file.name != expected_filename
|
|
40
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
44
|
-
warn "This will become an error in the next major version."
|
|
45
|
-
end
|
|
20
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
21
|
+
pool.add_serialized_file(descriptor_data)
|
|
46
22
|
|
|
47
23
|
module Google
|
|
48
24
|
module Cloud
|
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.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -131,7 +131,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
131
131
|
requirements:
|
|
132
132
|
- - ">="
|
|
133
133
|
- !ruby/object:Gem::Version
|
|
134
|
-
version: '3.
|
|
134
|
+
version: '3.2'
|
|
135
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
requirements:
|
|
137
137
|
- - ">="
|