google-cloud-apigee_connect-v1 0.7.0 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4521356312501d4c15bcb593befcb67b4235613b15dd7e41a6dead56a1036dce
4
- data.tar.gz: b869fdcd2b3ecfb38dda3dd97b5320d26f29f32473a2f38cd5222ed926c8d066
3
+ metadata.gz: 69355f46ef6206c21c877368cf53273cb7acda1cfa94192c8c806d653a084063
4
+ data.tar.gz: 4f34cd74885b0183739144d6620eab80c319abcf48ee8d946a453270891fd890
5
5
  SHA512:
6
- metadata.gz: cda1e8a9b4cce5f3422643fce687b380e05f1ea59af616e4c985786157fbd5f3dca3754b3356987cb8d09d9afe81505787a595238c0626d1d828b84f87759fd9
7
- data.tar.gz: c72325e99a6421cab9c3096227c567683759d69b860966190fecc1ef77819f7646e2a47741ff19873c1f5fe42d7277837e8923d3b9eb18d1c6ba08f5087d1cfd
6
+ metadata.gz: a579073c54d8d85c99a5117f655caf5e73d61ad09c5f8dc835d180837b7615b1414b32961ede798681f0f1a1295e0bf00af3963eeb68f31248e3f4b98320c2ae
7
+ data.tar.gz: c43dd3cb9fe4b3c94d416c8835dd5c02b2ba58aff52f483940a0baef22308c6a72ff5edc98d040260b3e2174e0c960c7988487024772e90c5cd001be1b329278
@@ -30,6 +30,9 @@ module Google
30
30
  # Service Interface for the Apigee Connect connection management APIs.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "apigeeconnect.$UNIVERSE_DOMAIN$"
35
38
 
@@ -236,10 +239,11 @@ module Google
236
239
  # Customize the options with defaults
237
240
  metadata = @config.rpcs.list_connections.metadata.to_h
238
241
 
239
- # Set x-goog-api-client and x-goog-user-project headers
242
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
240
243
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
241
244
  lib_name: @config.lib_name, lib_version: @config.lib_version,
242
245
  gapic_version: ::Google::Cloud::ApigeeConnect::V1::VERSION
246
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
243
247
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
244
248
 
245
249
  header_params = {}
@@ -32,6 +32,9 @@ module Google
32
32
  # Service Interface for the Apigee Connect connection management APIs.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "apigeeconnect.$UNIVERSE_DOMAIN$"
37
40
 
@@ -228,12 +231,13 @@ module Google
228
231
  # Customize the options with defaults
229
232
  call_metadata = @config.rpcs.list_connections.metadata.to_h
230
233
 
231
- # Set x-goog-api-client and x-goog-user-project headers
234
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
232
235
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
233
236
  lib_name: @config.lib_name, lib_version: @config.lib_version,
234
237
  gapic_version: ::Google::Cloud::ApigeeConnect::V1::VERSION,
235
238
  transports_version_send: [:rest]
236
239
 
240
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
237
241
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
238
242
 
239
243
  options.apply_defaults timeout: @config.rpcs.list_connections.timeout,
@@ -32,6 +32,9 @@ module Google
32
32
  # requiring customers to open firewalls on their runtime plane.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "apigeeconnect.$UNIVERSE_DOMAIN$"
37
40
 
@@ -222,10 +225,11 @@ module Google
222
225
  # Customize the options with defaults
223
226
  metadata = @config.rpcs.egress.metadata.to_h
224
227
 
225
- # Set x-goog-api-client and x-goog-user-project headers
228
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
226
229
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
227
230
  lib_name: @config.lib_name, lib_version: @config.lib_version,
228
231
  gapic_version: ::Google::Cloud::ApigeeConnect::V1::VERSION
232
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
229
233
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
230
234
 
231
235
  options.apply_defaults timeout: @config.rpcs.egress.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ApigeeConnect
23
23
  module V1
24
- VERSION = "0.7.0"
24
+ VERSION = "1.0.1"
25
25
  end
26
26
  end
27
27
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-apigee_connect-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 1.0.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-02-26 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common