Skip to content

Commit d660c6a

Browse files
docs: update SelectiveGapicGeneration usage doc (googleapis#32231)
* feat: Add irb as explicit dependency for Ruby 4.0 compatibility PiperOrigin-RevId: 885280435 Source-Link: googleapis/googleapis@f29d228 Source-Link: https://github.com/googleapis/googleapis-gen/commit/fca7136c1c0aa900ca4fa0a4ba14f1aeb29b0bfd Copy-Tag: eyJwIjoiZ29vZ2xlLWNsb3VkLWNoYW5uZWwtdjEvLk93bEJvdC55YW1sIiwiaCI6ImZjYTcxMzZjMWMwYWE5MDBjYTRmYTBhNGJhMTRmMWFlYjI5YjBiZmQifQ== feat: Update minimum Ruby to v3.2 and required dependencies for Ruby v4.0 PiperOrigin-RevId: 883373063 Source-Link: googleapis/googleapis@e1443bf Source-Link: https://github.com/googleapis/googleapis-gen/commit/8ecc70c2922cfc4649a0454bc8d2e1f3a58a9d78 Copy-Tag: eyJwIjoiZ29vZ2xlLWNsb3VkLWNoYW5uZWwtdjEvLk93bEJvdC55YW1sIiwiaCI6IjhlY2M3MGMyOTIyY2ZjNDY0OWEwNDU0YmM4ZDJlMWYzYTU4YTlkNzgifQ== feat: upgrade protobuf from v25.7 to v31.0 PiperOrigin-RevId: 881595129 Source-Link: googleapis/googleapis@d90d23f Source-Link: https://github.com/googleapis/googleapis-gen/commit/f1a94433664f8650a4acb73d609b943d2ecbb6e0 Copy-Tag: eyJwIjoiZ29vZ2xlLWNsb3VkLWNoYW5uZWwtdjEvLk93bEJvdC55YW1sIiwiaCI6ImYxYTk0NDMzNjY0Zjg2NTBhNGFjYjczZDYwOWI5NDNkMmVjYmI2ZTAifQ== feat: add custom prompt config in the request and return prompt in the response feat: update min_speaker_count and max_speaker_count to be optional docs: Clarify that min_speaker_count and max_speaker_count in SpeakerDiarizationConfig are not currently used docs: Update guidance on how to enable speaker diarization; to enable, set the diarization_config field to an empty SpeakerDiarizationConfig message PiperOrigin-RevId: 852383212 Source-Link: googleapis/googleapis@1a14153 Source-Link: https://github.com/googleapis/googleapis-gen/commit/c84243caa11c7fc89056e0bd07b4c4c6aea0510b Copy-Tag: eyJwIjoiZ29vZ2xlLWNsb3VkLWNoYW5uZWwtdjEvLk93bEJvdC55YW1sIiwiaCI6ImM4NDI0M2NhYTExYzdmYzg5MDU2ZTBiZDA3YjRjNGM2YWVhMDUxMGIifQ== fix: Changed field behavior for an existing field `entitlement_granularity` in message `.google.cloud.channel.v1.RepricingConfig` docs: A comment for enum `CustomerAttestationState` is changed docs: A comment for field `customer_attestation_state` in message `.google.cloud.channel.v1.Customer` is changed docs: A comment for field `entitlement_granularity` in message `.google.cloud.channel.v1.RepricingConfig` is changed docs: A comment for method `RegisterSubscriber` in service `CloudChannelService` is changed docs: A comment for method `UnregisterSubscriber` in service `CloudChannelService` is changed docs: A comment for method `ListSubscribers` in service `CloudChannelService` is changed docs: A comment for field `owned` in message `.google.cloud.channel.v1.CloudIdentityCustomerAccount` is changed docs: A comment for field `page_token` in message `.google.cloud.channel.v1.ListSkuGroupsRequest` is changed docs: A comment for field `page_token` in message `.google.cloud.channel.v1.ListSkuGroupBillableSkusRequest` is changed docs: A comment for field `next_page_token` in message `.google.cloud.channel.v1.ListSkuGroupsResponse` is changed docs: A comment for field `next_page_token` in message `.google.cloud.channel.v1.ListSkuGroupBillableSkusResponse` is changed docs: A comment for message `ChangeParametersRequest` is changed docs: A comment for field `offers` in message `.google.cloud.channel.v1.ListOffersResponse` is changed docs: A comment for field `account` in message `.google.cloud.channel.v1.RegisterSubscriberRequest` is changed docs: A comment for field `account` in message `.google.cloud.channel.v1.UnregisterSubscriberRequest` is changed docs: A comment for field `account` in message `.google.cloud.channel.v1.ListSubscribersRequest` is changed docs: A comment for field `event_type` in message `.google.cloud.channel.v1.CustomerEvent` is changed docs: A comment for field `event_type` in message `.google.cloud.channel.v1.EntitlementEvent` is changed PiperOrigin-RevId: 838889186 Source-Link: googleapis/googleapis@1c1b1ff Source-Link: https://github.com/googleapis/googleapis-gen/commit/99a57b7c8f183651d80e9e5794a0cf81d27c6680 Copy-Tag: eyJwIjoiZ29vZ2xlLWNsb3VkLWNoYW5uZWwtdjEvLk93bEJvdC55YW1sIiwiaCI6Ijk5YTU3YjdjOGYxODM2NTFkODBlOWU1Nzk0YTBjZjgxZDI3YzY2ODAifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: publish client batch config schema feat: publish new error reasons docs: fix documentation formatting docs: update various comments docs: update license year PiperOrigin-RevId: 889289393 Source-Link: googleapis/googleapis@94bc991 Source-Link: https://github.com/googleapis/googleapis-gen/commit/db7143a338a7c75839b4698cb3ea6f1013b4c3c7 Copy-Tag: eyJwIjoiZ29vZ2xlLWNsb3VkLWNoYW5uZWwtdjEvLk93bEJvdC55YW1sIiwiaCI6ImRiNzE0M2EzMzhhN2M3NTgzOWI0Njk4Y2IzZWE2ZjEwMTNiNGMzYzcifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs: update API common type documentation PiperOrigin-RevId: 890591600 Source-Link: googleapis/googleapis@208f198 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b10e9b25e87eabe00466b7d51b5ee4748c8c66c8 Copy-Tag: eyJwIjoiZ29vZ2xlLWNsb3VkLWNoYW5uZWwtdjEvLk93bEJvdC55YW1sIiwiaCI6ImIxMGU5YjI1ZTg3ZWFiZTAwNDY2YjdkNTFiNWVlNDc0OGM4YzY2YzgifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs: update SelectiveGapicGeneration usage doc PiperOrigin-RevId: 892649773 Source-Link: googleapis/googleapis@06a20b2 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d9ae66451f81c9df99dbdc9b23bd75d007380f4e Copy-Tag: eyJwIjoiZ29vZ2xlLWNsb3VkLWNoYW5uZWwtdjEvLk93bEJvdC55YW1sIiwiaCI6ImQ5YWU2NjQ1MWY4MWM5ZGY5OWRiZGM5YjIzYmQ3NWQwMDczODBmNGUifQ== * 🦉 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 1a673ae commit d660c6a

35 files changed

Lines changed: 554 additions & 538 deletions

google-cloud-channel-v1/Gemfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@ source "https://rubygems.org"
22

33
gemspec
44

5-
gem "google-style", "~> 1.31.1"
6-
gem "minitest", "~> 5.22"
5+
gem "google-style", "~> 1.32.0"
6+
gem "irb", "~> 1.17"
7+
gem "minitest", "~> 6.0.2"
78
gem "minitest-focus", "~> 1.4"
9+
gem "minitest-mock", "~> 5.27"
810
gem "minitest-rg", "~> 5.3"
11+
gem "ostruct", "~> 0.5.5"
912
gem "rake", ">= 13.0"
1013
gem "redcarpet", "~> 3.6"
1114
gem "yard", "~> 0.9"

google-cloud-channel-v1/google-cloud-channel-v1.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
2121
["README.md", "LICENSE.md", "AUTHENTICATION.md", ".yardopts"]
2222
gem.require_paths = ["lib"]
2323

24-
gem.required_ruby_version = ">= 3.1"
24+
gem.required_ruby_version = ">= 3.2"
2525

2626
gem.add_dependency "gapic-common", "~> 1.2"
2727
gem.add_dependency "google-cloud-errors", "~> 1.0"

google-cloud-channel-v1/lib/google/cloud/channel/v1/billing_accounts_pb.rb

Lines changed: 2 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-cloud-channel-v1/lib/google/cloud/channel/v1/channel_partner_links_pb.rb

Lines changed: 2 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-cloud-channel-v1/lib/google/cloud/channel/v1/cloud_channel_service/client.rb

Lines changed: 35 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2080,7 +2080,7 @@ def change_renewal_settings request, options = nil
20802080
# @param options [::Gapic::CallOptions, ::Hash]
20812081
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
20822082
#
2083-
# @overload change_offer(name: nil, offer: nil, parameters: nil, purchase_order_id: nil, request_id: nil, billing_account: nil)
2083+
# @overload change_offer(name: nil, offer: nil, parameters: nil, purchase_order_id: nil, request_id: nil, billing_account: nil, price_reference_id: nil)
20842084
# Pass arguments to `change_offer` via keyword arguments. Note that at
20852085
# least one keyword argument is required. To specify no parameters, or to keep all
20862086
# the default parameter values, pass an empty Hash as a request object (see above).
@@ -2118,6 +2118,10 @@ def change_renewal_settings request, options = nil
21182118
#
21192119
# This field is only relevant for multi-currency accounts. It should be
21202120
# left empty for single currency accounts.
2121+
# @param price_reference_id [::String]
2122+
# Optional. Price reference ID for the offer. Only for offers that require
2123+
# additional price information. Used to guarantee that the pricing is
2124+
# consistent between quoting the offer and placing the order.
21212125
#
21222126
# @yield [response, operation] Access the result along with the RPC operation
21232127
# @yieldparam response [::Gapic::Operation]
@@ -4683,7 +4687,8 @@ def delete_channel_partner_repricing_config request, options = nil
46834687
# @param page_token [::String]
46844688
# Optional. A token identifying a page of results beyond the first page.
46854689
# Obtained through
4686-
# [ListSkuGroups.next_page_token][] of the previous
4690+
# {::Google::Cloud::Channel::V1::ListSkuGroupsResponse#next_page_token ListSkuGroupsResponse.next_page_token}
4691+
# of the previous
46874692
# {::Google::Cloud::Channel::V1::CloudChannelService::Client#list_sku_groups CloudChannelService.ListSkuGroups}
46884693
# call.
46894694
#
@@ -4803,7 +4808,8 @@ def list_sku_groups request, options = nil
48034808
# @param page_token [::String]
48044809
# Optional. A token identifying a page of results beyond the first page.
48054810
# Obtained through
4806-
# [ListSkuGroupBillableSkus.next_page_token][] of the previous
4811+
# {::Google::Cloud::Channel::V1::ListSkuGroupBillableSkusResponse#next_page_token ListSkuGroupBillableSkusResponse.next_page_token}
4812+
# of the previous
48074813
# {::Google::Cloud::Channel::V1::CloudChannelService::Client#list_sku_group_billable_skus CloudChannelService.ListSkuGroupBillableSkus}
48084814
# call.
48094815
#
@@ -5639,8 +5645,8 @@ def query_eligible_billing_accounts request, options = nil
56395645
end
56405646

56415647
##
5642-
# Registers a service account with subscriber privileges on the Cloud Pub/Sub
5643-
# topic for this Channel Services account. After you create a
5648+
# Registers a service account with subscriber privileges on the Pub/Sub
5649+
# topic for this Channel Services account or integrator. After you create a
56445650
# subscriber, you get the events through
56455651
# {::Google::Cloud::Channel::V1::SubscriberEvent SubscriberEvent}
56465652
#
@@ -5668,16 +5674,20 @@ def query_eligible_billing_accounts request, options = nil
56685674
# @param options [::Gapic::CallOptions, ::Hash]
56695675
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
56705676
#
5671-
# @overload register_subscriber(account: nil, service_account: nil)
5677+
# @overload register_subscriber(account: nil, service_account: nil, integrator: nil)
56725678
# Pass arguments to `register_subscriber` via keyword arguments. Note that at
56735679
# least one keyword argument is required. To specify no parameters, or to keep all
56745680
# the default parameter values, pass an empty Hash as a request object (see above).
56755681
#
56765682
# @param account [::String]
5677-
# Required. Resource name of the account.
5683+
# Optional. Resource name of the account. Required if integrator is not
5684+
# provided. Otherwise, leave this field empty/unset.
56785685
# @param service_account [::String]
56795686
# Required. Service account that provides subscriber access to the registered
56805687
# topic.
5688+
# @param integrator [::String]
5689+
# Optional. Resource name of the integrator. Required if account is not
5690+
# provided. Otherwise, leave this field empty/unset.
56815691
#
56825692
# @yield [response, operation] Access the result along with the RPC operation
56835693
# @yieldparam response [::Google::Cloud::Channel::V1::RegisterSubscriberResponse]
@@ -5744,10 +5754,10 @@ def register_subscriber request, options = nil
57445754
end
57455755

57465756
##
5747-
# Unregisters a service account with subscriber privileges on the Cloud
5748-
# Pub/Sub topic created for this Channel Services account. If there are no
5749-
# service accounts left with subscriber privileges, this deletes the topic.
5750-
# You can call ListSubscribers to check for these accounts.
5757+
# Unregisters a service account with subscriber privileges on the Pub/Sub
5758+
# topic created for this Channel Services account or integrator. If there are
5759+
# no service accounts left with subscriber privileges, this deletes the
5760+
# topic. You can call ListSubscribers to check for these accounts.
57515761
#
57525762
# Possible error codes:
57535763
#
@@ -5776,16 +5786,20 @@ def register_subscriber request, options = nil
57765786
# @param options [::Gapic::CallOptions, ::Hash]
57775787
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
57785788
#
5779-
# @overload unregister_subscriber(account: nil, service_account: nil)
5789+
# @overload unregister_subscriber(account: nil, service_account: nil, integrator: nil)
57805790
# Pass arguments to `unregister_subscriber` via keyword arguments. Note that at
57815791
# least one keyword argument is required. To specify no parameters, or to keep all
57825792
# the default parameter values, pass an empty Hash as a request object (see above).
57835793
#
57845794
# @param account [::String]
5785-
# Required. Resource name of the account.
5795+
# Optional. Resource name of the account. Required if integrator is not
5796+
# provided. Otherwise, leave this field empty/unset.
57865797
# @param service_account [::String]
57875798
# Required. Service account to unregister from subscriber access to the
57885799
# topic.
5800+
# @param integrator [::String]
5801+
# Optional. Resource name of the integrator. Required if account is not
5802+
# provided. Otherwise, leave this field empty/unset.
57895803
#
57905804
# @yield [response, operation] Access the result along with the RPC operation
57915805
# @yieldparam response [::Google::Cloud::Channel::V1::UnregisterSubscriberResponse]
@@ -5852,8 +5866,8 @@ def unregister_subscriber request, options = nil
58525866
end
58535867

58545868
##
5855-
# Lists service accounts with subscriber privileges on the Cloud Pub/Sub
5856-
# topic created for this Channel Services account.
5869+
# Lists service accounts with subscriber privileges on the Pub/Sub topic
5870+
# created for this Channel Services account or integrator.
58575871
#
58585872
# Possible error codes:
58595873
#
@@ -5880,13 +5894,14 @@ def unregister_subscriber request, options = nil
58805894
# @param options [::Gapic::CallOptions, ::Hash]
58815895
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
58825896
#
5883-
# @overload list_subscribers(account: nil, page_size: nil, page_token: nil)
5897+
# @overload list_subscribers(account: nil, page_size: nil, page_token: nil, integrator: nil)
58845898
# Pass arguments to `list_subscribers` via keyword arguments. Note that at
58855899
# least one keyword argument is required. To specify no parameters, or to keep all
58865900
# the default parameter values, pass an empty Hash as a request object (see above).
58875901
#
58885902
# @param account [::String]
5889-
# Required. Resource name of the account.
5903+
# Optional. Resource name of the account. Required if integrator is not
5904+
# provided. Otherwise, leave this field empty/unset.
58905905
# @param page_size [::Integer]
58915906
# Optional. The maximum number of service accounts to return. The service may
58925907
# return fewer than this value. If unspecified, returns at most 100 service
@@ -5898,6 +5913,9 @@ def unregister_subscriber request, options = nil
58985913
#
58995914
# When paginating, all other parameters provided to `ListSubscribers` must
59005915
# match the call that provided the page token.
5916+
# @param integrator [::String]
5917+
# Optional. Resource name of the integrator. Required if account is not
5918+
# provided. Otherwise, leave this field empty/unset.
59015919
#
59025920
# @yield [response, operation] Access the result along with the RPC operation
59035921
# @yieldparam response [::Google::Cloud::Channel::V1::ListSubscribersResponse]

google-cloud-channel-v1/lib/google/cloud/channel/v1/cloud_channel_service/paths.rb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,20 @@ module V1
2424
module CloudChannelService
2525
# Path helper methods for the CloudChannelService API.
2626
module Paths
27+
##
28+
# Create a fully-qualified Account resource string.
29+
#
30+
# The resource will be in the following format:
31+
#
32+
# `accounts/{account}`
33+
#
34+
# @param account [String]
35+
#
36+
# @return [::String]
37+
def account_path account:
38+
"accounts/#{account}"
39+
end
40+
2741
##
2842
# Create a fully-qualified ChannelPartnerLink resource string.
2943
#

0 commit comments

Comments
 (0)