google-cloud-database_center-v1beta 0.3.0 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bd386b0b22bfcd792bb13f5e18cd8399dd3beac7a9b16f3a1c90d5b5ecd3ccd
4
- data.tar.gz: e0fb7dfa58c50173e4e4c61a7b937dec02e1b31e7be632ddbeac0934832246ee
3
+ metadata.gz: 667459ed11674a9873c1640b99d0db670e08acf1801114167f07332d2e9f0e96
4
+ data.tar.gz: 802adc85e25ced3d7a4eb9c08ce576658d7e0b332024e38c40385700bc62e7ff
5
5
  SHA512:
6
- metadata.gz: 1686ed75b7f6503ef10e550aaed2d86b5c0e52173ac089862797071fdba62d8302f1d739856809f2c55d517a78ee1477cd2bdf2ab6e0b752aaf6090297e55039
7
- data.tar.gz: 9cd379f8397c445f95814398101fe0742a1b1b141ccaf9a68a35c5e1ba736220f00de0f373fbd5afe6b0b49f7f9ad931e92d46f8cd717438c29bb53a9d18fe25
6
+ metadata.gz: 2205c17dfb09fa72900e3987e5a13fdebd4a32e165366d2a33534e927d31b207100dc36e40de257428eb0789a9ec2e33fc9e01b077e91241086fde26aabdcd9a
7
+ data.tar.gz: f33d6e695ef1368a60cf0b32a01e456a8a54acfe35d07a203b5b8c65280b0f58732e0d5cd97def603089de042d207af7a85fd11be0b77bae0b8595bcba9bac28
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DatabaseCenter
23
23
  module V1beta
24
- VERSION = "0.3.0"
24
+ VERSION = "0.4.0"
25
25
  end
26
26
  end
27
27
  end
@@ -9,29 +9,8 @@ require 'google/api/field_behavior_pb'
9
9
 
10
10
  descriptor_data = "\n7google/cloud/databasecenter/v1beta/machine_config.proto\x12\"google.cloud.databasecenter.v1beta\x1a\x1fgoogle/api/field_behavior.proto\"\x86\x01\n\rMachineConfig\x12\x19\n\x11memory_size_bytes\x18\x02 \x01(\x03\x12\x1d\n\x0bshard_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1c\n\nvcpu_count\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x0e\n\x0c_shard_countB\r\n\x0b_vcpu_countB\x80\x02\n&com.google.cloud.databasecenter.v1betaB\x12MachineConfigProtoP\x01ZNcloud.google.com/go/databasecenter/apiv1beta/databasecenterpb;databasecenterpb\xaa\x02\"Google.Cloud.DatabaseCenter.V1Beta\xca\x02\"Google\\Cloud\\DatabaseCenter\\V1beta\xea\x02%Google::Cloud::DatabaseCenter::V1betab\x06proto3"
11
11
 
12
- pool = Google::Protobuf::DescriptorPool.generated_pool
13
-
14
- begin
15
- pool.add_serialized_file(descriptor_data)
16
- rescue TypeError
17
- # Compatibility code: will be removed in the next major version.
18
- require 'google/protobuf/descriptor_pb'
19
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
- parsed.clear_dependency
21
- serialized = parsed.class.encode(parsed)
22
- file = pool.add_serialized_file(serialized)
23
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
- imports = [
25
- ]
26
- imports.each do |type_name, expected_filename|
27
- import_file = pool.lookup(type_name).file_descriptor
28
- if import_file.name != expected_filename
29
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
- end
31
- end
32
- warn "Each proto file must use a consistent fully-qualified name."
33
- warn "This will become an error in the next major version."
34
- end
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
35
14
 
36
15
  module Google
37
16
  module Cloud
@@ -12,31 +12,8 @@ require 'google/type/timeofday_pb'
12
12
 
13
13
  descriptor_data = "\n4google/cloud/databasecenter/v1beta/maintenance.proto\x12\"google.cloud.databasecenter.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x16google/type/date.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\xb7\x01\n\x1bResourceMaintenanceSchedule\x12/\n\nstart_time\x18\x01 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x01\x12(\n\x03\x64\x61y\x18\x02 \x01(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x01\x12=\n\x05phase\x18\x03 \x01(\x0e\x32).google.cloud.databasecenter.v1beta.PhaseB\x03\xe0\x41\x01\"\xa2\x01\n\x1fResourceMaintenanceDenySchedule\x12*\n\nstart_date\x18\x01 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12(\n\x08\x65nd_date\x18\x02 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12)\n\x04time\x18\x03 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x01\"\x85\x02\n\x0fMaintenanceInfo\x12\x62\n\x14maintenance_schedule\x18\x01 \x01(\x0b\x32?.google.cloud.databasecenter.v1beta.ResourceMaintenanceScheduleB\x03\xe0\x41\x01\x12l\n\x1a\x64\x65ny_maintenance_schedules\x18\x02 \x03(\x0b\x32\x43.google.cloud.databasecenter.v1beta.ResourceMaintenanceDenyScheduleB\x03\xe0\x41\x01\x12 \n\x13maintenance_version\x18\x03 \x01(\tB\x03\xe0\x41\x03*`\n\x05Phase\x12\x15\n\x11PHASE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPHASE_WEEK1\x10\x01\x12\x0f\n\x0bPHASE_WEEK2\x10\x02\x12\x0f\n\x0bPHASE_WEEK5\x10\x03\x12\r\n\tPHASE_ANY\x10\x04\x42\xfe\x01\n&com.google.cloud.databasecenter.v1betaB\x10MaintenanceProtoP\x01ZNcloud.google.com/go/databasecenter/apiv1beta/databasecenterpb;databasecenterpb\xaa\x02\"Google.Cloud.DatabaseCenter.V1Beta\xca\x02\"Google\\Cloud\\DatabaseCenter\\V1beta\xea\x02%Google::Cloud::DatabaseCenter::V1betab\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
- ["google.type.TimeOfDay", "google/type/timeofday.proto"],
29
- ["google.type.Date", "google/type/date.proto"],
30
- ]
31
- imports.each do |type_name, expected_filename|
32
- import_file = pool.lookup(type_name).file_descriptor
33
- if import_file.name != expected_filename
34
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
- end
36
- end
37
- warn "Each proto file must use a consistent fully-qualified name."
38
- warn "This will become an error in the next major version."
39
- end
15
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
16
+ pool.add_serialized_file(descriptor_data)
40
17
 
41
18
  module Google
42
19
  module Cloud
@@ -9,30 +9,8 @@ require 'google/protobuf/timestamp_pb'
9
9
 
10
10
  descriptor_data = "\n4google/cloud/databasecenter/v1beta/metric_data.proto\x12\"google.cloud.databasecenter.v1beta\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe9\x07\n\x07Metrics\x12P\n\x13p99_cpu_utilization\x18\x01 \x01(\x0b\x32..google.cloud.databasecenter.v1beta.MetricDataH\x00\x88\x01\x01\x12P\n\x13p95_cpu_utilization\x18\x02 \x01(\x0b\x32..google.cloud.databasecenter.v1beta.MetricDataH\x01\x88\x01\x01\x12W\n\x1a\x63urrent_storage_used_bytes\x18\x03 \x01(\x0b\x32..google.cloud.databasecenter.v1beta.MetricDataH\x02\x88\x01\x01\x12U\n\x18peak_storage_utilization\x18\x04 \x01(\x0b\x32..google.cloud.databasecenter.v1beta.MetricDataH\x03\x88\x01\x01\x12T\n\x17peak_memory_utilization\x18\x05 \x01(\x0b\x32..google.cloud.databasecenter.v1beta.MetricDataH\x04\x88\x01\x01\x12T\n\x17peak_number_connections\x18\x06 \x01(\x0b\x32..google.cloud.databasecenter.v1beta.MetricDataH\x05\x88\x01\x01\x12G\n\nnode_count\x18\x07 \x01(\x0b\x32..google.cloud.databasecenter.v1beta.MetricDataH\x06\x88\x01\x01\x12R\n\x15processing_unit_count\x18\x08 \x01(\x0b\x32..google.cloud.databasecenter.v1beta.MetricDataH\x07\x88\x01\x01\x12V\n\x19\x63urrent_memory_used_bytes\x18\t \x01(\x0b\x32..google.cloud.databasecenter.v1beta.MetricDataH\x08\x88\x01\x01\x42\x16\n\x14_p99_cpu_utilizationB\x16\n\x14_p95_cpu_utilizationB\x1d\n\x1b_current_storage_used_bytesB\x1b\n\x19_peak_storage_utilizationB\x1a\n\x18_peak_memory_utilizationB\x1a\n\x18_peak_number_connectionsB\r\n\x0b_node_countB\x18\n\x16_processing_unit_countB\x1c\n\x1a_current_memory_used_bytes\"\x81\x01\n\nMetricData\x12=\n\x05value\x18\x01 \x01(\x0b\x32..google.cloud.databasecenter.v1beta.TypedValue\x12\x34\n\x10observation_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"D\n\nTypedValue\x12\x16\n\x0c\x64ouble_value\x18\x01 \x01(\x01H\x00\x12\x15\n\x0bint64_value\x18\x02 \x01(\x03H\x00\x42\x07\n\x05valueB\xfd\x01\n&com.google.cloud.databasecenter.v1betaB\x0fMetricDataProtoP\x01ZNcloud.google.com/go/databasecenter/apiv1beta/databasecenterpb;databasecenterpb\xaa\x02\"Google.Cloud.DatabaseCenter.V1Beta\xca\x02\"Google\\Cloud\\DatabaseCenter\\V1beta\xea\x02%Google::Cloud::DatabaseCenter::V1betab\x06proto3"
11
11
 
12
- pool = Google::Protobuf::DescriptorPool.generated_pool
13
-
14
- begin
15
- pool.add_serialized_file(descriptor_data)
16
- rescue TypeError
17
- # Compatibility code: will be removed in the next major version.
18
- require 'google/protobuf/descriptor_pb'
19
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
- parsed.clear_dependency
21
- serialized = parsed.class.encode(parsed)
22
- file = pool.add_serialized_file(serialized)
23
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
- imports = [
25
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
26
- ]
27
- imports.each do |type_name, expected_filename|
28
- import_file = pool.lookup(type_name).file_descriptor
29
- if import_file.name != expected_filename
30
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
31
- end
32
- end
33
- warn "Each proto file must use a consistent fully-qualified name."
34
- warn "This will become an error in the next major version."
35
- end
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
36
14
 
37
15
  module Google
38
16
  module Cloud
@@ -7,29 +7,8 @@ require 'google/protobuf'
7
7
 
8
8
  descriptor_data = "\n=google/cloud/databasecenter/v1beta/operation_error_type.proto\x12\"google.cloud.databasecenter.v1beta*\xb6\x01\n\x12OperationErrorType\x12$\n OPERATION_ERROR_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rKMS_KEY_ERROR\x10\x01\x12\x12\n\x0e\x44\x41TABASE_ERROR\x10\x02\x12\x12\n\x0eSTOCKOUT_ERROR\x10\x03\x12\x16\n\x12\x43\x41NCELLATION_ERROR\x10\x04\x12\x13\n\x0fSQLSERVER_ERROR\x10\x05\x12\x12\n\x0eINTERNAL_ERROR\x10\x06\x42\x85\x02\n&com.google.cloud.databasecenter.v1betaB\x17OperationErrorTypeProtoP\x01ZNcloud.google.com/go/databasecenter/apiv1beta/databasecenterpb;databasecenterpb\xaa\x02\"Google.Cloud.DatabaseCenter.V1Beta\xca\x02\"Google\\Cloud\\DatabaseCenter\\V1beta\xea\x02%Google::Cloud::DatabaseCenter::V1betab\x06proto3"
9
9
 
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
-
12
- begin
13
- pool.add_serialized_file(descriptor_data)
14
- rescue TypeError
15
- # Compatibility code: will be removed in the next major version.
16
- require 'google/protobuf/descriptor_pb'
17
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
- parsed.clear_dependency
19
- serialized = parsed.class.encode(parsed)
20
- file = pool.add_serialized_file(serialized)
21
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
- imports = [
23
- ]
24
- imports.each do |type_name, expected_filename|
25
- import_file = pool.lookup(type_name).file_descriptor
26
- if import_file.name != expected_filename
27
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
- end
29
- end
30
- warn "Each proto file must use a consistent fully-qualified name."
31
- warn "This will become an error in the next major version."
32
- end
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Google
35
14
  module Cloud
@@ -9,29 +9,8 @@ require 'google/api/field_behavior_pb'
9
9
 
10
10
  descriptor_data = "\n0google/cloud/databasecenter/v1beta/product.proto\x12\"google.cloud.databasecenter.v1beta\x1a\x1fgoogle/api/field_behavior.proto\"\xc0\x01\n\x07Product\x12\x42\n\x04type\x18\x01 \x01(\x0e\x32/.google.cloud.databasecenter.v1beta.ProductTypeB\x03\xe0\x41\x01\x12?\n\x06\x65ngine\x18\x02 \x01(\x0e\x32*.google.cloud.databasecenter.v1beta.EngineB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rminor_version\x18\x04 \x01(\tB\x03\xe0\x41\x01*\x93\x03\n\x06\x45ngine\x12\x16\n\x12\x45NGINE_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x45NGINE_MYSQL\x10\x01\x12\x13\n\x0f\x45NGINE_POSTGRES\x10\x02\x12\x15\n\x11\x45NGINE_SQL_SERVER\x10\x03\x12\x11\n\rENGINE_NATIVE\x10\x04\x12 \n\x1c\x45NGINE_MEMORYSTORE_FOR_REDIS\x10\x08\x12(\n$ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER\x10\t\x12%\n!ENGINE_FIRESTORE_WITH_NATIVE_MODE\x10\n\x12(\n$ENGINE_FIRESTORE_WITH_DATASTORE_MODE\x10\x0b\x12\x19\n\x15\x45NGINE_EXADATA_ORACLE\x10\x0c\x12 \n\x1c\x45NGINE_ADB_SERVERLESS_ORACLE\x10\r\x12\x34\n0ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE\x10\x0e\x12\x10\n\x0c\x45NGINE_OTHER\x10\x06*\xc4\x02\n\x0bProductType\x12\x1c\n\x18PRODUCT_TYPE_UNSPECIFIED\x10\x00\x12\x1a\n\x16PRODUCT_TYPE_CLOUD_SQL\x10\x01\x12\x18\n\x14PRODUCT_TYPE_ALLOYDB\x10\x02\x12\x18\n\x14PRODUCT_TYPE_SPANNER\x10\x03\x12\x19\n\x15PRODUCT_TYPE_BIGTABLE\x10\x06\x12\x1c\n\x18PRODUCT_TYPE_MEMORYSTORE\x10\x07\x12\x1a\n\x16PRODUCT_TYPE_FIRESTORE\x10\x08\x12\x1f\n\x1bPRODUCT_TYPE_COMPUTE_ENGINE\x10\t\x12\x1e\n\x1aPRODUCT_TYPE_ORACLE_ON_GCP\x10\n\x12\x19\n\x15PRODUCT_TYPE_BIGQUERY\x10\x0b\x12\x16\n\x12PRODUCT_TYPE_OTHER\x10\x05\x42\xfa\x01\n&com.google.cloud.databasecenter.v1betaB\x0cProductProtoP\x01ZNcloud.google.com/go/databasecenter/apiv1beta/databasecenterpb;databasecenterpb\xaa\x02\"Google.Cloud.DatabaseCenter.V1Beta\xca\x02\"Google\\Cloud\\DatabaseCenter\\V1beta\xea\x02%Google::Cloud::DatabaseCenter::V1betab\x06proto3"
11
11
 
12
- pool = Google::Protobuf::DescriptorPool.generated_pool
13
-
14
- begin
15
- pool.add_serialized_file(descriptor_data)
16
- rescue TypeError
17
- # Compatibility code: will be removed in the next major version.
18
- require 'google/protobuf/descriptor_pb'
19
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
- parsed.clear_dependency
21
- serialized = parsed.class.encode(parsed)
22
- file = pool.add_serialized_file(serialized)
23
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
- imports = [
25
- ]
26
- imports.each do |type_name, expected_filename|
27
- import_file = pool.lookup(type_name).file_descriptor
28
- if import_file.name != expected_filename
29
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
- end
31
- end
32
- warn "Each proto file must use a consistent fully-qualified name."
33
- warn "This will become an error in the next major version."
34
- end
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
35
14
 
36
15
  module Google
37
16
  module Cloud
@@ -17,35 +17,8 @@ require 'google/type/date_pb'
17
17
 
18
18
  descriptor_data = "\n0google/cloud/databasecenter/v1beta/service.proto\x12\"google.cloud.databasecenter.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x37google/cloud/databasecenter/v1beta/machine_config.proto\x1a\x34google/cloud/databasecenter/v1beta/maintenance.proto\x1a\x34google/cloud/databasecenter/v1beta/metric_data.proto\x1a\x30google/cloud/databasecenter/v1beta/product.proto\x1a\x30google/cloud/databasecenter/v1beta/signals.proto\x1a\x16google/type/date.proto\"\\\n\x14QueryProductsRequest\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x89\x01\n\x15QueryProductsResponse\x12=\n\x08products\x18\x01 \x03(\x0b\x32+.google.cloud.databasecenter.v1beta.Product\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"\xbb\x02\n\"QueryDatabaseResourceGroupsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12T\n\x12signal_type_groups\x18\x03 \x03(\x0b\x32\x33.google.cloud.databasecenter.v1beta.SignalTypeGroupB\x03\xe0\x41\x01\x12M\n\x0esignal_filters\x18\x04 \x03(\x0b\x32\x30.google.cloud.databasecenter.v1beta.SignalFilterB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x07 \x01(\tB\x03\xe0\x41\x01\"\xac\x01\n#QueryDatabaseResourceGroupsResponse\x12R\n\x0fresource_groups\x18\x01 \x03(\x0b\x32\x39.google.cloud.databasecenter.v1beta.DatabaseResourceGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"\xac\x01\n\x15\x44\x61tabaseResourceGroup\x12L\n\x0eroot_resources\x18\x01 \x03(\x0b\x32\x34.google.cloud.databasecenter.v1beta.DatabaseResource\x12\x45\n\rsignal_groups\x18\x02 \x03(\x0b\x32..google.cloud.databasecenter.v1beta.IssueCount\"\xd6\x07\n\x10\x44\x61tabaseResource\x12M\n\x0f\x63hild_resources\x18\x01 \x03(\x0b\x32\x34.google.cloud.databasecenter.v1beta.DatabaseResource\x12\x1a\n\x12\x66ull_resource_name\x18\x03 \x01(\t\x12\x11\n\tcontainer\x18\x04 \x01(\t\x12<\n\x07product\x18\x05 \x01(\x0b\x32+.google.cloud.databasecenter.v1beta.Product\x12\x10\n\x08location\x18\x06 \x01(\t\x12\x39\n\x06labels\x18\x07 \x03(\x0b\x32).google.cloud.databasecenter.v1beta.Label\x12\x35\n\x04tags\x18\x10 \x03(\x0b\x32\'.google.cloud.databasecenter.v1beta.Tag\x12\x15\n\rresource_type\x18\x08 \x01(\t\x12N\n\x11sub_resource_type\x18\t \x01(\x0e\x32\x33.google.cloud.databasecenter.v1beta.SubResourceType\x12I\n\x0emachine_config\x18\x0c \x01(\x0b\x32\x31.google.cloud.databasecenter.v1beta.MachineConfig\x12\x46\n\rsignal_groups\x18\n \x03(\x0b\x32/.google.cloud.databasecenter.v1beta.SignalGroup\x12<\n\x07metrics\x18\r \x01(\x0b\x32+.google.cloud.databasecenter.v1beta.Metrics\x12O\n\x11resource_category\x18\x0e \x01(\x0e\x32\x34.google.cloud.databasecenter.v1beta.ResourceCategory\x12\x15\n\rresource_name\x18\x0f \x01(\t\x12P\n\x0f\x62\x61\x63kupdr_config\x18\x11 \x01(\x0b\x32\x32.google.cloud.databasecenter.v1beta.BackupDRConfigB\x03\xe0\x41\x01\x12<\n\x07\x65\x64ition\x18\x12 \x01(\x0e\x32+.google.cloud.databasecenter.v1beta.Edition\x12R\n\x10maintenance_info\x18\x13 \x01(\x0b\x32\x33.google.cloud.databasecenter.v1beta.MaintenanceInfoB\x03\xe0\x41\x01\"\xe2\x01\n\x1a\x41ggregateIssueStatsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12T\n\x12signal_type_groups\x18\x03 \x03(\x0b\x32\x33.google.cloud.databasecenter.v1beta.SignalTypeGroupB\x03\xe0\x41\x01\x12\x32\n\rbaseline_date\x18\x04 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x10\n\x0e_baseline_date\"\xcb\x01\n\x1b\x41ggregateIssueStatsResponse\x12N\n\x11issue_group_stats\x18\x01 \x03(\x0b\x32\x33.google.cloud.databasecenter.v1beta.IssueGroupStats\x12\x1d\n\x15total_resources_count\x18\x02 \x01(\x05\x12#\n\x1btotal_resource_groups_count\x18\x03 \x01(\x05\x12\x18\n\x0bunreachable\x18\x04 \x03(\tB\x03\xe0\x41\x06\"\xec\x01\n\x0fIssueGroupStats\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x1d\n\x15resource_groups_count\x18\x02 \x01(\x05\x12\x17\n\x0fresources_count\x18\x03 \x01(\x05\x12%\n\x1dhealthy_resource_groups_count\x18\x04 \x01(\x05\x12\x1f\n\x17healthy_resources_count\x18\x05 \x01(\x05\x12\x43\n\x0bissue_stats\x18\x06 \x03(\x0b\x32..google.cloud.databasecenter.v1beta.IssueStats\"\xb1\x02\n\nIssueStats\x12\x43\n\x0bsignal_type\x18\x01 \x01(\x0e\x32..google.cloud.databasecenter.v1beta.SignalType\x12\x16\n\x0eresource_count\x18\x02 \x01(\x05\x12Q\n\rdelta_details\x18\x03 \x01(\x0b\x32\x30.google.cloud.databasecenter.v1beta.DeltaDetailsB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12N\n\x0eissue_severity\x18\x04 \x01(\x0e\x32\x31.google.cloud.databasecenter.v1beta.IssueSeverityH\x01\x88\x01\x01\x42\x10\n\x0e_delta_detailsB\x11\n\x0f_issue_severity\"3\n\x05Label\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x0e\n\x06source\x18\x03 \x01(\t\"\xe6\x01\n\x15\x41ggregateFleetRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\rbaseline_date\x18\x07 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x10\n\x0e_baseline_date\"\xd3\x01\n\x16\x41ggregateFleetResponse\x12\x43\n\x04rows\x18\x01 \x03(\x0b\x32\x35.google.cloud.databasecenter.v1beta.AggregateFleetRow\x12#\n\x1bresource_groups_total_count\x18\x02 \x01(\x05\x12\x1c\n\x14resource_total_count\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\t\x12\x18\n\x0bunreachable\x18\x05 \x03(\tB\x03\xe0\x41\x06\"\xf2\x01\n\x11\x41ggregateFleetRow\x12@\n\tdimension\x18\x01 \x03(\x0b\x32-.google.cloud.databasecenter.v1beta.Dimension\x12\x1d\n\x15resource_groups_count\x18\x02 \x01(\x05\x12\x17\n\x0fresources_count\x18\x03 \x01(\x05\x12Q\n\rdelta_details\x18\x04 \x01(\x0b\x32\x30.google.cloud.databasecenter.v1beta.DeltaDetailsB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x10\n\x0e_delta_details\"\xa1\x06\n\tDimension\x12\x13\n\tcontainer\x18\x02 \x01(\tH\x00\x12G\n\x0cproduct_type\x18\x03 \x01(\x0e\x32/.google.cloud.databasecenter.v1beta.ProductTypeH\x00\x12\x44\n\x0eproduct_engine\x18\x04 \x01(\x0e\x32*.google.cloud.databasecenter.v1beta.EngineH\x00\x12\x19\n\x0fproduct_version\x18\x05 \x01(\tH\x00\x12\x12\n\x08location\x18\x06 \x01(\tH\x00\x12\x17\n\rresource_type\x18\x07 \x01(\tH\x00\x12P\n\x11sub_resource_type\x18\x08 \x01(\x0e\x32\x33.google.cloud.databasecenter.v1beta.SubResourceTypeH\x00\x12Q\n\x11resource_category\x18\t \x01(\x0e\x32\x34.google.cloud.databasecenter.v1beta.ResourceCategoryH\x00\x12M\n\x0fmanagement_type\x18\n \x01(\x0e\x32\x32.google.cloud.databasecenter.v1beta.ManagementTypeH\x00\x12>\n\x07\x65\x64ition\x18\x0b \x01(\x0e\x32+.google.cloud.databasecenter.v1beta.EditionH\x00\x12\x11\n\x07tag_key\x18\x0c \x01(\tH\x00\x12\x13\n\ttag_value\x18\r \x01(\tH\x00\x12\x14\n\ntag_source\x18\x0e \x01(\tH\x00\x12\x17\n\rtag_inherited\x18\x0f \x01(\x08H\x00\x12\x13\n\tlabel_key\x18\x10 \x01(\tH\x00\x12\x15\n\x0blabel_value\x18\x11 \x01(\tH\x00\x12\x16\n\x0clabel_source\x18\x12 \x01(\tH\x00\x12\"\n\x18has_maintenance_schedule\x18\x13 \x01(\x08H\x00\x12(\n\x1ehas_deny_maintenance_schedules\x18\x14 \x01(\x08H\x00\x42\x0b\n\tdimension\"D\n\x0e\x42\x61\x63kupDRConfig\x12\x1d\n\x10\x62\x61\x63kupdr_managed\x18\x01 \x01(\x08H\x00\x88\x01\x01\x42\x13\n\x11_backupdr_managed\"\xe7\x01\n\x12QueryIssuesRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12_\n\x17signal_products_filters\x18\x03 \x03(\x0b\x32\x39.google.cloud.databasecenter.v1beta.SignalProductsFiltersB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x06 \x01(\tB\x03\xe0\x41\x01\"\xa5\x01\n\x15SignalProductsFilters\x12H\n\x0bsignal_type\x18\x01 \x01(\x0e\x32..google.cloud.databasecenter.v1beta.SignalTypeB\x03\xe0\x41\x01\x12\x42\n\x08products\x18\x02 \x03(\x0b\x32+.google.cloud.databasecenter.v1beta.ProductB\x03\xe0\x41\x01\"\x9c\x01\n\x13QueryIssuesResponse\x12R\n\x0fresource_issues\x18\x01 \x03(\x0b\x32\x39.google.cloud.databasecenter.v1beta.DatabaseResourceIssue\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"\x9b\x01\n\x15\x44\x61tabaseResourceIssue\x12:\n\x06signal\x18\x01 \x01(\x0b\x32*.google.cloud.databasecenter.v1beta.Signal\x12\x46\n\x08resource\x18\x02 \x01(\x0b\x32\x34.google.cloud.databasecenter.v1beta.DatabaseResource\"D\n\x03Tag\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x0e\n\x06source\x18\x03 \x01(\t\x12\x11\n\tinherited\x18\x04 \x01(\x08\"\x90\x01\n\x0fResourceDetails\x12\x1a\n\x12\x66ull_resource_name\x18\x01 \x01(\t\x12\x11\n\tcontainer\x18\x02 \x01(\t\x12<\n\x07product\x18\x03 \x01(\x0b\x32+.google.cloud.databasecenter.v1beta.Product\x12\x10\n\x08location\x18\x04 \x01(\t\"\xb2\x01\n\x0c\x44\x65ltaDetails\x12P\n\x13increased_resources\x18\x01 \x03(\x0b\x32\x33.google.cloud.databasecenter.v1beta.ResourceDetails\x12P\n\x13\x64\x65\x63reased_resources\x18\x02 \x03(\x0b\x32\x33.google.cloud.databasecenter.v1beta.ResourceDetails*^\n\x10ResourceCategory\x12!\n\x1dRESOURCE_CATEGORY_UNSPECIFIED\x10\x00\x12\x0c\n\x08INSTANCE\x10\x01\x12\x0b\n\x07\x43LUSTER\x10\x02\x12\x0c\n\x08\x44\x41TABASE\x10\x03*m\n\x07\x45\x64ition\x12\x17\n\x13\x45\x44ITION_UNSPECIFIED\x10\x00\x12\x16\n\x12\x45\x44ITION_ENTERPRISE\x10\x01\x12\x1b\n\x17\x45\x44ITION_ENTERPRISE_PLUS\x10\x02\x12\x14\n\x10\x45\x44ITION_STANDARD\x10\x03*\xdd\x01\n\x0fSubResourceType\x12!\n\x1dSUB_RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19SUB_RESOURCE_TYPE_PRIMARY\x10\x01\x12\x1f\n\x1bSUB_RESOURCE_TYPE_SECONDARY\x10\x02\x12\"\n\x1eSUB_RESOURCE_TYPE_READ_REPLICA\x10\x03\x12&\n\"SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY\x10\x05\x12\x1b\n\x17SUB_RESOURCE_TYPE_OTHER\x10\x04*t\n\x0eManagementType\x12\x1f\n\x1bMANAGEMENT_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bMANAGEMENT_TYPE_GCP_MANAGED\x10\x01\x12 \n\x1cMANAGEMENT_TYPE_SELF_MANAGED\x10\x02\x32\xff\x07\n\x0e\x44\x61tabaseCenter\x12\xa3\x01\n\rQueryProducts\x12\x38.google.cloud.databasecenter.v1beta.QueryProductsRequest\x1a\x39.google.cloud.databasecenter.v1beta.QueryProductsResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/v1beta:queryProducts\x12\xa7\x01\n\x0e\x41ggregateFleet\x12\x39.google.cloud.databasecenter.v1beta.AggregateFleetRequest\x1a:.google.cloud.databasecenter.v1beta.AggregateFleetResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1beta:aggregateFleet\x12\xde\x01\n\x1bQueryDatabaseResourceGroups\x12\x46.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsRequest\x1aG.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsResponse\".\x82\xd3\xe4\x93\x02(\"#/v1beta:queryDatabaseResourceGroups:\x01*\x12\xbe\x01\n\x13\x41ggregateIssueStats\x12>.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest\x1a?.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/v1beta:aggregateIssueStats:\x01*\x12\xa7\x01\n\x0bQueryIssues\x12\x36.google.cloud.databasecenter.v1beta.QueryIssuesRequest\x1a\x37.google.cloud.databasecenter.v1beta.QueryIssuesResponse\"\'\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x18\"\x13/v1beta:queryIssues:\x01*\x1aQ\xca\x41\x1d\x64\x61tabasecenter.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfa\x01\n&com.google.cloud.databasecenter.v1betaB\x0cServiceProtoP\x01ZNcloud.google.com/go/databasecenter/apiv1beta/databasecenterpb;databasecenterpb\xaa\x02\"Google.Cloud.DatabaseCenter.V1Beta\xca\x02\"Google\\Cloud\\DatabaseCenter\\V1beta\xea\x02%Google::Cloud::DatabaseCenter::V1betab\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.cloud.databasecenter.v1beta.Product", "google/cloud/databasecenter/v1beta/product.proto"],
34
- ["google.cloud.databasecenter.v1beta.SignalTypeGroup", "google/cloud/databasecenter/v1beta/signals.proto"],
35
- ["google.cloud.databasecenter.v1beta.MachineConfig", "google/cloud/databasecenter/v1beta/machine_config.proto"],
36
- ["google.cloud.databasecenter.v1beta.Metrics", "google/cloud/databasecenter/v1beta/metric_data.proto"],
37
- ["google.cloud.databasecenter.v1beta.MaintenanceInfo", "google/cloud/databasecenter/v1beta/maintenance.proto"],
38
- ["google.type.Date", "google/type/date.proto"],
39
- ]
40
- imports.each do |type_name, expected_filename|
41
- import_file = pool.lookup(type_name).file_descriptor
42
- if import_file.name != expected_filename
43
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
44
- end
45
- end
46
- warn "Each proto file must use a consistent fully-qualified name."
47
- warn "This will become an error in the next major version."
48
- end
20
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
21
+ pool.add_serialized_file(descriptor_data)
49
22
 
50
23
  module Google
51
24
  module Cloud
@@ -16,34 +16,8 @@ require 'google/protobuf/wrappers_pb'
16
16
 
17
17
  descriptor_data = "\n0google/cloud/databasecenter/v1beta/signals.proto\x12\"google.cloud.databasecenter.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x34google/cloud/databasecenter/v1beta/maintenance.proto\x1a=google/cloud/databasecenter/v1beta/operation_error_type.proto\x1a\x30google/cloud/databasecenter/v1beta/product.proto\x1a:google/cloud/databasecenter/v1beta/suspension_reason.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"w\n\x0fSignalTypeGroup\x12\x19\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12I\n\x0csignal_types\x18\x02 \x03(\x0e\x32..google.cloud.databasecenter.v1beta.SignalTypeB\x03\xe0\x41\x01\"\xa6\x01\n\x0cSignalFilter\x12H\n\x0bsignal_type\x18\x01 \x01(\x0e\x32..google.cloud.databasecenter.v1beta.SignalTypeB\x03\xe0\x41\x01\x12L\n\rsignal_status\x18\x02 \x01(\x0e\x32\x30.google.cloud.databasecenter.v1beta.SignalStatusB\x03\xe0\x41\x01\"u\n\x0bSignalGroup\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x13\n\x0bissue_count\x18\x02 \x01(\x05\x12;\n\x07signals\x18\x03 \x03(\x0b\x32*.google.cloud.databasecenter.v1beta.Signal\"7\n\nIssueCount\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x13\n\x0bissue_count\x18\x02 \x01(\x05\"\xff\x08\n\x10\x41\x64\x64itionalDetail\x12`\n\x1bshort_backup_retention_info\x18\x02 \x01(\x0b\x32\x39.google.cloud.databasecenter.v1beta.RetentionSettingsInfoH\x00\x12L\n\x0f\x62\x61\x63kup_run_info\x18\x03 \x01(\x0b\x32\x31.google.cloud.databasecenter.v1beta.BackupRunInfoH\x00\x12?\n\x08scc_info\x18\x04 \x01(\x0b\x32+.google.cloud.databasecenter.v1beta.SCCInfoH\x00\x12U\n\x13recommendation_info\x18\x06 \x01(\x0b\x32\x36.google.cloud.databasecenter.v1beta.RecommendationInfoH\x00\x12\x65\n\x1c\x61utomated_backup_policy_info\x18\x08 \x01(\x0b\x32=.google.cloud.databasecenter.v1beta.AutomatedBackupPolicyInfoH\x00\x12^\n\x18\x64\x65letion_protection_info\x18\t \x01(\x0b\x32:.google.cloud.databasecenter.v1beta.DeletionProtectionInfoH\x00\x12^\n\x18resource_suspension_info\x18\n \x01(\x0b\x32:.google.cloud.databasecenter.v1beta.ResourceSuspensionInfoH\x00\x12Z\n\x16inefficient_query_info\x18\x0b \x01(\x0b\x32\x38.google.cloud.databasecenter.v1beta.InefficientQueryInfoH\x00\x12\x63\n\x1boutdated_minor_version_info\x18\x0c \x01(\x0b\x32<.google.cloud.databasecenter.v1beta.OutdatedMinorVersionInfoH\x00\x12l\n\x1fmaintenance_recommendation_info\x18\r \x01(\x0b\x32\x41.google.cloud.databasecenter.v1beta.MaintenanceRecommendationInfoH\x00\x12G\n\rsignal_source\x18\x01 \x01(\x0e\x32\x30.google.cloud.databasecenter.v1beta.SignalSource\x12\x43\n\x0bsignal_type\x18\x05 \x01(\x0e\x32..google.cloud.databasecenter.v1beta.SignalType\x12\x35\n\x11signal_event_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\n\x06\x64\x65tail\"\xa0\x01\n\x0bSubResource\x12\x1a\n\rresource_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12\x66ull_resource_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x41\n\x07product\x18\x03 \x01(\x0b\x32+.google.cloud.databasecenter.v1beta.ProductB\x03\xe0\x41\x01\x12\x11\n\tcontainer\x18\x04 \x01(\t\"\xb6\x02\n\x15RetentionSettingsInfo\x12?\n\x18quantity_based_retention\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueH\x00\x12=\n\x18\x64uration_based_retention\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x44\n\x1etimestamp_based_retention_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12J\n\x0csub_resource\x18\x04 \x01(\x0b\x32/.google.cloud.databasecenter.v1beta.SubResourceB\x03\xe0\x41\x01\x42\x0b\n\tretention\"{\n\x19\x41utomatedBackupPolicyInfo\x12J\n\x0csub_resource\x18\x01 \x01(\x0b\x32/.google.cloud.databasecenter.v1beta.SubResourceB\x03\xe0\x41\x01\x12\x12\n\nis_enabled\x18\x02 \x01(\x08\"\x89\x01\n\x16\x44\x65letionProtectionInfo\x12J\n\x0csub_resource\x18\x01 \x01(\x0b\x32/.google.cloud.databasecenter.v1beta.SubResourceB\x03\xe0\x41\x01\x12#\n\x1b\x64\x65letion_protection_enabled\x18\x02 \x01(\x08\"\x85\x01\n\x16ResourceSuspensionInfo\x12\x1a\n\x12resource_suspended\x18\x01 \x01(\x08\x12O\n\x11suspension_reason\x18\x02 \x01(\x0e\x32\x34.google.cloud.databasecenter.v1beta.SuspensionReason\"\xb3\x03\n\rBackupRunInfo\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\x05state\x18\x02 \x01(\x0e\x32\x37.google.cloud.databasecenter.v1beta.BackupRunInfo.StateB\x03\xe0\x41\x03\x12\x15\n\rerror_message\x18\x03 \x01(\t\x12Y\n\x14operation_error_type\x18\x04 \x01(\x0e\x32\x36.google.cloud.databasecenter.v1beta.OperationErrorTypeB\x03\xe0\x41\x01\x12J\n\x0csub_resource\x18\x05 \x01(\x0b\x32/.google.cloud.databasecenter.v1beta.SubResourceB\x03\xe0\x41\x01\"9\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\"\x90\x01\n\x14InefficientQueryInfo\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\r\n\x05table\x18\x02 \x01(\t\x12\x1b\n\x13sql_index_statement\x18\x03 \x01(\t\x12\x1a\n\x12storage_cost_bytes\x18\x04 \x01(\x03\x12\x1e\n\x16impacted_queries_count\x18\x05 \x01(\x03\"\x97\x01\n\x07SCCInfo\x12\x0e\n\x06signal\x18\x01 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x02 \x01(\t\x12T\n\x14regulatory_standards\x18\x03 \x03(\x0b\x32\x36.google.cloud.databasecenter.v1beta.RegulatoryStandard\x12\x14\n\x0c\x65xternal_uri\x18\x04 \x01(\t\"^\n\x12RecommendationInfo\x12\x13\n\x0brecommender\x18\x01 \x01(\t\x12\x16\n\x0erecommender_id\x18\x02 \x01(\t\x12\x1b\n\x13recommender_subtype\x18\x03 \x01(\t\"7\n\x12RegulatoryStandard\x12\x10\n\x08standard\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\"=\n\x18OutdatedMinorVersionInfo\x12!\n\x19recommended_minor_version\x18\x01 \x01(\t\"\x8d\x01\n\x1dMaintenanceRecommendationInfo\x12l\n\x1eresource_maintenance_schedules\x18\x01 \x03(\x0b\x32?.google.cloud.databasecenter.v1beta.ResourceMaintenanceScheduleB\x03\xe0\x41\x01\"\xea\x02\n\x06Signal\x12\x43\n\x0bsignal_type\x18\x01 \x01(\x0e\x32..google.cloud.databasecenter.v1beta.SignalType\x12G\n\rsignal_status\x18\x02 \x01(\x0e\x32\x30.google.cloud.databasecenter.v1beta.SignalStatus\x12P\n\x12\x61\x64\x64itional_details\x18\x03 \x03(\x0b\x32\x34.google.cloud.databasecenter.v1beta.AdditionalDetail\x12I\n\x0eissue_severity\x18\x04 \x01(\x0e\x32\x31.google.cloud.databasecenter.v1beta.IssueSeverity\x12\x35\n\x11issue_create_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp*\x9d\x01\n\x0cSignalStatus\x12\x1d\n\x19SIGNAL_STATUS_UNSPECIFIED\x10\x00\x12 \n\x1cSIGNAL_STATUS_NOT_APPLICABLE\x10\x01\x12\x14\n\x10SIGNAL_STATUS_OK\x10\x02\x12\x17\n\x13SIGNAL_STATUS_ISSUE\x10\x03\x12\x1d\n\x19SIGNAL_STATUS_NOT_ENABLED\x10\x04*\xbe\x01\n\x0cSignalSource\x12\x1d\n\x19SIGNAL_SOURCE_UNSPECIFIED\x10\x00\x12#\n\x1fSIGNAL_SOURCE_RESOURCE_METADATA\x10\x01\x12#\n\x1fSIGNAL_SOURCE_SECURITY_FINDINGS\x10\x02\x12\x1d\n\x19SIGNAL_SOURCE_RECOMMENDER\x10\x03\x12&\n\"SIGNAL_SOURCE_MODERN_OBSERVABILITY\x10\x04*\xb7\x01\n\rIssueSeverity\x12\x1e\n\x1aISSUE_SEVERITY_UNSPECIFIED\x10\x00\x12\x16\n\x12ISSUE_SEVERITY_LOW\x10\x01\x12\x19\n\x15ISSUE_SEVERITY_MEDIUM\x10\x02\x12\x17\n\x13ISSUE_SEVERITY_HIGH\x10\x03\x12\x1b\n\x17ISSUE_SEVERITY_CRITICAL\x10\x04\x12\x1d\n\x19ISSUE_SEVERITY_IRRELEVANT\x10\x05*\xdf \n\nSignalType\x12\x1b\n\x17SIGNAL_TYPE_UNSPECIFIED\x10\x00\x12+\n\'SIGNAL_TYPE_RESOURCE_FAILOVER_PROTECTED\x10\x01\x12#\n\x1fSIGNAL_TYPE_GROUP_MULTIREGIONAL\x10\x02\x12*\n&SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY\x10\x04\x12&\n\"SIGNAL_TYPE_SHORT_BACKUP_RETENTION\x10\x05\x12\"\n\x1eSIGNAL_TYPE_LAST_BACKUP_FAILED\x10\x06\x12\x1f\n\x1bSIGNAL_TYPE_LAST_BACKUP_OLD\x10\x07\x12/\n+SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0\x10\x08\x12/\n+SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3\x10\t\x12/\n+SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2\x10\n\x12/\n+SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1\x10\x0b\x12/\n+SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0\x10\x0c\x12*\n&SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0\x10L\x12$\n SIGNAL_TYPE_VIOLATES_NIST_800_53\x10\r\x12\'\n#SIGNAL_TYPE_VIOLATES_NIST_800_53_R5\x10\x45\x12:\n6SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0\x10H\x12\"\n\x1eSIGNAL_TYPE_VIOLATES_ISO_27001\x10\x0e\x12(\n$SIGNAL_TYPE_VIOLATES_ISO_27001_V2022\x10\x46\x12\'\n#SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1\x10\x0f\x12%\n!SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0\x10G\x12\x31\n-SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4\x10I\x12\x1e\n\x1aSIGNAL_TYPE_VIOLATES_HIPAA\x10J\x12#\n\x1fSIGNAL_TYPE_VIOLATES_SOC2_V2017\x10K\x12\x36\n2SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING\x10\x10\x12*\n&SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED\x10\x11\x12%\n!SIGNAL_TYPE_VERBOSE_ERROR_LOGGING\x10\x12\x12+\n\'SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED\x10\x13\x12#\n\x1fSIGNAL_TYPE_LOGGING_MOST_ERRORS\x10\x14\x12,\n(SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS\x10\x15\x12%\n!SIGNAL_TYPE_MINIMAL_ERROR_LOGGING\x10\x16\x12\"\n\x1eSIGNAL_TYPE_QUERY_STATS_LOGGED\x10\x17\x12\x34\n0SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME\x10\x18\x12\x31\n-SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATS\x10\x19\x12\x32\n.SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATS\x10\x1a\x12/\n+SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS\x10\x1b\x12#\n\x1fSIGNAL_TYPE_LOGGING_QUERY_STATS\x10\x1c\x12+\n\'SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES\x10\x1d\x12-\n)SIGNAL_TYPE_CONNECTION_MAX_NOT_CONFIGURED\x10\x1e\x12\'\n#SIGNAL_TYPE_USER_OPTIONS_CONFIGURED\x10\x1f\x12(\n$SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS\x10 \x12\'\n#SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS\x10!\x12 \n\x1cSIGNAL_TYPE_NO_ROOT_PASSWORD\x10\"\x12\"\n\x1eSIGNAL_TYPE_WEAK_ROOT_PASSWORD\x10#\x12\x33\n/SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED\x10$\x12\x32\n.SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED\x10%\x12+\n\'SIGNAL_TYPE_EXPOSED_TO_EXTERNAL_SCRIPTS\x10\'\x12+\n\'SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS\x10(\x12.\n*SIGNAL_TYPE_CONNECTION_ATTEMPTS_NOT_LOGGED\x10)\x12)\n%SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED\x10*\x12\x30\n,SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO\x10+\x12(\n$SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS\x10,\x12&\n\"SIGNAL_TYPE_DATABASE_NAMES_EXPOSED\x10-\x12/\n+SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED\x10.\x12!\n\x1dSIGNAL_TYPE_PUBLIC_IP_ENABLED\x10/\x12\x14\n\x10SIGNAL_TYPE_IDLE\x10\x30\x12\x1f\n\x1bSIGNAL_TYPE_OVERPROVISIONED\x10\x31\x12*\n&SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES\x10\x32\x12%\n!SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES\x10\x33\x12/\n+SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION\x10\x34\x12 \n\x1cSIGNAL_TYPE_UNDERPROVISIONED\x10\x35\x12\x1b\n\x17SIGNAL_TYPE_OUT_OF_DISK\x10\x36\x12.\n*SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY\x10\x37\x12*\n&SIGNAL_TYPE_DATABASE_AUDITING_DISABLED\x10\x38\x12,\n(SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS\x10\x39\x12\x31\n-SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP\x10:\x12\x1b\n\x17SIGNAL_TYPE_QUOTA_LIMIT\x10;\x12\"\n\x1eSIGNAL_TYPE_NO_PASSWORD_POLICY\x10<\x12.\n*SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT\x10=\x12-\n)SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT\x10>\x12-\n)SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT\x10?\x12*\n&SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES\x10@\x12\x30\n,SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES\x10\x41\x12,\n(SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS\x10\x42\x12<\n8SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET\x10\x43\x12:\n6SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET\x10\x44\x12,\n(SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM\x10M\x12\'\n#SIGNAL_TYPE_NO_USER_PASSWORD_POLICY\x10N\x12\x18\n\x14SIGNAL_TYPE_HOT_NODE\x10O\x12&\n\"SIGNAL_TYPE_NO_DELETION_PROTECTION\x10P\x12)\n%SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY\x10Q\x12\"\n\x1eSIGNAL_TYPE_RESOURCE_SUSPENDED\x10R\x12\"\n\x1eSIGNAL_TYPE_EXPENSIVE_COMMANDS\x10S\x12\x30\n,SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED\x10T\x12!\n\x1dSIGNAL_TYPE_INEFFICIENT_QUERY\x10U\x12\'\n#SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD\x10V\x12\x1c\n\x18SIGNAL_TYPE_MEMORY_LIMIT\x10W\x12!\n\x1dSIGNAL_TYPE_MAX_SERVER_MEMORY\x10X\x12\x1a\n\x16SIGNAL_TYPE_LARGE_ROWS\x10Y\x12#\n\x1fSIGNAL_TYPE_HIGH_WRITE_PRESSURE\x10Z\x12\"\n\x1eSIGNAL_TYPE_HIGH_READ_PRESSURE\x10[\x12\x33\n/SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED\x10\\\x12\x31\n-SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED\x10]\x12&\n\"SIGNAL_TYPE_OUTDATED_MINOR_VERSION\x10^\x12$\n SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED\x10_\x12\x1f\n\x1bSIGNAL_TYPE_REPLICATION_LAG\x10\x61\x12\x1f\n\x1bSIGNAL_TYPE_OUTDATED_CLIENT\x10\x63\x12\"\n\x1eSIGNAL_TYPE_DATABOOST_DISABLED\x10\x64\x12\x30\n,SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES\x10\x65\x12 \n\x1cSIGNAL_TYPE_EXTENDED_SUPPORT\x10\x66\x42\xfa\x01\n&com.google.cloud.databasecenter.v1betaB\x0cSignalsProtoP\x01ZNcloud.google.com/go/databasecenter/apiv1beta/databasecenterpb;databasecenterpb\xaa\x02\"Google.Cloud.DatabaseCenter.V1Beta\xca\x02\"Google\\Cloud\\DatabaseCenter\\V1beta\xea\x02%Google::Cloud::DatabaseCenter::V1betab\x06proto3"
18
18
 
19
- pool = Google::Protobuf::DescriptorPool.generated_pool
20
-
21
- begin
22
- pool.add_serialized_file(descriptor_data)
23
- rescue TypeError
24
- # Compatibility code: will be removed in the next major version.
25
- require 'google/protobuf/descriptor_pb'
26
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
27
- parsed.clear_dependency
28
- serialized = parsed.class.encode(parsed)
29
- file = pool.add_serialized_file(serialized)
30
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
31
- imports = [
32
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
33
- ["google.cloud.databasecenter.v1beta.Product", "google/cloud/databasecenter/v1beta/product.proto"],
34
- ["google.protobuf.Int32Value", "google/protobuf/wrappers.proto"],
35
- ["google.protobuf.Duration", "google/protobuf/duration.proto"],
36
- ["google.cloud.databasecenter.v1beta.ResourceMaintenanceSchedule", "google/cloud/databasecenter/v1beta/maintenance.proto"],
37
- ]
38
- imports.each do |type_name, expected_filename|
39
- import_file = pool.lookup(type_name).file_descriptor
40
- if import_file.name != expected_filename
41
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
42
- end
43
- end
44
- warn "Each proto file must use a consistent fully-qualified name."
45
- warn "This will become an error in the next major version."
46
- end
19
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
20
+ pool.add_serialized_file(descriptor_data)
47
21
 
48
22
  module Google
49
23
  module Cloud
@@ -7,29 +7,8 @@ require 'google/protobuf'
7
7
 
8
8
  descriptor_data = "\n:google/cloud/databasecenter/v1beta/suspension_reason.proto\x12\"google.cloud.databasecenter.v1beta*\xe6\x01\n\x10SuspensionReason\x12!\n\x1dSUSPENSION_REASON_UNSPECIFIED\x10\x00\x12\x16\n\x12WIPEOUT_HIDE_EVENT\x10\x01\x12\x17\n\x13WIPEOUT_PURGE_EVENT\x10\x02\x12\x14\n\x10\x42ILLING_DISABLED\x10\x03\x12\x13\n\x0f\x41\x42USER_DETECTED\x10\x04\x12\x1f\n\x1b\x45NCRYPTION_KEY_INACCESSIBLE\x10\x05\x12\x32\n.REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE\x10\x06\x42\x83\x02\n&com.google.cloud.databasecenter.v1betaB\x15SuspensionReasonProtoP\x01ZNcloud.google.com/go/databasecenter/apiv1beta/databasecenterpb;databasecenterpb\xaa\x02\"Google.Cloud.DatabaseCenter.V1Beta\xca\x02\"Google\\Cloud\\DatabaseCenter\\V1beta\xea\x02%Google::Cloud::DatabaseCenter::V1betab\x06proto3"
9
9
 
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
-
12
- begin
13
- pool.add_serialized_file(descriptor_data)
14
- rescue TypeError
15
- # Compatibility code: will be removed in the next major version.
16
- require 'google/protobuf/descriptor_pb'
17
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
- parsed.clear_dependency
19
- serialized = parsed.class.encode(parsed)
20
- file = pool.add_serialized_file(serialized)
21
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
- imports = [
23
- ]
24
- imports.each do |type_name, expected_filename|
25
- import_file = pool.lookup(type_name).file_descriptor
26
- if import_file.name != expected_filename
27
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
- end
29
- end
30
- warn "Each proto file must use a consistent fully-qualified name."
31
- warn "This will become an error in the next major version."
32
- end
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Google
35
14
  module Cloud
@@ -22,6 +22,9 @@ module Google
22
22
  # Wrapper message for `double`.
23
23
  #
24
24
  # The JSON representation for `DoubleValue` is JSON number.
25
+ #
26
+ # Not recommended for use in new APIs, but still useful for legacy APIs and
27
+ # has no plan to be removed.
25
28
  # @!attribute [rw] value
26
29
  # @return [::Float]
27
30
  # The double value.
@@ -33,6 +36,9 @@ module Google
33
36
  # Wrapper message for `float`.
34
37
  #
35
38
  # The JSON representation for `FloatValue` is JSON number.
39
+ #
40
+ # Not recommended for use in new APIs, but still useful for legacy APIs and
41
+ # has no plan to be removed.
36
42
  # @!attribute [rw] value
37
43
  # @return [::Float]
38
44
  # The float value.
@@ -44,6 +50,9 @@ module Google
44
50
  # Wrapper message for `int64`.
45
51
  #
46
52
  # The JSON representation for `Int64Value` is JSON string.
53
+ #
54
+ # Not recommended for use in new APIs, but still useful for legacy APIs and
55
+ # has no plan to be removed.
47
56
  # @!attribute [rw] value
48
57
  # @return [::Integer]
49
58
  # The int64 value.
@@ -55,6 +64,9 @@ module Google
55
64
  # Wrapper message for `uint64`.
56
65
  #
57
66
  # The JSON representation for `UInt64Value` is JSON string.
67
+ #
68
+ # Not recommended for use in new APIs, but still useful for legacy APIs and
69
+ # has no plan to be removed.
58
70
  # @!attribute [rw] value
59
71
  # @return [::Integer]
60
72
  # The uint64 value.
@@ -66,6 +78,9 @@ module Google
66
78
  # Wrapper message for `int32`.
67
79
  #
68
80
  # The JSON representation for `Int32Value` is JSON number.
81
+ #
82
+ # Not recommended for use in new APIs, but still useful for legacy APIs and
83
+ # has no plan to be removed.
69
84
  # @!attribute [rw] value
70
85
  # @return [::Integer]
71
86
  # The int32 value.
@@ -77,6 +92,9 @@ module Google
77
92
  # Wrapper message for `uint32`.
78
93
  #
79
94
  # The JSON representation for `UInt32Value` is JSON number.
95
+ #
96
+ # Not recommended for use in new APIs, but still useful for legacy APIs and
97
+ # has no plan to be removed.
80
98
  # @!attribute [rw] value
81
99
  # @return [::Integer]
82
100
  # The uint32 value.
@@ -88,6 +106,9 @@ module Google
88
106
  # Wrapper message for `bool`.
89
107
  #
90
108
  # The JSON representation for `BoolValue` is JSON `true` and `false`.
109
+ #
110
+ # Not recommended for use in new APIs, but still useful for legacy APIs and
111
+ # has no plan to be removed.
91
112
  # @!attribute [rw] value
92
113
  # @return [::Boolean]
93
114
  # The bool value.
@@ -99,6 +120,9 @@ module Google
99
120
  # Wrapper message for `string`.
100
121
  #
101
122
  # The JSON representation for `StringValue` is JSON string.
123
+ #
124
+ # Not recommended for use in new APIs, but still useful for legacy APIs and
125
+ # has no plan to be removed.
102
126
  # @!attribute [rw] value
103
127
  # @return [::String]
104
128
  # The string value.
@@ -110,6 +134,9 @@ module Google
110
134
  # Wrapper message for `bytes`.
111
135
  #
112
136
  # The JSON representation for `BytesValue` is JSON string.
137
+ #
138
+ # Not recommended for use in new APIs, but still useful for legacy APIs and
139
+ # has no plan to be removed.
113
140
  # @!attribute [rw] value
114
141
  # @return [::String]
115
142
  # The bytes value.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-database_center-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -101,7 +101,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - ">="
103
103
  - !ruby/object:Gem::Version
104
- version: '3.1'
104
+ version: '3.2'
105
105
  required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - ">="