google-apis-cloudchannel_v1 0.50.0 → 0.52.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: eb806895506418c12ffec0f2e856aa1ceec2616b523c2a9e199ceef451497f75
4
- data.tar.gz: b5034d597c1eaa1c261912381b2437291f8ddbb0980352e34351c18c8871209b
3
+ metadata.gz: 434feafbf1541f1062fa8c5e6dd6f62c6649e2cc8e62cc3f8e5240ce55cb8cda
4
+ data.tar.gz: fa5d0b22338297fc4b5f9628ce0e25bb848354e7d7ab98fae546f26f5277521a
5
5
  SHA512:
6
- metadata.gz: 7aa9fdbda5db4cd12408b39656d84389d9ddad8f14c4a270e60cdf66e28cc301b2295718bace45973cfda32a04030ac4a0273de53de771cbab310694873c9f3b
7
- data.tar.gz: 3c7f9405631265104dacdd57fbc223a3e22887072601042dfbe68d79c0ba54a73f54e8cfde857f98f37a95aec9215d7c84928e6684b2cd9f06a0573c3b439a40
6
+ metadata.gz: 8ef7a9da0306888c5d2e12536822e3f0446086733d36a1dbbe373ebe055b1d5d6b9a832bd8ec9cd12528de4dafc0f9a2349803abbd26e5753a44e809f987685c
7
+ data.tar.gz: 0217f37643a8a5b3ae3d92b24d4a19215cc905f780b1295c289223616fb7700aec17c846b0b92ed93630a57505a704ec98cb4529566c710b3a1534b251aeb71b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudchannel_v1
2
2
 
3
+ ### v0.52.0 (2024-09-01)
4
+
5
+ * Regenerated from discovery document revision 20240828
6
+
7
+ ### v0.51.0 (2024-08-04)
8
+
9
+ * Regenerated from discovery document revision 20240728
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.50.0 (2024-05-19)
4
13
 
5
14
  * Regenerated using generator version 0.15.0
@@ -462,6 +462,12 @@ module Google
462
462
  # @return [String]
463
463
  attr_accessor :domain
464
464
 
465
+ # Optional. Primary admin email to fetch for Cloud Identity account domainless
466
+ # customer.
467
+ # Corresponds to the JSON property `primaryAdminEmail`
468
+ # @return [String]
469
+ attr_accessor :primary_admin_email
470
+
465
471
  def initialize(**args)
466
472
  update!(**args)
467
473
  end
@@ -469,6 +475,7 @@ module Google
469
475
  # Update properties of this object
470
476
  def update!(**args)
471
477
  @domain = args[:domain] if args.key?(:domain)
478
+ @primary_admin_email = args[:primary_admin_email] if args.key?(:primary_admin_email)
472
479
  end
473
480
  end
474
481
 
@@ -496,6 +503,12 @@ module Google
496
503
  class GoogleCloudChannelV1CloudIdentityCustomerAccount
497
504
  include Google::Apis::Core::Hashable
498
505
 
506
+ # If existing = true, and is 2-tier customer, the channel partner of the
507
+ # customer.
508
+ # Corresponds to the JSON property `channelPartnerCloudIdentityId`
509
+ # @return [String]
510
+ attr_accessor :channel_partner_cloud_identity_id
511
+
499
512
  # If existing = true, the Cloud Identity ID of the customer.
500
513
  # Corresponds to the JSON property `customerCloudIdentityId`
501
514
  # @return [String]
@@ -507,6 +520,11 @@ module Google
507
520
  # @return [String]
508
521
  attr_accessor :customer_name
509
522
 
523
+ # If existing = true, the type of the customer.
524
+ # Corresponds to the JSON property `customerType`
525
+ # @return [String]
526
+ attr_accessor :customer_type
527
+
510
528
  # Returns true if a Cloud Identity account exists for a specific domain.
511
529
  # Corresponds to the JSON property `existing`
512
530
  # @return [Boolean]
@@ -526,8 +544,10 @@ module Google
526
544
 
527
545
  # Update properties of this object
528
546
  def update!(**args)
547
+ @channel_partner_cloud_identity_id = args[:channel_partner_cloud_identity_id] if args.key?(:channel_partner_cloud_identity_id)
529
548
  @customer_cloud_identity_id = args[:customer_cloud_identity_id] if args.key?(:customer_cloud_identity_id)
530
549
  @customer_name = args[:customer_name] if args.key?(:customer_name)
550
+ @customer_type = args[:customer_type] if args.key?(:customer_type)
531
551
  @existing = args[:existing] if args.key?(:existing)
532
552
  @owned = args[:owned] if args.key?(:owned)
533
553
  end
@@ -1447,6 +1467,11 @@ module Google
1447
1467
  attr_accessor :overwrite_if_exists
1448
1468
  alias_method :overwrite_if_exists?, :overwrite_if_exists
1449
1469
 
1470
+ # Optional. Customer's primary admin email.
1471
+ # Corresponds to the JSON property `primaryAdminEmail`
1472
+ # @return [String]
1473
+ attr_accessor :primary_admin_email
1474
+
1450
1475
  def initialize(**args)
1451
1476
  update!(**args)
1452
1477
  end
@@ -1459,6 +1484,7 @@ module Google
1459
1484
  @customer = args[:customer] if args.key?(:customer)
1460
1485
  @domain = args[:domain] if args.key?(:domain)
1461
1486
  @overwrite_if_exists = args[:overwrite_if_exists] if args.key?(:overwrite_if_exists)
1487
+ @primary_admin_email = args[:primary_admin_email] if args.key?(:primary_admin_email)
1462
1488
  end
1463
1489
  end
1464
1490
 
@@ -2677,6 +2703,11 @@ module Google
2677
2703
  class GoogleCloudChannelV1RegisterSubscriberRequest
2678
2704
  include Google::Apis::Core::Hashable
2679
2705
 
2706
+ # Optional. Resource name of the integrator.
2707
+ # Corresponds to the JSON property `integrator`
2708
+ # @return [String]
2709
+ attr_accessor :integrator
2710
+
2680
2711
  # Required. Service account that provides subscriber access to the registered
2681
2712
  # topic.
2682
2713
  # Corresponds to the JSON property `serviceAccount`
@@ -2689,6 +2720,7 @@ module Google
2689
2720
 
2690
2721
  # Update properties of this object
2691
2722
  def update!(**args)
2723
+ @integrator = args[:integrator] if args.key?(:integrator)
2692
2724
  @service_account = args[:service_account] if args.key?(:service_account)
2693
2725
  end
2694
2726
  end
@@ -3594,6 +3626,11 @@ module Google
3594
3626
  class GoogleCloudChannelV1UnregisterSubscriberRequest
3595
3627
  include Google::Apis::Core::Hashable
3596
3628
 
3629
+ # Optional. Resource name of the integrator.
3630
+ # Corresponds to the JSON property `integrator`
3631
+ # @return [String]
3632
+ attr_accessor :integrator
3633
+
3597
3634
  # Required. Service account to unregister from subscriber access to the topic.
3598
3635
  # Corresponds to the JSON property `serviceAccount`
3599
3636
  # @return [String]
@@ -3605,6 +3642,7 @@ module Google
3605
3642
 
3606
3643
  # Update properties of this object
3607
3644
  def update!(**args)
3645
+ @integrator = args[:integrator] if args.key?(:integrator)
3608
3646
  @service_account = args[:service_account] if args.key?(:service_account)
3609
3647
  end
3610
3648
  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.50.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240109"
25
+ REVISION = "20240828"
26
26
  end
27
27
  end
28
28
  end
@@ -975,6 +975,7 @@ module Google
975
975
  # @private
976
976
  class Representation < Google::Apis::Core::JsonRepresentation
977
977
  property :domain, as: 'domain'
978
+ property :primary_admin_email, as: 'primaryAdminEmail'
978
979
  end
979
980
  end
980
981
 
@@ -989,8 +990,10 @@ module Google
989
990
  class GoogleCloudChannelV1CloudIdentityCustomerAccount
990
991
  # @private
991
992
  class Representation < Google::Apis::Core::JsonRepresentation
993
+ property :channel_partner_cloud_identity_id, as: 'channelPartnerCloudIdentityId'
992
994
  property :customer_cloud_identity_id, as: 'customerCloudIdentityId'
993
995
  property :customer_name, as: 'customerName'
996
+ property :customer_type, as: 'customerType'
994
997
  property :existing, as: 'existing'
995
998
  property :owned, as: 'owned'
996
999
  end
@@ -1223,6 +1226,7 @@ module Google
1223
1226
  property :customer, as: 'customer'
1224
1227
  property :domain, as: 'domain'
1225
1228
  property :overwrite_if_exists, as: 'overwriteIfExists'
1229
+ property :primary_admin_email, as: 'primaryAdminEmail'
1226
1230
  end
1227
1231
  end
1228
1232
 
@@ -1608,6 +1612,7 @@ module Google
1608
1612
  class GoogleCloudChannelV1RegisterSubscriberRequest
1609
1613
  # @private
1610
1614
  class Representation < Google::Apis::Core::JsonRepresentation
1615
+ property :integrator, as: 'integrator'
1611
1616
  property :service_account, as: 'serviceAccount'
1612
1617
  end
1613
1618
  end
@@ -1889,6 +1894,7 @@ module Google
1889
1894
  class GoogleCloudChannelV1UnregisterSubscriberRequest
1890
1895
  # @private
1891
1896
  class Representation < Google::Apis::Core::JsonRepresentation
1897
+ property :integrator, as: 'integrator'
1892
1898
  property :service_account, as: 'serviceAccount'
1893
1899
  end
1894
1900
  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
- # Required. Resource name of the account.
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
- # Required. Resource name of the account.
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
- # Required. Resource name of the account.
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.50.0
4
+ version: 0.52.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-05-26 00:00:00.000000000 Z
11
+ date: 2024-09-01 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.50.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.52.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: []