@maxim_mazurok/gapi.client.cloudchannel-v1 0.0.20241021 → 0.0.20241024

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.
Files changed (3) hide show
  1. package/index.d.ts +176 -13
  2. package/package.json +1 -1
  3. package/readme.md +24 -3
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://cloudchannel.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20241021
12
+ // Revision: 20241024
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -639,11 +639,11 @@ declare namespace gapi.client {
639
639
  interface GoogleCloudChannelV1ListSkuGroupBillableSkusResponse {
640
640
  /** The list of billable SKUs in the requested SKU group. */
641
641
  billableSkus?: GoogleCloudChannelV1BillableSku[];
642
- /** A token to retrieve the next page of results. Pass to ListSkuGroupBillableSkus.page_token to obtain that page. */
642
+ /** A token to retrieve the next page of results. Pass to ListSkuGroupBillableSkusRequest.page_token to obtain that page. */
643
643
  nextPageToken?: string;
644
644
  }
645
645
  interface GoogleCloudChannelV1ListSkuGroupsResponse {
646
- /** A token to retrieve the next page of results. Pass to ListSkuGroups.page_token to obtain that page. */
646
+ /** A token to retrieve the next page of results. Pass to ListSkuGroupsRequest.page_token to obtain that page. */
647
647
  nextPageToken?: string;
648
648
  /** The list of SKU groups requested. */
649
649
  skuGroups?: GoogleCloudChannelV1SkuGroup[];
@@ -863,6 +863,10 @@ declare namespace gapi.client {
863
863
  skuPurchaseGroups?: GoogleCloudChannelV1SkuPurchaseGroup[];
864
864
  }
865
865
  interface GoogleCloudChannelV1RegisterSubscriberRequest {
866
+ /** Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. */
867
+ account?: string;
868
+ /** Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. */
869
+ integrator?: string;
866
870
  /** Required. Service account that provides subscriber access to the registered topic. */
867
871
  serviceAccount?: string;
868
872
  }
@@ -1058,6 +1062,10 @@ declare namespace gapi.client {
1058
1062
  trial?: boolean;
1059
1063
  }
1060
1064
  interface GoogleCloudChannelV1UnregisterSubscriberRequest {
1065
+ /** Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. */
1066
+ account?: string;
1067
+ /** Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. */
1068
+ integrator?: string;
1061
1069
  /** Required. Service account to unregister from subscriber access to the topic. */
1062
1070
  serviceAccount?: string;
1063
1071
  }
@@ -3389,7 +3397,7 @@ declare namespace gapi.client {
3389
3397
  oauth_token?: string;
3390
3398
  /** Optional. The maximum number of SKUs to return. The service may return fewer than this value. If unspecified, returns a maximum of 100000 SKUs. The maximum value is 100000; values above 100000 will be coerced to 100000. */
3391
3399
  pageSize?: number;
3392
- /** Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroupBillableSkus.next_page_token of the previous CloudChannelService.ListSkuGroupBillableSkus call. */
3400
+ /** Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroupBillableSkusResponse.next_page_token of the previous CloudChannelService.ListSkuGroupBillableSkus call. */
3393
3401
  pageToken?: string;
3394
3402
  /** Required. Resource name of the SKU group. Format: accounts/{account}/skuGroups/{sku_group}. */
3395
3403
  parent: string;
@@ -3422,7 +3430,7 @@ declare namespace gapi.client {
3422
3430
  oauth_token?: string;
3423
3431
  /** Optional. The maximum number of SKU groups to return. The service may return fewer than this value. If unspecified, returns a maximum of 1000 SKU groups. The maximum value is 1000; values above 1000 will be coerced to 1000. */
3424
3432
  pageSize?: number;
3425
- /** Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroups.next_page_token of the previous CloudChannelService.ListSkuGroups call. */
3433
+ /** Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroupsResponse.next_page_token of the previous CloudChannelService.ListSkuGroups call. */
3426
3434
  pageToken?: string;
3427
3435
  /** Required. The resource name of the account from which to list SKU groups. Parent uses the format: accounts/{account}. */
3428
3436
  parent: string;
@@ -3496,13 +3504,13 @@ declare namespace gapi.client {
3496
3504
  },
3497
3505
  body: GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest
3498
3506
  ): Request<GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse>;
3499
- /** Lists service accounts with subscriber privileges on the Cloud Pub/Sub topic created for this Channel Services account. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: A list of service email addresses. */
3507
+ /** Lists service accounts with subscriber privileges on the Pub/Sub topic created for this Channel Services account or integrator. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: A list of service email addresses. */
3500
3508
  listSubscribers(request?: {
3501
3509
  /** V1 error format. */
3502
3510
  '$.xgafv'?: string;
3503
3511
  /** OAuth access token. */
3504
3512
  access_token?: string;
3505
- /** Optional. Resource name of the account. */
3513
+ /** Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. */
3506
3514
  account: string;
3507
3515
  /** Data format for response. */
3508
3516
  alt?: string;
@@ -3510,6 +3518,8 @@ declare namespace gapi.client {
3510
3518
  callback?: string;
3511
3519
  /** Selector specifying which fields to include in a partial response. */
3512
3520
  fields?: string;
3521
+ /** Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. */
3522
+ integrator?: string;
3513
3523
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3514
3524
  key?: string;
3515
3525
  /** OAuth 2.0 token for the current user. */
@@ -3643,13 +3653,13 @@ declare namespace gapi.client {
3643
3653
  },
3644
3654
  body: GoogleCloudChannelV1ListTransferableSkusRequest
3645
3655
  ): Request<GoogleCloudChannelV1ListTransferableSkusResponse>;
3646
- /** Registers a service account with subscriber privileges on the Cloud Pub/Sub topic for this Channel Services account. After you create a subscriber, you get the events through SubscriberEvent Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name with the registered service email address. */
3656
+ /** 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 SubscriberEvent Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name with the registered service email address. */
3647
3657
  register(request: {
3648
3658
  /** V1 error format. */
3649
3659
  '$.xgafv'?: string;
3650
3660
  /** OAuth access token. */
3651
3661
  access_token?: string;
3652
- /** Optional. Resource name of the account. */
3662
+ /** Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. */
3653
3663
  account: string;
3654
3664
  /** Data format for response. */
3655
3665
  alt?: string;
@@ -3678,7 +3688,7 @@ declare namespace gapi.client {
3678
3688
  '$.xgafv'?: string;
3679
3689
  /** OAuth access token. */
3680
3690
  access_token?: string;
3681
- /** Optional. Resource name of the account. */
3691
+ /** Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. */
3682
3692
  account: string;
3683
3693
  /** Data format for response. */
3684
3694
  alt?: string;
@@ -3701,13 +3711,13 @@ declare namespace gapi.client {
3701
3711
  },
3702
3712
  body: GoogleCloudChannelV1RegisterSubscriberRequest
3703
3713
  ): Request<GoogleCloudChannelV1RegisterSubscriberResponse>;
3704
- /** 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. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that unregistered the service email address. Returns a success response if the service email address wasn't registered with the topic. */
3714
+ /** 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: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that unregistered the service email address. Returns a success response if the service email address wasn't registered with the topic. */
3705
3715
  unregister(request: {
3706
3716
  /** V1 error format. */
3707
3717
  '$.xgafv'?: string;
3708
3718
  /** OAuth access token. */
3709
3719
  access_token?: string;
3710
- /** Optional. Resource name of the account. */
3720
+ /** Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. */
3711
3721
  account: string;
3712
3722
  /** Data format for response. */
3713
3723
  alt?: string;
@@ -3736,7 +3746,7 @@ declare namespace gapi.client {
3736
3746
  '$.xgafv'?: string;
3737
3747
  /** OAuth access token. */
3738
3748
  access_token?: string;
3739
- /** Optional. Resource name of the account. */
3749
+ /** Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. */
3740
3750
  account: string;
3741
3751
  /** Data format for response. */
3742
3752
  alt?: string;
@@ -3766,6 +3776,157 @@ declare namespace gapi.client {
3766
3776
  reports: ReportsResource;
3767
3777
  skuGroups: SkuGroupsResource;
3768
3778
  }
3779
+ interface IntegratorsResource {
3780
+ /** Lists service accounts with subscriber privileges on the Pub/Sub topic created for this Channel Services account or integrator. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: A list of service email addresses. */
3781
+ listSubscribers(request?: {
3782
+ /** V1 error format. */
3783
+ '$.xgafv'?: string;
3784
+ /** OAuth access token. */
3785
+ access_token?: string;
3786
+ /** Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. */
3787
+ account?: string;
3788
+ /** Data format for response. */
3789
+ alt?: string;
3790
+ /** JSONP */
3791
+ callback?: string;
3792
+ /** Selector specifying which fields to include in a partial response. */
3793
+ fields?: string;
3794
+ /** Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. */
3795
+ integrator: string;
3796
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3797
+ key?: string;
3798
+ /** OAuth 2.0 token for the current user. */
3799
+ oauth_token?: string;
3800
+ /** Optional. The maximum number of service accounts to return. The service may return fewer than this value. If unspecified, returns at most 100 service accounts. The maximum value is 1000; the server will coerce values above 1000. */
3801
+ pageSize?: number;
3802
+ /** Optional. A page token, received from a previous `ListSubscribers` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSubscribers` must match the call that provided the page token. */
3803
+ pageToken?: string;
3804
+ /** Returns response with indentations and line breaks. */
3805
+ prettyPrint?: boolean;
3806
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3807
+ quotaUser?: string;
3808
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3809
+ upload_protocol?: string;
3810
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3811
+ uploadType?: string;
3812
+ }): Request<GoogleCloudChannelV1ListSubscribersResponse>;
3813
+ /** 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 SubscriberEvent Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name with the registered service email address. */
3814
+ registerSubscriber(request: {
3815
+ /** V1 error format. */
3816
+ '$.xgafv'?: string;
3817
+ /** OAuth access token. */
3818
+ access_token?: string;
3819
+ /** Data format for response. */
3820
+ alt?: string;
3821
+ /** JSONP */
3822
+ callback?: string;
3823
+ /** Selector specifying which fields to include in a partial response. */
3824
+ fields?: string;
3825
+ /** Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. */
3826
+ integrator: string;
3827
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3828
+ key?: string;
3829
+ /** OAuth 2.0 token for the current user. */
3830
+ oauth_token?: string;
3831
+ /** Returns response with indentations and line breaks. */
3832
+ prettyPrint?: boolean;
3833
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3834
+ quotaUser?: string;
3835
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3836
+ upload_protocol?: string;
3837
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3838
+ uploadType?: string;
3839
+ /** Request body */
3840
+ resource: GoogleCloudChannelV1RegisterSubscriberRequest;
3841
+ }): Request<GoogleCloudChannelV1RegisterSubscriberResponse>;
3842
+ registerSubscriber(
3843
+ request: {
3844
+ /** V1 error format. */
3845
+ '$.xgafv'?: string;
3846
+ /** OAuth access token. */
3847
+ access_token?: string;
3848
+ /** Data format for response. */
3849
+ alt?: string;
3850
+ /** JSONP */
3851
+ callback?: string;
3852
+ /** Selector specifying which fields to include in a partial response. */
3853
+ fields?: string;
3854
+ /** Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. */
3855
+ integrator: string;
3856
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3857
+ key?: string;
3858
+ /** OAuth 2.0 token for the current user. */
3859
+ oauth_token?: string;
3860
+ /** Returns response with indentations and line breaks. */
3861
+ prettyPrint?: boolean;
3862
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3863
+ quotaUser?: string;
3864
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3865
+ upload_protocol?: string;
3866
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3867
+ uploadType?: string;
3868
+ },
3869
+ body: GoogleCloudChannelV1RegisterSubscriberRequest
3870
+ ): Request<GoogleCloudChannelV1RegisterSubscriberResponse>;
3871
+ /** 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: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that unregistered the service email address. Returns a success response if the service email address wasn't registered with the topic. */
3872
+ unregisterSubscriber(request: {
3873
+ /** V1 error format. */
3874
+ '$.xgafv'?: string;
3875
+ /** OAuth access token. */
3876
+ access_token?: string;
3877
+ /** Data format for response. */
3878
+ alt?: string;
3879
+ /** JSONP */
3880
+ callback?: string;
3881
+ /** Selector specifying which fields to include in a partial response. */
3882
+ fields?: string;
3883
+ /** Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. */
3884
+ integrator: string;
3885
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3886
+ key?: string;
3887
+ /** OAuth 2.0 token for the current user. */
3888
+ oauth_token?: string;
3889
+ /** Returns response with indentations and line breaks. */
3890
+ prettyPrint?: boolean;
3891
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3892
+ quotaUser?: string;
3893
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3894
+ upload_protocol?: string;
3895
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3896
+ uploadType?: string;
3897
+ /** Request body */
3898
+ resource: GoogleCloudChannelV1UnregisterSubscriberRequest;
3899
+ }): Request<GoogleCloudChannelV1UnregisterSubscriberResponse>;
3900
+ unregisterSubscriber(
3901
+ request: {
3902
+ /** V1 error format. */
3903
+ '$.xgafv'?: string;
3904
+ /** OAuth access token. */
3905
+ access_token?: string;
3906
+ /** Data format for response. */
3907
+ alt?: string;
3908
+ /** JSONP */
3909
+ callback?: string;
3910
+ /** Selector specifying which fields to include in a partial response. */
3911
+ fields?: string;
3912
+ /** Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. */
3913
+ integrator: string;
3914
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3915
+ key?: string;
3916
+ /** OAuth 2.0 token for the current user. */
3917
+ oauth_token?: string;
3918
+ /** Returns response with indentations and line breaks. */
3919
+ prettyPrint?: boolean;
3920
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3921
+ quotaUser?: string;
3922
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3923
+ upload_protocol?: string;
3924
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3925
+ uploadType?: string;
3926
+ },
3927
+ body: GoogleCloudChannelV1UnregisterSubscriberRequest
3928
+ ): Request<GoogleCloudChannelV1UnregisterSubscriberResponse>;
3929
+ }
3769
3930
  interface OperationsResource {
3770
3931
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
3771
3932
  cancel(request: {
@@ -3989,6 +4150,8 @@ declare namespace gapi.client {
3989
4150
 
3990
4151
  const accounts: AccountsResource;
3991
4152
 
4153
+ const integrators: IntegratorsResource;
4154
+
3992
4155
  const operations: OperationsResource;
3993
4156
 
3994
4157
  const products: ProductsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudchannel-v1",
3
- "version": "0.0.20241021",
3
+ "version": "0.0.20241024",
4
4
  "description": "TypeScript typings for Cloud Channel API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -80,7 +80,7 @@ await gapi.client.cloudchannel.accounts.checkCloudIdentityAccountsExist({
80
80
  });
81
81
 
82
82
  /*
83
- Lists service accounts with subscriber privileges on the Cloud Pub/Sub topic created for this Channel Services account. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: A list of service email addresses.
83
+ Lists service accounts with subscriber privileges on the Pub/Sub topic created for this Channel Services account or integrator. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: A list of service email addresses.
84
84
  */
85
85
  await gapi.client.cloudchannel.accounts.listSubscribers({account: 'account'});
86
86
 
@@ -99,15 +99,36 @@ await gapi.client.cloudchannel.accounts.listTransferableSkus({
99
99
  });
100
100
 
101
101
  /*
102
- Registers a service account with subscriber privileges on the Cloud Pub/Sub topic for this Channel Services account. After you create a subscriber, you get the events through SubscriberEvent Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name with the registered service email address.
102
+ 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 SubscriberEvent Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name with the registered service email address.
103
103
  */
104
104
  await gapi.client.cloudchannel.accounts.register({account: 'account'});
105
105
 
106
106
  /*
107
- 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. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that unregistered the service email address. Returns a success response if the service email address wasn't registered with the topic.
107
+ 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: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that unregistered the service email address. Returns a success response if the service email address wasn't registered with the topic.
108
108
  */
109
109
  await gapi.client.cloudchannel.accounts.unregister({account: 'account'});
110
110
 
111
+ /*
112
+ Lists service accounts with subscriber privileges on the Pub/Sub topic created for this Channel Services account or integrator. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: A list of service email addresses.
113
+ */
114
+ await gapi.client.cloudchannel.integrators.listSubscribers({
115
+ integrator: 'integrator',
116
+ });
117
+
118
+ /*
119
+ 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 SubscriberEvent Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name with the registered service email address.
120
+ */
121
+ await gapi.client.cloudchannel.integrators.registerSubscriber({
122
+ integrator: 'integrator',
123
+ });
124
+
125
+ /*
126
+ 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: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that unregistered the service email address. Returns a success response if the service email address wasn't registered with the topic.
127
+ */
128
+ await gapi.client.cloudchannel.integrators.unregisterSubscriber({
129
+ integrator: 'integrator',
130
+ });
131
+
111
132
  /*
112
133
  Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
113
134
  */