google-cloud-data_catalog-v1 0.15.0 → 0.16.1
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/data_catalog/v1/data_catalog/client.rb +22 -49
- data/lib/google/cloud/data_catalog/v1/data_catalog/operations.rb +3 -1
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest/client.rb +22 -49
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest/operations.rb +7 -5
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest/service_stub.rb +34 -34
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +4 -2
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/rest/client.rb +4 -2
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/rest/service_stub.rb +13 -13
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +4 -2
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/rest/client.rb +4 -2
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/rest/service_stub.rb +3 -3
- data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
- data/lib/google/cloud/datacatalog/v1/bigquery_pb.rb +24 -25
- data/lib/google/cloud/datacatalog/v1/common_pb.rb +25 -19
- data/lib/google/cloud/datacatalog/v1/data_source_pb.rb +24 -18
- data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +41 -339
- data/lib/google/cloud/datacatalog/v1/dataplex_spec_pb.rb +25 -21
- data/lib/google/cloud/datacatalog/v1/dump_content_pb.rb +27 -13
- data/lib/google/cloud/datacatalog/v1/gcs_fileset_spec_pb.rb +25 -10
- data/lib/google/cloud/datacatalog/v1/physical_schema_pb.rb +24 -26
- data/lib/google/cloud/datacatalog/v1/policytagmanager_pb.rb +26 -72
- data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb +25 -43
- data/lib/google/cloud/datacatalog/v1/schema_pb.rb +24 -36
- data/lib/google/cloud/datacatalog/v1/search_pb.rb +25 -21
- data/lib/google/cloud/datacatalog/v1/table_spec_pb.rb +24 -26
- data/lib/google/cloud/datacatalog/v1/tags_pb.rb +25 -59
- data/lib/google/cloud/datacatalog/v1/timestamps_pb.rb +25 -6
- data/lib/google/cloud/datacatalog/v1/usage_pb.rb +25 -16
- data/proto_docs/google/api/client.rb +58 -1
- data/proto_docs/google/cloud/datacatalog/v1/common.rb +6 -0
- data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +84 -20
- data/proto_docs/google/cloud/datacatalog/v1/dump_content.rb +2 -2
- data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 28bf630d534794238c253df00f1dbf9b82357d941b98c2688fe8b67655c63c8a
|
|
4
|
+
data.tar.gz: 5f990c62a7ce46831e25564615b90cba47c7a918032cceb947078acaefaa4b01
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49ad8a5f5a98fb81113b4dc50350f5e9f8f47eabf0aac63db5cada8bb303ceaa3db01b93e2875254a823dc11cb12888b7ac28f2fd9efce8c1f944c2d41deaee0
|
|
7
|
+
data.tar.gz: 3735bb02ab975e35e07bf448870e037fe94340049652d7931072f47b61f4414b57da0f968f60de193aff4a3c7a6f3dff8b35ed8c3e2e7a1e786972853adbce3c
|
|
@@ -67,50 +67,8 @@ module Google
|
|
|
67
67
|
default_config = Client::Configuration.new parent_config
|
|
68
68
|
|
|
69
69
|
default_config.timeout = 60.0
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
default_config.rpcs.search_catalog.retry_policy = {
|
|
73
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
default_config.rpcs.get_entry_group.timeout = 60.0
|
|
77
|
-
default_config.rpcs.get_entry_group.retry_policy = {
|
|
78
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
default_config.rpcs.list_entry_groups.timeout = 60.0
|
|
82
|
-
default_config.rpcs.list_entry_groups.retry_policy = {
|
|
83
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
default_config.rpcs.get_entry.timeout = 60.0
|
|
87
|
-
default_config.rpcs.get_entry.retry_policy = {
|
|
88
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
default_config.rpcs.lookup_entry.timeout = 60.0
|
|
92
|
-
default_config.rpcs.lookup_entry.retry_policy = {
|
|
93
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
default_config.rpcs.list_entries.timeout = 60.0
|
|
97
|
-
default_config.rpcs.list_entries.retry_policy = {
|
|
98
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
default_config.rpcs.list_tags.timeout = 60.0
|
|
102
|
-
default_config.rpcs.list_tags.retry_policy = {
|
|
103
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
default_config.rpcs.get_iam_policy.timeout = 60.0
|
|
107
|
-
default_config.rpcs.get_iam_policy.retry_policy = {
|
|
108
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
default_config.rpcs.import_entries.timeout = 60.0
|
|
112
|
-
default_config.rpcs.import_entries.retry_policy = {
|
|
113
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
70
|
+
default_config.retry_policy = {
|
|
71
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 8, 13]
|
|
114
72
|
}
|
|
115
73
|
|
|
116
74
|
default_config
|
|
@@ -172,7 +130,7 @@ module Google
|
|
|
172
130
|
credentials = @config.credentials
|
|
173
131
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
174
132
|
# but only if the default endpoint does not have a region prefix.
|
|
175
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
133
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
176
134
|
!@config.endpoint.split(".").first.include?("-")
|
|
177
135
|
credentials ||= Credentials.default scope: @config.scope,
|
|
178
136
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -1275,7 +1233,7 @@ module Google
|
|
|
1275
1233
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1276
1234
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1277
1235
|
#
|
|
1278
|
-
# @overload lookup_entry(linked_resource: nil, sql_resource: nil, fully_qualified_name: nil)
|
|
1236
|
+
# @overload lookup_entry(linked_resource: nil, sql_resource: nil, fully_qualified_name: nil, project: nil, location: nil)
|
|
1279
1237
|
# Pass arguments to `lookup_entry` via keyword arguments. Note that at
|
|
1280
1238
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1281
1239
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1304,7 +1262,9 @@ module Google
|
|
|
1304
1262
|
# [Lexical structure in Standard SQL]
|
|
1305
1263
|
# (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
|
|
1306
1264
|
# @param fully_qualified_name [::String]
|
|
1307
|
-
# Fully
|
|
1265
|
+
# [Fully Qualified Name
|
|
1266
|
+
# (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
|
|
1267
|
+
# of the resource.
|
|
1308
1268
|
#
|
|
1309
1269
|
# FQNs take two forms:
|
|
1310
1270
|
#
|
|
@@ -1319,6 +1279,14 @@ module Google
|
|
|
1319
1279
|
# Example for a DPMS table:
|
|
1320
1280
|
#
|
|
1321
1281
|
# `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}`
|
|
1282
|
+
# @param project [::String]
|
|
1283
|
+
# Project where the lookup should be performed. Required to lookup
|
|
1284
|
+
# entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
|
|
1285
|
+
# using its `fully_qualified_name`. Ignored in other cases.
|
|
1286
|
+
# @param location [::String]
|
|
1287
|
+
# Location where the lookup should be performed. Required to lookup
|
|
1288
|
+
# entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
|
|
1289
|
+
# using its `fully_qualified_name`. Ignored in other cases.
|
|
1322
1290
|
#
|
|
1323
1291
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1324
1292
|
# @yieldparam response [::Google::Cloud::DataCatalog::V1::Entry]
|
|
@@ -3560,7 +3528,7 @@ module Google
|
|
|
3560
3528
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3561
3529
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3562
3530
|
#
|
|
3563
|
-
# @overload import_entries(parent: nil, gcs_bucket_path: nil)
|
|
3531
|
+
# @overload import_entries(parent: nil, gcs_bucket_path: nil, job_id: nil)
|
|
3564
3532
|
# Pass arguments to `import_entries` via keyword arguments. Note that at
|
|
3565
3533
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3566
3534
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -3569,6 +3537,9 @@ module Google
|
|
|
3569
3537
|
# Required. Target entry group for ingested entries.
|
|
3570
3538
|
# @param gcs_bucket_path [::String]
|
|
3571
3539
|
# Path to a Cloud Storage bucket that contains a dump ready for ingestion.
|
|
3540
|
+
# @param job_id [::String]
|
|
3541
|
+
# Optional. (Optional) Dataplex task job id, if specified will be used as
|
|
3542
|
+
# part of ImportEntries LRO ID
|
|
3572
3543
|
#
|
|
3573
3544
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3574
3545
|
# @yieldparam response [::Gapic::Operation]
|
|
@@ -3724,7 +3695,9 @@ module Google
|
|
|
3724
3695
|
class Configuration
|
|
3725
3696
|
extend ::Gapic::Config
|
|
3726
3697
|
|
|
3727
|
-
|
|
3698
|
+
DEFAULT_ENDPOINT = "datacatalog.googleapis.com"
|
|
3699
|
+
|
|
3700
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
3728
3701
|
config_attr :credentials, nil do |value|
|
|
3729
3702
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
3730
3703
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
@@ -664,7 +664,9 @@ module Google
|
|
|
664
664
|
class Configuration
|
|
665
665
|
extend ::Gapic::Config
|
|
666
666
|
|
|
667
|
-
|
|
667
|
+
DEFAULT_ENDPOINT = "datacatalog.googleapis.com"
|
|
668
|
+
|
|
669
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
668
670
|
config_attr :credentials, nil do |value|
|
|
669
671
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
670
672
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
@@ -69,50 +69,8 @@ module Google
|
|
|
69
69
|
default_config = Client::Configuration.new parent_config
|
|
70
70
|
|
|
71
71
|
default_config.timeout = 60.0
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
default_config.rpcs.search_catalog.retry_policy = {
|
|
75
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
default_config.rpcs.get_entry_group.timeout = 60.0
|
|
79
|
-
default_config.rpcs.get_entry_group.retry_policy = {
|
|
80
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
default_config.rpcs.list_entry_groups.timeout = 60.0
|
|
84
|
-
default_config.rpcs.list_entry_groups.retry_policy = {
|
|
85
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
default_config.rpcs.get_entry.timeout = 60.0
|
|
89
|
-
default_config.rpcs.get_entry.retry_policy = {
|
|
90
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
default_config.rpcs.lookup_entry.timeout = 60.0
|
|
94
|
-
default_config.rpcs.lookup_entry.retry_policy = {
|
|
95
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
default_config.rpcs.list_entries.timeout = 60.0
|
|
99
|
-
default_config.rpcs.list_entries.retry_policy = {
|
|
100
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
default_config.rpcs.list_tags.timeout = 60.0
|
|
104
|
-
default_config.rpcs.list_tags.retry_policy = {
|
|
105
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
default_config.rpcs.get_iam_policy.timeout = 60.0
|
|
109
|
-
default_config.rpcs.get_iam_policy.retry_policy = {
|
|
110
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
default_config.rpcs.import_entries.timeout = 60.0
|
|
114
|
-
default_config.rpcs.import_entries.retry_policy = {
|
|
115
|
-
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
72
|
+
default_config.retry_policy = {
|
|
73
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 8, 13]
|
|
116
74
|
}
|
|
117
75
|
|
|
118
76
|
default_config
|
|
@@ -168,7 +126,7 @@ module Google
|
|
|
168
126
|
credentials = @config.credentials
|
|
169
127
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
170
128
|
# but only if the default endpoint does not have a region prefix.
|
|
171
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
129
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
172
130
|
!@config.endpoint.split(".").first.include?("-")
|
|
173
131
|
credentials ||= Credentials.default scope: @config.scope,
|
|
174
132
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -1035,7 +993,7 @@ module Google
|
|
|
1035
993
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1036
994
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1037
995
|
#
|
|
1038
|
-
# @overload lookup_entry(linked_resource: nil, sql_resource: nil, fully_qualified_name: nil)
|
|
996
|
+
# @overload lookup_entry(linked_resource: nil, sql_resource: nil, fully_qualified_name: nil, project: nil, location: nil)
|
|
1039
997
|
# Pass arguments to `lookup_entry` via keyword arguments. Note that at
|
|
1040
998
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1041
999
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1064,7 +1022,9 @@ module Google
|
|
|
1064
1022
|
# [Lexical structure in Standard SQL]
|
|
1065
1023
|
# (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
|
|
1066
1024
|
# @param fully_qualified_name [::String]
|
|
1067
|
-
# Fully
|
|
1025
|
+
# [Fully Qualified Name
|
|
1026
|
+
# (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
|
|
1027
|
+
# of the resource.
|
|
1068
1028
|
#
|
|
1069
1029
|
# FQNs take two forms:
|
|
1070
1030
|
#
|
|
@@ -1079,6 +1039,14 @@ module Google
|
|
|
1079
1039
|
# Example for a DPMS table:
|
|
1080
1040
|
#
|
|
1081
1041
|
# `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}`
|
|
1042
|
+
# @param project [::String]
|
|
1043
|
+
# Project where the lookup should be performed. Required to lookup
|
|
1044
|
+
# entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
|
|
1045
|
+
# using its `fully_qualified_name`. Ignored in other cases.
|
|
1046
|
+
# @param location [::String]
|
|
1047
|
+
# Location where the lookup should be performed. Required to lookup
|
|
1048
|
+
# entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
|
|
1049
|
+
# using its `fully_qualified_name`. Ignored in other cases.
|
|
1082
1050
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1083
1051
|
# @yieldparam result [::Google::Cloud::DataCatalog::V1::Entry]
|
|
1084
1052
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -2784,7 +2752,7 @@ module Google
|
|
|
2784
2752
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2785
2753
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2786
2754
|
#
|
|
2787
|
-
# @overload import_entries(parent: nil, gcs_bucket_path: nil)
|
|
2755
|
+
# @overload import_entries(parent: nil, gcs_bucket_path: nil, job_id: nil)
|
|
2788
2756
|
# Pass arguments to `import_entries` via keyword arguments. Note that at
|
|
2789
2757
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2790
2758
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2793,6 +2761,9 @@ module Google
|
|
|
2793
2761
|
# Required. Target entry group for ingested entries.
|
|
2794
2762
|
# @param gcs_bucket_path [::String]
|
|
2795
2763
|
# Path to a Cloud Storage bucket that contains a dump ready for ingestion.
|
|
2764
|
+
# @param job_id [::String]
|
|
2765
|
+
# Optional. (Optional) Dataplex task job id, if specified will be used as
|
|
2766
|
+
# part of ImportEntries LRO ID
|
|
2796
2767
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2797
2768
|
# @yieldparam result [::Gapic::Operation]
|
|
2798
2769
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -2909,7 +2880,9 @@ module Google
|
|
|
2909
2880
|
class Configuration
|
|
2910
2881
|
extend ::Gapic::Config
|
|
2911
2882
|
|
|
2912
|
-
|
|
2883
|
+
DEFAULT_ENDPOINT = "datacatalog.googleapis.com"
|
|
2884
|
+
|
|
2885
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
2913
2886
|
config_attr :credentials, nil do |value|
|
|
2914
2887
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
2915
2888
|
allowed.any? { |klass| klass === value }
|
|
@@ -446,7 +446,9 @@ module Google
|
|
|
446
446
|
class Configuration
|
|
447
447
|
extend ::Gapic::Config
|
|
448
448
|
|
|
449
|
-
|
|
449
|
+
DEFAULT_ENDPOINT = "datacatalog.googleapis.com"
|
|
450
|
+
|
|
451
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
450
452
|
config_attr :credentials, nil do |value|
|
|
451
453
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
452
454
|
allowed.any? { |klass| klass === value }
|
|
@@ -567,7 +569,7 @@ module Google
|
|
|
567
569
|
|
|
568
570
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
|
|
569
571
|
query_string_params = if query_string_params.any?
|
|
570
|
-
query_string_params.to_h { |p| p.split
|
|
572
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
571
573
|
else
|
|
572
574
|
{}
|
|
573
575
|
end
|
|
@@ -605,7 +607,7 @@ module Google
|
|
|
605
607
|
|
|
606
608
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
|
|
607
609
|
query_string_params = if query_string_params.any?
|
|
608
|
-
query_string_params.to_h { |p| p.split
|
|
610
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
609
611
|
else
|
|
610
612
|
{}
|
|
611
613
|
end
|
|
@@ -643,7 +645,7 @@ module Google
|
|
|
643
645
|
|
|
644
646
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
|
|
645
647
|
query_string_params = if query_string_params.any?
|
|
646
|
-
query_string_params.to_h { |p| p.split
|
|
648
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
647
649
|
else
|
|
648
650
|
{}
|
|
649
651
|
end
|
|
@@ -681,7 +683,7 @@ module Google
|
|
|
681
683
|
|
|
682
684
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
|
|
683
685
|
query_string_params = if query_string_params.any?
|
|
684
|
-
query_string_params.to_h { |p| p.split
|
|
686
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
685
687
|
else
|
|
686
688
|
{}
|
|
687
689
|
end
|
|
@@ -59,7 +59,7 @@ module Google
|
|
|
59
59
|
|
|
60
60
|
verb, uri, query_string_params, body = ServiceStub.transcode_search_catalog_request request_pb
|
|
61
61
|
query_string_params = if query_string_params.any?
|
|
62
|
-
query_string_params.to_h { |p| p.split
|
|
62
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
63
63
|
else
|
|
64
64
|
{}
|
|
65
65
|
end
|
|
@@ -97,7 +97,7 @@ module Google
|
|
|
97
97
|
|
|
98
98
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_entry_group_request request_pb
|
|
99
99
|
query_string_params = if query_string_params.any?
|
|
100
|
-
query_string_params.to_h { |p| p.split
|
|
100
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
101
101
|
else
|
|
102
102
|
{}
|
|
103
103
|
end
|
|
@@ -135,7 +135,7 @@ module Google
|
|
|
135
135
|
|
|
136
136
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_entry_group_request request_pb
|
|
137
137
|
query_string_params = if query_string_params.any?
|
|
138
|
-
query_string_params.to_h { |p| p.split
|
|
138
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
139
139
|
else
|
|
140
140
|
{}
|
|
141
141
|
end
|
|
@@ -173,7 +173,7 @@ module Google
|
|
|
173
173
|
|
|
174
174
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_entry_group_request request_pb
|
|
175
175
|
query_string_params = if query_string_params.any?
|
|
176
|
-
query_string_params.to_h { |p| p.split
|
|
176
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
177
177
|
else
|
|
178
178
|
{}
|
|
179
179
|
end
|
|
@@ -211,7 +211,7 @@ module Google
|
|
|
211
211
|
|
|
212
212
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_entry_group_request request_pb
|
|
213
213
|
query_string_params = if query_string_params.any?
|
|
214
|
-
query_string_params.to_h { |p| p.split
|
|
214
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
215
215
|
else
|
|
216
216
|
{}
|
|
217
217
|
end
|
|
@@ -249,7 +249,7 @@ module Google
|
|
|
249
249
|
|
|
250
250
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_entry_groups_request request_pb
|
|
251
251
|
query_string_params = if query_string_params.any?
|
|
252
|
-
query_string_params.to_h { |p| p.split
|
|
252
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
253
253
|
else
|
|
254
254
|
{}
|
|
255
255
|
end
|
|
@@ -287,7 +287,7 @@ module Google
|
|
|
287
287
|
|
|
288
288
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_entry_request request_pb
|
|
289
289
|
query_string_params = if query_string_params.any?
|
|
290
|
-
query_string_params.to_h { |p| p.split
|
|
290
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
291
291
|
else
|
|
292
292
|
{}
|
|
293
293
|
end
|
|
@@ -325,7 +325,7 @@ module Google
|
|
|
325
325
|
|
|
326
326
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_entry_request request_pb
|
|
327
327
|
query_string_params = if query_string_params.any?
|
|
328
|
-
query_string_params.to_h { |p| p.split
|
|
328
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
329
329
|
else
|
|
330
330
|
{}
|
|
331
331
|
end
|
|
@@ -363,7 +363,7 @@ module Google
|
|
|
363
363
|
|
|
364
364
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_entry_request request_pb
|
|
365
365
|
query_string_params = if query_string_params.any?
|
|
366
|
-
query_string_params.to_h { |p| p.split
|
|
366
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
367
367
|
else
|
|
368
368
|
{}
|
|
369
369
|
end
|
|
@@ -401,7 +401,7 @@ module Google
|
|
|
401
401
|
|
|
402
402
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_entry_request request_pb
|
|
403
403
|
query_string_params = if query_string_params.any?
|
|
404
|
-
query_string_params.to_h { |p| p.split
|
|
404
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
405
405
|
else
|
|
406
406
|
{}
|
|
407
407
|
end
|
|
@@ -439,7 +439,7 @@ module Google
|
|
|
439
439
|
|
|
440
440
|
verb, uri, query_string_params, body = ServiceStub.transcode_lookup_entry_request request_pb
|
|
441
441
|
query_string_params = if query_string_params.any?
|
|
442
|
-
query_string_params.to_h { |p| p.split
|
|
442
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
443
443
|
else
|
|
444
444
|
{}
|
|
445
445
|
end
|
|
@@ -477,7 +477,7 @@ module Google
|
|
|
477
477
|
|
|
478
478
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_entries_request request_pb
|
|
479
479
|
query_string_params = if query_string_params.any?
|
|
480
|
-
query_string_params.to_h { |p| p.split
|
|
480
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
481
481
|
else
|
|
482
482
|
{}
|
|
483
483
|
end
|
|
@@ -515,7 +515,7 @@ module Google
|
|
|
515
515
|
|
|
516
516
|
verb, uri, query_string_params, body = ServiceStub.transcode_modify_entry_overview_request request_pb
|
|
517
517
|
query_string_params = if query_string_params.any?
|
|
518
|
-
query_string_params.to_h { |p| p.split
|
|
518
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
519
519
|
else
|
|
520
520
|
{}
|
|
521
521
|
end
|
|
@@ -553,7 +553,7 @@ module Google
|
|
|
553
553
|
|
|
554
554
|
verb, uri, query_string_params, body = ServiceStub.transcode_modify_entry_contacts_request request_pb
|
|
555
555
|
query_string_params = if query_string_params.any?
|
|
556
|
-
query_string_params.to_h { |p| p.split
|
|
556
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
557
557
|
else
|
|
558
558
|
{}
|
|
559
559
|
end
|
|
@@ -591,7 +591,7 @@ module Google
|
|
|
591
591
|
|
|
592
592
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_tag_template_request request_pb
|
|
593
593
|
query_string_params = if query_string_params.any?
|
|
594
|
-
query_string_params.to_h { |p| p.split
|
|
594
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
595
595
|
else
|
|
596
596
|
{}
|
|
597
597
|
end
|
|
@@ -629,7 +629,7 @@ module Google
|
|
|
629
629
|
|
|
630
630
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_tag_template_request request_pb
|
|
631
631
|
query_string_params = if query_string_params.any?
|
|
632
|
-
query_string_params.to_h { |p| p.split
|
|
632
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
633
633
|
else
|
|
634
634
|
{}
|
|
635
635
|
end
|
|
@@ -667,7 +667,7 @@ module Google
|
|
|
667
667
|
|
|
668
668
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_tag_template_request request_pb
|
|
669
669
|
query_string_params = if query_string_params.any?
|
|
670
|
-
query_string_params.to_h { |p| p.split
|
|
670
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
671
671
|
else
|
|
672
672
|
{}
|
|
673
673
|
end
|
|
@@ -705,7 +705,7 @@ module Google
|
|
|
705
705
|
|
|
706
706
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_tag_template_request request_pb
|
|
707
707
|
query_string_params = if query_string_params.any?
|
|
708
|
-
query_string_params.to_h { |p| p.split
|
|
708
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
709
709
|
else
|
|
710
710
|
{}
|
|
711
711
|
end
|
|
@@ -743,7 +743,7 @@ module Google
|
|
|
743
743
|
|
|
744
744
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_tag_template_field_request request_pb
|
|
745
745
|
query_string_params = if query_string_params.any?
|
|
746
|
-
query_string_params.to_h { |p| p.split
|
|
746
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
747
747
|
else
|
|
748
748
|
{}
|
|
749
749
|
end
|
|
@@ -781,7 +781,7 @@ module Google
|
|
|
781
781
|
|
|
782
782
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_tag_template_field_request request_pb
|
|
783
783
|
query_string_params = if query_string_params.any?
|
|
784
|
-
query_string_params.to_h { |p| p.split
|
|
784
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
785
785
|
else
|
|
786
786
|
{}
|
|
787
787
|
end
|
|
@@ -819,7 +819,7 @@ module Google
|
|
|
819
819
|
|
|
820
820
|
verb, uri, query_string_params, body = ServiceStub.transcode_rename_tag_template_field_request request_pb
|
|
821
821
|
query_string_params = if query_string_params.any?
|
|
822
|
-
query_string_params.to_h { |p| p.split
|
|
822
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
823
823
|
else
|
|
824
824
|
{}
|
|
825
825
|
end
|
|
@@ -857,7 +857,7 @@ module Google
|
|
|
857
857
|
|
|
858
858
|
verb, uri, query_string_params, body = ServiceStub.transcode_rename_tag_template_field_enum_value_request request_pb
|
|
859
859
|
query_string_params = if query_string_params.any?
|
|
860
|
-
query_string_params.to_h { |p| p.split
|
|
860
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
861
861
|
else
|
|
862
862
|
{}
|
|
863
863
|
end
|
|
@@ -895,7 +895,7 @@ module Google
|
|
|
895
895
|
|
|
896
896
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_tag_template_field_request request_pb
|
|
897
897
|
query_string_params = if query_string_params.any?
|
|
898
|
-
query_string_params.to_h { |p| p.split
|
|
898
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
899
899
|
else
|
|
900
900
|
{}
|
|
901
901
|
end
|
|
@@ -933,7 +933,7 @@ module Google
|
|
|
933
933
|
|
|
934
934
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_tag_request request_pb
|
|
935
935
|
query_string_params = if query_string_params.any?
|
|
936
|
-
query_string_params.to_h { |p| p.split
|
|
936
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
937
937
|
else
|
|
938
938
|
{}
|
|
939
939
|
end
|
|
@@ -971,7 +971,7 @@ module Google
|
|
|
971
971
|
|
|
972
972
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_tag_request request_pb
|
|
973
973
|
query_string_params = if query_string_params.any?
|
|
974
|
-
query_string_params.to_h { |p| p.split
|
|
974
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
975
975
|
else
|
|
976
976
|
{}
|
|
977
977
|
end
|
|
@@ -1009,7 +1009,7 @@ module Google
|
|
|
1009
1009
|
|
|
1010
1010
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_tag_request request_pb
|
|
1011
1011
|
query_string_params = if query_string_params.any?
|
|
1012
|
-
query_string_params.to_h { |p| p.split
|
|
1012
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1013
1013
|
else
|
|
1014
1014
|
{}
|
|
1015
1015
|
end
|
|
@@ -1047,7 +1047,7 @@ module Google
|
|
|
1047
1047
|
|
|
1048
1048
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_tags_request request_pb
|
|
1049
1049
|
query_string_params = if query_string_params.any?
|
|
1050
|
-
query_string_params.to_h { |p| p.split
|
|
1050
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1051
1051
|
else
|
|
1052
1052
|
{}
|
|
1053
1053
|
end
|
|
@@ -1085,7 +1085,7 @@ module Google
|
|
|
1085
1085
|
|
|
1086
1086
|
verb, uri, query_string_params, body = ServiceStub.transcode_reconcile_tags_request request_pb
|
|
1087
1087
|
query_string_params = if query_string_params.any?
|
|
1088
|
-
query_string_params.to_h { |p| p.split
|
|
1088
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1089
1089
|
else
|
|
1090
1090
|
{}
|
|
1091
1091
|
end
|
|
@@ -1123,7 +1123,7 @@ module Google
|
|
|
1123
1123
|
|
|
1124
1124
|
verb, uri, query_string_params, body = ServiceStub.transcode_star_entry_request request_pb
|
|
1125
1125
|
query_string_params = if query_string_params.any?
|
|
1126
|
-
query_string_params.to_h { |p| p.split
|
|
1126
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1127
1127
|
else
|
|
1128
1128
|
{}
|
|
1129
1129
|
end
|
|
@@ -1161,7 +1161,7 @@ module Google
|
|
|
1161
1161
|
|
|
1162
1162
|
verb, uri, query_string_params, body = ServiceStub.transcode_unstar_entry_request request_pb
|
|
1163
1163
|
query_string_params = if query_string_params.any?
|
|
1164
|
-
query_string_params.to_h { |p| p.split
|
|
1164
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1165
1165
|
else
|
|
1166
1166
|
{}
|
|
1167
1167
|
end
|
|
@@ -1199,7 +1199,7 @@ module Google
|
|
|
1199
1199
|
|
|
1200
1200
|
verb, uri, query_string_params, body = ServiceStub.transcode_set_iam_policy_request request_pb
|
|
1201
1201
|
query_string_params = if query_string_params.any?
|
|
1202
|
-
query_string_params.to_h { |p| p.split
|
|
1202
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1203
1203
|
else
|
|
1204
1204
|
{}
|
|
1205
1205
|
end
|
|
@@ -1237,7 +1237,7 @@ module Google
|
|
|
1237
1237
|
|
|
1238
1238
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_iam_policy_request request_pb
|
|
1239
1239
|
query_string_params = if query_string_params.any?
|
|
1240
|
-
query_string_params.to_h { |p| p.split
|
|
1240
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1241
1241
|
else
|
|
1242
1242
|
{}
|
|
1243
1243
|
end
|
|
@@ -1275,7 +1275,7 @@ module Google
|
|
|
1275
1275
|
|
|
1276
1276
|
verb, uri, query_string_params, body = ServiceStub.transcode_test_iam_permissions_request request_pb
|
|
1277
1277
|
query_string_params = if query_string_params.any?
|
|
1278
|
-
query_string_params.to_h { |p| p.split
|
|
1278
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1279
1279
|
else
|
|
1280
1280
|
{}
|
|
1281
1281
|
end
|
|
@@ -1313,7 +1313,7 @@ module Google
|
|
|
1313
1313
|
|
|
1314
1314
|
verb, uri, query_string_params, body = ServiceStub.transcode_import_entries_request request_pb
|
|
1315
1315
|
query_string_params = if query_string_params.any?
|
|
1316
|
-
query_string_params.to_h { |p| p.split
|
|
1316
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
1317
1317
|
else
|
|
1318
1318
|
{}
|
|
1319
1319
|
end
|
|
@@ -131,7 +131,7 @@ module Google
|
|
|
131
131
|
credentials = @config.credentials
|
|
132
132
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
133
133
|
# but only if the default endpoint does not have a region prefix.
|
|
134
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
134
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
135
135
|
!@config.endpoint.split(".").first.include?("-")
|
|
136
136
|
credentials ||= Credentials.default scope: @config.scope,
|
|
137
137
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -1440,7 +1440,9 @@ module Google
|
|
|
1440
1440
|
class Configuration
|
|
1441
1441
|
extend ::Gapic::Config
|
|
1442
1442
|
|
|
1443
|
-
|
|
1443
|
+
DEFAULT_ENDPOINT = "datacatalog.googleapis.com"
|
|
1444
|
+
|
|
1445
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
1444
1446
|
config_attr :credentials, nil do |value|
|
|
1445
1447
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
1446
1448
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|