google-cloud-dataplex-v1 2.9.0 → 2.10.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/README.md +1 -1
- data/lib/google/cloud/dataplex/v1/analyze_pb.rb +2 -25
- data/lib/google/cloud/dataplex/v1/approval_workflow_pb.rb +33 -0
- data/lib/google/cloud/dataplex/v1/bindings_override.rb +24 -24
- data/lib/google/cloud/dataplex/v1/business_glossary_pb.rb +3 -26
- data/lib/google/cloud/dataplex/v1/business_glossary_service/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/business_glossary_service/credentials.rb +4 -1
- data/lib/google/cloud/dataplex/v1/business_glossary_service/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/business_glossary_service/rest/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/business_glossary_service/rest/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/catalog_pb.rb +20 -27
- data/lib/google/cloud/dataplex/v1/catalog_service/client.rb +1074 -73
- data/lib/google/cloud/dataplex/v1/catalog_service/credentials.rb +4 -1
- data/lib/google/cloud/dataplex/v1/catalog_service/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/catalog_service/paths.rb +19 -0
- data/lib/google/cloud/dataplex/v1/catalog_service/rest/client.rb +1020 -82
- data/lib/google/cloud/dataplex/v1/catalog_service/rest/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/catalog_service/rest/service_stub.rb +554 -0
- data/lib/google/cloud/dataplex/v1/catalog_services_pb.rb +18 -15
- data/lib/google/cloud/dataplex/v1/cmek_pb.rb +3 -26
- data/lib/google/cloud/dataplex/v1/cmek_service/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/credentials.rb +2 -1
- data/lib/google/cloud/dataplex/v1/cmek_service/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/content_pb.rb +3 -38
- data/lib/google/cloud/dataplex/v1/content_services_pb.rb +0 -49
- data/lib/google/cloud/dataplex/v1/data_discovery_pb.rb +4 -24
- data/lib/google/cloud/dataplex/v1/data_documentation_pb.rb +10 -24
- data/lib/google/cloud/dataplex/v1/data_product_service/client.rb +1644 -0
- data/lib/google/cloud/dataplex/v1/{content_service → data_product_service}/credentials.rb +7 -4
- data/lib/google/cloud/dataplex/v1/data_product_service/operations.rb +843 -0
- data/lib/google/cloud/dataplex/v1/data_product_service/paths.rb +231 -0
- data/lib/google/cloud/dataplex/v1/data_product_service/rest/client.rb +1533 -0
- data/lib/google/cloud/dataplex/v1/data_product_service/rest/operations.rb +956 -0
- data/lib/google/cloud/dataplex/v1/{content_service → data_product_service}/rest/service_stub.rb +284 -160
- data/lib/google/cloud/dataplex/v1/{content_service → data_product_service}/rest.rb +11 -10
- data/lib/google/cloud/dataplex/v1/{content_service.rb → data_product_service.rb} +15 -14
- data/lib/google/cloud/dataplex/v1/data_products_pb.rb +52 -0
- data/lib/google/cloud/dataplex/v1/data_products_services_pb.rb +69 -0
- data/lib/google/cloud/dataplex/v1/data_profile_pb.rb +4 -26
- data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +13 -26
- data/lib/google/cloud/dataplex/v1/data_quality_rule_template_pb.rb +25 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +99 -1
- data/lib/google/cloud/dataplex/v1/data_scan_service/credentials.rb +4 -1
- data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service/paths.rb +21 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +92 -1
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/service_stub.rb +62 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_pb.rb +3 -27
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/credentials.rb +2 -1
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +2 -664
- data/lib/google/cloud/dataplex/v1/dataplex_service/credentials.rb +4 -1
- data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/paths.rb +0 -21
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +2 -622
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/service_stub.rb +0 -368
- data/lib/google/cloud/dataplex/v1/datascans_common_pb.rb +3 -24
- data/lib/google/cloud/dataplex/v1/datascans_pb.rb +9 -31
- data/lib/google/cloud/dataplex/v1/datascans_services_pb.rb +2 -0
- data/lib/google/cloud/dataplex/v1/logs_pb.rb +3 -27
- data/lib/google/cloud/dataplex/v1/metadata_pb.rb +3 -25
- data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/metadata_service/credentials.rb +2 -1
- data/lib/google/cloud/dataplex/v1/metadata_service/rest/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/processing_pb.rb +5 -24
- data/lib/google/cloud/dataplex/v1/resources_pb.rb +2 -25
- data/lib/google/cloud/dataplex/v1/rest.rb +1 -1
- data/lib/google/cloud/dataplex/v1/security_pb.rb +2 -23
- data/lib/google/cloud/dataplex/v1/service_pb.rb +3 -38
- data/lib/google/cloud/dataplex/v1/service_services_pb.rb +0 -13
- data/lib/google/cloud/dataplex/v1/tasks_pb.rb +2 -25
- data/lib/google/cloud/dataplex/v1/version.rb +1 -1
- data/lib/google/cloud/dataplex/v1.rb +1 -0
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/cloud/dataplex/v1/approval_workflow.rb +263 -0
- data/proto_docs/google/cloud/dataplex/v1/catalog.rb +427 -3
- data/proto_docs/google/cloud/dataplex/v1/data_discovery.rb +13 -0
- data/proto_docs/google/cloud/dataplex/v1/data_documentation.rb +118 -2
- data/proto_docs/google/cloud/dataplex/v1/data_products.rb +567 -0
- data/proto_docs/google/cloud/dataplex/v1/data_profile.rb +21 -0
- data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +240 -10
- data/proto_docs/google/cloud/dataplex/v1/data_quality_rule_template.rb +88 -0
- data/proto_docs/google/cloud/dataplex/v1/datascans.rb +82 -5
- data/proto_docs/google/cloud/dataplex/v1/datascans_common.rb +7 -3
- data/proto_docs/google/cloud/dataplex/v1/logs.rb +7 -0
- data/proto_docs/google/cloud/dataplex/v1/processing.rb +27 -3
- data/proto_docs/google/cloud/dataplex/v1/service.rb +0 -148
- metadata +20 -12
- data/lib/google/cloud/dataplex/v1/content_service/client.rb +0 -1261
- data/lib/google/cloud/dataplex/v1/content_service/paths.rb +0 -73
- data/lib/google/cloud/dataplex/v1/content_service/rest/client.rb +0 -1171
- data/proto_docs/google/cloud/dataplex/v1/content.rb +0 -142
|
@@ -74,26 +74,13 @@ module Google
|
|
|
74
74
|
# Deletes an Entry.
|
|
75
75
|
rpc :DeleteEntry, ::Google::Cloud::Dataplex::V1::DeleteEntryRequest, ::Google::Cloud::Dataplex::V1::Entry
|
|
76
76
|
# Lists Entries within an EntryGroup.
|
|
77
|
-
# Caution: The Vertex AI, Bigtable, Spanner, Pub/Sub, Dataform, and Dataproc
|
|
78
|
-
# Metastore metadata that is stored in Dataplex Universal Catalog is
|
|
79
|
-
# changing. For more information, see [Changes to metadata stored in
|
|
80
|
-
# Dataplex Universal
|
|
81
|
-
# Catalog](https://cloud.google.com/dataplex/docs/metadata-changes).
|
|
82
77
|
rpc :ListEntries, ::Google::Cloud::Dataplex::V1::ListEntriesRequest, ::Google::Cloud::Dataplex::V1::ListEntriesResponse
|
|
83
78
|
# Gets an Entry.
|
|
84
|
-
# Caution: The Vertex AI, Bigtable, Spanner, Pub/Sub, Dataform, and Dataproc
|
|
85
|
-
# Metastore metadata that is stored in Dataplex Universal Catalog is
|
|
86
|
-
# changing. For more information, see [Changes to metadata stored in
|
|
87
|
-
# Dataplex Universal
|
|
88
|
-
# Catalog](https://cloud.google.com/dataplex/docs/metadata-changes).
|
|
89
79
|
rpc :GetEntry, ::Google::Cloud::Dataplex::V1::GetEntryRequest, ::Google::Cloud::Dataplex::V1::Entry
|
|
90
80
|
# Looks up an entry by name using the permission on the source system.
|
|
91
|
-
# Caution: The Vertex AI, Bigtable, Spanner, Pub/Sub, Dataform, and Dataproc
|
|
92
|
-
# Metastore metadata that is stored in Dataplex Universal Catalog is
|
|
93
|
-
# changing. For more information, see [Changes to metadata stored in
|
|
94
|
-
# Dataplex Universal
|
|
95
|
-
# Catalog](https://cloud.google.com/dataplex/docs/metadata-changes).
|
|
96
81
|
rpc :LookupEntry, ::Google::Cloud::Dataplex::V1::LookupEntryRequest, ::Google::Cloud::Dataplex::V1::Entry
|
|
82
|
+
# Modifies an entry using the permission on the source system.
|
|
83
|
+
rpc :ModifyEntry, ::Google::Cloud::Dataplex::V1::ModifyEntryRequest, ::Google::Cloud::Dataplex::V1::Entry
|
|
97
84
|
# Searches for Entries matching the given query and scope.
|
|
98
85
|
rpc :SearchEntries, ::Google::Cloud::Dataplex::V1::SearchEntriesRequest, ::Google::Cloud::Dataplex::V1::SearchEntriesResponse
|
|
99
86
|
# Creates a metadata job. For example, use a metadata job to import metadata
|
|
@@ -112,10 +99,26 @@ module Google
|
|
|
112
99
|
rpc :CancelMetadataJob, ::Google::Cloud::Dataplex::V1::CancelMetadataJobRequest, ::Google::Protobuf::Empty
|
|
113
100
|
# Creates an Entry Link.
|
|
114
101
|
rpc :CreateEntryLink, ::Google::Cloud::Dataplex::V1::CreateEntryLinkRequest, ::Google::Cloud::Dataplex::V1::EntryLink
|
|
102
|
+
# Updates an Entry Link.
|
|
103
|
+
rpc :UpdateEntryLink, ::Google::Cloud::Dataplex::V1::UpdateEntryLinkRequest, ::Google::Cloud::Dataplex::V1::EntryLink
|
|
115
104
|
# Deletes an Entry Link.
|
|
116
105
|
rpc :DeleteEntryLink, ::Google::Cloud::Dataplex::V1::DeleteEntryLinkRequest, ::Google::Cloud::Dataplex::V1::EntryLink
|
|
106
|
+
# Looks up Entry Links referencing the specified Entry.
|
|
107
|
+
rpc :LookupEntryLinks, ::Google::Cloud::Dataplex::V1::LookupEntryLinksRequest, ::Google::Cloud::Dataplex::V1::LookupEntryLinksResponse
|
|
108
|
+
# Looks up LLM Context for the specified resources.
|
|
109
|
+
rpc :LookupContext, ::Google::Cloud::Dataplex::V1::LookupContextRequest, ::Google::Cloud::Dataplex::V1::LookupContextResponse
|
|
117
110
|
# Gets an Entry Link.
|
|
118
111
|
rpc :GetEntryLink, ::Google::Cloud::Dataplex::V1::GetEntryLinkRequest, ::Google::Cloud::Dataplex::V1::EntryLink
|
|
112
|
+
# Creates a MetadataFeed.
|
|
113
|
+
rpc :CreateMetadataFeed, ::Google::Cloud::Dataplex::V1::CreateMetadataFeedRequest, ::Google::Longrunning::Operation
|
|
114
|
+
# Gets a MetadataFeed.
|
|
115
|
+
rpc :GetMetadataFeed, ::Google::Cloud::Dataplex::V1::GetMetadataFeedRequest, ::Google::Cloud::Dataplex::V1::MetadataFeed
|
|
116
|
+
# Retrieve a list of MetadataFeeds.
|
|
117
|
+
rpc :ListMetadataFeeds, ::Google::Cloud::Dataplex::V1::ListMetadataFeedsRequest, ::Google::Cloud::Dataplex::V1::ListMetadataFeedsResponse
|
|
118
|
+
# Deletes a MetadataFeed.
|
|
119
|
+
rpc :DeleteMetadataFeed, ::Google::Cloud::Dataplex::V1::DeleteMetadataFeedRequest, ::Google::Longrunning::Operation
|
|
120
|
+
# Updates a MetadataFeed.
|
|
121
|
+
rpc :UpdateMetadataFeed, ::Google::Cloud::Dataplex::V1::UpdateMetadataFeedRequest, ::Google::Longrunning::Operation
|
|
119
122
|
end
|
|
120
123
|
|
|
121
124
|
Stub = Service.rpc_stub_class
|
|
@@ -15,33 +15,10 @@ require 'google/protobuf/field_mask_pb'
|
|
|
15
15
|
require 'google/protobuf/timestamp_pb'
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
descriptor_data = "\n#google/cloud/dataplex/v1/cmek.proto\x12\x18google.cloud.dataplex.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/dataplex/v1/service.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfa\x06\n\x10\x45ncryptionConfig\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x08\xfa\x41*\n(dataplex.googleapis.com/EncryptionConfig\x12\x10\n\x03key\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Y\n\x10\x65ncryption_state\x18\x05 \x01(\x0e\x32:.google.cloud.dataplex.v1.EncryptionConfig.EncryptionStateB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x06 \x01(\t\x12W\n\x0f\x66\x61ilure_details\x18\x07 \x01(\x0b\x32\x39.google.cloud.dataplex.v1.EncryptionConfig.FailureDetailsB\x03\xe0\x41\x03\x12(\n\x1b\x65nable_metastore_encryption\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\x1a\xd1\x01\n\x0e\x46\x61ilureDetails\x12\\\n\nerror_code\x18\x01 \x01(\x0e\x32\x43.google.cloud.dataplex.v1.EncryptionConfig.FailureDetails.ErrorCodeB\x03\xe0\x41\x03\x12\x1a\n\rerror_message\x18\x02 \x01(\tB\x03\xe0\x41\x03\"E\n\tErrorCode\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0eINTERNAL_ERROR\x10\x01\x12\x17\n\x13REQUIRE_USER_ACTION\x10\x02\"^\n\x0f\x45ncryptionState\x12 \n\x1c\x45NCRYPTION_STATE_UNSPECIFIED\x10\x00\x12\x0e\n\nENCRYPTING\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03:\x87\x01\xea\x41\x83\x01\n(dataplex.googleapis.com/EncryptionConfig\x12Worganizations/{organization}/locations/{location}/encryptionConfigs/{encryption_config}\"\xd4\x01\n\x1d\x43reateEncryptionConfigRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,dataplex.googleapis.com/OrganizationLocation\x12!\n\x14\x65ncryption_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12J\n\x11\x65ncryption_config\x18\x03 \x01(\x0b\x32*.google.cloud.dataplex.v1.EncryptionConfigB\x03\xe0\x41\x02\"\\\n\x1aGetEncryptionConfigRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(dataplex.googleapis.com/EncryptionConfig\"\xa1\x01\n\x1dUpdateEncryptionConfigRequest\x12J\n\x11\x65ncryption_config\x18\x01 \x01(\x0b\x32*.google.cloud.dataplex.v1.EncryptionConfigB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"r\n\x1d\x44\x65leteEncryptionConfigRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(dataplex.googleapis.com/EncryptionConfig\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xbd\x01\n\x1cListEncryptionConfigsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(dataplex.googleapis.com/EncryptionConfig\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xc7\x01\n\x1dListEncryptionConfigsResponse\x12\x46\n\x12\x65ncryption_configs\x18\x01 \x03(\x0b\x32*.google.cloud.dataplex.v1.EncryptionConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x45\n\x15unreachable_locations\x18\x03 \x03(\tB&\xfa\x41#\n!locations.googleapis.com/Location2\
|
|
18
|
+
descriptor_data = "\n#google/cloud/dataplex/v1/cmek.proto\x12\x18google.cloud.dataplex.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/dataplex/v1/service.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfa\x06\n\x10\x45ncryptionConfig\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x08\xfa\x41*\n(dataplex.googleapis.com/EncryptionConfig\x12\x10\n\x03key\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Y\n\x10\x65ncryption_state\x18\x05 \x01(\x0e\x32:.google.cloud.dataplex.v1.EncryptionConfig.EncryptionStateB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x06 \x01(\t\x12W\n\x0f\x66\x61ilure_details\x18\x07 \x01(\x0b\x32\x39.google.cloud.dataplex.v1.EncryptionConfig.FailureDetailsB\x03\xe0\x41\x03\x12(\n\x1b\x65nable_metastore_encryption\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\x1a\xd1\x01\n\x0e\x46\x61ilureDetails\x12\\\n\nerror_code\x18\x01 \x01(\x0e\x32\x43.google.cloud.dataplex.v1.EncryptionConfig.FailureDetails.ErrorCodeB\x03\xe0\x41\x03\x12\x1a\n\rerror_message\x18\x02 \x01(\tB\x03\xe0\x41\x03\"E\n\tErrorCode\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0eINTERNAL_ERROR\x10\x01\x12\x17\n\x13REQUIRE_USER_ACTION\x10\x02\"^\n\x0f\x45ncryptionState\x12 \n\x1c\x45NCRYPTION_STATE_UNSPECIFIED\x10\x00\x12\x0e\n\nENCRYPTING\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03:\x87\x01\xea\x41\x83\x01\n(dataplex.googleapis.com/EncryptionConfig\x12Worganizations/{organization}/locations/{location}/encryptionConfigs/{encryption_config}\"\xd4\x01\n\x1d\x43reateEncryptionConfigRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,dataplex.googleapis.com/OrganizationLocation\x12!\n\x14\x65ncryption_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12J\n\x11\x65ncryption_config\x18\x03 \x01(\x0b\x32*.google.cloud.dataplex.v1.EncryptionConfigB\x03\xe0\x41\x02\"\\\n\x1aGetEncryptionConfigRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(dataplex.googleapis.com/EncryptionConfig\"\xa1\x01\n\x1dUpdateEncryptionConfigRequest\x12J\n\x11\x65ncryption_config\x18\x01 \x01(\x0b\x32*.google.cloud.dataplex.v1.EncryptionConfigB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"r\n\x1d\x44\x65leteEncryptionConfigRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(dataplex.googleapis.com/EncryptionConfig\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xbd\x01\n\x1cListEncryptionConfigsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(dataplex.googleapis.com/EncryptionConfig\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xc7\x01\n\x1dListEncryptionConfigsResponse\x12\x46\n\x12\x65ncryption_configs\x18\x01 \x03(\x0b\x32*.google.cloud.dataplex.v1.EncryptionConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x45\n\x15unreachable_locations\x18\x03 \x03(\tB&\xfa\x41#\n!locations.googleapis.com/Location2\xde\n\n\x0b\x43mekService\x12\xa0\x02\n\x16\x43reateEncryptionConfig\x12\x37.google.cloud.dataplex.v1.CreateEncryptionConfigRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\xca\x41%\n\x10\x45ncryptionConfig\x12\x11OperationMetadata\xda\x41-parent,encryption_config,encryption_config_id\x82\xd3\xe4\x93\x02O\":/v1/{parent=organizations/*/locations/*}/encryptionConfigs:\x11\x65ncryption_config\x12\xa2\x02\n\x16UpdateEncryptionConfig\x12\x37.google.cloud.dataplex.v1.UpdateEncryptionConfigRequest\x1a\x1d.google.longrunning.Operation\"\xaf\x01\xca\x41%\n\x10\x45ncryptionConfig\x12\x11OperationMetadata\xda\x41\x1d\x65ncryption_config,update_mask\x82\xd3\xe4\x93\x02\x61\x32L/v1/{encryption_config.name=organizations/*/locations/*/encryptionConfigs/*}:\x11\x65ncryption_config\x12\xe8\x01\n\x16\x44\x65leteEncryptionConfig\x12\x37.google.cloud.dataplex.v1.DeleteEncryptionConfigRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02<*:/v1/{name=organizations/*/locations/*/encryptionConfigs/*}\x12\xd5\x01\n\x15ListEncryptionConfigs\x12\x36.google.cloud.dataplex.v1.ListEncryptionConfigsRequest\x1a\x37.google.cloud.dataplex.v1.ListEncryptionConfigsResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=organizations/*/locations/*}/encryptionConfigs\x12\xc2\x01\n\x13GetEncryptionConfig\x12\x34.google.cloud.dataplex.v1.GetEncryptionConfigRequest\x1a*.google.cloud.dataplex.v1.EncryptionConfig\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v1/{name=organizations/*/locations/*/encryptionConfigs/*}\x1a\x7f\xca\x41\x17\x64\x61taplex.googleapis.com\xd2\x41\x62https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dataplex.read-writeB\x9d\x02\n\x1c\x63om.google.cloud.dataplex.v1B\tCmekProtoP\x01Z8cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb\xaa\x02\x18Google.Cloud.Dataplex.V1\xca\x02\x18Google\\Cloud\\Dataplex\\V1\xea\x02\x1bGoogle::Cloud::Dataplex::V1\xea\x41\x61\n,dataplex.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}b\x06proto3"
|
|
19
19
|
|
|
20
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
21
|
-
|
|
22
|
-
begin
|
|
23
|
-
pool.add_serialized_file(descriptor_data)
|
|
24
|
-
rescue TypeError
|
|
25
|
-
# Compatibility code: will be removed in the next major version.
|
|
26
|
-
require 'google/protobuf/descriptor_pb'
|
|
27
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
28
|
-
parsed.clear_dependency
|
|
29
|
-
serialized = parsed.class.encode(parsed)
|
|
30
|
-
file = pool.add_serialized_file(serialized)
|
|
31
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
32
|
-
imports = [
|
|
33
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
34
|
-
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
|
35
|
-
]
|
|
36
|
-
imports.each do |type_name, expected_filename|
|
|
37
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
38
|
-
if import_file.name != expected_filename
|
|
39
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
43
|
-
warn "This will become an error in the next major version."
|
|
44
|
-
end
|
|
20
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
21
|
+
pool.add_serialized_file(descriptor_data)
|
|
45
22
|
|
|
46
23
|
module Google
|
|
47
24
|
module Cloud
|
|
@@ -823,6 +823,7 @@ module Google
|
|
|
823
823
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
824
824
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
825
825
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
826
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
826
827
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
827
828
|
# trigger a retry.
|
|
828
829
|
# @return [::Hash]
|
|
@@ -906,6 +907,7 @@ module Google
|
|
|
906
907
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
907
908
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
908
909
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
910
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
909
911
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
910
912
|
# trigger a retry.
|
|
911
913
|
#
|
|
@@ -26,7 +26,8 @@ module Google
|
|
|
26
26
|
# Credentials for the CmekService API.
|
|
27
27
|
class Credentials < ::Google::Auth::Credentials
|
|
28
28
|
self.scope = [
|
|
29
|
-
"https://www.googleapis.com/auth/cloud-platform"
|
|
29
|
+
"https://www.googleapis.com/auth/cloud-platform",
|
|
30
|
+
"https://www.googleapis.com/auth/dataplex.read-write"
|
|
30
31
|
]
|
|
31
32
|
self.env_vars = [
|
|
32
33
|
"GOOGLE_CLOUD_CREDENTIALS",
|
|
@@ -703,6 +703,7 @@ module Google
|
|
|
703
703
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
704
704
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
705
705
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
706
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
706
707
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
707
708
|
# trigger a retry.
|
|
708
709
|
# @return [::Hash]
|
|
@@ -786,6 +787,7 @@ module Google
|
|
|
786
787
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
787
788
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
788
789
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
790
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
789
791
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
790
792
|
# trigger a retry.
|
|
791
793
|
#
|
|
@@ -757,6 +757,7 @@ module Google
|
|
|
757
757
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
758
758
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
759
759
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
760
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
760
761
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
761
762
|
# trigger a retry.
|
|
762
763
|
# @return [::Hash]
|
|
@@ -836,6 +837,7 @@ module Google
|
|
|
836
837
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
837
838
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
838
839
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
840
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
839
841
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
840
842
|
# trigger a retry.
|
|
841
843
|
#
|
|
@@ -541,6 +541,7 @@ module Google
|
|
|
541
541
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
542
542
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
543
543
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
544
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
544
545
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
545
546
|
# trigger a retry.
|
|
546
547
|
# @return [::Hash]
|
|
@@ -613,6 +614,7 @@ module Google
|
|
|
613
614
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
614
615
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
615
616
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
617
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
616
618
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
617
619
|
# trigger a retry.
|
|
618
620
|
#
|
|
@@ -8,52 +8,17 @@ require 'google/api/annotations_pb'
|
|
|
8
8
|
require 'google/api/client_pb'
|
|
9
9
|
require 'google/api/field_behavior_pb'
|
|
10
10
|
require 'google/api/resource_pb'
|
|
11
|
-
require 'google/cloud/dataplex/v1/analyze_pb'
|
|
12
|
-
require 'google/iam/v1/iam_policy_pb'
|
|
13
|
-
require 'google/iam/v1/policy_pb'
|
|
14
|
-
require 'google/protobuf/empty_pb'
|
|
15
|
-
require 'google/protobuf/field_mask_pb'
|
|
16
11
|
|
|
17
12
|
|
|
18
|
-
descriptor_data = "\n&google/cloud/dataplex/v1/content.proto\x12\x18google.cloud.dataplex.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.
|
|
13
|
+
descriptor_data = "\n&google/cloud/dataplex/v1/content.proto\x12\x18google.cloud.dataplex.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto2,\n\x0e\x43ontentService\x1a\x1a\xca\x41\x17\x64\x61taplex.googleapis.comBh\n\x1c\x63om.google.cloud.dataplex.v1B\x0c\x43ontentProtoP\x01Z8cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpbb\x06proto3"
|
|
19
14
|
|
|
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.dataplex.v1.Content", "google/cloud/dataplex/v1/analyze.proto"],
|
|
34
|
-
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
|
35
|
-
]
|
|
36
|
-
imports.each do |type_name, expected_filename|
|
|
37
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
38
|
-
if import_file.name != expected_filename
|
|
39
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
43
|
-
warn "This will become an error in the next major version."
|
|
44
|
-
end
|
|
15
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
|
45
17
|
|
|
46
18
|
module Google
|
|
47
19
|
module Cloud
|
|
48
20
|
module Dataplex
|
|
49
21
|
module V1
|
|
50
|
-
CreateContentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.CreateContentRequest").msgclass
|
|
51
|
-
UpdateContentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.UpdateContentRequest").msgclass
|
|
52
|
-
DeleteContentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DeleteContentRequest").msgclass
|
|
53
|
-
ListContentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.ListContentRequest").msgclass
|
|
54
|
-
ListContentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.ListContentResponse").msgclass
|
|
55
|
-
GetContentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.GetContentRequest").msgclass
|
|
56
|
-
GetContentRequest::ContentView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.GetContentRequest.ContentView").enummodule
|
|
57
22
|
end
|
|
58
23
|
end
|
|
59
24
|
end
|
|
@@ -23,55 +23,6 @@ module Google
|
|
|
23
23
|
module Cloud
|
|
24
24
|
module Dataplex
|
|
25
25
|
module V1
|
|
26
|
-
module ContentService
|
|
27
|
-
# ContentService manages Notebook and SQL Scripts for Dataplex Universal
|
|
28
|
-
# Catalog.
|
|
29
|
-
class Service
|
|
30
|
-
|
|
31
|
-
include ::GRPC::GenericService
|
|
32
|
-
|
|
33
|
-
self.marshal_class_method = :encode
|
|
34
|
-
self.unmarshal_class_method = :decode
|
|
35
|
-
self.service_name = 'google.cloud.dataplex.v1.ContentService'
|
|
36
|
-
|
|
37
|
-
# Create a content.
|
|
38
|
-
rpc :CreateContent, ::Google::Cloud::Dataplex::V1::CreateContentRequest, ::Google::Cloud::Dataplex::V1::Content
|
|
39
|
-
# Update a content. Only supports full resource update.
|
|
40
|
-
rpc :UpdateContent, ::Google::Cloud::Dataplex::V1::UpdateContentRequest, ::Google::Cloud::Dataplex::V1::Content
|
|
41
|
-
# Delete a content.
|
|
42
|
-
rpc :DeleteContent, ::Google::Cloud::Dataplex::V1::DeleteContentRequest, ::Google::Protobuf::Empty
|
|
43
|
-
# Get a content resource.
|
|
44
|
-
rpc :GetContent, ::Google::Cloud::Dataplex::V1::GetContentRequest, ::Google::Cloud::Dataplex::V1::Content
|
|
45
|
-
# Gets the access control policy for a contentitem resource. A `NOT_FOUND`
|
|
46
|
-
# error is returned if the resource does not exist. An empty policy is
|
|
47
|
-
# returned if the resource exists but does not have a policy set on it.
|
|
48
|
-
#
|
|
49
|
-
# Caller must have Google IAM `dataplex.content.getIamPolicy` permission
|
|
50
|
-
# on the resource.
|
|
51
|
-
rpc :GetIamPolicy, ::Google::Iam::V1::GetIamPolicyRequest, ::Google::Iam::V1::Policy
|
|
52
|
-
# Sets the access control policy on the specified contentitem resource.
|
|
53
|
-
# Replaces any existing policy.
|
|
54
|
-
#
|
|
55
|
-
# Caller must have Google IAM `dataplex.content.setIamPolicy` permission
|
|
56
|
-
# on the resource.
|
|
57
|
-
rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
|
|
58
|
-
# Returns the caller's permissions on a resource.
|
|
59
|
-
# If the resource does not exist, an empty set of
|
|
60
|
-
# permissions is returned (a `NOT_FOUND` error is not returned).
|
|
61
|
-
#
|
|
62
|
-
# A caller is not required to have Google IAM permission to make this
|
|
63
|
-
# request.
|
|
64
|
-
#
|
|
65
|
-
# Note: This operation is designed to be used for building permission-aware
|
|
66
|
-
# UIs and command-line tools, not for authorization checking. This operation
|
|
67
|
-
# may "fail open" without warning.
|
|
68
|
-
rpc :TestIamPermissions, ::Google::Iam::V1::TestIamPermissionsRequest, ::Google::Iam::V1::TestIamPermissionsResponse
|
|
69
|
-
# List content.
|
|
70
|
-
rpc :ListContent, ::Google::Cloud::Dataplex::V1::ListContentRequest, ::Google::Cloud::Dataplex::V1::ListContentResponse
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
Stub = Service.rpc_stub_class
|
|
74
|
-
end
|
|
75
26
|
end
|
|
76
27
|
end
|
|
77
28
|
end
|
|
@@ -8,31 +8,10 @@ require 'google/api/field_behavior_pb'
|
|
|
8
8
|
require 'google/api/resource_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n-google/cloud/dataplex/v1/data_discovery.proto\x12\x18google.cloud.dataplex.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\
|
|
11
|
+
descriptor_data = "\n-google/cloud/dataplex/v1/data_discovery.proto\x12\x18google.cloud.dataplex.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x8a\n\n\x11\x44\x61taDiscoverySpec\x12m\n\x1a\x62igquery_publishing_config\x18\x01 \x01(\x0b\x32\x44.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfigB\x03\xe0\x41\x01\x12S\n\x0estorage_config\x18\x64 \x01(\x0b\x32\x39.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfigH\x00\x1a\xee\x02\n\x18\x42igQueryPublishingConfig\x12g\n\ntable_type\x18\x02 \x01(\x0e\x32N.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig.TableTypeB\x03\xe0\x41\x01\x12H\n\nconnection\x18\x03 \x01(\tB4\xe0\x41\x01\xfa\x41.\n,bigqueryconnection.googleapis.com/Connection\x12\x15\n\x08location\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x07project\x18\x05 \x01(\tB3\xe0\x41\x01\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\"B\n\tTableType\x12\x1a\n\x16TABLE_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45XTERNAL\x10\x01\x12\x0b\n\x07\x42IGLAKE\x10\x02\x1a\xac\x05\n\rStorageConfig\x12\x1d\n\x10include_patterns\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x65xclude_patterns\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12^\n\x0b\x63sv_options\x18\x03 \x01(\x0b\x32\x44.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.CsvOptionsB\x03\xe0\x41\x01\x12`\n\x0cjson_options\x18\x04 \x01(\x0b\x32\x45.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptionsB\x03\xe0\x41\x01\x12y\n\x19unstructured_data_options\x18\x05 \x01(\x0b\x32Q.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.UnstructuredDataOptionsB\x03\xe0\x41\x01\x1a\x8f\x01\n\nCsvOptions\x12\x18\n\x0bheader_rows\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x16\n\tdelimiter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x65ncoding\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17type_inference_disabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05quote\x18\x05 \x01(\tB\x03\xe0\x41\x01\x1aJ\n\x0bJsonOptions\x12\x15\n\x08\x65ncoding\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17type_inference_disabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x42\n\x17UnstructuredDataOptions\x12\'\n\x1asemantic_inference_enabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x42\x11\n\x0fresource_config\"\xb7\x04\n\x13\x44\x61taDiscoveryResult\x12\x62\n\x13\x62igquery_publishing\x18\x01 \x01(\x0b\x32@.google.cloud.dataplex.v1.DataDiscoveryResult.BigQueryPublishingB\x03\xe0\x41\x03\x12Z\n\x0fscan_statistics\x18\x02 \x01(\x0b\x32<.google.cloud.dataplex.v1.DataDiscoveryResult.ScanStatisticsB\x03\xe0\x41\x03\x1a\x65\n\x12\x42igQueryPublishing\x12\x38\n\x07\x64\x61taset\x18\x01 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x62igquery.googleapis.com/Dataset\x12\x15\n\x08location\x18\x02 \x01(\tB\x03\xe0\x41\x03\x1a\xf8\x01\n\x0eScanStatistics\x12\x1a\n\x12scanned_file_count\x18\x01 \x01(\x05\x12\x1c\n\x14\x64\x61ta_processed_bytes\x18\x02 \x01(\x03\x12\x16\n\x0e\x66iles_excluded\x18\x03 \x01(\x05\x12\x16\n\x0etables_created\x18\x04 \x01(\x05\x12\x16\n\x0etables_deleted\x18\x05 \x01(\x05\x12\x16\n\x0etables_updated\x18\x06 \x01(\x05\x12\x18\n\x10\x66ilesets_created\x18\x07 \x01(\x05\x12\x18\n\x10\x66ilesets_deleted\x18\x08 \x01(\x05\x12\x18\n\x10\x66ilesets_updated\x18\t \x01(\x05\x42\xac\x02\n\x1c\x63om.google.cloud.dataplex.v1B\x12\x44\x61taDiscoveryProtoP\x01Z8cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb\xea\x41H\n\x1f\x62igquery.googleapis.com/Dataset\x12%projects/{project}/datasets/{dataset}\xea\x41p\n,bigqueryconnection.googleapis.com/Connection\x12@projects/{project}/locations/{location}/connections/{connection}b\x06proto3"
|
|
12
12
|
|
|
13
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
-
|
|
15
|
-
begin
|
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
|
17
|
-
rescue TypeError
|
|
18
|
-
# Compatibility code: will be removed in the next major version.
|
|
19
|
-
require 'google/protobuf/descriptor_pb'
|
|
20
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
21
|
-
parsed.clear_dependency
|
|
22
|
-
serialized = parsed.class.encode(parsed)
|
|
23
|
-
file = pool.add_serialized_file(serialized)
|
|
24
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
25
|
-
imports = [
|
|
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
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
36
15
|
|
|
37
16
|
module Google
|
|
38
17
|
module Cloud
|
|
@@ -44,6 +23,7 @@ module Google
|
|
|
44
23
|
DataDiscoverySpec::StorageConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig").msgclass
|
|
45
24
|
DataDiscoverySpec::StorageConfig::CsvOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.CsvOptions").msgclass
|
|
46
25
|
DataDiscoverySpec::StorageConfig::JsonOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptions").msgclass
|
|
26
|
+
DataDiscoverySpec::StorageConfig::UnstructuredDataOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.UnstructuredDataOptions").msgclass
|
|
47
27
|
DataDiscoveryResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDiscoveryResult").msgclass
|
|
48
28
|
DataDiscoveryResult::BigQueryPublishing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDiscoveryResult.BigQueryPublishing").msgclass
|
|
49
29
|
DataDiscoveryResult::ScanStatistics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDiscoveryResult.ScanStatistics").msgclass
|
|
@@ -5,41 +5,27 @@
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/resource_pb'
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
descriptor_data = "\n1google/cloud/dataplex/v1/data_documentation.proto\x12\x18google.cloud.dataplex.v1\x1a\x1fgoogle/api/field_behavior.proto\"\
|
|
11
|
+
descriptor_data = "\n1google/cloud/dataplex/v1/data_documentation.proto\x12\x18google.cloud.dataplex.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x93\x02\n\x15\x44\x61taDocumentationSpec\x12\'\n\x1a\x63\x61talog_publishing_enabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12_\n\x11generation_scopes\x18\x03 \x03(\x0e\x32?.google.cloud.dataplex.v1.DataDocumentationSpec.GenerationScopeB\x03\xe0\x41\x01\"p\n\x0fGenerationScope\x12 \n\x1cGENERATION_SCOPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41LL\x10\x01\x12!\n\x1dTABLE_AND_COLUMN_DESCRIPTIONS\x10\x02\x12\x0f\n\x0bSQL_QUERIES\x10\x03\"\xa8\x0c\n\x17\x44\x61taDocumentationResult\x12^\n\x0e\x64\x61taset_result\x18\x07 \x01(\x0b\x32?.google.cloud.dataplex.v1.DataDocumentationResult.DatasetResultB\x03\xe0\x41\x03H\x00\x12Z\n\x0ctable_result\x18\x08 \x01(\x0b\x32=.google.cloud.dataplex.v1.DataDocumentationResult.TableResultB\x03\xe0\x41\x03H\x00\x1a\xde\x01\n\rDatasetResult\x12\x15\n\x08overview\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12g\n\x14schema_relationships\x18\x03 \x03(\x0b\x32\x44.google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationshipB\x03\xe0\x41\x03\x12M\n\x07queries\x18\x04 \x03(\x0b\x32\x37.google.cloud.dataplex.v1.DataDocumentationResult.QueryB\x03\xe0\x41\x03\x1a\xd5\x01\n\x0bTableResult\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08overview\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12M\n\x06schema\x18\x03 \x01(\x0b\x32\x38.google.cloud.dataplex.v1.DataDocumentationResult.SchemaB\x03\xe0\x41\x03\x12M\n\x07queries\x18\x04 \x03(\x0b\x32\x37.google.cloud.dataplex.v1.DataDocumentationResult.QueryB\x03\xe0\x41\x03\x1a\xfb\x04\n\x12SchemaRelationship\x12p\n\x11left_schema_paths\x18\x01 \x01(\x0b\x32P.google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPathsB\x03\xe0\x41\x03\x12q\n\x12right_schema_paths\x18\x02 \x01(\x0b\x32P.google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPathsB\x03\xe0\x41\x03\x12\x61\n\x07sources\x18\x04 \x03(\x0e\x32K.google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.SourceB\x03\xe0\x41\x03\x12\\\n\x04type\x18\x06 \x01(\x0e\x32I.google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.TypeB\x03\xe0\x41\x03\x1a\x39\n\x0bSchemaPaths\x12\x16\n\ttable_fqn\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05paths\x18\x02 \x03(\tB\x03\xe0\x41\x03\"U\n\x06Source\x12\x16\n\x12SOURCE_UNSPECIFIED\x10\x00\x12\t\n\x05\x41GENT\x10\x04\x12\x11\n\rQUERY_HISTORY\x10\x05\x12\x15\n\x11TABLE_CONSTRAINTS\x10\x06\"-\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSCHEMA_JOIN\x10\x01\x1a\x33\n\x05Query\x12\x10\n\x03sql\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x03\x1aV\n\x06Schema\x12L\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x37.google.cloud.dataplex.v1.DataDocumentationResult.FieldB\x03\xe0\x41\x03\x1a\x82\x01\n\x05\x46ield\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12L\n\x06\x66ields\x18\x03 \x03(\x0b\x32\x37.google.cloud.dataplex.v1.DataDocumentationResult.FieldB\x03\xe0\x41\x03\x42\x08\n\x06resultBr\n\x1c\x63om.google.cloud.dataplex.v1B\x16\x44\x61taDocumentationProtoP\x01Z8cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpbb\x06proto3"
|
|
11
12
|
|
|
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
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
35
15
|
|
|
36
16
|
module Google
|
|
37
17
|
module Cloud
|
|
38
18
|
module Dataplex
|
|
39
19
|
module V1
|
|
40
20
|
DataDocumentationSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDocumentationSpec").msgclass
|
|
21
|
+
DataDocumentationSpec::GenerationScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDocumentationSpec.GenerationScope").enummodule
|
|
41
22
|
DataDocumentationResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDocumentationResult").msgclass
|
|
23
|
+
DataDocumentationResult::DatasetResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDocumentationResult.DatasetResult").msgclass
|
|
42
24
|
DataDocumentationResult::TableResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDocumentationResult.TableResult").msgclass
|
|
25
|
+
DataDocumentationResult::SchemaRelationship = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship").msgclass
|
|
26
|
+
DataDocumentationResult::SchemaRelationship::SchemaPaths = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.SchemaPaths").msgclass
|
|
27
|
+
DataDocumentationResult::SchemaRelationship::Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Source").enummodule
|
|
28
|
+
DataDocumentationResult::SchemaRelationship::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDocumentationResult.SchemaRelationship.Type").enummodule
|
|
43
29
|
DataDocumentationResult::Query = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDocumentationResult.Query").msgclass
|
|
44
30
|
DataDocumentationResult::Schema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDocumentationResult.Schema").msgclass
|
|
45
31
|
DataDocumentationResult::Field = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDocumentationResult.Field").msgclass
|