google-cloud-dataplex-v1 0.7.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dataplex/v1/analyze_pb.rb +26 -81
  4. data/lib/google/cloud/dataplex/v1/content_pb.rb +26 -33
  5. data/lib/google/cloud/dataplex/v1/content_service/client.rb +6 -4
  6. data/lib/google/cloud/dataplex/v1/content_service/rest/client.rb +6 -4
  7. data/lib/google/cloud/dataplex/v1/content_service/rest/service_stub.rb +8 -8
  8. data/lib/google/cloud/dataplex/v1/data_profile_pb.rb +26 -50
  9. data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +25 -74
  10. data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +16 -8
  11. data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +5 -3
  12. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +16 -8
  13. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +9 -7
  14. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/service_stub.rb +8 -8
  15. data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +99 -4
  16. data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +5 -3
  17. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +76 -4
  18. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +9 -7
  19. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/service_stub.rb +92 -32
  20. data/lib/google/cloud/dataplex/v1/datascans_pb.rb +31 -121
  21. data/lib/google/cloud/dataplex/v1/logs_pb.rb +26 -151
  22. data/lib/google/cloud/dataplex/v1/metadata_pb.rb +27 -191
  23. data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +6 -4
  24. data/lib/google/cloud/dataplex/v1/metadata_service/rest/client.rb +6 -4
  25. data/lib/google/cloud/dataplex/v1/metadata_service/rest/service_stub.rb +9 -9
  26. data/lib/google/cloud/dataplex/v1/processing_pb.rb +24 -27
  27. data/lib/google/cloud/dataplex/v1/resources_pb.rb +27 -238
  28. data/lib/google/cloud/dataplex/v1/rest.rb +1 -1
  29. data/lib/google/cloud/dataplex/v1/service_pb.rb +31 -196
  30. data/lib/google/cloud/dataplex/v1/service_services_pb.rb +2 -0
  31. data/lib/google/cloud/dataplex/v1/tasks_pb.rb +26 -113
  32. data/lib/google/cloud/dataplex/v1/version.rb +1 -1
  33. data/lib/google/cloud/dataplex/v1.rb +1 -1
  34. data/proto_docs/google/api/client.rb +67 -4
  35. data/proto_docs/google/cloud/dataplex/v1/analyze.rb +4 -0
  36. data/proto_docs/google/cloud/dataplex/v1/data_profile.rb +64 -87
  37. data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +54 -32
  38. data/proto_docs/google/cloud/dataplex/v1/datascans.rb +10 -2
  39. data/proto_docs/google/cloud/dataplex/v1/metadata.rb +31 -2
  40. data/proto_docs/google/cloud/dataplex/v1/processing.rb +23 -13
  41. data/proto_docs/google/cloud/dataplex/v1/resources.rb +24 -6
  42. data/proto_docs/google/cloud/dataplex/v1/service.rb +17 -0
  43. data/proto_docs/google/cloud/dataplex/v1/tasks.rb +2 -3
  44. data/proto_docs/google/protobuf/any.rb +7 -4
  45. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  46. metadata +4 -4
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/dataplex/v1/logs.proto
3
4
 
@@ -7,159 +8,33 @@ require 'google/api/resource_pb'
7
8
  require 'google/protobuf/duration_pb'
8
9
  require 'google/protobuf/timestamp_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/cloud/dataplex/v1/logs.proto", :syntax => :proto3) do
12
- add_message "google.cloud.dataplex.v1.DiscoveryEvent" do
13
- optional :message, :string, 1
14
- optional :lake_id, :string, 2
15
- optional :zone_id, :string, 3
16
- optional :asset_id, :string, 4
17
- optional :data_location, :string, 5
18
- optional :type, :enum, 10, "google.cloud.dataplex.v1.DiscoveryEvent.EventType"
19
- oneof :details do
20
- optional :config, :message, 20, "google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails"
21
- optional :entity, :message, 21, "google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails"
22
- optional :partition, :message, 22, "google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails"
23
- optional :action, :message, 23, "google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails"
24
- end
25
- end
26
- add_message "google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails" do
27
- map :parameters, :string, :string, 1
28
- end
29
- add_message "google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails" do
30
- optional :entity, :string, 1
31
- optional :type, :enum, 2, "google.cloud.dataplex.v1.DiscoveryEvent.EntityType"
32
- end
33
- add_message "google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails" do
34
- optional :partition, :string, 1
35
- optional :entity, :string, 2
36
- optional :type, :enum, 3, "google.cloud.dataplex.v1.DiscoveryEvent.EntityType"
37
- repeated :sampled_data_locations, :string, 4
38
- end
39
- add_message "google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails" do
40
- optional :type, :string, 1
41
- end
42
- add_enum "google.cloud.dataplex.v1.DiscoveryEvent.EventType" do
43
- value :EVENT_TYPE_UNSPECIFIED, 0
44
- value :CONFIG, 1
45
- value :ENTITY_CREATED, 2
46
- value :ENTITY_UPDATED, 3
47
- value :ENTITY_DELETED, 4
48
- value :PARTITION_CREATED, 5
49
- value :PARTITION_UPDATED, 6
50
- value :PARTITION_DELETED, 7
51
- end
52
- add_enum "google.cloud.dataplex.v1.DiscoveryEvent.EntityType" do
53
- value :ENTITY_TYPE_UNSPECIFIED, 0
54
- value :TABLE, 1
55
- value :FILESET, 2
56
- end
57
- add_message "google.cloud.dataplex.v1.JobEvent" do
58
- optional :message, :string, 1
59
- optional :job_id, :string, 2
60
- optional :start_time, :message, 3, "google.protobuf.Timestamp"
61
- optional :end_time, :message, 4, "google.protobuf.Timestamp"
62
- optional :state, :enum, 5, "google.cloud.dataplex.v1.JobEvent.State"
63
- optional :retries, :int32, 6
64
- optional :type, :enum, 7, "google.cloud.dataplex.v1.JobEvent.Type"
65
- optional :service, :enum, 8, "google.cloud.dataplex.v1.JobEvent.Service"
66
- optional :service_job, :string, 9
67
- end
68
- add_enum "google.cloud.dataplex.v1.JobEvent.Type" do
69
- value :TYPE_UNSPECIFIED, 0
70
- value :SPARK, 1
71
- value :NOTEBOOK, 2
72
- end
73
- add_enum "google.cloud.dataplex.v1.JobEvent.State" do
74
- value :STATE_UNSPECIFIED, 0
75
- value :SUCCEEDED, 1
76
- value :FAILED, 2
77
- value :CANCELLED, 3
78
- value :ABORTED, 4
79
- end
80
- add_enum "google.cloud.dataplex.v1.JobEvent.Service" do
81
- value :SERVICE_UNSPECIFIED, 0
82
- value :DATAPROC, 1
83
- end
84
- add_message "google.cloud.dataplex.v1.SessionEvent" do
85
- optional :message, :string, 1
86
- optional :user_id, :string, 2
87
- optional :session_id, :string, 3
88
- optional :type, :enum, 4, "google.cloud.dataplex.v1.SessionEvent.EventType"
89
- optional :event_succeeded, :bool, 6
90
- optional :fast_startup_enabled, :bool, 7
91
- optional :unassigned_duration, :message, 8, "google.protobuf.Duration"
92
- oneof :detail do
93
- optional :query, :message, 5, "google.cloud.dataplex.v1.SessionEvent.QueryDetail"
94
- end
95
- end
96
- add_message "google.cloud.dataplex.v1.SessionEvent.QueryDetail" do
97
- optional :query_id, :string, 1
98
- optional :query_text, :string, 2
99
- optional :engine, :enum, 3, "google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine"
100
- optional :duration, :message, 4, "google.protobuf.Duration"
101
- optional :result_size_bytes, :int64, 5
102
- optional :data_processed_bytes, :int64, 6
103
- end
104
- add_enum "google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine" do
105
- value :ENGINE_UNSPECIFIED, 0
106
- value :SPARK_SQL, 1
107
- value :BIGQUERY, 2
108
- end
109
- add_enum "google.cloud.dataplex.v1.SessionEvent.EventType" do
110
- value :EVENT_TYPE_UNSPECIFIED, 0
111
- value :START, 1
112
- value :STOP, 2
113
- value :QUERY, 3
114
- value :CREATE, 4
115
- end
116
- add_message "google.cloud.dataplex.v1.DataScanEvent" do
117
- optional :data_source, :string, 1
118
- optional :job_id, :string, 2
119
- optional :start_time, :message, 3, "google.protobuf.Timestamp"
120
- optional :end_time, :message, 4, "google.protobuf.Timestamp"
121
- optional :type, :enum, 5, "google.cloud.dataplex.v1.DataScanEvent.ScanType"
122
- optional :state, :enum, 6, "google.cloud.dataplex.v1.DataScanEvent.State"
123
- optional :message, :string, 7
124
- optional :spec_version, :string, 8
125
- optional :trigger, :enum, 9, "google.cloud.dataplex.v1.DataScanEvent.Trigger"
126
- optional :scope, :enum, 10, "google.cloud.dataplex.v1.DataScanEvent.Scope"
127
- oneof :result do
128
- optional :data_profile, :message, 101, "google.cloud.dataplex.v1.DataScanEvent.DataProfileResult"
129
- optional :data_quality, :message, 102, "google.cloud.dataplex.v1.DataScanEvent.DataQualityResult"
130
- end
131
- end
132
- add_message "google.cloud.dataplex.v1.DataScanEvent.DataProfileResult" do
133
- optional :row_count, :int64, 1
134
- end
135
- add_message "google.cloud.dataplex.v1.DataScanEvent.DataQualityResult" do
136
- optional :row_count, :int64, 1
137
- optional :passed, :bool, 2
138
- map :dimension_passed, :string, :bool, 3
139
- end
140
- add_enum "google.cloud.dataplex.v1.DataScanEvent.ScanType" do
141
- value :SCAN_TYPE_UNSPECIFIED, 0
142
- value :DATA_PROFILE, 1
143
- value :DATA_QUALITY, 2
144
- end
145
- add_enum "google.cloud.dataplex.v1.DataScanEvent.State" do
146
- value :STATE_UNSPECIFIED, 0
147
- value :STARTED, 1
148
- value :SUCCEEDED, 2
149
- value :FAILED, 3
150
- value :CANCELLED, 4
151
- end
152
- add_enum "google.cloud.dataplex.v1.DataScanEvent.Trigger" do
153
- value :TRIGGER_UNSPECIFIED, 0
154
- value :ON_DEMAND, 1
155
- value :SCHEDULE, 2
156
- end
157
- add_enum "google.cloud.dataplex.v1.DataScanEvent.Scope" do
158
- value :SCOPE_UNSPECIFIED, 0
159
- value :FULL, 1
160
- value :INCREMENTAL, 2
11
+
12
+ descriptor_data = "\n#google/cloud/dataplex/v1/logs.proto\x12\x18google.cloud.dataplex.v1\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa0\t\n\x0e\x44iscoveryEvent\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0f\n\x07lake_id\x18\x02 \x01(\t\x12\x0f\n\x07zone_id\x18\x03 \x01(\t\x12\x10\n\x08\x61sset_id\x18\x04 \x01(\t\x12\x15\n\rdata_location\x18\x05 \x01(\t\x12@\n\x04type\x18\n \x01(\x0e\x32\x32.google.cloud.dataplex.v1.DiscoveryEvent.EventType\x12H\n\x06\x63onfig\x18\x14 \x01(\x0b\x32\x36.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetailsH\x00\x12H\n\x06\x65ntity\x18\x15 \x01(\x0b\x32\x36.google.cloud.dataplex.v1.DiscoveryEvent.EntityDetailsH\x00\x12N\n\tpartition\x18\x16 \x01(\x0b\x32\x39.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetailsH\x00\x12H\n\x06\x61\x63tion\x18\x17 \x01(\x0b\x32\x36.google.cloud.dataplex.v1.DiscoveryEvent.ActionDetailsH\x00\x1a\x9e\x01\n\rConfigDetails\x12Z\n\nparameters\x18\x01 \x03(\x0b\x32\x46.google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.ParametersEntry\x1a\x31\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x62\n\rEntityDetails\x12\x0e\n\x06\x65ntity\x18\x01 \x01(\t\x12\x41\n\x04type\x18\x02 \x01(\x0e\x32\x33.google.cloud.dataplex.v1.DiscoveryEvent.EntityType\x1a\x98\x01\n\x10PartitionDetails\x12\x11\n\tpartition\x18\x01 \x01(\t\x12\x0e\n\x06\x65ntity\x18\x02 \x01(\t\x12\x41\n\x04type\x18\x03 \x01(\x0e\x32\x33.google.cloud.dataplex.v1.DiscoveryEvent.EntityType\x12\x1e\n\x16sampled_data_locations\x18\x04 \x03(\t\x1a\x1d\n\rActionDetails\x12\x0c\n\x04type\x18\x01 \x01(\t\"\xb4\x01\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43ONFIG\x10\x01\x12\x12\n\x0e\x45NTITY_CREATED\x10\x02\x12\x12\n\x0e\x45NTITY_UPDATED\x10\x03\x12\x12\n\x0e\x45NTITY_DELETED\x10\x04\x12\x15\n\x11PARTITION_CREATED\x10\x05\x12\x15\n\x11PARTITION_UPDATED\x10\x06\x12\x15\n\x11PARTITION_DELETED\x10\x07\"A\n\nEntityType\x12\x1b\n\x17\x45NTITY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05TABLE\x10\x01\x12\x0b\n\x07\x46ILESET\x10\x02\x42\t\n\x07\x64\x65tails\"\x9c\x04\n\x08JobEvent\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x05state\x18\x05 \x01(\x0e\x32(.google.cloud.dataplex.v1.JobEvent.State\x12\x0f\n\x07retries\x18\x06 \x01(\x05\x12\x35\n\x04type\x18\x07 \x01(\x0e\x32\'.google.cloud.dataplex.v1.JobEvent.Type\x12;\n\x07service\x18\x08 \x01(\x0e\x32*.google.cloud.dataplex.v1.JobEvent.Service\x12\x13\n\x0bservice_job\x18\t \x01(\t\"5\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05SPARK\x10\x01\x12\x0c\n\x08NOTEBOOK\x10\x02\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\x0b\n\x07\x41\x42ORTED\x10\x04\"0\n\x07Service\x12\x17\n\x13SERVICE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44\x41TAPROC\x10\x01\"\xbd\x05\n\x0cSessionEvent\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\x12>\n\x04type\x18\x04 \x01(\x0e\x32\x30.google.cloud.dataplex.v1.SessionEvent.EventType\x12\x43\n\x05query\x18\x05 \x01(\x0b\x32\x32.google.cloud.dataplex.v1.SessionEvent.QueryDetailH\x00\x12\x17\n\x0f\x65vent_succeeded\x18\x06 \x01(\x08\x12\x1c\n\x14\x66\x61st_startup_enabled\x18\x07 \x01(\x08\x12\x36\n\x13unassigned_duration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\xa3\x02\n\x0bQueryDetail\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12\x12\n\nquery_text\x18\x02 \x01(\t\x12I\n\x06\x65ngine\x18\x03 \x01(\x0e\x32\x39.google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine\x12+\n\x08\x64uration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x19\n\x11result_size_bytes\x18\x05 \x01(\x03\x12\x1c\n\x14\x64\x61ta_processed_bytes\x18\x06 \x01(\x03\"=\n\x06\x45ngine\x12\x16\n\x12\x45NGINE_UNSPECIFIED\x10\x00\x12\r\n\tSPARK_SQL\x10\x01\x12\x0c\n\x08\x42IGQUERY\x10\x02\"S\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05START\x10\x01\x12\x08\n\x04STOP\x10\x02\x12\t\n\x05QUERY\x10\x03\x12\n\n\x06\x43REATE\x10\x04\x42\x08\n\x06\x64\x65tail\"\x88\t\n\rDataScanEvent\x12\x13\n\x0b\x64\x61ta_source\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x04type\x18\x05 \x01(\x0e\x32\x30.google.cloud.dataplex.v1.DataScanEvent.ScanType\x12<\n\x05state\x18\x06 \x01(\x0e\x32-.google.cloud.dataplex.v1.DataScanEvent.State\x12\x0f\n\x07message\x18\x07 \x01(\t\x12\x14\n\x0cspec_version\x18\x08 \x01(\t\x12@\n\x07trigger\x18\t \x01(\x0e\x32/.google.cloud.dataplex.v1.DataScanEvent.Trigger\x12<\n\x05scope\x18\n \x01(\x0e\x32-.google.cloud.dataplex.v1.DataScanEvent.Scope\x12Q\n\x0c\x64\x61ta_profile\x18\x65 \x01(\x0b\x32\x39.google.cloud.dataplex.v1.DataScanEvent.DataProfileResultH\x00\x12Q\n\x0c\x64\x61ta_quality\x18\x66 \x01(\x0b\x32\x39.google.cloud.dataplex.v1.DataScanEvent.DataQualityResultH\x00\x1a&\n\x11\x44\x61taProfileResult\x12\x11\n\trow_count\x18\x01 \x01(\x03\x1a\xd8\x01\n\x11\x44\x61taQualityResult\x12\x11\n\trow_count\x18\x01 \x01(\x03\x12\x0e\n\x06passed\x18\x02 \x01(\x08\x12h\n\x10\x64imension_passed\x18\x03 \x03(\x0b\x32N.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.DimensionPassedEntry\x1a\x36\n\x14\x44imensionPassedEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"I\n\x08ScanType\x12\x19\n\x15SCAN_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x44\x41TA_PROFILE\x10\x01\x12\x10\n\x0c\x44\x41TA_QUALITY\x10\x02\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07STARTED\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tCANCELLED\x10\x04\"?\n\x07Trigger\x12\x17\n\x13TRIGGER_UNSPECIFIED\x10\x00\x12\r\n\tON_DEMAND\x10\x01\x12\x0c\n\x08SCHEDULE\x10\x02\"9\n\x05Scope\x12\x15\n\x11SCOPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\x0f\n\x0bINCREMENTAL\x10\x02\x42\x08\n\x06resultBe\n\x1c\x63om.google.cloud.dataplex.v1B\tLogsProtoP\x01Z8cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpbb\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
29
+ ]
30
+ imports.each do |type_name, expected_filename|
31
+ import_file = pool.lookup(type_name).file_descriptor
32
+ if import_file.name != expected_filename
33
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
161
34
  end
162
35
  end
36
+ warn "Each proto file must use a consistent fully-qualified name."
37
+ warn "This will become an error in the next major version."
163
38
  end
164
39
 
165
40
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/dataplex/v1/metadata.proto
3
4
 
@@ -10,199 +11,32 @@ require 'google/api/resource_pb'
10
11
  require 'google/protobuf/empty_pb'
11
12
  require 'google/protobuf/timestamp_pb'
12
13
 
13
- Google::Protobuf::DescriptorPool.generated_pool.build do
14
- add_file("google/cloud/dataplex/v1/metadata.proto", :syntax => :proto3) do
15
- add_message "google.cloud.dataplex.v1.CreateEntityRequest" do
16
- optional :parent, :string, 1
17
- optional :entity, :message, 3, "google.cloud.dataplex.v1.Entity"
18
- optional :validate_only, :bool, 4
19
- end
20
- add_message "google.cloud.dataplex.v1.UpdateEntityRequest" do
21
- optional :entity, :message, 2, "google.cloud.dataplex.v1.Entity"
22
- optional :validate_only, :bool, 3
23
- end
24
- add_message "google.cloud.dataplex.v1.DeleteEntityRequest" do
25
- optional :name, :string, 1
26
- optional :etag, :string, 2
27
- end
28
- add_message "google.cloud.dataplex.v1.ListEntitiesRequest" do
29
- optional :parent, :string, 1
30
- optional :view, :enum, 2, "google.cloud.dataplex.v1.ListEntitiesRequest.EntityView"
31
- optional :page_size, :int32, 3
32
- optional :page_token, :string, 4
33
- optional :filter, :string, 5
34
- end
35
- add_enum "google.cloud.dataplex.v1.ListEntitiesRequest.EntityView" do
36
- value :ENTITY_VIEW_UNSPECIFIED, 0
37
- value :TABLES, 1
38
- value :FILESETS, 2
39
- end
40
- add_message "google.cloud.dataplex.v1.ListEntitiesResponse" do
41
- repeated :entities, :message, 1, "google.cloud.dataplex.v1.Entity"
42
- optional :next_page_token, :string, 2
43
- end
44
- add_message "google.cloud.dataplex.v1.GetEntityRequest" do
45
- optional :name, :string, 1
46
- optional :view, :enum, 2, "google.cloud.dataplex.v1.GetEntityRequest.EntityView"
47
- end
48
- add_enum "google.cloud.dataplex.v1.GetEntityRequest.EntityView" do
49
- value :ENTITY_VIEW_UNSPECIFIED, 0
50
- value :BASIC, 1
51
- value :SCHEMA, 2
52
- value :FULL, 4
53
- end
54
- add_message "google.cloud.dataplex.v1.ListPartitionsRequest" do
55
- optional :parent, :string, 1
56
- optional :page_size, :int32, 2
57
- optional :page_token, :string, 3
58
- optional :filter, :string, 4
59
- end
60
- add_message "google.cloud.dataplex.v1.CreatePartitionRequest" do
61
- optional :parent, :string, 1
62
- optional :partition, :message, 3, "google.cloud.dataplex.v1.Partition"
63
- optional :validate_only, :bool, 4
64
- end
65
- add_message "google.cloud.dataplex.v1.DeletePartitionRequest" do
66
- optional :name, :string, 1
67
- optional :etag, :string, 2
68
- end
69
- add_message "google.cloud.dataplex.v1.ListPartitionsResponse" do
70
- repeated :partitions, :message, 1, "google.cloud.dataplex.v1.Partition"
71
- optional :next_page_token, :string, 2
72
- end
73
- add_message "google.cloud.dataplex.v1.GetPartitionRequest" do
74
- optional :name, :string, 1
75
- end
76
- add_message "google.cloud.dataplex.v1.Entity" do
77
- optional :name, :string, 1
78
- optional :display_name, :string, 2
79
- optional :description, :string, 3
80
- optional :create_time, :message, 5, "google.protobuf.Timestamp"
81
- optional :update_time, :message, 6, "google.protobuf.Timestamp"
82
- optional :id, :string, 7
83
- optional :etag, :string, 8
84
- optional :type, :enum, 10, "google.cloud.dataplex.v1.Entity.Type"
85
- optional :asset, :string, 11
86
- optional :data_path, :string, 12
87
- optional :data_path_pattern, :string, 13
88
- optional :catalog_entry, :string, 14
89
- optional :system, :enum, 15, "google.cloud.dataplex.v1.StorageSystem"
90
- optional :format, :message, 16, "google.cloud.dataplex.v1.StorageFormat"
91
- optional :compatibility, :message, 19, "google.cloud.dataplex.v1.Entity.CompatibilityStatus"
92
- optional :schema, :message, 50, "google.cloud.dataplex.v1.Schema"
93
- end
94
- add_message "google.cloud.dataplex.v1.Entity.CompatibilityStatus" do
95
- optional :hive_metastore, :message, 1, "google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility"
96
- optional :bigquery, :message, 2, "google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility"
97
- end
98
- add_message "google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility" do
99
- optional :compatible, :bool, 1
100
- optional :reason, :string, 2
101
- end
102
- add_enum "google.cloud.dataplex.v1.Entity.Type" do
103
- value :TYPE_UNSPECIFIED, 0
104
- value :TABLE, 1
105
- value :FILESET, 2
106
- end
107
- add_message "google.cloud.dataplex.v1.Partition" do
108
- optional :name, :string, 1
109
- repeated :values, :string, 2
110
- optional :location, :string, 3
111
- optional :etag, :string, 4
112
- end
113
- add_message "google.cloud.dataplex.v1.Schema" do
114
- optional :user_managed, :bool, 1
115
- repeated :fields, :message, 2, "google.cloud.dataplex.v1.Schema.SchemaField"
116
- repeated :partition_fields, :message, 3, "google.cloud.dataplex.v1.Schema.PartitionField"
117
- optional :partition_style, :enum, 4, "google.cloud.dataplex.v1.Schema.PartitionStyle"
118
- end
119
- add_message "google.cloud.dataplex.v1.Schema.SchemaField" do
120
- optional :name, :string, 1
121
- optional :description, :string, 2
122
- optional :type, :enum, 3, "google.cloud.dataplex.v1.Schema.Type"
123
- optional :mode, :enum, 4, "google.cloud.dataplex.v1.Schema.Mode"
124
- repeated :fields, :message, 10, "google.cloud.dataplex.v1.Schema.SchemaField"
125
- end
126
- add_message "google.cloud.dataplex.v1.Schema.PartitionField" do
127
- optional :name, :string, 1
128
- optional :type, :enum, 2, "google.cloud.dataplex.v1.Schema.Type"
129
- end
130
- add_enum "google.cloud.dataplex.v1.Schema.Type" do
131
- value :TYPE_UNSPECIFIED, 0
132
- value :BOOLEAN, 1
133
- value :BYTE, 2
134
- value :INT16, 3
135
- value :INT32, 4
136
- value :INT64, 5
137
- value :FLOAT, 6
138
- value :DOUBLE, 7
139
- value :DECIMAL, 8
140
- value :STRING, 9
141
- value :BINARY, 10
142
- value :TIMESTAMP, 11
143
- value :DATE, 12
144
- value :TIME, 13
145
- value :RECORD, 14
146
- value :NULL, 100
147
- end
148
- add_enum "google.cloud.dataplex.v1.Schema.Mode" do
149
- value :MODE_UNSPECIFIED, 0
150
- value :REQUIRED, 1
151
- value :NULLABLE, 2
152
- value :REPEATED, 3
153
- end
154
- add_enum "google.cloud.dataplex.v1.Schema.PartitionStyle" do
155
- value :PARTITION_STYLE_UNSPECIFIED, 0
156
- value :HIVE_COMPATIBLE, 1
157
- end
158
- add_message "google.cloud.dataplex.v1.StorageFormat" do
159
- optional :format, :enum, 1, "google.cloud.dataplex.v1.StorageFormat.Format"
160
- optional :compression_format, :enum, 2, "google.cloud.dataplex.v1.StorageFormat.CompressionFormat"
161
- optional :mime_type, :string, 3
162
- oneof :options do
163
- optional :csv, :message, 10, "google.cloud.dataplex.v1.StorageFormat.CsvOptions"
164
- optional :json, :message, 11, "google.cloud.dataplex.v1.StorageFormat.JsonOptions"
165
- optional :iceberg, :message, 12, "google.cloud.dataplex.v1.StorageFormat.IcebergOptions"
166
- end
167
- end
168
- add_message "google.cloud.dataplex.v1.StorageFormat.CsvOptions" do
169
- optional :encoding, :string, 1
170
- optional :header_rows, :int32, 2
171
- optional :delimiter, :string, 3
172
- optional :quote, :string, 4
173
- end
174
- add_message "google.cloud.dataplex.v1.StorageFormat.JsonOptions" do
175
- optional :encoding, :string, 1
176
- end
177
- add_message "google.cloud.dataplex.v1.StorageFormat.IcebergOptions" do
178
- optional :metadata_location, :string, 1
179
- end
180
- add_enum "google.cloud.dataplex.v1.StorageFormat.Format" do
181
- value :FORMAT_UNSPECIFIED, 0
182
- value :PARQUET, 1
183
- value :AVRO, 2
184
- value :ORC, 3
185
- value :CSV, 100
186
- value :JSON, 101
187
- value :IMAGE, 200
188
- value :AUDIO, 201
189
- value :VIDEO, 202
190
- value :TEXT, 203
191
- value :TFRECORD, 204
192
- value :OTHER, 1000
193
- value :UNKNOWN, 1001
194
- end
195
- add_enum "google.cloud.dataplex.v1.StorageFormat.CompressionFormat" do
196
- value :COMPRESSION_FORMAT_UNSPECIFIED, 0
197
- value :GZIP, 2
198
- value :BZIP2, 3
199
- end
200
- add_enum "google.cloud.dataplex.v1.StorageSystem" do
201
- value :STORAGE_SYSTEM_UNSPECIFIED, 0
202
- value :CLOUD_STORAGE, 1
203
- value :BIGQUERY, 2
14
+
15
+ descriptor_data = "\n\'google/cloud/dataplex/v1/metadata.proto\x12\x18google.cloud.dataplex.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\x1fgoogle/protobuf/timestamp.proto\"\x9e\x01\n\x13\x43reateEntityRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x64\x61taplex.googleapis.com/Zone\x12\x35\n\x06\x65ntity\x18\x03 \x01(\x0b\x32 .google.cloud.dataplex.v1.EntityB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"h\n\x13UpdateEntityRequest\x12\x35\n\x06\x65ntity\x18\x02 \x01(\x0b\x32 .google.cloud.dataplex.v1.EntityB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"^\n\x13\x44\x65leteEntityRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64\x61taplex.googleapis.com/Entity\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xa3\x02\n\x13ListEntitiesRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x64\x61taplex.googleapis.com/Zone\x12K\n\x04view\x18\x02 \x01(\x0e\x32\x38.google.cloud.dataplex.v1.ListEntitiesRequest.EntityViewB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\"C\n\nEntityView\x12\x1b\n\x17\x45NTITY_VIEW_UNSPECIFIED\x10\x00\x12\n\n\x06TABLES\x10\x01\x12\x0c\n\x08\x46ILESETS\x10\x02\"c\n\x14ListEntitiesResponse\x12\x32\n\x08\x65ntities\x18\x01 \x03(\x0b\x32 .google.cloud.dataplex.v1.Entity\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xde\x01\n\x10GetEntityRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64\x61taplex.googleapis.com/Entity\x12H\n\x04view\x18\x02 \x01(\x0e\x32\x35.google.cloud.dataplex.v1.GetEntityRequest.EntityViewB\x03\xe0\x41\x01\"J\n\nEntityView\x12\x1b\n\x17\x45NTITY_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\n\n\x06SCHEMA\x10\x02\x12\x08\n\x04\x46ULL\x10\x04\"\x95\x01\n\x15ListPartitionsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64\x61taplex.googleapis.com/Entity\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\"\xa9\x01\n\x16\x43reatePartitionRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64\x61taplex.googleapis.com/Entity\x12;\n\tpartition\x18\x03 \x01(\x0b\x32#.google.cloud.dataplex.v1.PartitionB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"f\n\x16\x44\x65letePartitionRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataplex.googleapis.com/Partition\x12\x13\n\x04\x65tag\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x01\"j\n\x16ListPartitionsResponse\x12\x37\n\npartitions\x18\x01 \x03(\x0b\x32#.google.cloud.dataplex.v1.Partition\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"N\n\x13GetPartitionRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataplex.googleapis.com/Partition\"\xc9\t\n\x06\x45ntity\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x64\x61taplex.googleapis.com/Entity\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\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\x0f\n\x02id\x18\x07 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04\x65tag\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12;\n\x04type\x18\n \x01(\x0e\x32%.google.cloud.dataplex.v1.Entity.TypeB\x06\xe0\x41\x02\xe0\x41\x05\x12\x15\n\x05\x61sset\x18\x0b \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x19\n\tdata_path\x18\x0c \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x1e\n\x11\x64\x61ta_path_pattern\x18\r \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rcatalog_entry\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12?\n\x06system\x18\x0f \x01(\x0e\x32\'.google.cloud.dataplex.v1.StorageSystemB\x06\xe0\x41\x02\xe0\x41\x05\x12<\n\x06\x66ormat\x18\x10 \x01(\x0b\x32\'.google.cloud.dataplex.v1.StorageFormatB\x03\xe0\x41\x02\x12P\n\rcompatibility\x18\x13 \x01(\x0b\x32\x34.google.cloud.dataplex.v1.Entity.CompatibilityStatusB\x03\xe0\x41\x03\x12<\n\x06\x61\x63\x63\x65ss\x18\x15 \x01(\x0b\x32\'.google.cloud.dataplex.v1.StorageAccessB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x16 \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x06schema\x18\x32 \x01(\x0b\x32 .google.cloud.dataplex.v1.SchemaB\x03\xe0\x41\x02\x1a\x90\x02\n\x13\x43ompatibilityStatus\x12_\n\x0ehive_metastore\x18\x01 \x01(\x0b\x32\x42.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityB\x03\xe0\x41\x03\x12Y\n\x08\x62igquery\x18\x02 \x01(\x0b\x32\x42.google.cloud.dataplex.v1.Entity.CompatibilityStatus.CompatibilityB\x03\xe0\x41\x03\x1a=\n\rCompatibility\x12\x17\n\ncompatible\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03\x12\x13\n\x06reason\x18\x02 \x01(\tB\x03\xe0\x41\x03\"4\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05TABLE\x10\x01\x12\x0b\n\x07\x46ILESET\x10\x02:x\xea\x41u\n\x1e\x64\x61taplex.googleapis.com/Entity\x12Sprojects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity}\"\xa1\x02\n\tPartition\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!dataplex.googleapis.com/Partition\x12\x16\n\x06values\x18\x02 \x03(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x18\n\x08location\x18\x03 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x13\n\x04\x65tag\x18\x04 \x01(\tB\x05\x18\x01\xe0\x41\x01:\x93\x01\xea\x41\x8f\x01\n!dataplex.googleapis.com/Partition\x12jprojects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity}/partitions/{partition}\"\xb7\x07\n\x06Schema\x12\x19\n\x0cuser_managed\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x12\x41\n\x06\x66ields\x18\x02 \x03(\x0b\x32,.google.cloud.dataplex.v1.Schema.SchemaFieldB\x03\xe0\x41\x01\x12N\n\x10partition_fields\x18\x03 \x03(\x0b\x32/.google.cloud.dataplex.v1.Schema.PartitionFieldB\x03\xe0\x41\x01\x12M\n\x0fpartition_style\x18\x04 \x01(\x0e\x32/.google.cloud.dataplex.v1.Schema.PartitionStyleB\x03\xe0\x41\x01\x1a\xf1\x01\n\x0bSchemaField\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x38\n\x04type\x18\x03 \x01(\x0e\x32%.google.cloud.dataplex.v1.Schema.TypeB\x03\xe0\x41\x02\x12\x38\n\x04mode\x18\x04 \x01(\x0e\x32%.google.cloud.dataplex.v1.Schema.ModeB\x03\xe0\x41\x02\x12\x41\n\x06\x66ields\x18\n \x03(\x0b\x32,.google.cloud.dataplex.v1.Schema.SchemaFieldB\x03\xe0\x41\x01\x1a`\n\x0ePartitionField\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12;\n\x04type\x18\x02 \x01(\x0e\x32%.google.cloud.dataplex.v1.Schema.TypeB\x06\xe0\x41\x02\xe0\x41\x05\"\xc9\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x42OOLEAN\x10\x01\x12\x08\n\x04\x42YTE\x10\x02\x12\t\n\x05INT16\x10\x03\x12\t\n\x05INT32\x10\x04\x12\t\n\x05INT64\x10\x05\x12\t\n\x05\x46LOAT\x10\x06\x12\n\n\x06\x44OUBLE\x10\x07\x12\x0b\n\x07\x44\x45\x43IMAL\x10\x08\x12\n\n\x06STRING\x10\t\x12\n\n\x06\x42INARY\x10\n\x12\r\n\tTIMESTAMP\x10\x0b\x12\x08\n\x04\x44\x41TE\x10\x0c\x12\x08\n\x04TIME\x10\r\x12\n\n\x06RECORD\x10\x0e\x12\x08\n\x04NULL\x10\x64\"F\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08REQUIRED\x10\x01\x12\x0c\n\x08NULLABLE\x10\x02\x12\x0c\n\x08REPEATED\x10\x03\"F\n\x0ePartitionStyle\x12\x1f\n\x1bPARTITION_STYLE_UNSPECIFIED\x10\x00\x12\x13\n\x0fHIVE_COMPATIBLE\x10\x01\"\xf4\x06\n\rStorageFormat\x12\x43\n\x06\x66ormat\x18\x01 \x01(\x0e\x32..google.cloud.dataplex.v1.StorageFormat.FormatB\x03\xe0\x41\x03\x12Z\n\x12\x63ompression_format\x18\x02 \x01(\x0e\x32\x39.google.cloud.dataplex.v1.StorageFormat.CompressionFormatB\x03\xe0\x41\x01\x12\x16\n\tmime_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x03\x63sv\x18\n \x01(\x0b\x32\x32.google.cloud.dataplex.v1.StorageFormat.CsvOptionsB\x03\xe0\x41\x01H\x00\x12H\n\x04json\x18\x0b \x01(\x0b\x32\x33.google.cloud.dataplex.v1.StorageFormat.JsonOptionsB\x03\xe0\x41\x01H\x00\x12N\n\x07iceberg\x18\x0c \x01(\x0b\x32\x36.google.cloud.dataplex.v1.StorageFormat.IcebergOptionsB\x03\xe0\x41\x01H\x00\x1ai\n\nCsvOptions\x12\x15\n\x08\x65ncoding\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bheader_rows\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x16\n\tdelimiter\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05quote\x18\x04 \x01(\tB\x03\xe0\x41\x01\x1a$\n\x0bJsonOptions\x12\x15\n\x08\x65ncoding\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a\x30\n\x0eIcebergOptions\x12\x1e\n\x11metadata_location\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\xab\x01\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x0b\n\x07PARQUET\x10\x01\x12\x08\n\x04\x41VRO\x10\x02\x12\x07\n\x03ORC\x10\x03\x12\x07\n\x03\x43SV\x10\x64\x12\x08\n\x04JSON\x10\x65\x12\n\n\x05IMAGE\x10\xc8\x01\x12\n\n\x05\x41UDIO\x10\xc9\x01\x12\n\n\x05VIDEO\x10\xca\x01\x12\t\n\x04TEXT\x10\xcb\x01\x12\r\n\x08TFRECORD\x10\xcc\x01\x12\n\n\x05OTHER\x10\xe8\x07\x12\x0c\n\x07UNKNOWN\x10\xe9\x07\"L\n\x11\x43ompressionFormat\x12\"\n\x1e\x43OMPRESSION_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04GZIP\x10\x02\x12\t\n\x05\x42ZIP2\x10\x03\x42\t\n\x07options\"\x9a\x01\n\rStorageAccess\x12\x45\n\x04read\x18\x15 \x01(\x0e\x32\x32.google.cloud.dataplex.v1.StorageAccess.AccessModeB\x03\xe0\x41\x03\"B\n\nAccessMode\x12\x1b\n\x17\x41\x43\x43\x45SS_MODE_UNSPECIFIED\x10\x00\x12\n\n\x06\x44IRECT\x10\x01\x12\x0b\n\x07MANAGED\x10\x02*P\n\rStorageSystem\x12\x1e\n\x1aSTORAGE_SYSTEM_UNSPECIFIED\x10\x00\x12\x11\n\rCLOUD_STORAGE\x10\x01\x12\x0c\n\x08\x42IGQUERY\x10\x02\x32\x89\x0e\n\x0fMetadataService\x12\xbd\x01\n\x0c\x43reateEntity\x12-.google.cloud.dataplex.v1.CreateEntityRequest\x1a .google.cloud.dataplex.v1.Entity\"\\\x82\xd3\xe4\x93\x02\x46\"</v1/{parent=projects/*/locations/*/lakes/*/zones/*}/entities:\x06\x65ntity\xda\x41\rparent,entity\x12\xb4\x01\n\x0cUpdateEntity\x12-.google.cloud.dataplex.v1.UpdateEntityRequest\x1a .google.cloud.dataplex.v1.Entity\"S\x82\xd3\xe4\x93\x02M\x1a\x43/v1/{entity.name=projects/*/locations/*/lakes/*/zones/*/entities/*}:\x06\x65ntity\x12\xa2\x01\n\x0c\x44\x65leteEntity\x12-.google.cloud.dataplex.v1.DeleteEntityRequest\x1a\x16.google.protobuf.Empty\"K\x82\xd3\xe4\x93\x02>*</v1/{name=projects/*/locations/*/lakes/*/zones/*/entities/*}\xda\x41\x04name\x12\xa6\x01\n\tGetEntity\x12*.google.cloud.dataplex.v1.GetEntityRequest\x1a .google.cloud.dataplex.v1.Entity\"K\x82\xd3\xe4\x93\x02>\x12</v1/{name=projects/*/locations/*/lakes/*/zones/*/entities/*}\xda\x41\x04name\x12\xbc\x01\n\x0cListEntities\x12-.google.cloud.dataplex.v1.ListEntitiesRequest\x1a..google.cloud.dataplex.v1.ListEntitiesResponse\"M\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/locations/*/lakes/*/zones/*}/entities\xda\x41\x06parent\x12\xd9\x01\n\x0f\x43reatePartition\x12\x30.google.cloud.dataplex.v1.CreatePartitionRequest\x1a#.google.cloud.dataplex.v1.Partition\"o\x82\xd3\xe4\x93\x02V\"I/v1/{parent=projects/*/locations/*/lakes/*/zones/*/entities/*}/partitions:\tpartition\xda\x41\x10parent,partition\x12\xb6\x01\n\x0f\x44\x65letePartition\x12\x30.google.cloud.dataplex.v1.DeletePartitionRequest\x1a\x16.google.protobuf.Empty\"Y\x82\xd3\xe4\x93\x02L*J/v1/{name=projects/*/locations/*/lakes/*/zones/*/entities/*/partitions/**}\xda\x41\x04name\x12\xbd\x01\n\x0cGetPartition\x12-.google.cloud.dataplex.v1.GetPartitionRequest\x1a#.google.cloud.dataplex.v1.Partition\"Y\x82\xd3\xe4\x93\x02L\x12J/v1/{name=projects/*/locations/*/lakes/*/zones/*/entities/*/partitions/**}\xda\x41\x04name\x12\xcf\x01\n\x0eListPartitions\x12/.google.cloud.dataplex.v1.ListPartitionsRequest\x1a\x30.google.cloud.dataplex.v1.ListPartitionsResponse\"Z\x82\xd3\xe4\x93\x02K\x12I/v1/{parent=projects/*/locations/*/lakes/*/zones/*/entities/*}/partitions\xda\x41\x06parent\x1aK\xca\x41\x17\x64\x61taplex.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBi\n\x1c\x63om.google.cloud.dataplex.v1B\rMetadataProtoP\x01Z8cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpbb\x06proto3"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+
19
+ begin
20
+ pool.add_serialized_file(descriptor_data)
21
+ rescue TypeError => e
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.Timestamp", "google/protobuf/timestamp.proto"],
31
+ ]
32
+ imports.each do |type_name, expected_filename|
33
+ import_file = pool.lookup(type_name).file_descriptor
34
+ if import_file.name != expected_filename
35
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
204
36
  end
205
37
  end
38
+ warn "Each proto file must use a consistent fully-qualified name."
39
+ warn "This will become an error in the next major version."
206
40
  end
207
41
 
208
42
  module Google
@@ -239,6 +73,8 @@ module Google
239
73
  StorageFormat::IcebergOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.StorageFormat.IcebergOptions").msgclass
240
74
  StorageFormat::Format = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.StorageFormat.Format").enummodule
241
75
  StorageFormat::CompressionFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.StorageFormat.CompressionFormat").enummodule
76
+ StorageAccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.StorageAccess").msgclass
77
+ StorageAccess::AccessMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.StorageAccess.AccessMode").enummodule
242
78
  StorageSystem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.StorageSystem").enummodule
243
79
  end
244
80
  end
@@ -156,7 +156,7 @@ module Google
156
156
  credentials = @config.credentials
157
157
  # Use self-signed JWT if the endpoint is unchanged from default,
158
158
  # but only if the default endpoint does not have a region prefix.
159
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
159
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
160
160
  !@config.endpoint.split(".").first.include?("-")
161
161
  credentials ||= Credentials.default scope: @config.scope,
162
162
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1101,9 +1101,9 @@ module Google
1101
1101
  # * (`String`) The path to a service account key file in JSON format
1102
1102
  # * (`Hash`) A service account key as a Hash
1103
1103
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1104
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1104
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1105
1105
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1106
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1106
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1107
1107
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1108
1108
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1109
1109
  # * (`nil`) indicating no credentials
@@ -1145,7 +1145,9 @@ module Google
1145
1145
  class Configuration
1146
1146
  extend ::Gapic::Config
1147
1147
 
1148
- config_attr :endpoint, "dataplex.googleapis.com", ::String
1148
+ DEFAULT_ENDPOINT = "dataplex.googleapis.com"
1149
+
1150
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1149
1151
  config_attr :credentials, nil do |value|
1150
1152
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1151
1153
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -152,7 +152,7 @@ module Google
152
152
  credentials = @config.credentials
153
153
  # Use self-signed JWT if the endpoint is unchanged from default,
154
154
  # but only if the default endpoint does not have a region prefix.
155
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
155
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
156
156
  !@config.endpoint.split(".").first.include?("-")
157
157
  credentials ||= Credentials.default scope: @config.scope,
158
158
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -879,9 +879,9 @@ module Google
879
879
  # * (`String`) The path to a service account key file in JSON format
880
880
  # * (`Hash`) A service account key as a Hash
881
881
  # * (`Google::Auth::Credentials`) A googleauth credentials object
882
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
882
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
883
883
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
884
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
884
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
885
885
  # * (`nil`) indicating no credentials
886
886
  # @return [::Object]
887
887
  # @!attribute [rw] scope
@@ -914,7 +914,9 @@ module Google
914
914
  class Configuration
915
915
  extend ::Gapic::Config
916
916
 
917
- config_attr :endpoint, "dataplex.googleapis.com", ::String
917
+ DEFAULT_ENDPOINT = "dataplex.googleapis.com"
918
+
919
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
918
920
  config_attr :credentials, nil do |value|
919
921
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
920
922
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_create_entity_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_update_entity_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_entity_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_get_entity_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_list_entities_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -249,7 +249,7 @@ module Google
249
249
 
250
250
  verb, uri, query_string_params, body = ServiceStub.transcode_create_partition_request request_pb
251
251
  query_string_params = if query_string_params.any?
252
- query_string_params.to_h { |p| p.split("=", 2) }
252
+ query_string_params.to_h { |p| p.split "=", 2 }
253
253
  else
254
254
  {}
255
255
  end
@@ -287,7 +287,7 @@ module Google
287
287
 
288
288
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_partition_request request_pb
289
289
  query_string_params = if query_string_params.any?
290
- query_string_params.to_h { |p| p.split("=", 2) }
290
+ query_string_params.to_h { |p| p.split "=", 2 }
291
291
  else
292
292
  {}
293
293
  end
@@ -325,7 +325,7 @@ module Google
325
325
 
326
326
  verb, uri, query_string_params, body = ServiceStub.transcode_get_partition_request request_pb
327
327
  query_string_params = if query_string_params.any?
328
- query_string_params.to_h { |p| p.split("=", 2) }
328
+ query_string_params.to_h { |p| p.split "=", 2 }
329
329
  else
330
330
  {}
331
331
  end
@@ -363,7 +363,7 @@ module Google
363
363
 
364
364
  verb, uri, query_string_params, body = ServiceStub.transcode_list_partitions_request request_pb
365
365
  query_string_params = if query_string_params.any?
366
- query_string_params.to_h { |p| p.split("=", 2) }
366
+ query_string_params.to_h { |p| p.split "=", 2 }
367
367
  else
368
368
  {}
369
369
  end