Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2080,7 +2080,7 @@ def change_renewal_settings request, options = nil
# @param options [::Gapic::CallOptions, ::Hash]
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
#
# @overload change_offer(name: nil, offer: nil, parameters: nil, purchase_order_id: nil, request_id: nil, billing_account: nil)
# @overload change_offer(name: nil, offer: nil, parameters: nil, purchase_order_id: nil, request_id: nil, billing_account: nil, price_reference_id: nil)
# Pass arguments to `change_offer` via keyword arguments. Note that at
# least one keyword argument is required. To specify no parameters, or to keep all
# the default parameter values, pass an empty Hash as a request object (see above).
Expand Down Expand Up @@ -2118,6 +2118,10 @@ def change_renewal_settings request, options = nil
#
# This field is only relevant for multi-currency accounts. It should be
# left empty for single currency accounts.
# @param price_reference_id [::String]
# Optional. Price reference ID for the offer. Only for offers that require
# additional price information. Used to guarantee that the pricing is
# consistent between quoting the offer and placing the order.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::Operation]
Expand Down Expand Up @@ -4683,7 +4687,8 @@ def delete_channel_partner_repricing_config request, options = nil
# @param page_token [::String]
# Optional. A token identifying a page of results beyond the first page.
# Obtained through
# [ListSkuGroups.next_page_token][] of the previous
# {::Google::Cloud::Channel::V1::ListSkuGroupsResponse#next_page_token ListSkuGroupsResponse.next_page_token}
# of the previous
# {::Google::Cloud::Channel::V1::CloudChannelService::Client#list_sku_groups CloudChannelService.ListSkuGroups}
# call.
#
Expand Down Expand Up @@ -4803,7 +4808,8 @@ def list_sku_groups request, options = nil
# @param page_token [::String]
# Optional. A token identifying a page of results beyond the first page.
# Obtained through
# [ListSkuGroupBillableSkus.next_page_token][] of the previous
# {::Google::Cloud::Channel::V1::ListSkuGroupBillableSkusResponse#next_page_token ListSkuGroupBillableSkusResponse.next_page_token}
# of the previous
# {::Google::Cloud::Channel::V1::CloudChannelService::Client#list_sku_group_billable_skus CloudChannelService.ListSkuGroupBillableSkus}
# call.
#
Expand Down Expand Up @@ -5639,8 +5645,8 @@ def query_eligible_billing_accounts request, options = nil
end

##
# Registers a service account with subscriber privileges on the Cloud Pub/Sub
# topic for this Channel Services account. After you create a
# Registers a service account with subscriber privileges on the Pub/Sub
# topic for this Channel Services account or integrator. After you create a
# subscriber, you get the events through
# {::Google::Cloud::Channel::V1::SubscriberEvent SubscriberEvent}
#
Expand Down Expand Up @@ -5668,16 +5674,20 @@ def query_eligible_billing_accounts request, options = nil
# @param options [::Gapic::CallOptions, ::Hash]
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
#
# @overload register_subscriber(account: nil, service_account: nil)
# @overload register_subscriber(account: nil, service_account: nil, integrator: nil)
# Pass arguments to `register_subscriber` via keyword arguments. Note that at
# least one keyword argument is required. To specify no parameters, or to keep all
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param account [::String]
# Required. Resource name of the account.
# Optional. Resource name of the account. Required if integrator is not
# provided. Otherwise, leave this field empty/unset.
# @param service_account [::String]
# Required. Service account that provides subscriber access to the registered
# topic.
# @param integrator [::String]
# Optional. Resource name of the integrator. Required if account is not
# provided. Otherwise, leave this field empty/unset.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Google::Cloud::Channel::V1::RegisterSubscriberResponse]
Expand Down Expand Up @@ -5744,10 +5754,10 @@ def register_subscriber request, options = nil
end

##
# Unregisters a service account with subscriber privileges on the Cloud
# Pub/Sub topic created for this Channel Services account. If there are no
# service accounts left with subscriber privileges, this deletes the topic.
# You can call ListSubscribers to check for these accounts.
# Unregisters a service account with subscriber privileges on the Pub/Sub
# topic created for this Channel Services account or integrator. If there are
# no service accounts left with subscriber privileges, this deletes the
# topic. You can call ListSubscribers to check for these accounts.
#
# Possible error codes:
#
Expand Down Expand Up @@ -5776,16 +5786,20 @@ def register_subscriber request, options = nil
# @param options [::Gapic::CallOptions, ::Hash]
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
#
# @overload unregister_subscriber(account: nil, service_account: nil)
# @overload unregister_subscriber(account: nil, service_account: nil, integrator: nil)
# Pass arguments to `unregister_subscriber` via keyword arguments. Note that at
# least one keyword argument is required. To specify no parameters, or to keep all
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param account [::String]
# Required. Resource name of the account.
# Optional. Resource name of the account. Required if integrator is not
# provided. Otherwise, leave this field empty/unset.
# @param service_account [::String]
# Required. Service account to unregister from subscriber access to the
# topic.
# @param integrator [::String]
# Optional. Resource name of the integrator. Required if account is not
# provided. Otherwise, leave this field empty/unset.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Google::Cloud::Channel::V1::UnregisterSubscriberResponse]
Expand Down Expand Up @@ -5852,8 +5866,8 @@ def unregister_subscriber request, options = nil
end

##
# Lists service accounts with subscriber privileges on the Cloud Pub/Sub
# topic created for this Channel Services account.
# Lists service accounts with subscriber privileges on the Pub/Sub topic
# created for this Channel Services account or integrator.
#
# Possible error codes:
#
Expand All @@ -5880,13 +5894,14 @@ def unregister_subscriber request, options = nil
# @param options [::Gapic::CallOptions, ::Hash]
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
#
# @overload list_subscribers(account: nil, page_size: nil, page_token: nil)
# @overload list_subscribers(account: nil, page_size: nil, page_token: nil, integrator: nil)
# Pass arguments to `list_subscribers` via keyword arguments. Note that at
# least one keyword argument is required. To specify no parameters, or to keep all
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param account [::String]
# Required. Resource name of the account.
# Optional. Resource name of the account. Required if integrator is not
# provided. Otherwise, leave this field empty/unset.
# @param page_size [::Integer]
# Optional. The maximum number of service accounts to return. The service may
# return fewer than this value. If unspecified, returns at most 100 service
Expand All @@ -5898,6 +5913,9 @@ def unregister_subscriber request, options = nil
#
# When paginating, all other parameters provided to `ListSubscribers` must
# match the call that provided the page token.
# @param integrator [::String]
# Optional. Resource name of the integrator. Required if account is not
# provided. Otherwise, leave this field empty/unset.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Google::Cloud::Channel::V1::ListSubscribersResponse]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,20 @@ module V1
module CloudChannelService
# Path helper methods for the CloudChannelService API.
module Paths
##
# Create a fully-qualified Account resource string.
#
# The resource will be in the following format:
#
# `accounts/{account}`
#
# @param account [String]
#
# @return [::String]
def account_path account:
"accounts/#{account}"
end

##
# Create a fully-qualified ChannelPartnerLink resource string.
#
Expand Down
Loading
Loading