google-cloud-dataform-v1beta1 0.6.0 → 0.6.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/dataform/v1beta1/dataform/client.rb +14 -14
- data/lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb +11 -11
- data/lib/google/cloud/dataform/v1beta1/dataform/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dataform/v1beta1/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f33530c03e98fa4cda81d78edc1ed6cb3320431c4ee51005c226c89d1d51d444
|
|
4
|
+
data.tar.gz: f6e43eeba166b3713e2c5905c4cef0b5f1ccc2c11fb341249c14ee07302a1f41
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 88e7841ebe509b3dfee7004c2442d4de83180d2287f0485a10f9b00735ef411768e50bca3a508dcbc1efded07bf65ecff93610bea584e728e68fa408240f4c3e
|
|
7
|
+
data.tar.gz: 2904c97d882a1825c72eccda3a8496169266d388a9d909647ce66eb9cd14fae8befa5ffb7068ab40c43f751eef8febd4d0069e2cd2c83965dd2bafa177d8535a
|
|
@@ -149,20 +149,6 @@ module Google
|
|
|
149
149
|
@quota_project_id = @config.quota_project
|
|
150
150
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
|
151
151
|
|
|
152
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
153
|
-
config.credentials = credentials
|
|
154
|
-
config.quota_project = @quota_project_id
|
|
155
|
-
config.endpoint = @config.endpoint
|
|
156
|
-
config.universe_domain = @config.universe_domain
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
|
160
|
-
config.credentials = credentials
|
|
161
|
-
config.quota_project = @quota_project_id
|
|
162
|
-
config.endpoint = @config.endpoint
|
|
163
|
-
config.universe_domain = @config.universe_domain
|
|
164
|
-
end
|
|
165
|
-
|
|
166
152
|
@dataform_stub = ::Gapic::ServiceStub.new(
|
|
167
153
|
::Google::Cloud::Dataform::V1beta1::Dataform::Stub,
|
|
168
154
|
credentials: credentials,
|
|
@@ -173,6 +159,20 @@ module Google
|
|
|
173
159
|
interceptors: @config.interceptors,
|
|
174
160
|
channel_pool_config: @config.channel_pool
|
|
175
161
|
)
|
|
162
|
+
|
|
163
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
164
|
+
config.credentials = credentials
|
|
165
|
+
config.quota_project = @quota_project_id
|
|
166
|
+
config.endpoint = @dataform_stub.endpoint
|
|
167
|
+
config.universe_domain = @dataform_stub.universe_domain
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
|
171
|
+
config.credentials = credentials
|
|
172
|
+
config.quota_project = @quota_project_id
|
|
173
|
+
config.endpoint = @dataform_stub.endpoint
|
|
174
|
+
config.universe_domain = @dataform_stub.universe_domain
|
|
175
|
+
end
|
|
176
176
|
end
|
|
177
177
|
|
|
178
178
|
##
|
|
@@ -146,28 +146,28 @@ module Google
|
|
|
146
146
|
@quota_project_id = @config.quota_project
|
|
147
147
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
|
148
148
|
|
|
149
|
+
@dataform_stub = ::Google::Cloud::Dataform::V1beta1::Dataform::Rest::ServiceStub.new(
|
|
150
|
+
endpoint: @config.endpoint,
|
|
151
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
152
|
+
universe_domain: @config.universe_domain,
|
|
153
|
+
credentials: credentials
|
|
154
|
+
)
|
|
155
|
+
|
|
149
156
|
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
150
157
|
config.credentials = credentials
|
|
151
158
|
config.quota_project = @quota_project_id
|
|
152
|
-
config.endpoint = @
|
|
153
|
-
config.universe_domain = @
|
|
159
|
+
config.endpoint = @dataform_stub.endpoint
|
|
160
|
+
config.universe_domain = @dataform_stub.universe_domain
|
|
154
161
|
config.bindings_override = @config.bindings_override
|
|
155
162
|
end
|
|
156
163
|
|
|
157
164
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
|
|
158
165
|
config.credentials = credentials
|
|
159
166
|
config.quota_project = @quota_project_id
|
|
160
|
-
config.endpoint = @
|
|
161
|
-
config.universe_domain = @
|
|
167
|
+
config.endpoint = @dataform_stub.endpoint
|
|
168
|
+
config.universe_domain = @dataform_stub.universe_domain
|
|
162
169
|
config.bindings_override = @config.bindings_override
|
|
163
170
|
end
|
|
164
|
-
|
|
165
|
-
@dataform_stub = ::Google::Cloud::Dataform::V1beta1::Dataform::Rest::ServiceStub.new(
|
|
166
|
-
endpoint: @config.endpoint,
|
|
167
|
-
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
168
|
-
universe_domain: @config.universe_domain,
|
|
169
|
-
credentials: credentials
|
|
170
|
-
)
|
|
171
171
|
end
|
|
172
172
|
|
|
173
173
|
##
|
|
@@ -52,6 +52,15 @@ module Google
|
|
|
52
52
|
@client_stub.universe_domain
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
+
##
|
|
56
|
+
# The effective endpoint
|
|
57
|
+
#
|
|
58
|
+
# @return [String]
|
|
59
|
+
#
|
|
60
|
+
def endpoint
|
|
61
|
+
@client_stub.endpoint
|
|
62
|
+
end
|
|
63
|
+
|
|
55
64
|
##
|
|
56
65
|
# Baseline implementation for the list_repositories REST call
|
|
57
66
|
#
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-dataform-v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-01-
|
|
11
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|