google-apis-cloudchannel_v1 0.53.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c2a5e6a33bf1c5c0fdd54c5b08e11ab665fdb24f57f210d4d16bab943aafa911
|
|
4
|
+
data.tar.gz: bf090ea435453bd12c918a261fc5785d26774c3745066f2809e12546607977aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '05355348b26d54fa9398ceb7297c24432a09ad323051275cace17266072cac5760245493a26d7dcec727e682183110969a9c2bbf84ff7e85766ae0b2c1df413a'
|
|
7
|
+
data.tar.gz: 42d1b597c0f1d4f9cfe76739a2db869e75f5f12b497a946e512192ee8eeb8ebb8b985059eda677544d028694f3090eb0f0778cb0f7063e045727c97dac33e683
|
data/CHANGELOG.md
CHANGED
|
@@ -280,7 +280,7 @@ module Google
|
|
|
280
280
|
end
|
|
281
281
|
end
|
|
282
282
|
|
|
283
|
-
# Request message for CloudChannelService.
|
|
283
|
+
# Request message for CloudChannelService.ChangeParameters.
|
|
284
284
|
class GoogleCloudChannelV1ChangeParametersRequest
|
|
285
285
|
include Google::Apis::Core::Hashable
|
|
286
286
|
|
|
@@ -1779,8 +1779,8 @@ module Google
|
|
|
1779
1779
|
# @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillableSku>]
|
|
1780
1780
|
attr_accessor :billable_skus
|
|
1781
1781
|
|
|
1782
|
-
# A token to retrieve the next page of results. Pass to
|
|
1783
|
-
# page_token to obtain that page.
|
|
1782
|
+
# A token to retrieve the next page of results. Pass to
|
|
1783
|
+
# ListSkuGroupBillableSkusRequest.page_token to obtain that page.
|
|
1784
1784
|
# Corresponds to the JSON property `nextPageToken`
|
|
1785
1785
|
# @return [String]
|
|
1786
1786
|
attr_accessor :next_page_token
|
|
@@ -1800,8 +1800,8 @@ module Google
|
|
|
1800
1800
|
class GoogleCloudChannelV1ListSkuGroupsResponse
|
|
1801
1801
|
include Google::Apis::Core::Hashable
|
|
1802
1802
|
|
|
1803
|
-
# A token to retrieve the next page of results. Pass to
|
|
1804
|
-
# to obtain that page.
|
|
1803
|
+
# A token to retrieve the next page of results. Pass to ListSkuGroupsRequest.
|
|
1804
|
+
# page_token to obtain that page.
|
|
1805
1805
|
# Corresponds to the JSON property `nextPageToken`
|
|
1806
1806
|
# @return [String]
|
|
1807
1807
|
attr_accessor :next_page_token
|
|
@@ -2704,6 +2704,18 @@ module Google
|
|
|
2704
2704
|
class GoogleCloudChannelV1RegisterSubscriberRequest
|
|
2705
2705
|
include Google::Apis::Core::Hashable
|
|
2706
2706
|
|
|
2707
|
+
# Optional. Resource name of the account. Required if integrator is not provided.
|
|
2708
|
+
# Otherwise, leave this field empty/unset.
|
|
2709
|
+
# Corresponds to the JSON property `account`
|
|
2710
|
+
# @return [String]
|
|
2711
|
+
attr_accessor :account
|
|
2712
|
+
|
|
2713
|
+
# Optional. Resource name of the integrator. Required if account is not provided.
|
|
2714
|
+
# Otherwise, leave this field empty/unset.
|
|
2715
|
+
# Corresponds to the JSON property `integrator`
|
|
2716
|
+
# @return [String]
|
|
2717
|
+
attr_accessor :integrator
|
|
2718
|
+
|
|
2707
2719
|
# Required. Service account that provides subscriber access to the registered
|
|
2708
2720
|
# topic.
|
|
2709
2721
|
# Corresponds to the JSON property `serviceAccount`
|
|
@@ -2716,6 +2728,8 @@ module Google
|
|
|
2716
2728
|
|
|
2717
2729
|
# Update properties of this object
|
|
2718
2730
|
def update!(**args)
|
|
2731
|
+
@account = args[:account] if args.key?(:account)
|
|
2732
|
+
@integrator = args[:integrator] if args.key?(:integrator)
|
|
2719
2733
|
@service_account = args[:service_account] if args.key?(:service_account)
|
|
2720
2734
|
end
|
|
2721
2735
|
end
|
|
@@ -3621,6 +3635,18 @@ module Google
|
|
|
3621
3635
|
class GoogleCloudChannelV1UnregisterSubscriberRequest
|
|
3622
3636
|
include Google::Apis::Core::Hashable
|
|
3623
3637
|
|
|
3638
|
+
# Optional. Resource name of the account. Required if integrator is not provided.
|
|
3639
|
+
# Otherwise, leave this field empty/unset.
|
|
3640
|
+
# Corresponds to the JSON property `account`
|
|
3641
|
+
# @return [String]
|
|
3642
|
+
attr_accessor :account
|
|
3643
|
+
|
|
3644
|
+
# Optional. Resource name of the integrator. Required if account is not provided.
|
|
3645
|
+
# Otherwise, leave this field empty/unset.
|
|
3646
|
+
# Corresponds to the JSON property `integrator`
|
|
3647
|
+
# @return [String]
|
|
3648
|
+
attr_accessor :integrator
|
|
3649
|
+
|
|
3624
3650
|
# Required. Service account to unregister from subscriber access to the topic.
|
|
3625
3651
|
# Corresponds to the JSON property `serviceAccount`
|
|
3626
3652
|
# @return [String]
|
|
@@ -3632,6 +3658,8 @@ module Google
|
|
|
3632
3658
|
|
|
3633
3659
|
# Update properties of this object
|
|
3634
3660
|
def update!(**args)
|
|
3661
|
+
@account = args[:account] if args.key?(:account)
|
|
3662
|
+
@integrator = args[:integrator] if args.key?(:integrator)
|
|
3635
3663
|
@service_account = args[:service_account] if args.key?(:service_account)
|
|
3636
3664
|
end
|
|
3637
3665
|
end
|
|
@@ -4022,6 +4050,15 @@ module Google
|
|
|
4022
4050
|
# @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter>]
|
|
4023
4051
|
attr_accessor :parameters
|
|
4024
4052
|
|
|
4053
|
+
# Optional. Price reference ID for the offer. Optional field only for offers
|
|
4054
|
+
# that require additional price information. Used to guarantee that the pricing
|
|
4055
|
+
# is consistent between quoting the offer and placing the order. Yet to be
|
|
4056
|
+
# implemented: this field is currently not evaluated in the API if populated in
|
|
4057
|
+
# a request.
|
|
4058
|
+
# Corresponds to the JSON property `priceReferenceId`
|
|
4059
|
+
# @return [String]
|
|
4060
|
+
attr_accessor :price_reference_id
|
|
4061
|
+
|
|
4025
4062
|
# Service provisioned for an entitlement.
|
|
4026
4063
|
# Corresponds to the JSON property `provisionedService`
|
|
4027
4064
|
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ProvisionedService]
|
|
@@ -4073,6 +4110,7 @@ module Google
|
|
|
4073
4110
|
@num_units = args[:num_units] if args.key?(:num_units)
|
|
4074
4111
|
@offer = args[:offer] if args.key?(:offer)
|
|
4075
4112
|
@parameters = args[:parameters] if args.key?(:parameters)
|
|
4113
|
+
@price_reference_id = args[:price_reference_id] if args.key?(:price_reference_id)
|
|
4076
4114
|
@provisioned_service = args[:provisioned_service] if args.key?(:provisioned_service)
|
|
4077
4115
|
@provisioning_state = args[:provisioning_state] if args.key?(:provisioning_state)
|
|
4078
4116
|
@purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module CloudchannelV1
|
|
18
18
|
# Version of the google-apis-cloudchannel_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.54.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20241024"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1612,6 +1612,8 @@ module Google
|
|
|
1612
1612
|
class GoogleCloudChannelV1RegisterSubscriberRequest
|
|
1613
1613
|
# @private
|
|
1614
1614
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1615
|
+
property :account, as: 'account'
|
|
1616
|
+
property :integrator, as: 'integrator'
|
|
1615
1617
|
property :service_account, as: 'serviceAccount'
|
|
1616
1618
|
end
|
|
1617
1619
|
end
|
|
@@ -1893,6 +1895,8 @@ module Google
|
|
|
1893
1895
|
class GoogleCloudChannelV1UnregisterSubscriberRequest
|
|
1894
1896
|
# @private
|
|
1895
1897
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1898
|
+
property :account, as: 'account'
|
|
1899
|
+
property :integrator, as: 'integrator'
|
|
1896
1900
|
property :service_account, as: 'serviceAccount'
|
|
1897
1901
|
end
|
|
1898
1902
|
end
|
|
@@ -1997,6 +2001,7 @@ module Google
|
|
|
1997
2001
|
property :offer, as: 'offer'
|
|
1998
2002
|
collection :parameters, as: 'parameters', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter::Representation
|
|
1999
2003
|
|
|
2004
|
+
property :price_reference_id, as: 'priceReferenceId'
|
|
2000
2005
|
property :provisioned_service, as: 'provisionedService', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ProvisionedService, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ProvisionedService::Representation
|
|
2001
2006
|
|
|
2002
2007
|
property :provisioning_state, as: 'provisioningState'
|
|
@@ -95,8 +95,8 @@ module Google
|
|
|
95
95
|
execute_or_queue_command(command, &block)
|
|
96
96
|
end
|
|
97
97
|
|
|
98
|
-
# Lists service accounts with subscriber privileges on the
|
|
99
|
-
#
|
|
98
|
+
# Lists service accounts with subscriber privileges on the Pub/Sub topic created
|
|
99
|
+
# for this Channel Services account or integrator. Possible error codes: *
|
|
100
100
|
# PERMISSION_DENIED: The reseller account making the request and the provided
|
|
101
101
|
# reseller account are different, or the impersonated user is not a super admin.
|
|
102
102
|
# * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
|
|
@@ -105,7 +105,11 @@ module Google
|
|
|
105
105
|
# UNKNOWN: Any non-user error related to a technical issue in the backend.
|
|
106
106
|
# Contact Cloud Channel support. Return value: A list of service email addresses.
|
|
107
107
|
# @param [String] account
|
|
108
|
-
# Optional. Resource name of the account.
|
|
108
|
+
# Optional. Resource name of the account. Required if integrator is not provided.
|
|
109
|
+
# Otherwise, leave this field empty/unset.
|
|
110
|
+
# @param [String] integrator
|
|
111
|
+
# Optional. Resource name of the integrator. Required if account is not provided.
|
|
112
|
+
# Otherwise, leave this field empty/unset.
|
|
109
113
|
# @param [Fixnum] page_size
|
|
110
114
|
# Optional. The maximum number of service accounts to return. The service may
|
|
111
115
|
# return fewer than this value. If unspecified, returns at most 100 service
|
|
@@ -132,11 +136,12 @@ module Google
|
|
|
132
136
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
133
137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
134
138
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
135
|
-
def list_account_subscribers(account, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
139
|
+
def list_account_subscribers(account, integrator: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
136
140
|
command = make_simple_command(:get, 'v1/{+account}:listSubscribers', options)
|
|
137
141
|
command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse::Representation
|
|
138
142
|
command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse
|
|
139
143
|
command.params['account'] = account unless account.nil?
|
|
144
|
+
command.query['integrator'] = integrator unless integrator.nil?
|
|
140
145
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
141
146
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
142
147
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -228,9 +233,9 @@ module Google
|
|
|
228
233
|
execute_or_queue_command(command, &block)
|
|
229
234
|
end
|
|
230
235
|
|
|
231
|
-
# Registers a service account with subscriber privileges on the
|
|
232
|
-
#
|
|
233
|
-
# get the events through SubscriberEvent Possible error codes: *
|
|
236
|
+
# Registers a service account with subscriber privileges on the Pub/Sub topic
|
|
237
|
+
# for this Channel Services account or integrator. After you create a subscriber,
|
|
238
|
+
# you get the events through SubscriberEvent Possible error codes: *
|
|
234
239
|
# PERMISSION_DENIED: The reseller account making the request and the provided
|
|
235
240
|
# reseller account are different, or the impersonated user is not a super admin.
|
|
236
241
|
# * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
|
|
@@ -239,7 +244,8 @@ module Google
|
|
|
239
244
|
# technical issue in the backend. Contact Cloud Channel support. Return value:
|
|
240
245
|
# The topic name with the registered service email address.
|
|
241
246
|
# @param [String] account
|
|
242
|
-
# Optional. Resource name of the account.
|
|
247
|
+
# Optional. Resource name of the account. Required if integrator is not provided.
|
|
248
|
+
# Otherwise, leave this field empty/unset.
|
|
243
249
|
# @param [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberRequest] google_cloud_channel_v1_register_subscriber_request_object
|
|
244
250
|
# @param [String] fields
|
|
245
251
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -270,10 +276,10 @@ module Google
|
|
|
270
276
|
execute_or_queue_command(command, &block)
|
|
271
277
|
end
|
|
272
278
|
|
|
273
|
-
# Unregisters a service account with subscriber privileges on the
|
|
274
|
-
#
|
|
275
|
-
# accounts left with subscriber privileges, this deletes the topic. You
|
|
276
|
-
# ListSubscribers to check for these accounts. Possible error codes: *
|
|
279
|
+
# Unregisters a service account with subscriber privileges on the Pub/Sub topic
|
|
280
|
+
# created for this Channel Services account or integrator. If there are no
|
|
281
|
+
# service accounts left with subscriber privileges, this deletes the topic. You
|
|
282
|
+
# can call ListSubscribers to check for these accounts. Possible error codes: *
|
|
277
283
|
# PERMISSION_DENIED: The reseller account making the request and the provided
|
|
278
284
|
# reseller account are different, or the impersonated user is not a super admin.
|
|
279
285
|
# * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
|
|
@@ -284,7 +290,8 @@ module Google
|
|
|
284
290
|
# the service email address. Returns a success response if the service email
|
|
285
291
|
# address wasn't registered with the topic.
|
|
286
292
|
# @param [String] account
|
|
287
|
-
# Optional. Resource name of the account.
|
|
293
|
+
# Optional. Resource name of the account. Required if integrator is not provided.
|
|
294
|
+
# Otherwise, leave this field empty/unset.
|
|
288
295
|
# @param [Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberRequest] google_cloud_channel_v1_unregister_subscriber_request_object
|
|
289
296
|
# @param [String] fields
|
|
290
297
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2554,7 +2561,7 @@ module Google
|
|
|
2554
2561
|
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
2555
2562
|
# @param [String] page_token
|
|
2556
2563
|
# Optional. A token identifying a page of results beyond the first page.
|
|
2557
|
-
# Obtained through
|
|
2564
|
+
# Obtained through ListSkuGroupsResponse.next_page_token of the previous
|
|
2558
2565
|
# CloudChannelService.ListSkuGroups call.
|
|
2559
2566
|
# @param [String] fields
|
|
2560
2567
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2603,8 +2610,8 @@ module Google
|
|
|
2603
2610
|
# value is 100000; values above 100000 will be coerced to 100000.
|
|
2604
2611
|
# @param [String] page_token
|
|
2605
2612
|
# Optional. A token identifying a page of results beyond the first page.
|
|
2606
|
-
# Obtained through
|
|
2607
|
-
# CloudChannelService.ListSkuGroupBillableSkus call.
|
|
2613
|
+
# Obtained through ListSkuGroupBillableSkusResponse.next_page_token of the
|
|
2614
|
+
# previous CloudChannelService.ListSkuGroupBillableSkus call.
|
|
2608
2615
|
# @param [String] fields
|
|
2609
2616
|
# Selector specifying which fields to include in a partial response.
|
|
2610
2617
|
# @param [String] quota_user
|
|
@@ -2634,6 +2641,149 @@ module Google
|
|
|
2634
2641
|
execute_or_queue_command(command, &block)
|
|
2635
2642
|
end
|
|
2636
2643
|
|
|
2644
|
+
# Lists service accounts with subscriber privileges on the Pub/Sub topic created
|
|
2645
|
+
# for this Channel Services account or integrator. Possible error codes: *
|
|
2646
|
+
# PERMISSION_DENIED: The reseller account making the request and the provided
|
|
2647
|
+
# reseller account are different, or the impersonated user is not a super admin.
|
|
2648
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
|
|
2649
|
+
# NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error
|
|
2650
|
+
# related to a technical issue in the backend. Contact Cloud Channel support. *
|
|
2651
|
+
# UNKNOWN: Any non-user error related to a technical issue in the backend.
|
|
2652
|
+
# Contact Cloud Channel support. Return value: A list of service email addresses.
|
|
2653
|
+
# @param [String] integrator
|
|
2654
|
+
# Optional. Resource name of the integrator. Required if account is not provided.
|
|
2655
|
+
# Otherwise, leave this field empty/unset.
|
|
2656
|
+
# @param [String] account
|
|
2657
|
+
# Optional. Resource name of the account. Required if integrator is not provided.
|
|
2658
|
+
# Otherwise, leave this field empty/unset.
|
|
2659
|
+
# @param [Fixnum] page_size
|
|
2660
|
+
# Optional. The maximum number of service accounts to return. The service may
|
|
2661
|
+
# return fewer than this value. If unspecified, returns at most 100 service
|
|
2662
|
+
# accounts. The maximum value is 1000; the server will coerce values above 1000.
|
|
2663
|
+
# @param [String] page_token
|
|
2664
|
+
# Optional. A page token, received from a previous `ListSubscribers` call.
|
|
2665
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
|
2666
|
+
# parameters provided to `ListSubscribers` must match the call that provided the
|
|
2667
|
+
# page token.
|
|
2668
|
+
# @param [String] fields
|
|
2669
|
+
# Selector specifying which fields to include in a partial response.
|
|
2670
|
+
# @param [String] quota_user
|
|
2671
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2672
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2673
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2674
|
+
# Request-specific options
|
|
2675
|
+
#
|
|
2676
|
+
# @yield [result, err] Result & error if block supplied
|
|
2677
|
+
# @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse] parsed result object
|
|
2678
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2679
|
+
#
|
|
2680
|
+
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse]
|
|
2681
|
+
#
|
|
2682
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2683
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2684
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2685
|
+
def list_integrator_subscribers(integrator, account: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2686
|
+
command = make_simple_command(:get, 'v1/{+integrator}:listSubscribers', options)
|
|
2687
|
+
command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse::Representation
|
|
2688
|
+
command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse
|
|
2689
|
+
command.params['integrator'] = integrator unless integrator.nil?
|
|
2690
|
+
command.query['account'] = account unless account.nil?
|
|
2691
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2692
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2693
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2694
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2695
|
+
execute_or_queue_command(command, &block)
|
|
2696
|
+
end
|
|
2697
|
+
|
|
2698
|
+
# Registers a service account with subscriber privileges on the Pub/Sub topic
|
|
2699
|
+
# for this Channel Services account or integrator. After you create a subscriber,
|
|
2700
|
+
# you get the events through SubscriberEvent Possible error codes: *
|
|
2701
|
+
# PERMISSION_DENIED: The reseller account making the request and the provided
|
|
2702
|
+
# reseller account are different, or the impersonated user is not a super admin.
|
|
2703
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
|
|
2704
|
+
# INTERNAL: Any non-user error related to a technical issue in the backend.
|
|
2705
|
+
# Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a
|
|
2706
|
+
# technical issue in the backend. Contact Cloud Channel support. Return value:
|
|
2707
|
+
# The topic name with the registered service email address.
|
|
2708
|
+
# @param [String] integrator
|
|
2709
|
+
# Optional. Resource name of the integrator. Required if account is not provided.
|
|
2710
|
+
# Otherwise, leave this field empty/unset.
|
|
2711
|
+
# @param [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberRequest] google_cloud_channel_v1_register_subscriber_request_object
|
|
2712
|
+
# @param [String] fields
|
|
2713
|
+
# Selector specifying which fields to include in a partial response.
|
|
2714
|
+
# @param [String] quota_user
|
|
2715
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2716
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2717
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2718
|
+
# Request-specific options
|
|
2719
|
+
#
|
|
2720
|
+
# @yield [result, err] Result & error if block supplied
|
|
2721
|
+
# @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberResponse] parsed result object
|
|
2722
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2723
|
+
#
|
|
2724
|
+
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberResponse]
|
|
2725
|
+
#
|
|
2726
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2727
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2728
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2729
|
+
def register_integrator_subscriber(integrator, google_cloud_channel_v1_register_subscriber_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2730
|
+
command = make_simple_command(:post, 'v1/{+integrator}:registerSubscriber', options)
|
|
2731
|
+
command.request_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberRequest::Representation
|
|
2732
|
+
command.request_object = google_cloud_channel_v1_register_subscriber_request_object
|
|
2733
|
+
command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberResponse::Representation
|
|
2734
|
+
command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberResponse
|
|
2735
|
+
command.params['integrator'] = integrator unless integrator.nil?
|
|
2736
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2737
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2738
|
+
execute_or_queue_command(command, &block)
|
|
2739
|
+
end
|
|
2740
|
+
|
|
2741
|
+
# Unregisters a service account with subscriber privileges on the Pub/Sub topic
|
|
2742
|
+
# created for this Channel Services account or integrator. If there are no
|
|
2743
|
+
# service accounts left with subscriber privileges, this deletes the topic. You
|
|
2744
|
+
# can call ListSubscribers to check for these accounts. Possible error codes: *
|
|
2745
|
+
# PERMISSION_DENIED: The reseller account making the request and the provided
|
|
2746
|
+
# reseller account are different, or the impersonated user is not a super admin.
|
|
2747
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
|
|
2748
|
+
# NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error
|
|
2749
|
+
# related to a technical issue in the backend. Contact Cloud Channel support. *
|
|
2750
|
+
# UNKNOWN: Any non-user error related to a technical issue in the backend.
|
|
2751
|
+
# Contact Cloud Channel support. Return value: The topic name that unregistered
|
|
2752
|
+
# the service email address. Returns a success response if the service email
|
|
2753
|
+
# address wasn't registered with the topic.
|
|
2754
|
+
# @param [String] integrator
|
|
2755
|
+
# Optional. Resource name of the integrator. Required if account is not provided.
|
|
2756
|
+
# Otherwise, leave this field empty/unset.
|
|
2757
|
+
# @param [Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberRequest] google_cloud_channel_v1_unregister_subscriber_request_object
|
|
2758
|
+
# @param [String] fields
|
|
2759
|
+
# Selector specifying which fields to include in a partial response.
|
|
2760
|
+
# @param [String] quota_user
|
|
2761
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2762
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2763
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2764
|
+
# Request-specific options
|
|
2765
|
+
#
|
|
2766
|
+
# @yield [result, err] Result & error if block supplied
|
|
2767
|
+
# @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberResponse] parsed result object
|
|
2768
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2769
|
+
#
|
|
2770
|
+
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberResponse]
|
|
2771
|
+
#
|
|
2772
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2773
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2774
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2775
|
+
def unregister_integrator_subscriber(integrator, google_cloud_channel_v1_unregister_subscriber_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2776
|
+
command = make_simple_command(:post, 'v1/{+integrator}:unregisterSubscriber', options)
|
|
2777
|
+
command.request_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberRequest::Representation
|
|
2778
|
+
command.request_object = google_cloud_channel_v1_unregister_subscriber_request_object
|
|
2779
|
+
command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberResponse::Representation
|
|
2780
|
+
command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberResponse
|
|
2781
|
+
command.params['integrator'] = integrator unless integrator.nil?
|
|
2782
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2783
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2784
|
+
execute_or_queue_command(command, &block)
|
|
2785
|
+
end
|
|
2786
|
+
|
|
2637
2787
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
2638
2788
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
2639
2789
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-cloudchannel_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.54.0
|
|
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-
|
|
11
|
+
date: 2024-10-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -58,7 +58,7 @@ licenses:
|
|
|
58
58
|
metadata:
|
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudchannel_v1/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.54.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudchannel_v1
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
75
75
|
- !ruby/object:Gem::Version
|
|
76
76
|
version: '0'
|
|
77
77
|
requirements: []
|
|
78
|
-
rubygems_version: 3.5.
|
|
78
|
+
rubygems_version: 3.5.21
|
|
79
79
|
signing_key:
|
|
80
80
|
specification_version: 4
|
|
81
81
|
summary: Simple REST client for Cloud Channel API V1
|