@@ -106,8 +106,6 @@ def check_account_cloud_identity_accounts_exist(parent, google_cloud_channel_v1_
106106 # Contact Cloud Channel support. Return value: A list of service email addresses.
107107 # @param [String] account
108108 # Optional. Resource name of the account.
109- # @param [String] integrator
110- # Optional. Resource name of the integrator.
111109 # @param [Fixnum] page_size
112110 # Optional. The maximum number of service accounts to return. The service may
113111 # return fewer than this value. If unspecified, returns at most 100 service
@@ -134,12 +132,11 @@ def check_account_cloud_identity_accounts_exist(parent, google_cloud_channel_v1_
134132 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
135133 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
136134 # @raise [Google::Apis::AuthorizationError] Authorization is required
137- def list_account_subscribers ( account , integrator : nil , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , &block )
135+ def list_account_subscribers ( account , page_size : nil , page_token : nil , fields : nil , quota_user : nil , options : nil , &block )
138136 command = make_simple_command ( :get , 'v1/{+account}:listSubscribers' , options )
139137 command . response_representation = Google ::Apis ::CloudchannelV1 ::GoogleCloudChannelV1ListSubscribersResponse ::Representation
140138 command . response_class = Google ::Apis ::CloudchannelV1 ::GoogleCloudChannelV1ListSubscribersResponse
141139 command . params [ 'account' ] = account unless account . nil?
142- command . query [ 'integrator' ] = integrator unless integrator . nil?
143140 command . query [ 'pageSize' ] = page_size unless page_size . nil?
144141 command . query [ 'pageToken' ] = page_token unless page_token . nil?
145142 command . query [ 'fields' ] = fields unless fields . nil?
@@ -2637,152 +2634,6 @@ def list_account_sku_group_billable_skus(parent, page_size: nil, page_token: nil
26372634 execute_or_queue_command ( command , &block )
26382635 end
26392636
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-
27862637 # Starts asynchronous cancellation on a long-running operation. The server makes
27872638 # a best effort to cancel the operation, but success is not guaranteed. If the
27882639 # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
0 commit comments