google-cloud-private_catalog-v1beta1 0.7.0 → 0.7.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: 303f4fd484ba02a6fae2cab1ca4f3d1b3fec8ccff034aaeab993df6b7e84e8c2
4
- data.tar.gz: 3a8c2a5eea309b9f641d96ff3f0255b30df9518fd967216a02616ae7445aa57f
3
+ metadata.gz: 70864e7d81ebc78f08b10b4992297404341913f3e182c26334cb68802984d437
4
+ data.tar.gz: 9c9216a4eeac0332c0855d923ad07a6ba1b41eafbaabad859eb07452b5e74924
5
5
  SHA512:
6
- metadata.gz: 33f8efdd64174e3f084396dabffcda6a430cf5c83e11fb14841dedc9c64e891b5e488b78956afa69e5033c163f0237d58bbfec77c3d9a98514b87ecb3b237090
7
- data.tar.gz: ad24167f37f7bc04a352fdda6e58602db771f0c0e02ac572eefa3510365d7dfa9e0eee6b494e712a031bc024c43af5769bc97fd9854d9f13d3927cb3b13324f9
6
+ metadata.gz: 2c770b63bed4849d8eb9d15a10512f5bdb0652d6c720cccc0da02ba308b94bffa409e64fd33c2791177431b8e61774542e934bac906c7b9915c313979fce6897
7
+ data.tar.gz: 25ff3ee244b6ccae17cefb1e550e8f991c5335425dd40aeb68f88eba4a0ee96ee3a9975cf345472ae360e984be4076c25d8ed525674eac396ab862b352a17e7e
@@ -50,6 +50,9 @@ module Google
50
50
  # [google.cloud.privatecatalogproducer.v1beta.Version][].
51
51
  #
52
52
  class Client
53
+ # @private
54
+ API_VERSION = ""
55
+
53
56
  # @private
54
57
  DEFAULT_ENDPOINT_TEMPLATE = "cloudprivatecatalog.$UNIVERSE_DOMAIN$"
55
58
 
@@ -251,10 +254,11 @@ module Google
251
254
  # Customize the options with defaults
252
255
  metadata = @config.rpcs.search_catalogs.metadata.to_h
253
256
 
254
- # Set x-goog-api-client and x-goog-user-project headers
257
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
255
258
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
256
259
  lib_name: @config.lib_name, lib_version: @config.lib_version,
257
260
  gapic_version: ::Google::Cloud::PrivateCatalog::V1beta1::VERSION
261
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
258
262
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
259
263
 
260
264
  header_params = {}
@@ -356,10 +360,11 @@ module Google
356
360
  # Customize the options with defaults
357
361
  metadata = @config.rpcs.search_products.metadata.to_h
358
362
 
359
- # Set x-goog-api-client and x-goog-user-project headers
363
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
360
364
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
361
365
  lib_name: @config.lib_name, lib_version: @config.lib_version,
362
366
  gapic_version: ::Google::Cloud::PrivateCatalog::V1beta1::VERSION
367
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
363
368
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
364
369
 
365
370
  header_params = {}
@@ -461,10 +466,11 @@ module Google
461
466
  # Customize the options with defaults
462
467
  metadata = @config.rpcs.search_versions.metadata.to_h
463
468
 
464
- # Set x-goog-api-client and x-goog-user-project headers
469
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
465
470
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
466
471
  lib_name: @config.lib_name, lib_version: @config.lib_version,
467
472
  gapic_version: ::Google::Cloud::PrivateCatalog::V1beta1::VERSION
473
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
468
474
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
469
475
 
470
476
  header_params = {}
@@ -52,6 +52,9 @@ module Google
52
52
  # [google.cloud.privatecatalogproducer.v1beta.Version][].
53
53
  #
54
54
  class Client
55
+ # @private
56
+ API_VERSION = ""
57
+
55
58
  # @private
56
59
  DEFAULT_ENDPOINT_TEMPLATE = "cloudprivatecatalog.$UNIVERSE_DOMAIN$"
57
60
 
@@ -243,12 +246,13 @@ module Google
243
246
  # Customize the options with defaults
244
247
  call_metadata = @config.rpcs.search_catalogs.metadata.to_h
245
248
 
246
- # Set x-goog-api-client and x-goog-user-project headers
249
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
247
250
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
248
251
  lib_name: @config.lib_name, lib_version: @config.lib_version,
249
252
  gapic_version: ::Google::Cloud::PrivateCatalog::V1beta1::VERSION,
250
253
  transports_version_send: [:rest]
251
254
 
255
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
252
256
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
253
257
 
254
258
  options.apply_defaults timeout: @config.rpcs.search_catalogs.timeout,
@@ -341,12 +345,13 @@ module Google
341
345
  # Customize the options with defaults
342
346
  call_metadata = @config.rpcs.search_products.metadata.to_h
343
347
 
344
- # Set x-goog-api-client and x-goog-user-project headers
348
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
345
349
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
346
350
  lib_name: @config.lib_name, lib_version: @config.lib_version,
347
351
  gapic_version: ::Google::Cloud::PrivateCatalog::V1beta1::VERSION,
348
352
  transports_version_send: [:rest]
349
353
 
354
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
350
355
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
351
356
 
352
357
  options.apply_defaults timeout: @config.rpcs.search_products.timeout,
@@ -439,12 +444,13 @@ module Google
439
444
  # Customize the options with defaults
440
445
  call_metadata = @config.rpcs.search_versions.metadata.to_h
441
446
 
442
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
443
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
444
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
445
450
  gapic_version: ::Google::Cloud::PrivateCatalog::V1beta1::VERSION,
446
451
  transports_version_send: [:rest]
447
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
448
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
449
455
 
450
456
  options.apply_defaults timeout: @config.rpcs.search_versions.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PrivateCatalog
23
23
  module V1beta1
24
- VERSION = "0.7.0"
24
+ VERSION = "0.7.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-private_catalog-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.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