google-cloud-dataplex-v1 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/dataplex/v1/catalog_pb.rb +4 -1
- data/lib/google/cloud/dataplex/v1/catalog_service/paths.rb +14 -0
- data/lib/google/cloud/dataplex/v1/cmek_pb.rb +63 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/client.rb +947 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/credentials.rb +47 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/operations.rb +813 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/paths.rb +69 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest/client.rb +895 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest/operations.rb +943 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest/service_stub.rb +388 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest.rb +54 -0
- data/lib/google/cloud/dataplex/v1/cmek_service.rb +56 -0
- data/lib/google/cloud/dataplex/v1/cmek_services_pb.rb +53 -0
- data/lib/google/cloud/dataplex/v1/data_discovery_pb.rb +2 -1
- data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +1 -1
- data/lib/google/cloud/dataplex/v1/logs_pb.rb +3 -1
- data/lib/google/cloud/dataplex/v1/rest.rb +1 -0
- data/lib/google/cloud/dataplex/v1/version.rb +1 -1
- data/lib/google/cloud/dataplex/v1.rb +1 -0
- data/proto_docs/google/cloud/dataplex/v1/catalog.rb +94 -0
- data/proto_docs/google/cloud/dataplex/v1/cmek.rb +216 -0
- data/proto_docs/google/cloud/dataplex/v1/data_discovery.rb +40 -3
- data/proto_docs/google/cloud/dataplex/v1/data_profile.rb +2 -0
- data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +33 -28
- data/proto_docs/google/cloud/dataplex/v1/logs.rb +27 -0
- data/proto_docs/google/cloud/dataplex/v1/resources.rb +14 -10
- metadata +14 -2
@@ -10,7 +10,7 @@ require 'google/protobuf/duration_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n#google/cloud/dataplex/v1/logs.proto\x12\x18google.cloud.dataplex.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9d\x0c\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\x13\n\x0b\x64\x61tascan_id\x18\x06 \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\x12\x46\n\x05table\x18\x18 \x01(\x0b\x32\x35.google.cloud.dataplex.v1.DiscoveryEvent.TableDetailsH\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_\n\x0cTableDetails\x12\r\n\x05table\x18\x01 \x01(\t\x12@\n\x04type\x18\x02 \x01(\x0e\x32\x32.google.cloud.dataplex.v1.DiscoveryEvent.TableType\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,\n\rActionDetails\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\r\n\x05issue\x18\x02 \x01(\t\"\x82\x02\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\x12\x13\n\x0fTABLE_PUBLISHED\x10\n\x12\x11\n\rTABLE_UPDATED\x10\x0b\x12\x11\n\rTABLE_IGNORED\x10\x0c\x12\x11\n\rTABLE_DELETED\x10\r\"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\"`\n\tTableType\x12\x1a\n\x16TABLE_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x45XTERNAL_TABLE\x10\x01\x12\x11\n\rBIGLAKE_TABLE\x10\x02\x12\x10\n\x0cOBJECT_TABLE\x10\x03\x42\t\n\x07\x64\x65tails\"\xc5\x05\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\x12N\n\x11\x65xecution_trigger\x18\x0b \x01(\x0e\x32\x33.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger\"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\"W\n\x10\x45xecutionTrigger\x12!\n\x1d\x45XECUTION_TRIGGER_UNSPECIFIED\x10\x00\x12\x0f\n\x0bTASK_CONFIG\x10\x01\x12\x0f\n\x0bRUN_REQUEST\x10\x02\"\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\"\xba\x07\n\x0fGovernanceEvent\x12\x0f\n\x07message\x18\x01 \x01(\t\x12G\n\nevent_type\x18\x02 \x01(\x0e\x32\x33.google.cloud.dataplex.v1.GovernanceEvent.EventType\x12\x45\n\x06\x65ntity\x18\x03 \x01(\x0b\x32\x30.google.cloud.dataplex.v1.GovernanceEvent.EntityH\x00\x88\x01\x01\x1a\xd2\x01\n\x06\x45ntity\x12\x33\n\x06\x65ntity\x18\x01 \x01(\tB#\xfa\x41 \n\x1e\x64\x61taplex.googleapis.com/Entity\x12P\n\x0b\x65ntity_type\x18\x02 \x01(\x0e\x32;.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType\"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\"\xa5\x04\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aRESOURCE_IAM_POLICY_UPDATE\x10\x01\x12\x19\n\x15\x42IGQUERY_TABLE_CREATE\x10\x02\x12\x19\n\x15\x42IGQUERY_TABLE_UPDATE\x10\x03\x12\x19\n\x15\x42IGQUERY_TABLE_DELETE\x10\x04\x12\x1e\n\x1a\x42IGQUERY_CONNECTION_CREATE\x10\x05\x12\x1e\n\x1a\x42IGQUERY_CONNECTION_UPDATE\x10\x06\x12\x1e\n\x1a\x42IGQUERY_CONNECTION_DELETE\x10\x07\x12\x1c\n\x18\x42IGQUERY_TAXONOMY_CREATE\x10\n\x12\x1e\n\x1a\x42IGQUERY_POLICY_TAG_CREATE\x10\x0b\x12\x1e\n\x1a\x42IGQUERY_POLICY_TAG_DELETE\x10\x0c\x12&\n\"BIGQUERY_POLICY_TAG_SET_IAM_POLICY\x10\r\x12\x18\n\x14\x41\x43\x43\x45SS_POLICY_UPDATE\x10\x0e\x12%\n!GOVERNANCE_RULE_MATCHED_RESOURCES\x10\x0f\x12(\n$GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS\x10\x10\x12\x1a\n\x16GOVERNANCE_RULE_ERRORS\x10\x11\x12\x1e\n\x1aGOVERNANCE_RULE_PROCESSING\x10\x12\x42\t\n\x07_entity\"\x87\x13\n\rDataScanEvent\x12\x13\n\x0b\x64\x61ta_source\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\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\x12\x62\n\x14\x64\x61ta_profile_configs\x18\xc9\x01 \x01(\x0b\x32\x41.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsH\x01\x12\x62\n\x14\x64\x61ta_quality_configs\x18\xca\x01 \x01(\x0b\x32\x41.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsH\x01\x12_\n\x18post_scan_actions_result\x18\x0b \x01(\x0b\x32=.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult\x1a&\n\x11\x44\x61taProfileResult\x12\x11\n\trow_count\x18\x01 \x01(\x03\x1a\x9c\x04\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\x12\r\n\x05score\x18\x04 \x01(\x02\x12\x66\n\x0f\x64imension_score\x18\x05 \x03(\x0b\x32M.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.DimensionScoreEntry\x12`\n\x0c\x63olumn_score\x18\x06 \x03(\x0b\x32J.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.ColumnScoreEntry\x1a\x36\n\x14\x44imensionPassedEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x35\n\x13\x44imensionScoreEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x32\n\x10\x43olumnScoreEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1ap\n\x19\x44\x61taProfileAppliedConfigs\x12\x18\n\x10sampling_percent\x18\x01 \x01(\x02\x12\x1a\n\x12row_filter_applied\x18\x02 \x01(\x08\x12\x1d\n\x15\x63olumn_filter_applied\x18\x03 \x01(\x08\x1aQ\n\x19\x44\x61taQualityAppliedConfigs\x12\x18\n\x10sampling_percent\x18\x01 \x01(\x02\x12\x1a\n\x12row_filter_applied\x18\x02 \x01(\x08\x1a\xe6\x02\n\x15PostScanActionsResult\x12r\n\x16\x62igquery_export_result\x18\x01 \x01(\x0b\x32R.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult\x1a\xd8\x01\n\x14\x42igQueryExportResult\x12g\n\x05state\x18\x01 \x01(\x0e\x32X.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State\x12\x0f\n\x07message\x18\x02 \x01(\t\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x0b\n\x07SKIPPED\x10\x03\"]\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\x12\x12\n\x0e\x44\x41TA_DISCOVERY\x10\x04\"b\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\x12\x0b\n\x07\x43REATED\x10\x05\"?\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\x06resultB\x10\n\x0e\x61ppliedConfigs\"\x99\x07\n\x19\x44\x61taQualityScanRuleResult\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x61ta_source\x18\x02 \x01(\t\x12\x0e\n\x06\x63olumn\x18\x03 \x01(\t\x12\x11\n\trule_name\x18\x04 \x01(\t\x12O\n\trule_type\x18\x05 \x01(\x0e\x32<.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType\x12Z\n\x0e\x65valution_type\x18\x06 \x01(\x0e\x32\x42.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType\x12\x16\n\x0erule_dimension\x18\x07 \x01(\t\x12\x19\n\x11threshold_percent\x18\x08 \x01(\x01\x12J\n\x06result\x18\t \x01(\x0e\x32:.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result\x12\x1b\n\x13\x65valuated_row_count\x18\n \x01(\x03\x12\x18\n\x10passed_row_count\x18\x0b \x01(\x03\x12\x16\n\x0enull_row_count\x18\x0c \x01(\x03\x12\x1b\n\x13\x61ssertion_row_count\x18\r \x01(\x03\"\x92\x02\n\x08RuleType\x12\x19\n\x15RULE_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14NON_NULL_EXPECTATION\x10\x01\x12\x15\n\x11RANGE_EXPECTATION\x10\x02\x12\x15\n\x11REGEX_EXPECTATION\x10\x03\x12\x1d\n\x19ROW_CONDITION_EXPECTATION\x10\x04\x12\x13\n\x0fSET_EXPECTATION\x10\x05\x12\x1f\n\x1bSTATISTIC_RANGE_EXPECTATION\x10\x06\x12\x1f\n\x1bTABLE_CONDITION_EXPECTATION\x10\x07\x12\x1a\n\x16UNIQUENESS_EXPECTATION\x10\x08\x12\x11\n\rSQL_ASSERTION\x10\t\"M\n\x0e\x45valuationType\x12\x1f\n\x1b\x45VALUATION_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PER_ROW\x10\x01\x12\r\n\tAGGREGATE\x10\x02\"8\n\x06Result\x12\x16\n\x12RESULT_UNSPECIFIED\x10\x00\x12\n\n\x06PASSED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\"\x9a\x03\n\x15\x42usinessGlossaryEvent\x12\x0f\n\x07message\x18\x01 \x01(\t\x12M\n\nevent_type\x18\x02 \x01(\x0e\x32\x39.google.cloud.dataplex.v1.BusinessGlossaryEvent.EventType\x12\x10\n\x08resource\x18\x03 \x01(\t\"\x8e\x02\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fGLOSSARY_CREATE\x10\x01\x12\x13\n\x0fGLOSSARY_UPDATE\x10\x02\x12\x13\n\x0fGLOSSARY_DELETE\x10\x03\x12\x1c\n\x18GLOSSARY_CATEGORY_CREATE\x10\x04\x12\x1c\n\x18GLOSSARY_CATEGORY_UPDATE\x10\x05\x12\x1c\n\x18GLOSSARY_CATEGORY_DELETE\x10\x06\x12\x18\n\x14GLOSSARY_TERM_CREATE\x10\x07\x12\x18\n\x14GLOSSARY_TERM_UPDATE\x10\x08\x12\x18\n\x14GLOSSARY_TERM_DELETE\x10\tBe\n\x1c\x63om.google.cloud.dataplex.v1B\tLogsProtoP\x01Z8cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpbb\x06proto3"
|
13
|
+
descriptor_data = "\n#google/cloud/dataplex/v1/logs.proto\x12\x18google.cloud.dataplex.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9d\x0c\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\x13\n\x0b\x64\x61tascan_id\x18\x06 \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\x12\x46\n\x05table\x18\x18 \x01(\x0b\x32\x35.google.cloud.dataplex.v1.DiscoveryEvent.TableDetailsH\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_\n\x0cTableDetails\x12\r\n\x05table\x18\x01 \x01(\t\x12@\n\x04type\x18\x02 \x01(\x0e\x32\x32.google.cloud.dataplex.v1.DiscoveryEvent.TableType\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,\n\rActionDetails\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\r\n\x05issue\x18\x02 \x01(\t\"\x82\x02\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\x12\x13\n\x0fTABLE_PUBLISHED\x10\n\x12\x11\n\rTABLE_UPDATED\x10\x0b\x12\x11\n\rTABLE_IGNORED\x10\x0c\x12\x11\n\rTABLE_DELETED\x10\r\"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\"`\n\tTableType\x12\x1a\n\x16TABLE_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x45XTERNAL_TABLE\x10\x01\x12\x11\n\rBIGLAKE_TABLE\x10\x02\x12\x10\n\x0cOBJECT_TABLE\x10\x03\x42\t\n\x07\x64\x65tails\"\xc5\x05\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\x12N\n\x11\x65xecution_trigger\x18\x0b \x01(\x0e\x32\x33.google.cloud.dataplex.v1.JobEvent.ExecutionTrigger\"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\"W\n\x10\x45xecutionTrigger\x12!\n\x1d\x45XECUTION_TRIGGER_UNSPECIFIED\x10\x00\x12\x0f\n\x0bTASK_CONFIG\x10\x01\x12\x0f\n\x0bRUN_REQUEST\x10\x02\"\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\"\xba\x07\n\x0fGovernanceEvent\x12\x0f\n\x07message\x18\x01 \x01(\t\x12G\n\nevent_type\x18\x02 \x01(\x0e\x32\x33.google.cloud.dataplex.v1.GovernanceEvent.EventType\x12\x45\n\x06\x65ntity\x18\x03 \x01(\x0b\x32\x30.google.cloud.dataplex.v1.GovernanceEvent.EntityH\x00\x88\x01\x01\x1a\xd2\x01\n\x06\x45ntity\x12\x33\n\x06\x65ntity\x18\x01 \x01(\tB#\xfa\x41 \n\x1e\x64\x61taplex.googleapis.com/Entity\x12P\n\x0b\x65ntity_type\x18\x02 \x01(\x0e\x32;.google.cloud.dataplex.v1.GovernanceEvent.Entity.EntityType\"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\"\xa5\x04\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aRESOURCE_IAM_POLICY_UPDATE\x10\x01\x12\x19\n\x15\x42IGQUERY_TABLE_CREATE\x10\x02\x12\x19\n\x15\x42IGQUERY_TABLE_UPDATE\x10\x03\x12\x19\n\x15\x42IGQUERY_TABLE_DELETE\x10\x04\x12\x1e\n\x1a\x42IGQUERY_CONNECTION_CREATE\x10\x05\x12\x1e\n\x1a\x42IGQUERY_CONNECTION_UPDATE\x10\x06\x12\x1e\n\x1a\x42IGQUERY_CONNECTION_DELETE\x10\x07\x12\x1c\n\x18\x42IGQUERY_TAXONOMY_CREATE\x10\n\x12\x1e\n\x1a\x42IGQUERY_POLICY_TAG_CREATE\x10\x0b\x12\x1e\n\x1a\x42IGQUERY_POLICY_TAG_DELETE\x10\x0c\x12&\n\"BIGQUERY_POLICY_TAG_SET_IAM_POLICY\x10\r\x12\x18\n\x14\x41\x43\x43\x45SS_POLICY_UPDATE\x10\x0e\x12%\n!GOVERNANCE_RULE_MATCHED_RESOURCES\x10\x0f\x12(\n$GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS\x10\x10\x12\x1a\n\x16GOVERNANCE_RULE_ERRORS\x10\x11\x12\x1e\n\x1aGOVERNANCE_RULE_PROCESSING\x10\x12\x42\t\n\x07_entity\"\x87\x13\n\rDataScanEvent\x12\x13\n\x0b\x64\x61ta_source\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\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\x12\x62\n\x14\x64\x61ta_profile_configs\x18\xc9\x01 \x01(\x0b\x32\x41.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigsH\x01\x12\x62\n\x14\x64\x61ta_quality_configs\x18\xca\x01 \x01(\x0b\x32\x41.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigsH\x01\x12_\n\x18post_scan_actions_result\x18\x0b \x01(\x0b\x32=.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult\x1a&\n\x11\x44\x61taProfileResult\x12\x11\n\trow_count\x18\x01 \x01(\x03\x1a\x9c\x04\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\x12\r\n\x05score\x18\x04 \x01(\x02\x12\x66\n\x0f\x64imension_score\x18\x05 \x03(\x0b\x32M.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.DimensionScoreEntry\x12`\n\x0c\x63olumn_score\x18\x06 \x03(\x0b\x32J.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult.ColumnScoreEntry\x1a\x36\n\x14\x44imensionPassedEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x35\n\x13\x44imensionScoreEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x32\n\x10\x43olumnScoreEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1ap\n\x19\x44\x61taProfileAppliedConfigs\x12\x18\n\x10sampling_percent\x18\x01 \x01(\x02\x12\x1a\n\x12row_filter_applied\x18\x02 \x01(\x08\x12\x1d\n\x15\x63olumn_filter_applied\x18\x03 \x01(\x08\x1aQ\n\x19\x44\x61taQualityAppliedConfigs\x12\x18\n\x10sampling_percent\x18\x01 \x01(\x02\x12\x1a\n\x12row_filter_applied\x18\x02 \x01(\x08\x1a\xe6\x02\n\x15PostScanActionsResult\x12r\n\x16\x62igquery_export_result\x18\x01 \x01(\x0b\x32R.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult\x1a\xd8\x01\n\x14\x42igQueryExportResult\x12g\n\x05state\x18\x01 \x01(\x0e\x32X.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult.BigQueryExportResult.State\x12\x0f\n\x07message\x18\x02 \x01(\t\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x0b\n\x07SKIPPED\x10\x03\"]\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\x12\x12\n\x0e\x44\x41TA_DISCOVERY\x10\x04\"b\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\x12\x0b\n\x07\x43REATED\x10\x05\"?\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\x06resultB\x10\n\x0e\x61ppliedConfigs\"\x99\x07\n\x19\x44\x61taQualityScanRuleResult\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x61ta_source\x18\x02 \x01(\t\x12\x0e\n\x06\x63olumn\x18\x03 \x01(\t\x12\x11\n\trule_name\x18\x04 \x01(\t\x12O\n\trule_type\x18\x05 \x01(\x0e\x32<.google.cloud.dataplex.v1.DataQualityScanRuleResult.RuleType\x12Z\n\x0e\x65valution_type\x18\x06 \x01(\x0e\x32\x42.google.cloud.dataplex.v1.DataQualityScanRuleResult.EvaluationType\x12\x16\n\x0erule_dimension\x18\x07 \x01(\t\x12\x19\n\x11threshold_percent\x18\x08 \x01(\x01\x12J\n\x06result\x18\t \x01(\x0e\x32:.google.cloud.dataplex.v1.DataQualityScanRuleResult.Result\x12\x1b\n\x13\x65valuated_row_count\x18\n \x01(\x03\x12\x18\n\x10passed_row_count\x18\x0b \x01(\x03\x12\x16\n\x0enull_row_count\x18\x0c \x01(\x03\x12\x1b\n\x13\x61ssertion_row_count\x18\r \x01(\x03\"\x92\x02\n\x08RuleType\x12\x19\n\x15RULE_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14NON_NULL_EXPECTATION\x10\x01\x12\x15\n\x11RANGE_EXPECTATION\x10\x02\x12\x15\n\x11REGEX_EXPECTATION\x10\x03\x12\x1d\n\x19ROW_CONDITION_EXPECTATION\x10\x04\x12\x13\n\x0fSET_EXPECTATION\x10\x05\x12\x1f\n\x1bSTATISTIC_RANGE_EXPECTATION\x10\x06\x12\x1f\n\x1bTABLE_CONDITION_EXPECTATION\x10\x07\x12\x1a\n\x16UNIQUENESS_EXPECTATION\x10\x08\x12\x11\n\rSQL_ASSERTION\x10\t\"M\n\x0e\x45valuationType\x12\x1f\n\x1b\x45VALUATION_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PER_ROW\x10\x01\x12\r\n\tAGGREGATE\x10\x02\"8\n\x06Result\x12\x16\n\x12RESULT_UNSPECIFIED\x10\x00\x12\n\n\x06PASSED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\"\x9a\x03\n\x15\x42usinessGlossaryEvent\x12\x0f\n\x07message\x18\x01 \x01(\t\x12M\n\nevent_type\x18\x02 \x01(\x0e\x32\x39.google.cloud.dataplex.v1.BusinessGlossaryEvent.EventType\x12\x10\n\x08resource\x18\x03 \x01(\t\"\x8e\x02\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fGLOSSARY_CREATE\x10\x01\x12\x13\n\x0fGLOSSARY_UPDATE\x10\x02\x12\x13\n\x0fGLOSSARY_DELETE\x10\x03\x12\x1c\n\x18GLOSSARY_CATEGORY_CREATE\x10\x04\x12\x1c\n\x18GLOSSARY_CATEGORY_UPDATE\x10\x05\x12\x1c\n\x18GLOSSARY_CATEGORY_DELETE\x10\x06\x12\x18\n\x14GLOSSARY_TERM_CREATE\x10\x07\x12\x18\n\x14GLOSSARY_TERM_UPDATE\x10\x08\x12\x18\n\x14GLOSSARY_TERM_DELETE\x10\t\"\xd2\x01\n\x0e\x45ntryLinkEvent\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x46\n\nevent_type\x18\x02 \x01(\x0e\x32\x32.google.cloud.dataplex.v1.EntryLinkEvent.EventType\x12\x10\n\x08resource\x18\x03 \x01(\t\"U\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x45NTRY_LINK_CREATE\x10\x01\x12\x15\n\x11\x45NTRY_LINK_DELETE\x10\x02\x42\x65\n\x1c\x63om.google.cloud.dataplex.v1B\tLogsProtoP\x01Z8cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpbb\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -82,6 +82,8 @@ module Google
|
|
82
82
|
DataQualityScanRuleResult::Result = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataQualityScanRuleResult.Result").enummodule
|
83
83
|
BusinessGlossaryEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.BusinessGlossaryEvent").msgclass
|
84
84
|
BusinessGlossaryEvent::EventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.BusinessGlossaryEvent.EventType").enummodule
|
85
|
+
EntryLinkEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.EntryLinkEvent").msgclass
|
86
|
+
EntryLinkEvent::EventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.EntryLinkEvent.EventType").enummodule
|
85
87
|
end
|
86
88
|
end
|
87
89
|
end
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/dataplex/v1/dataplex_service/rest"
|
20
20
|
require "google/cloud/dataplex/v1/catalog_service/rest"
|
21
|
+
require "google/cloud/dataplex/v1/cmek_service/rest"
|
21
22
|
require "google/cloud/dataplex/v1/content_service/rest"
|
22
23
|
require "google/cloud/dataplex/v1/data_taxonomy_service/rest"
|
23
24
|
require "google/cloud/dataplex/v1/data_scan_service/rest"
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/dataplex/v1/dataplex_service"
|
20
20
|
require "google/cloud/dataplex/v1/catalog_service"
|
21
|
+
require "google/cloud/dataplex/v1/cmek_service"
|
21
22
|
require "google/cloud/dataplex/v1/content_service"
|
22
23
|
require "google/cloud/dataplex/v1/data_taxonomy_service"
|
23
24
|
require "google/cloud/dataplex/v1/data_scan_service"
|
@@ -1309,9 +1309,23 @@ module Google
|
|
1309
1309
|
# @!attribute [rw] import_spec
|
1310
1310
|
# @return [::Google::Cloud::Dataplex::V1::MetadataJob::ImportJobSpec]
|
1311
1311
|
# Import job specification.
|
1312
|
+
#
|
1313
|
+
# Note: The following fields are mutually exclusive: `import_spec`, `export_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1314
|
+
# @!attribute [rw] export_spec
|
1315
|
+
# @return [::Google::Cloud::Dataplex::V1::MetadataJob::ExportJobSpec]
|
1316
|
+
# Export job specification.
|
1317
|
+
#
|
1318
|
+
# Note: The following fields are mutually exclusive: `export_spec`, `import_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1312
1319
|
# @!attribute [r] import_result
|
1313
1320
|
# @return [::Google::Cloud::Dataplex::V1::MetadataJob::ImportJobResult]
|
1314
1321
|
# Output only. Import job result.
|
1322
|
+
#
|
1323
|
+
# Note: The following fields are mutually exclusive: `import_result`, `export_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1324
|
+
# @!attribute [r] export_result
|
1325
|
+
# @return [::Google::Cloud::Dataplex::V1::MetadataJob::ExportJobResult]
|
1326
|
+
# Output only. Export job result.
|
1327
|
+
#
|
1328
|
+
# Note: The following fields are mutually exclusive: `export_result`, `import_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1315
1329
|
# @!attribute [r] status
|
1316
1330
|
# @return [::Google::Cloud::Dataplex::V1::MetadataJob::Status]
|
1317
1331
|
# Output only. Metadata job status.
|
@@ -1343,6 +1357,19 @@ module Google
|
|
1343
1357
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1344
1358
|
end
|
1345
1359
|
|
1360
|
+
# Export Job Results. The result is based on the snapshot at the time when
|
1361
|
+
# the job is created.
|
1362
|
+
# @!attribute [r] exported_entries
|
1363
|
+
# @return [::Integer]
|
1364
|
+
# Output only. The number of entries that have been exported.
|
1365
|
+
# @!attribute [r] error_message
|
1366
|
+
# @return [::String]
|
1367
|
+
# Output only. The error message if the export job failed.
|
1368
|
+
class ExportJobResult
|
1369
|
+
include ::Google::Protobuf::MessageExts
|
1370
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1371
|
+
end
|
1372
|
+
|
1346
1373
|
# Job specification for a metadata import job.
|
1347
1374
|
#
|
1348
1375
|
# You can run the following kinds of metadata import jobs:
|
@@ -1500,6 +1527,70 @@ module Google
|
|
1500
1527
|
end
|
1501
1528
|
end
|
1502
1529
|
|
1530
|
+
# Export job specification.
|
1531
|
+
# @!attribute [rw] scope
|
1532
|
+
# @return [::Google::Cloud::Dataplex::V1::MetadataJob::ExportJobSpec::ExportJobScope]
|
1533
|
+
# Required. Selects the entries to be exported by this job.
|
1534
|
+
# @!attribute [rw] output_path
|
1535
|
+
# @return [::String]
|
1536
|
+
# Required. The root path of the exported metadata.
|
1537
|
+
# Must be in the format: "gs://<bucket_id>"
|
1538
|
+
# Or specify a customized prefix after the bucket:
|
1539
|
+
# "gs://<bucket_id>/<folder1>/<folder2>/.../".
|
1540
|
+
# The length limit of the customized prefix is 128 characters.
|
1541
|
+
# The bucket must be in the same VPC-SC perimeter with the job.
|
1542
|
+
class ExportJobSpec
|
1543
|
+
include ::Google::Protobuf::MessageExts
|
1544
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1545
|
+
|
1546
|
+
# Scope of the export job.
|
1547
|
+
# @!attribute [rw] organization_level
|
1548
|
+
# @return [::Boolean]
|
1549
|
+
# Indicating if it is an organization level export job.
|
1550
|
+
# - When set to true, exports all entries from entry groups and projects
|
1551
|
+
# sharing the same organization id of the Metadata Job. Only projects and
|
1552
|
+
# entry groups in the VPC-SC perimeter will be exported. The projects and
|
1553
|
+
# entry groups are ignored.
|
1554
|
+
# - When set to false, one of the projects or entry groups must be
|
1555
|
+
# specified.
|
1556
|
+
# - Default to false.
|
1557
|
+
# @!attribute [rw] projects
|
1558
|
+
# @return [::Array<::String>]
|
1559
|
+
# The projects that are in the scope of the export job. Can either be
|
1560
|
+
# project numbers or project IDs. If specified, only the entries from the
|
1561
|
+
# specified projects will be exported. The projects must be in the same
|
1562
|
+
# organization and in the VPC-SC perimeter. Either projects or
|
1563
|
+
# entry_groups can be specified when organization_level_export is set to
|
1564
|
+
# false.
|
1565
|
+
# Must follow the format: "projects/<project_id_or_number>"
|
1566
|
+
# @!attribute [rw] entry_groups
|
1567
|
+
# @return [::Array<::String>]
|
1568
|
+
# The entry groups that are in scope for the export job. Optional. If
|
1569
|
+
# specified, only entries in the specified entry groups will be exported
|
1570
|
+
# by the job. Must be in the VPC-SC perimeter of the job. The location of
|
1571
|
+
# the entry groups must be the same as the job. Either projects or
|
1572
|
+
# entry_groups can be specified when organization_level_export is set to
|
1573
|
+
# false. Must follow the format:
|
1574
|
+
# "projects/<project_id_or_number>/locations/<location>/entryGroups/<entry_group_id>"
|
1575
|
+
# @!attribute [rw] entry_types
|
1576
|
+
# @return [::Array<::String>]
|
1577
|
+
# If specified, only entries of the specified types will be
|
1578
|
+
# affected by the job.
|
1579
|
+
# Must follow the format:
|
1580
|
+
# "projects/<project_id_or_number>/locations/<location>/entryTypes/<entry_type_id>"
|
1581
|
+
# @!attribute [rw] aspect_types
|
1582
|
+
# @return [::Array<::String>]
|
1583
|
+
# The aspect types that are in scope for the export job.
|
1584
|
+
# Optional. If specified, only aspects of the specified types will be
|
1585
|
+
# affected by the job.
|
1586
|
+
# Must follow the format:
|
1587
|
+
# "projects/<project_id_or_number>/locations/<location>/aspectTypes/<aspect_type_id>"
|
1588
|
+
class ExportJobScope
|
1589
|
+
include ::Google::Protobuf::MessageExts
|
1590
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1591
|
+
end
|
1592
|
+
end
|
1593
|
+
|
1503
1594
|
# Metadata job status.
|
1504
1595
|
# @!attribute [r] state
|
1505
1596
|
# @return [::Google::Cloud::Dataplex::V1::MetadataJob::Status::State]
|
@@ -1561,6 +1652,9 @@ module Google
|
|
1561
1652
|
|
1562
1653
|
# Import job.
|
1563
1654
|
IMPORT = 1
|
1655
|
+
|
1656
|
+
# Export job type.
|
1657
|
+
EXPORT = 2
|
1564
1658
|
end
|
1565
1659
|
end
|
1566
1660
|
|
@@ -0,0 +1,216 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Dataplex
|
23
|
+
module V1
|
24
|
+
# A Resource designed to manage encryption configurations for customers to
|
25
|
+
# support Customer Managed Encryption Keys (CMEK).
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Identifier. The resource name of the EncryptionConfig.
|
29
|
+
# Format:
|
30
|
+
# organizations/\\{organization}/locations/\\{location}/encryptionConfigs/\\{encryption_config}
|
31
|
+
# Global location is not supported.
|
32
|
+
# @!attribute [rw] key
|
33
|
+
# @return [::String]
|
34
|
+
# Optional. If a key is chosen, it means that the customer is using CMEK.
|
35
|
+
# If a key is not chosen, it means that the customer is using Google managed
|
36
|
+
# encryption.
|
37
|
+
# @!attribute [r] create_time
|
38
|
+
# @return [::Google::Protobuf::Timestamp]
|
39
|
+
# Output only. The time when the Encryption configuration was created.
|
40
|
+
# @!attribute [r] update_time
|
41
|
+
# @return [::Google::Protobuf::Timestamp]
|
42
|
+
# Output only. The time when the Encryption configuration was last updated.
|
43
|
+
# @!attribute [r] encryption_state
|
44
|
+
# @return [::Google::Cloud::Dataplex::V1::EncryptionConfig::EncryptionState]
|
45
|
+
# Output only. The state of encryption of the databases.
|
46
|
+
# @!attribute [rw] etag
|
47
|
+
# @return [::String]
|
48
|
+
# Etag of the EncryptionConfig. This is a strong etag.
|
49
|
+
# @!attribute [r] failure_details
|
50
|
+
# @return [::Google::Cloud::Dataplex::V1::EncryptionConfig::FailureDetails]
|
51
|
+
# Output only. Details of the failure if anything related to Cmek db fails.
|
52
|
+
class EncryptionConfig
|
53
|
+
include ::Google::Protobuf::MessageExts
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
55
|
+
|
56
|
+
# Details of the failure if anything related to Cmek db fails.
|
57
|
+
# @!attribute [r] error_code
|
58
|
+
# @return [::Google::Cloud::Dataplex::V1::EncryptionConfig::FailureDetails::ErrorCode]
|
59
|
+
# Output only. The error code for the failure.
|
60
|
+
# @!attribute [r] error_message
|
61
|
+
# @return [::String]
|
62
|
+
# Output only. The error message will be shown to the user. Set only if the
|
63
|
+
# error code is REQUIRE_USER_ACTION.
|
64
|
+
class FailureDetails
|
65
|
+
include ::Google::Protobuf::MessageExts
|
66
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
67
|
+
|
68
|
+
# Error code for the failure if anything related to Cmek db fails.
|
69
|
+
module ErrorCode
|
70
|
+
# The error code is not specified
|
71
|
+
UNKNOWN = 0
|
72
|
+
|
73
|
+
# Error because of internal server error, will be retried automatically..
|
74
|
+
INTERNAL_ERROR = 1
|
75
|
+
|
76
|
+
# User action is required to resolve the error.
|
77
|
+
REQUIRE_USER_ACTION = 2
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
# State of encryption of the databases when EncryptionConfig is created or
|
82
|
+
# updated.
|
83
|
+
module EncryptionState
|
84
|
+
# State is not specified.
|
85
|
+
ENCRYPTION_STATE_UNSPECIFIED = 0
|
86
|
+
|
87
|
+
# The encryption state of the database when the EncryptionConfig is created
|
88
|
+
# or updated. If the encryption fails, it is retried indefinitely and the
|
89
|
+
# state is shown as ENCRYPTING.
|
90
|
+
ENCRYPTING = 1
|
91
|
+
|
92
|
+
# The encryption of data has completed successfully.
|
93
|
+
COMPLETED = 2
|
94
|
+
|
95
|
+
# The encryption of data has failed.
|
96
|
+
# The state is set to FAILED when the encryption fails due to reasons like
|
97
|
+
# permission issues, invalid key etc.
|
98
|
+
FAILED = 3
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# Create EncryptionConfig Request
|
103
|
+
# @!attribute [rw] parent
|
104
|
+
# @return [::String]
|
105
|
+
# Required. The location at which the EncryptionConfig is to be created.
|
106
|
+
# @!attribute [rw] encryption_config_id
|
107
|
+
# @return [::String]
|
108
|
+
# Required. The ID of the EncryptionConfig to create.
|
109
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9),
|
110
|
+
# and hyphens (-).
|
111
|
+
# The maximum size is 63 characters.
|
112
|
+
# The first character must be a letter.
|
113
|
+
# The last character must be a letter or a number.
|
114
|
+
# @!attribute [rw] encryption_config
|
115
|
+
# @return [::Google::Cloud::Dataplex::V1::EncryptionConfig]
|
116
|
+
# Required. The EncryptionConfig to create.
|
117
|
+
class CreateEncryptionConfigRequest
|
118
|
+
include ::Google::Protobuf::MessageExts
|
119
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
120
|
+
end
|
121
|
+
|
122
|
+
# Get EncryptionConfig Request
|
123
|
+
# @!attribute [rw] name
|
124
|
+
# @return [::String]
|
125
|
+
# Required. The name of the EncryptionConfig to fetch.
|
126
|
+
class GetEncryptionConfigRequest
|
127
|
+
include ::Google::Protobuf::MessageExts
|
128
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
129
|
+
end
|
130
|
+
|
131
|
+
# Update EncryptionConfig Request
|
132
|
+
# @!attribute [rw] encryption_config
|
133
|
+
# @return [::Google::Cloud::Dataplex::V1::EncryptionConfig]
|
134
|
+
# Required. The EncryptionConfig to update.
|
135
|
+
# @!attribute [rw] update_mask
|
136
|
+
# @return [::Google::Protobuf::FieldMask]
|
137
|
+
# Optional. Mask of fields to update.
|
138
|
+
# The service treats an omitted field mask as an implied field mask
|
139
|
+
# equivalent to all fields that are populated (have a non-empty value).
|
140
|
+
class UpdateEncryptionConfigRequest
|
141
|
+
include ::Google::Protobuf::MessageExts
|
142
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
143
|
+
end
|
144
|
+
|
145
|
+
# Delete EncryptionConfig Request
|
146
|
+
# @!attribute [rw] name
|
147
|
+
# @return [::String]
|
148
|
+
# Required. The name of the EncryptionConfig to delete.
|
149
|
+
# @!attribute [rw] etag
|
150
|
+
# @return [::String]
|
151
|
+
# Optional. Etag of the EncryptionConfig. This is a strong etag.
|
152
|
+
class DeleteEncryptionConfigRequest
|
153
|
+
include ::Google::Protobuf::MessageExts
|
154
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
155
|
+
end
|
156
|
+
|
157
|
+
# List EncryptionConfigs Request
|
158
|
+
# @!attribute [rw] parent
|
159
|
+
# @return [::String]
|
160
|
+
# Required. The location for which the EncryptionConfig is to be listed.
|
161
|
+
# @!attribute [rw] page_size
|
162
|
+
# @return [::Integer]
|
163
|
+
# Optional. Maximum number of EncryptionConfigs to return. The service may
|
164
|
+
# return fewer than this value. If unspecified, at most 10 EncryptionConfigs
|
165
|
+
# will be returned. The maximum value is 1000; values above 1000 will be
|
166
|
+
# coerced to 1000.
|
167
|
+
# @!attribute [rw] page_token
|
168
|
+
# @return [::String]
|
169
|
+
# Optional. Page token received from a previous `ListEncryptionConfigs` call.
|
170
|
+
# Provide this to retrieve the subsequent page. When paginating, the
|
171
|
+
# parameters - filter and order_by provided to `ListEncryptionConfigs` must
|
172
|
+
# match the call that provided the page token.
|
173
|
+
# @!attribute [rw] filter
|
174
|
+
# @return [::String]
|
175
|
+
# Optional. Filter the EncryptionConfigs to be returned.
|
176
|
+
# Using bare literals: (These values will be matched anywhere it may appear
|
177
|
+
# in the object's field values)
|
178
|
+
# * filter=some_value
|
179
|
+
# Using fields: (These values will be matched only in the specified field)
|
180
|
+
# * filter=some_field=some_value
|
181
|
+
# Supported fields:
|
182
|
+
# * name, key, create_time, update_time, encryption_state
|
183
|
+
# Example:
|
184
|
+
# * filter=name=organizations/123/locations/us-central1/encryptionConfigs/test-config
|
185
|
+
# conjunctions: (AND, OR, NOT)
|
186
|
+
# * filter=name=organizations/123/locations/us-central1/encryptionConfigs/test-config
|
187
|
+
# AND mode=CMEK
|
188
|
+
# logical operators: (>, <, >=, <=, !=, =, :),
|
189
|
+
# * filter=create_time>2024-05-01T00:00:00.000Z
|
190
|
+
# @!attribute [rw] order_by
|
191
|
+
# @return [::String]
|
192
|
+
# Optional. Order by fields for the result.
|
193
|
+
class ListEncryptionConfigsRequest
|
194
|
+
include ::Google::Protobuf::MessageExts
|
195
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
196
|
+
end
|
197
|
+
|
198
|
+
# List EncryptionConfigs Response
|
199
|
+
# @!attribute [rw] encryption_configs
|
200
|
+
# @return [::Array<::Google::Cloud::Dataplex::V1::EncryptionConfig>]
|
201
|
+
# The list of EncryptionConfigs under the given parent location.
|
202
|
+
# @!attribute [rw] next_page_token
|
203
|
+
# @return [::String]
|
204
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
205
|
+
# results in the list.
|
206
|
+
# @!attribute [rw] unreachable_locations
|
207
|
+
# @return [::Array<::String>]
|
208
|
+
# Locations that could not be reached.
|
209
|
+
class ListEncryptionConfigsResponse
|
210
|
+
include ::Google::Protobuf::MessageExts
|
211
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
212
|
+
end
|
213
|
+
end
|
214
|
+
end
|
215
|
+
end
|
216
|
+
end
|
@@ -158,6 +158,9 @@ module Google
|
|
158
158
|
# @!attribute [r] bigquery_publishing
|
159
159
|
# @return [::Google::Cloud::Dataplex::V1::DataDiscoveryResult::BigQueryPublishing]
|
160
160
|
# Output only. Configuration for metadata publishing.
|
161
|
+
# @!attribute [r] scan_statistics
|
162
|
+
# @return [::Google::Cloud::Dataplex::V1::DataDiscoveryResult::ScanStatistics]
|
163
|
+
# Output only. Statistics of the DataDiscoveryScan.
|
161
164
|
class DataDiscoveryResult
|
162
165
|
include ::Google::Protobuf::MessageExts
|
163
166
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -165,13 +168,47 @@ module Google
|
|
165
168
|
# Describes BigQuery publishing configurations.
|
166
169
|
# @!attribute [r] dataset
|
167
170
|
# @return [::String]
|
168
|
-
# Output only. The BigQuery dataset
|
169
|
-
#
|
170
|
-
#
|
171
|
+
# Output only. The BigQuery dataset the discovered tables are published to.
|
172
|
+
# @!attribute [r] location
|
173
|
+
# @return [::String]
|
174
|
+
# Output only. The location of the BigQuery publishing dataset.
|
171
175
|
class BigQueryPublishing
|
172
176
|
include ::Google::Protobuf::MessageExts
|
173
177
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
174
178
|
end
|
179
|
+
|
180
|
+
# Statistics of the DataDiscoveryScan.
|
181
|
+
# @!attribute [rw] scanned_file_count
|
182
|
+
# @return [::Integer]
|
183
|
+
# The number of files scanned.
|
184
|
+
# @!attribute [rw] data_processed_bytes
|
185
|
+
# @return [::Integer]
|
186
|
+
# The data processed in bytes.
|
187
|
+
# @!attribute [rw] files_excluded
|
188
|
+
# @return [::Integer]
|
189
|
+
# The number of files excluded.
|
190
|
+
# @!attribute [rw] tables_created
|
191
|
+
# @return [::Integer]
|
192
|
+
# The number of tables created.
|
193
|
+
# @!attribute [rw] tables_deleted
|
194
|
+
# @return [::Integer]
|
195
|
+
# The number of tables deleted.
|
196
|
+
# @!attribute [rw] tables_updated
|
197
|
+
# @return [::Integer]
|
198
|
+
# The number of tables updated.
|
199
|
+
# @!attribute [rw] filesets_created
|
200
|
+
# @return [::Integer]
|
201
|
+
# The number of filesets created.
|
202
|
+
# @!attribute [rw] filesets_deleted
|
203
|
+
# @return [::Integer]
|
204
|
+
# The number of filesets deleted.
|
205
|
+
# @!attribute [rw] filesets_updated
|
206
|
+
# @return [::Integer]
|
207
|
+
# The number of filesets updated.
|
208
|
+
class ScanStatistics
|
209
|
+
include ::Google::Protobuf::MessageExts
|
210
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
211
|
+
end
|
175
212
|
end
|
176
213
|
end
|
177
214
|
end
|
@@ -73,6 +73,8 @@ module Google
|
|
73
73
|
# Optional. The BigQuery table to export DataProfileScan results to.
|
74
74
|
# Format:
|
75
75
|
# //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
|
76
|
+
# or
|
77
|
+
# projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
|
76
78
|
class BigQueryExport
|
77
79
|
include ::Google::Protobuf::MessageExts
|
78
80
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -69,6 +69,8 @@ module Google
|
|
69
69
|
# Optional. The BigQuery table to export DataQualityScan results to.
|
70
70
|
# Format:
|
71
71
|
# //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
|
72
|
+
# or
|
73
|
+
# projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
|
72
74
|
class BigQueryExport
|
73
75
|
include ::Google::Protobuf::MessageExts
|
74
76
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -130,17 +132,17 @@ module Google
|
|
130
132
|
end
|
131
133
|
|
132
134
|
# The output of a DataQualityScan.
|
133
|
-
# @!attribute [
|
135
|
+
# @!attribute [r] passed
|
134
136
|
# @return [::Boolean]
|
135
|
-
# Overall data quality result -- `true` if all rules passed.
|
137
|
+
# Output only. Overall data quality result -- `true` if all rules passed.
|
136
138
|
# @!attribute [r] score
|
137
139
|
# @return [::Float]
|
138
140
|
# Output only. The overall data quality score.
|
139
141
|
#
|
140
142
|
# The score ranges between [0, 100] (up to two decimal points).
|
141
|
-
# @!attribute [
|
143
|
+
# @!attribute [r] dimensions
|
142
144
|
# @return [::Array<::Google::Cloud::Dataplex::V1::DataQualityDimensionResult>]
|
143
|
-
# A list of results at the dimension level.
|
145
|
+
# Output only. A list of results at the dimension level.
|
144
146
|
#
|
145
147
|
# A dimension will have a corresponding `DataQualityDimensionResult` if and
|
146
148
|
# only if there is at least one rule with the 'dimension' field set to it.
|
@@ -150,15 +152,15 @@ module Google
|
|
150
152
|
#
|
151
153
|
# A column will have a corresponding `DataQualityColumnResult` if and only if
|
152
154
|
# there is at least one rule with the 'column' field set to it.
|
153
|
-
# @!attribute [
|
155
|
+
# @!attribute [r] rules
|
154
156
|
# @return [::Array<::Google::Cloud::Dataplex::V1::DataQualityRuleResult>]
|
155
|
-
# A list of all the rules in a job, and their results.
|
156
|
-
# @!attribute [
|
157
|
+
# Output only. A list of all the rules in a job, and their results.
|
158
|
+
# @!attribute [r] row_count
|
157
159
|
# @return [::Integer]
|
158
|
-
# The count of rows processed.
|
159
|
-
# @!attribute [
|
160
|
+
# Output only. The count of rows processed.
|
161
|
+
# @!attribute [r] scanned_data
|
160
162
|
# @return [::Google::Cloud::Dataplex::V1::ScannedData]
|
161
|
-
# The data scanned for this result.
|
163
|
+
# Output only. The data scanned for this result.
|
162
164
|
# @!attribute [r] post_scan_actions_result
|
163
165
|
# @return [::Google::Cloud::Dataplex::V1::DataQualityResult::PostScanActionsResult]
|
164
166
|
# Output only. The result of post scan actions.
|
@@ -205,15 +207,15 @@ module Google
|
|
205
207
|
end
|
206
208
|
|
207
209
|
# DataQualityRuleResult provides a more detailed, per-rule view of the results.
|
208
|
-
# @!attribute [
|
210
|
+
# @!attribute [r] rule
|
209
211
|
# @return [::Google::Cloud::Dataplex::V1::DataQualityRule]
|
210
|
-
# The rule specified in the DataQualitySpec, as is.
|
211
|
-
# @!attribute [
|
212
|
+
# Output only. The rule specified in the DataQualitySpec, as is.
|
213
|
+
# @!attribute [r] passed
|
212
214
|
# @return [::Boolean]
|
213
|
-
# Whether the rule passed or failed.
|
214
|
-
# @!attribute [
|
215
|
+
# Output only. Whether the rule passed or failed.
|
216
|
+
# @!attribute [r] evaluated_count
|
215
217
|
# @return [::Integer]
|
216
|
-
# The number of rows a rule was evaluated against.
|
218
|
+
# Output only. The number of rows a rule was evaluated against.
|
217
219
|
#
|
218
220
|
# This field is only valid for row-level type rules.
|
219
221
|
#
|
@@ -225,20 +227,24 @@ module Google
|
|
225
227
|
# `ignore_nulls = true`.
|
226
228
|
#
|
227
229
|
# This field is not set for rule SqlAssertion.
|
228
|
-
# @!attribute [
|
230
|
+
# @!attribute [r] passed_count
|
229
231
|
# @return [::Integer]
|
232
|
+
# Output only. The number of rows which passed a rule evaluation.
|
233
|
+
#
|
234
|
+
# This field is only valid for row-level type rules.
|
235
|
+
#
|
230
236
|
# This field is not set for rule SqlAssertion.
|
231
|
-
# @!attribute [
|
237
|
+
# @!attribute [r] null_count
|
232
238
|
# @return [::Integer]
|
233
|
-
# The number of rows with null values in the specified column.
|
234
|
-
# @!attribute [
|
239
|
+
# Output only. The number of rows with null values in the specified column.
|
240
|
+
# @!attribute [r] pass_ratio
|
235
241
|
# @return [::Float]
|
236
|
-
# The ratio of **passed_count / evaluated_count**.
|
242
|
+
# Output only. The ratio of **passed_count / evaluated_count**.
|
237
243
|
#
|
238
244
|
# This field is only valid for row-level type rules.
|
239
|
-
# @!attribute [
|
245
|
+
# @!attribute [r] failing_rows_query
|
240
246
|
# @return [::String]
|
241
|
-
# The query to find rows that did not pass this rule.
|
247
|
+
# Output only. The query to find rows that did not pass this rule.
|
242
248
|
#
|
243
249
|
# This field is only valid for row-level type rules.
|
244
250
|
# @!attribute [r] assertion_row_count
|
@@ -257,9 +263,9 @@ module Google
|
|
257
263
|
# @!attribute [r] dimension
|
258
264
|
# @return [::Google::Cloud::Dataplex::V1::DataQualityDimension]
|
259
265
|
# Output only. The dimension config specified in the DataQualitySpec, as is.
|
260
|
-
# @!attribute [
|
266
|
+
# @!attribute [r] passed
|
261
267
|
# @return [::Boolean]
|
262
|
-
# Whether the dimension passed or failed.
|
268
|
+
# Output only. Whether the dimension passed or failed.
|
263
269
|
# @!attribute [r] score
|
264
270
|
# @return [::Float]
|
265
271
|
# Output only. The dimension-level data quality score for this data scan job
|
@@ -276,9 +282,8 @@ module Google
|
|
276
282
|
# specified.
|
277
283
|
# @!attribute [rw] name
|
278
284
|
# @return [::String]
|
279
|
-
# The dimension name a rule belongs to.
|
280
|
-
#
|
281
|
-
# "FRESHNESS", "VOLUME"]
|
285
|
+
# Optional. The dimension name a rule belongs to. Custom dimension name is
|
286
|
+
# supported with all uppercase letters and maximum length of 30 characters.
|
282
287
|
class DataQualityDimension
|
283
288
|
include ::Google::Protobuf::MessageExts
|
284
289
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|