Skip to content

Commit c85917c

Browse files
feat: update gapic-common dependency to 1.3 and document retry jitter (#34037)
* feat: update gapic-common dependency to 1.3 and document retry jitter docs: list Ruby 3.2+ as supported versions in README fix: rename client variable in tests PiperOrigin-RevId: 930120621 Source-Link: googleapis/googleapis@f7b1717 Source-Link: googleapis/googleapis-gen@e38df62 Copy-Tag: eyJwIjoiZ29vZ2xlLWFkcy1hZF9tYW5hZ2VyLXYxLy5Pd2xCb3QueWFtbCIsImgiOiJlMzhkZjYyODVkOTE5OGZlNjkxZTZkOGI1M2U3NmZiNTFjZGRmNWNjIn0= Copy-Tag: eyJwIjoiZ29vZ2xlLWFkcy1hZF9tYW5hZ2VyLy5Pd2xCb3QueWFtbCIsImgiOiJlMzhkZjYyODVkOTE5OGZlNjkxZTZkOGI1M2U3NmZiNTFjZGRmNWNjIn0= Copy-Tag: eyJwIjoiZ29vZ2xlLWFkcy1kYXRhX21hbmFnZXItdjEvLk93bEJvdC55YW1sIiwiaCI6ImUzOGRmNjI4NWQ5MTk4ZmU2OTFlNmQ4YjUzZTc2ZmI1MWNkZGY1Y2MifQ== Copy-Tag: eyJwIjoiZ29vZ2xlLWFkcy1kYXRhX21hbmFnZXIvLk93bEJvdC55YW1sIiwiaCI6ImUzOGRmNjI4NWQ5MTk4ZmU2OTFlNmQ4YjUzZTc2ZmI1MWNkZGY1Y2MifQ== Copy-Tag: eyJwIjoiZ29vZ2xlLWFkcy1tYXJrZXRpbmdfcGxhdGZvcm0tYWRtaW4tdjFhbHBoYS8uT3dsQm90LnlhbWwiLCJoIjoiZTM4ZGY2Mjg1ZDkxOThmZTY5MWU2ZDhiNTNlNzZmYjUxY2RkZjVjYyJ9 Copy-Tag: eyJwIjoiZ29vZ2xlLWFkcy1tYXJrZXRpbmdfcGxhdGZvcm0tYWRtaW4vLk93bEJvdC55YW1sIiwiaCI6ImUzOGRmNjI4NWQ5MTk4ZmU2OTFlNmQ4YjUzZTc2ZmI1MWNkZGY1Y2MifQ== Copy-Tag: ey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1sIiwiaCI6ImUzOGRmNjI4NWQ5MTk4ZmU2OTFlNmQ4YjUzZTc2ZmI1MWNkZGY1Y2MifQ== Copy-Tag: eyJwIjoiZ29vZ2xlLWFwcHMtbWVldC12Mi8uT3dsQm90LnlhbWwiLCJoIjoiZTM4ZGY2Mjg1ZDkxOThmZTY5MWU2ZDhiNTNlNzZmYjUxY2RkZjVjYyJ9 Copy-Tag: eyJwIjoiZ29vZ2xlLWFwcHMtbWVldC12MmJldGEvLk93bEJvdC55YW1sIiwiaCI6ImUzOGRmNjI4NWQ5MTk4ZmU2OTFlNmQ4YjUzZTc2ZmI1MWNkZGY1Y2MifQ== Copy-Tag: eyJwIjoiZ29vZ2xlLWFwcHMtbWVldC8uT3dsQm90LnlhbWwiLCJoIjoiZTM4ZGY2Mjg1ZDkxOThmZTY5MWU2ZDhiNTNlNzZmYjUxY2RkZjVjYyJ9 Copy-Tag: eyJwIjoiZ29vZ2xlLWFyZWExMjAtdGFibGVzLXYxYWxwaGExLy5Pd2xCb3QueWFtbCIsImgiOiJlMzhkZjYyODVkOTE5OGZlNjkxZTZkOGI1M2U3NmZiNTFjZGRmNWNjIn0= Copy-Tag: eyJwIjoiZ29vZ2xlLWFyZWExMjAtdGFibGVzLy5Pd2xCb3QueWFtbCIsImgiOiJlMzhkZjYyODVkOTE5OGZlNjkxZTZkOGI1M2U3NmZiNTFjZGRmNWNjIn0= Copy-Tag: eyJwIjoiZ29vZ2xlLWNsb3VkLWFjY2Vzc19hcHByb3ZhbC12MS8uT3dsQm90LnlhbWwiLCJoIjoiZTM4ZGY2Mjg1ZDkxOThmZTY5MWU2ZDhiNTNlNzZmYjUxY2RkZjVjYyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 348de47 commit c85917c

211 files changed

Lines changed: 4521 additions & 4310 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

google-ads-ad_manager-v1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
8686

8787
## Supported Ruby Versions
8888

89-
This library is supported on Ruby 3.0+.
89+
This library is supported on Ruby 3.2+.
9090

9191
Google provides official support for Ruby versions that are actively supported
9292
by Ruby Core—that is, Ruby versions that are either in normal maintenance or

google-ads-ad_manager-v1/google-ads-ad_manager-v1.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ Gem::Specification.new do |gem|
2323

2424
gem.required_ruby_version = ">= 3.2"
2525

26-
gem.add_dependency "gapic-common", "~> 1.2"
26+
gem.add_dependency "gapic-common", "~> 1.3"
2727
gem.add_dependency "google-cloud-errors", "~> 1.0"
2828
end

google-ads-ad_manager-v1/lib/google/ads/ad_manager/v1/ad_break_service/rest/client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,7 @@ def delete_ad_break request, options = nil
726726
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
727727
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
728728
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
729+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
729730
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
730731
# trigger a retry.
731732
# @return [::Hash]
@@ -798,6 +799,7 @@ def rpcs
798799
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
799800
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
800801
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
802+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
801803
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
802804
# trigger a retry.
803805
#

google-ads-ad_manager-v1/lib/google/ads/ad_manager/v1/ad_review_center_ad_service/rest/client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,7 @@ def batch_block_ad_review_center_ads request, options = nil
608608
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
609609
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
610610
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
611+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
611612
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
612613
# trigger a retry.
613614
# @return [::Hash]
@@ -680,6 +681,7 @@ def rpcs
680681
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
681682
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
682683
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
684+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
683685
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
684686
# trigger a retry.
685687
#

google-ads-ad_manager-v1/lib/google/ads/ad_manager/v1/ad_review_center_ad_service/rest/operations.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@ def cancel_operation request, options = nil
541541
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
542542
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
543543
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
544+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
544545
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
545546
# trigger a retry.
546547
# @return [::Hash]
@@ -613,6 +614,7 @@ def rpcs
613614
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
614615
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
615616
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
617+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
616618
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
617619
# trigger a retry.
618620
#

google-ads-ad_manager-v1/lib/google/ads/ad_manager/v1/ad_unit_service/rest/client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,6 +1128,7 @@ def batch_archive_ad_units request, options = nil
11281128
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
11291129
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
11301130
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1131+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
11311132
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
11321133
# trigger a retry.
11331134
# @return [::Hash]
@@ -1200,6 +1201,7 @@ def rpcs
12001201
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
12011202
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
12021203
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1204+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
12031205
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
12041206
# trigger a retry.
12051207
#

google-ads-ad_manager-v1/lib/google/ads/ad_manager/v1/application_service/rest/client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -935,6 +935,7 @@ def batch_unarchive_applications request, options = nil
935935
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
936936
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
937937
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
938+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
938939
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
939940
# trigger a retry.
940941
# @return [::Hash]
@@ -1007,6 +1008,7 @@ def rpcs
10071008
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
10081009
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
10091010
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1011+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
10101012
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
10111013
# trigger a retry.
10121014
#

google-ads-ad_manager-v1/lib/google/ads/ad_manager/v1/audience_segment_service/rest/client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ def list_audience_segments request, options = nil
436436
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
437437
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
438438
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
439+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
439440
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
440441
# trigger a retry.
441442
# @return [::Hash]
@@ -508,6 +509,7 @@ def rpcs
508509
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
509510
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
510511
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
512+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
511513
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
512514
# trigger a retry.
513515
#

google-ads-ad_manager-v1/lib/google/ads/ad_manager/v1/bandwidth_group_service/rest/client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ def list_bandwidth_groups request, options = nil
437437
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
438438
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
439439
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
440+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
440441
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
441442
# trigger a retry.
442443
# @return [::Hash]
@@ -509,6 +510,7 @@ def rpcs
509510
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
510511
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
511512
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
513+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
512514
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
513515
# trigger a retry.
514516
#

google-ads-ad_manager-v1/lib/google/ads/ad_manager/v1/browser_language_service/rest/client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ def list_browser_languages request, options = nil
437437
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
438438
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
439439
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
440+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
440441
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
441442
# trigger a retry.
442443
# @return [::Hash]
@@ -509,6 +510,7 @@ def rpcs
509510
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
510511
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
511512
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
513+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
512514
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
513515
# trigger a retry.
514516
#

0 commit comments

Comments
 (0)