google-apis-cloudchannel_v1 0.49.0 → 0.51.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a7346d331f12582af20b0de6c1ca12fbc5bf1e9e6a6dccba04ac897b0ddc09c
|
4
|
+
data.tar.gz: e6f8e0d26ec5ab0fe1add90440b9ddf86ea2ef445b711f978b06f001e0115a98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15ce6d84cace435e44cda6f37d75f4316a9c9db598232037d0536017e385f0bc8d30c1edf5d9c3cda618dc71ea2237a32b2b3a1038008bdefa7bfd08df370e10
|
7
|
+
data.tar.gz: 982448c564f40803711273c2e06062246f0940ec8e028a49b71e39f3cf6ffbda18bff6e084a3e4d92163aa0929f44db314d64d1db73a6ac8381ce4619732f69c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-cloudchannel_v1
|
2
2
|
|
3
|
+
### v0.51.0 (2024-08-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240728
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.50.0 (2024-05-19)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.15.0
|
11
|
+
|
3
12
|
### v0.49.0 (2024-02-23)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.14.0
|
@@ -2677,6 +2677,11 @@ module Google
|
|
2677
2677
|
class GoogleCloudChannelV1RegisterSubscriberRequest
|
2678
2678
|
include Google::Apis::Core::Hashable
|
2679
2679
|
|
2680
|
+
# Optional. Resource name of the integrator.
|
2681
|
+
# Corresponds to the JSON property `integrator`
|
2682
|
+
# @return [String]
|
2683
|
+
attr_accessor :integrator
|
2684
|
+
|
2680
2685
|
# Required. Service account that provides subscriber access to the registered
|
2681
2686
|
# topic.
|
2682
2687
|
# Corresponds to the JSON property `serviceAccount`
|
@@ -2689,6 +2694,7 @@ module Google
|
|
2689
2694
|
|
2690
2695
|
# Update properties of this object
|
2691
2696
|
def update!(**args)
|
2697
|
+
@integrator = args[:integrator] if args.key?(:integrator)
|
2692
2698
|
@service_account = args[:service_account] if args.key?(:service_account)
|
2693
2699
|
end
|
2694
2700
|
end
|
@@ -3594,6 +3600,11 @@ module Google
|
|
3594
3600
|
class GoogleCloudChannelV1UnregisterSubscriberRequest
|
3595
3601
|
include Google::Apis::Core::Hashable
|
3596
3602
|
|
3603
|
+
# Optional. Resource name of the integrator.
|
3604
|
+
# Corresponds to the JSON property `integrator`
|
3605
|
+
# @return [String]
|
3606
|
+
attr_accessor :integrator
|
3607
|
+
|
3597
3608
|
# Required. Service account to unregister from subscriber access to the topic.
|
3598
3609
|
# Corresponds to the JSON property `serviceAccount`
|
3599
3610
|
# @return [String]
|
@@ -3605,6 +3616,7 @@ module Google
|
|
3605
3616
|
|
3606
3617
|
# Update properties of this object
|
3607
3618
|
def update!(**args)
|
3619
|
+
@integrator = args[:integrator] if args.key?(:integrator)
|
3608
3620
|
@service_account = args[:service_account] if args.key?(:service_account)
|
3609
3621
|
end
|
3610
3622
|
end
|
@@ -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.51.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240728"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1608,6 +1608,7 @@ module Google
|
|
1608
1608
|
class GoogleCloudChannelV1RegisterSubscriberRequest
|
1609
1609
|
# @private
|
1610
1610
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1611
|
+
property :integrator, as: 'integrator'
|
1611
1612
|
property :service_account, as: 'serviceAccount'
|
1612
1613
|
end
|
1613
1614
|
end
|
@@ -1889,6 +1890,7 @@ module Google
|
|
1889
1890
|
class GoogleCloudChannelV1UnregisterSubscriberRequest
|
1890
1891
|
# @private
|
1891
1892
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1893
|
+
property :integrator, as: 'integrator'
|
1892
1894
|
property :service_account, as: 'serviceAccount'
|
1893
1895
|
end
|
1894
1896
|
end
|
@@ -105,7 +105,9 @@ 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
|
-
#
|
108
|
+
# Optional. Resource name of the account.
|
109
|
+
# @param [String] integrator
|
110
|
+
# Optional. Resource name of the integrator.
|
109
111
|
# @param [Fixnum] page_size
|
110
112
|
# Optional. The maximum number of service accounts to return. The service may
|
111
113
|
# return fewer than this value. If unspecified, returns at most 100 service
|
@@ -132,11 +134,12 @@ module Google
|
|
132
134
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
133
135
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
134
136
|
# @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)
|
137
|
+
def list_account_subscribers(account, integrator: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
136
138
|
command = make_simple_command(:get, 'v1/{+account}:listSubscribers', options)
|
137
139
|
command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse::Representation
|
138
140
|
command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse
|
139
141
|
command.params['account'] = account unless account.nil?
|
142
|
+
command.query['integrator'] = integrator unless integrator.nil?
|
140
143
|
command.query['pageSize'] = page_size unless page_size.nil?
|
141
144
|
command.query['pageToken'] = page_token unless page_token.nil?
|
142
145
|
command.query['fields'] = fields unless fields.nil?
|
@@ -239,7 +242,7 @@ module Google
|
|
239
242
|
# technical issue in the backend. Contact Cloud Channel support. Return value:
|
240
243
|
# The topic name with the registered service email address.
|
241
244
|
# @param [String] account
|
242
|
-
#
|
245
|
+
# Optional. Resource name of the account.
|
243
246
|
# @param [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberRequest] google_cloud_channel_v1_register_subscriber_request_object
|
244
247
|
# @param [String] fields
|
245
248
|
# Selector specifying which fields to include in a partial response.
|
@@ -284,7 +287,7 @@ module Google
|
|
284
287
|
# the service email address. Returns a success response if the service email
|
285
288
|
# address wasn't registered with the topic.
|
286
289
|
# @param [String] account
|
287
|
-
#
|
290
|
+
# Optional. Resource name of the account.
|
288
291
|
# @param [Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberRequest] google_cloud_channel_v1_unregister_subscriber_request_object
|
289
292
|
# @param [String] fields
|
290
293
|
# Selector specifying which fields to include in a partial response.
|
@@ -2634,6 +2637,152 @@ module Google
|
|
2634
2637
|
execute_or_queue_command(command, &block)
|
2635
2638
|
end
|
2636
2639
|
|
2640
|
+
# Lists service accounts with subscriber privileges on the Cloud Pub/Sub topic
|
2641
|
+
# created for this Channel Services account. Possible error codes: *
|
2642
|
+
# PERMISSION_DENIED: The reseller account making the request and the provided
|
2643
|
+
# reseller account are different, or the impersonated user is not a super admin.
|
2644
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
|
2645
|
+
# NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error
|
2646
|
+
# related to a technical issue in the backend. Contact Cloud Channel support. *
|
2647
|
+
# UNKNOWN: Any non-user error related to a technical issue in the backend.
|
2648
|
+
# Contact Cloud Channel support. Return value: A list of service email addresses.
|
2649
|
+
# @param [String] integrator
|
2650
|
+
# Optional. Resource name of the integrator.
|
2651
|
+
# @param [String] account
|
2652
|
+
# Optional. Resource name of the account.
|
2653
|
+
# @param [Fixnum] page_size
|
2654
|
+
# Optional. The maximum number of service accounts to return. The service may
|
2655
|
+
# return fewer than this value. If unspecified, returns at most 100 service
|
2656
|
+
# accounts. The maximum value is 1000; the server will coerce values above 1000.
|
2657
|
+
# @param [String] page_token
|
2658
|
+
# Optional. A page token, received from a previous `ListSubscribers` call.
|
2659
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
2660
|
+
# parameters provided to `ListSubscribers` must match the call that provided the
|
2661
|
+
# page token.
|
2662
|
+
# @param [String] fields
|
2663
|
+
# Selector specifying which fields to include in a partial response.
|
2664
|
+
# @param [String] quota_user
|
2665
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2666
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2667
|
+
# @param [Google::Apis::RequestOptions] options
|
2668
|
+
# Request-specific options
|
2669
|
+
#
|
2670
|
+
# @yield [result, err] Result & error if block supplied
|
2671
|
+
# @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse] parsed result object
|
2672
|
+
# @yieldparam err [StandardError] error object if request failed
|
2673
|
+
#
|
2674
|
+
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse]
|
2675
|
+
#
|
2676
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2677
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2678
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2679
|
+
def list_integrator_subscribers(integrator, account: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2680
|
+
command = make_simple_command(:get, 'v1/{+integrator}:listSubscribers', options)
|
2681
|
+
command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse::Representation
|
2682
|
+
command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse
|
2683
|
+
command.params['integrator'] = integrator unless integrator.nil?
|
2684
|
+
command.query['account'] = account unless account.nil?
|
2685
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2686
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2687
|
+
command.query['fields'] = fields unless fields.nil?
|
2688
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2689
|
+
execute_or_queue_command(command, &block)
|
2690
|
+
end
|
2691
|
+
|
2692
|
+
# Registers a service account with subscriber privileges on the Cloud Pub/Sub
|
2693
|
+
# topic for this Channel Services account. After you create a subscriber, you
|
2694
|
+
# get the events through SubscriberEvent Possible error codes: *
|
2695
|
+
# PERMISSION_DENIED: The reseller account making the request and the provided
|
2696
|
+
# reseller account are different, or the impersonated user is not a super admin.
|
2697
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
|
2698
|
+
# INTERNAL: Any non-user error related to a technical issue in the backend.
|
2699
|
+
# Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a
|
2700
|
+
# technical issue in the backend. Contact Cloud Channel support. Return value:
|
2701
|
+
# The topic name with the registered service email address.
|
2702
|
+
# @param [String] integrator
|
2703
|
+
# Optional. Resource name of the integrator.
|
2704
|
+
# @param [String] account
|
2705
|
+
# Optional. Resource name of the account.
|
2706
|
+
# @param [String] service_account
|
2707
|
+
# Required. Service account that provides subscriber access to the registered
|
2708
|
+
# topic.
|
2709
|
+
# @param [String] fields
|
2710
|
+
# Selector specifying which fields to include in a partial response.
|
2711
|
+
# @param [String] quota_user
|
2712
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2713
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2714
|
+
# @param [Google::Apis::RequestOptions] options
|
2715
|
+
# Request-specific options
|
2716
|
+
#
|
2717
|
+
# @yield [result, err] Result & error if block supplied
|
2718
|
+
# @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberResponse] parsed result object
|
2719
|
+
# @yieldparam err [StandardError] error object if request failed
|
2720
|
+
#
|
2721
|
+
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberResponse]
|
2722
|
+
#
|
2723
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2724
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2725
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2726
|
+
def register_integrator(integrator, account: nil, service_account: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2727
|
+
command = make_simple_command(:post, 'v1/{+integrator}:register', options)
|
2728
|
+
command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberResponse::Representation
|
2729
|
+
command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberResponse
|
2730
|
+
command.params['integrator'] = integrator unless integrator.nil?
|
2731
|
+
command.query['account'] = account unless account.nil?
|
2732
|
+
command.query['serviceAccount'] = service_account unless service_account.nil?
|
2733
|
+
command.query['fields'] = fields unless fields.nil?
|
2734
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2735
|
+
execute_or_queue_command(command, &block)
|
2736
|
+
end
|
2737
|
+
|
2738
|
+
# Unregisters a service account with subscriber privileges on the Cloud Pub/Sub
|
2739
|
+
# topic created for this Channel Services account. If there are no service
|
2740
|
+
# accounts left with subscriber privileges, this deletes the topic. You can call
|
2741
|
+
# ListSubscribers to check for these accounts. Possible error codes: *
|
2742
|
+
# PERMISSION_DENIED: The reseller account making the request and the provided
|
2743
|
+
# reseller account are different, or the impersonated user is not a super admin.
|
2744
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
|
2745
|
+
# NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error
|
2746
|
+
# related to a technical issue in the backend. Contact Cloud Channel support. *
|
2747
|
+
# UNKNOWN: Any non-user error related to a technical issue in the backend.
|
2748
|
+
# Contact Cloud Channel support. Return value: The topic name that unregistered
|
2749
|
+
# the service email address. Returns a success response if the service email
|
2750
|
+
# address wasn't registered with the topic.
|
2751
|
+
# @param [String] integrator
|
2752
|
+
# Optional. Resource name of the integrator.
|
2753
|
+
# @param [String] account
|
2754
|
+
# Optional. Resource name of the account.
|
2755
|
+
# @param [String] service_account
|
2756
|
+
# Required. Service account to unregister from subscriber access to the topic.
|
2757
|
+
# @param [String] fields
|
2758
|
+
# Selector specifying which fields to include in a partial response.
|
2759
|
+
# @param [String] quota_user
|
2760
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2761
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2762
|
+
# @param [Google::Apis::RequestOptions] options
|
2763
|
+
# Request-specific options
|
2764
|
+
#
|
2765
|
+
# @yield [result, err] Result & error if block supplied
|
2766
|
+
# @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberResponse] parsed result object
|
2767
|
+
# @yieldparam err [StandardError] error object if request failed
|
2768
|
+
#
|
2769
|
+
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberResponse]
|
2770
|
+
#
|
2771
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2772
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2773
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2774
|
+
def unregister_integrator(integrator, account: nil, service_account: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2775
|
+
command = make_simple_command(:post, 'v1/{+integrator}:unregister', options)
|
2776
|
+
command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberResponse::Representation
|
2777
|
+
command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberResponse
|
2778
|
+
command.params['integrator'] = integrator unless integrator.nil?
|
2779
|
+
command.query['account'] = account unless account.nil?
|
2780
|
+
command.query['serviceAccount'] = service_account unless service_account.nil?
|
2781
|
+
command.query['fields'] = fields unless fields.nil?
|
2782
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2783
|
+
execute_or_queue_command(command, &block)
|
2784
|
+
end
|
2785
|
+
|
2637
2786
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
2638
2787
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
2639
2788
|
# 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.51.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-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.51.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: []
|