google-cloud-network_management-v1 0.14.0 → 1.0.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: 2e26a3c567dc1e278e7e5820c23965860db98b9d9fb936ad8c904352c218acc1
4
- data.tar.gz: edb4c211bd6ace2a28af685dbfc791ac1d9535a4ef9b6676fccdf60c068352f2
3
+ metadata.gz: b270919a7cd98feee9fe4ccbee3661c35386f32125b3b193447b92b641205bac
4
+ data.tar.gz: d2f2df358c049f387b8362562b00991ddc51509c496370bcbcfe9098ad3849e5
5
5
  SHA512:
6
- metadata.gz: b5768f956237955d596fb5727c3e7d5e4758cf4b606d24401c34dd380c6583dbbe8feba4bacc48cfdea8eca248d6585c093d335245b0eed78fc5eb9ab0bd281d
7
- data.tar.gz: 66125b71ccd3148b4fd32fe96226638815e5a17e2f53c040a1595a3b87c2926b5045fed6c11d20d6374e2005cd75f9d29d6c33c955dba0aade899fb88a76dbe5
6
+ metadata.gz: fe6158ff0c2e049886009dbcb92c6e514f02d8039171eb6273ebb5afac04380d114f88177a71dedef41c0e39aaf4a276f1ff2044481664abc675446352b23ebe
7
+ data.tar.gz: bc37d80d439639407ff37bca72dc446f42896a3c626e699f2d64982cb3735857a6b1414c974083b80ff134c1489188939767c2484cd6f3285edd3095597bf78c
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.
4
4
 
5
- The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.
6
5
 
7
6
  https://github.com/googleapis/google-cloud-ruby
8
7
 
@@ -39,6 +39,9 @@ module Google
39
39
  # to troubleshoot connectivity issues.
40
40
  #
41
41
  class Client
42
+ # @private
43
+ API_VERSION = ""
44
+
42
45
  # @private
43
46
  DEFAULT_ENDPOINT_TEMPLATE = "networkmanagement.$UNIVERSE_DOMAIN$"
44
47
 
@@ -298,10 +301,11 @@ module Google
298
301
  # Customize the options with defaults
299
302
  metadata = @config.rpcs.list_connectivity_tests.metadata.to_h
300
303
 
301
- # Set x-goog-api-client and x-goog-user-project headers
304
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
302
305
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
303
306
  lib_name: @config.lib_name, lib_version: @config.lib_version,
304
307
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
308
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
305
309
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
306
310
 
307
311
  header_params = {}
@@ -385,10 +389,11 @@ module Google
385
389
  # Customize the options with defaults
386
390
  metadata = @config.rpcs.get_connectivity_test.metadata.to_h
387
391
 
388
- # Set x-goog-api-client and x-goog-user-project headers
392
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
389
393
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
390
394
  lib_name: @config.lib_name, lib_version: @config.lib_version,
391
395
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
396
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
392
397
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
393
398
 
394
399
  header_params = {}
@@ -501,10 +506,11 @@ module Google
501
506
  # Customize the options with defaults
502
507
  metadata = @config.rpcs.create_connectivity_test.metadata.to_h
503
508
 
504
- # Set x-goog-api-client and x-goog-user-project headers
509
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
505
510
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
506
511
  lib_name: @config.lib_name, lib_version: @config.lib_version,
507
512
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
513
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
508
514
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
509
515
 
510
516
  header_params = {}
@@ -610,10 +616,11 @@ module Google
610
616
  # Customize the options with defaults
611
617
  metadata = @config.rpcs.update_connectivity_test.metadata.to_h
612
618
 
613
- # Set x-goog-api-client and x-goog-user-project headers
619
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
614
620
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
615
621
  lib_name: @config.lib_name, lib_version: @config.lib_version,
616
622
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
623
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
617
624
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
618
625
 
619
626
  header_params = {}
@@ -715,10 +722,11 @@ module Google
715
722
  # Customize the options with defaults
716
723
  metadata = @config.rpcs.rerun_connectivity_test.metadata.to_h
717
724
 
718
- # Set x-goog-api-client and x-goog-user-project headers
725
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
719
726
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
720
727
  lib_name: @config.lib_name, lib_version: @config.lib_version,
721
728
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
729
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
722
730
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
723
731
 
724
732
  header_params = {}
@@ -809,10 +817,11 @@ module Google
809
817
  # Customize the options with defaults
810
818
  metadata = @config.rpcs.delete_connectivity_test.metadata.to_h
811
819
 
812
- # Set x-goog-api-client and x-goog-user-project headers
820
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
813
821
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
814
822
  lib_name: @config.lib_name, lib_version: @config.lib_version,
815
823
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
824
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
816
825
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
817
826
 
818
827
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module ReachabilityService
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "networkmanagement.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -41,6 +41,9 @@ module Google
41
41
  # to troubleshoot connectivity issues.
42
42
  #
43
43
  class Client
44
+ # @private
45
+ API_VERSION = ""
46
+
44
47
  # @private
45
48
  DEFAULT_ENDPOINT_TEMPLATE = "networkmanagement.$UNIVERSE_DOMAIN$"
46
49
 
@@ -292,12 +295,13 @@ module Google
292
295
  # Customize the options with defaults
293
296
  call_metadata = @config.rpcs.list_connectivity_tests.metadata.to_h
294
297
 
295
- # Set x-goog-api-client and x-goog-user-project headers
298
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
296
299
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
297
300
  lib_name: @config.lib_name, lib_version: @config.lib_version,
298
301
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
299
302
  transports_version_send: [:rest]
300
303
 
304
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
301
305
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
302
306
 
303
307
  options.apply_defaults timeout: @config.rpcs.list_connectivity_tests.timeout,
@@ -371,12 +375,13 @@ module Google
371
375
  # Customize the options with defaults
372
376
  call_metadata = @config.rpcs.get_connectivity_test.metadata.to_h
373
377
 
374
- # Set x-goog-api-client and x-goog-user-project headers
378
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
375
379
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
376
380
  lib_name: @config.lib_name, lib_version: @config.lib_version,
377
381
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
378
382
  transports_version_send: [:rest]
379
383
 
384
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
380
385
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
381
386
 
382
387
  options.apply_defaults timeout: @config.rpcs.get_connectivity_test.timeout,
@@ -480,12 +485,13 @@ module Google
480
485
  # Customize the options with defaults
481
486
  call_metadata = @config.rpcs.create_connectivity_test.metadata.to_h
482
487
 
483
- # Set x-goog-api-client and x-goog-user-project headers
488
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
484
489
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
485
490
  lib_name: @config.lib_name, lib_version: @config.lib_version,
486
491
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
487
492
  transports_version_send: [:rest]
488
493
 
494
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
489
495
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
490
496
 
491
497
  options.apply_defaults timeout: @config.rpcs.create_connectivity_test.timeout,
@@ -582,12 +588,13 @@ module Google
582
588
  # Customize the options with defaults
583
589
  call_metadata = @config.rpcs.update_connectivity_test.metadata.to_h
584
590
 
585
- # Set x-goog-api-client and x-goog-user-project headers
591
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
586
592
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
587
593
  lib_name: @config.lib_name, lib_version: @config.lib_version,
588
594
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
589
595
  transports_version_send: [:rest]
590
596
 
597
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
591
598
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
592
599
 
593
600
  options.apply_defaults timeout: @config.rpcs.update_connectivity_test.timeout,
@@ -680,12 +687,13 @@ module Google
680
687
  # Customize the options with defaults
681
688
  call_metadata = @config.rpcs.rerun_connectivity_test.metadata.to_h
682
689
 
683
- # Set x-goog-api-client and x-goog-user-project headers
690
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
684
691
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
685
692
  lib_name: @config.lib_name, lib_version: @config.lib_version,
686
693
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
687
694
  transports_version_send: [:rest]
688
695
 
696
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
689
697
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
690
698
 
691
699
  options.apply_defaults timeout: @config.rpcs.rerun_connectivity_test.timeout,
@@ -767,12 +775,13 @@ module Google
767
775
  # Customize the options with defaults
768
776
  call_metadata = @config.rpcs.delete_connectivity_test.metadata.to_h
769
777
 
770
- # Set x-goog-api-client and x-goog-user-project headers
778
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
771
779
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
772
780
  lib_name: @config.lib_name, lib_version: @config.lib_version,
773
781
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
774
782
  transports_version_send: [:rest]
775
783
 
784
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
776
785
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
777
786
 
778
787
  options.apply_defaults timeout: @config.rpcs.delete_connectivity_test.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "networkmanagement.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # 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
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module NetworkManagement
23
23
  module V1
24
- VERSION = "0.14.0"
24
+ VERSION = "1.0.1"
25
25
  end
26
26
  end
27
27
  end
@@ -290,6 +290,13 @@ module Google
290
290
  # @return [::String]
291
291
  # The fully qualified name of the method, for which the options below apply.
292
292
  # This is used to find the method to apply the options.
293
+ #
294
+ # Example:
295
+ #
296
+ # publishing:
297
+ # method_settings:
298
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
299
+ # # method settings for CreateFolder...
293
300
  # @!attribute [rw] long_running
294
301
  # @return [::Google::Api::MethodSettings::LongRunning]
295
302
  # Describes settings to use for long-running operations when generating
@@ -298,17 +305,14 @@ module Google
298
305
  #
299
306
  # Example of a YAML configuration::
300
307
  #
301
- # publishing:
302
- # method_settings:
308
+ # publishing:
309
+ # method_settings:
303
310
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
304
311
  # long_running:
305
- # initial_poll_delay:
306
- # seconds: 60 # 1 minute
312
+ # initial_poll_delay: 60s # 1 minute
307
313
  # poll_delay_multiplier: 1.5
308
- # max_poll_delay:
309
- # seconds: 360 # 6 minutes
310
- # total_poll_timeout:
311
- # seconds: 54000 # 90 minutes
314
+ # max_poll_delay: 360s # 6 minutes
315
+ # total_poll_timeout: 54000s # 90 minutes
312
316
  # @!attribute [rw] auto_populated_fields
313
317
  # @return [::Array<::String>]
314
318
  # List of top-level fields of the request message, that should be
@@ -317,8 +321,8 @@ module Google
317
321
  #
318
322
  # Example of a YAML configuration:
319
323
  #
320
- # publishing:
321
- # method_settings:
324
+ # publishing:
325
+ # method_settings:
322
326
  # - selector: google.example.v1.ExampleService.CreateExample
323
327
  # auto_populated_fields:
324
328
  # - request_id
@@ -25,6 +25,12 @@ module Google
25
25
  # The standard format of a field value. This does not explicitly configure
26
26
  # any API consumer, just documents the API's format for the field it is
27
27
  # applied to.
28
+ # @!attribute [rw] referenced_types
29
+ # @return [::Array<::Google::Api::TypeReference>]
30
+ # The type(s) that the annotated, generic field may represent.
31
+ #
32
+ # Currently, this must only be used on fields of type `google.protobuf.Any`.
33
+ # Supporting other generic types may be considered in the future.
28
34
  class FieldInfo
29
35
  include ::Google::Protobuf::MessageExts
30
36
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -61,5 +67,22 @@ module Google
61
67
  IPV4_OR_IPV6 = 4
62
68
  end
63
69
  end
70
+
71
+ # A reference to a message type, for use in {::Google::Api::FieldInfo FieldInfo}.
72
+ # @!attribute [rw] type_name
73
+ # @return [::String]
74
+ # The name of the type that the annotated, generic field may represent.
75
+ # If the type is in the same protobuf package, the value can be the simple
76
+ # message name e.g., `"MyMessage"`. Otherwise, the value must be the
77
+ # fully-qualified message name e.g., `"google.library.v1.Book"`.
78
+ #
79
+ # If the type(s) are unknown to the service (e.g. the field accepts generic
80
+ # user input), use the wildcard `"*"` to denote this behavior.
81
+ #
82
+ # See [AIP-202](https://google.aip.dev/202#type-references) for more details.
83
+ class TypeReference
84
+ include ::Google::Protobuf::MessageExts
85
+ extend ::Google::Protobuf::MessageExts::ClassMethods
86
+ end
64
87
  end
65
88
  end
@@ -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-network_management-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.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-04-15 00:00:00.000000000 Z
11
+ date: 2024-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common