google-cloud-eventarc-v1 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e932a34050769e37797ab512bebfcfc82f0e3e17dc895d44b4820c5898c52188
4
- data.tar.gz: 2a5ac4a52f59a48fc52d3204aa6b44c184034423cd6b6606032fff229c34756a
3
+ metadata.gz: e05fe74d3e9311d9f932acb5876237d9c76c9252b300da028fcdb8a63560fb56
4
+ data.tar.gz: '019635f1fcdd7be7fd4659bb2e9b7b3cd307350f78f69a7c73d00438ce6db29d'
5
5
  SHA512:
6
- metadata.gz: bbe3ea6f470a71c58663ded653d9a23b9229cbcffe91fadbe5e6cf65ee6952f479473cd3b03f07d2f4e9d52675e2e6c2174aa37559f2d6e54caa77cfa8af8cab
7
- data.tar.gz: e2a726ffb1bc588f6040d933f17792fc6c325d173c8066f7a8508558864b834adf99218212760e831e15f9517a69bcc40d130cc6920d076229b6a507bcb46ae7
6
+ metadata.gz: b8f6fb6a42f9176c826b6d87d56c816bbc5b007ab6de3b06b5bc348dedf68dd6e5b9caabb5300c57f6b841afb8532046f48c47bf6f64f3084e5eda436030d1af
7
+ data.tar.gz: f54eb8d706f6c09d4f5114ce3c99e629e2eb3b5a6661653395855dc50f783297bb4a8d2a67b3cdca82823e669e8dbb7f270caf2e3bf7d7cac8981d94d9d7c519
@@ -156,20 +156,6 @@ module Google
156
156
  config.universe_domain = @config.universe_domain
157
157
  end
158
158
 
159
- @location_client = Google::Cloud::Location::Locations::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
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
167
- config.credentials = credentials
168
- config.quota_project = @quota_project_id
169
- config.endpoint = @config.endpoint
170
- config.universe_domain = @config.universe_domain
171
- end
172
-
173
159
  @eventarc_stub = ::Gapic::ServiceStub.new(
174
160
  ::Google::Cloud::Eventarc::V1::Eventarc::Stub,
175
161
  credentials: credentials,
@@ -180,6 +166,20 @@ module Google
180
166
  interceptors: @config.interceptors,
181
167
  channel_pool_config: @config.channel_pool
182
168
  )
169
+
170
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
171
+ config.credentials = credentials
172
+ config.quota_project = @quota_project_id
173
+ config.endpoint = @eventarc_stub.endpoint
174
+ config.universe_domain = @eventarc_stub.universe_domain
175
+ end
176
+
177
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
178
+ config.credentials = credentials
179
+ config.quota_project = @quota_project_id
180
+ config.endpoint = @eventarc_stub.endpoint
181
+ config.universe_domain = @eventarc_stub.universe_domain
182
+ end
183
183
  end
184
184
 
185
185
  ##
@@ -153,28 +153,28 @@ module Google
153
153
  config.universe_domain = @config.universe_domain
154
154
  end
155
155
 
156
+ @eventarc_stub = ::Google::Cloud::Eventarc::V1::Eventarc::Rest::ServiceStub.new(
157
+ endpoint: @config.endpoint,
158
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
159
+ universe_domain: @config.universe_domain,
160
+ credentials: credentials
161
+ )
162
+
156
163
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
157
164
  config.credentials = credentials
158
165
  config.quota_project = @quota_project_id
159
- config.endpoint = @config.endpoint
160
- config.universe_domain = @config.universe_domain
166
+ config.endpoint = @eventarc_stub.endpoint
167
+ config.universe_domain = @eventarc_stub.universe_domain
161
168
  config.bindings_override = @config.bindings_override
162
169
  end
163
170
 
164
171
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
165
172
  config.credentials = credentials
166
173
  config.quota_project = @quota_project_id
167
- config.endpoint = @config.endpoint
168
- config.universe_domain = @config.universe_domain
174
+ config.endpoint = @eventarc_stub.endpoint
175
+ config.universe_domain = @eventarc_stub.universe_domain
169
176
  config.bindings_override = @config.bindings_override
170
177
  end
171
-
172
- @eventarc_stub = ::Google::Cloud::Eventarc::V1::Eventarc::Rest::ServiceStub.new(
173
- endpoint: @config.endpoint,
174
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
175
- universe_domain: @config.universe_domain,
176
- credentials: credentials
177
- )
178
178
  end
179
179
 
180
180
  ##
@@ -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 get_trigger REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Eventarc
23
23
  module V1
24
- VERSION = "0.9.0"
24
+ VERSION = "0.9.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-eventarc-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.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 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common