google-apis-cloudchannel_v1 0.51.0 → 0.53.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: 1a7346d331f12582af20b0de6c1ca12fbc5bf1e9e6a6dccba04ac897b0ddc09c
4
- data.tar.gz: e6f8e0d26ec5ab0fe1add90440b9ddf86ea2ef445b711f978b06f001e0115a98
3
+ metadata.gz: 3f9616844226f5477794eb660a130eb4cfc86bfac42dce5bc8418514a12becaa
4
+ data.tar.gz: 61898ee1f3bb64a8feb681f1d5d53d47c53d1c035dba2a6b8c493408fcd1e414
5
5
  SHA512:
6
- metadata.gz: 15ce6d84cace435e44cda6f37d75f4316a9c9db598232037d0536017e385f0bc8d30c1edf5d9c3cda618dc71ea2237a32b2b3a1038008bdefa7bfd08df370e10
7
- data.tar.gz: 982448c564f40803711273c2e06062246f0940ec8e028a49b71e39f3cf6ffbda18bff6e084a3e4d92163aa0929f44db314d64d1db73a6ac8381ce4619732f69c
6
+ metadata.gz: 12a4236f5ae903d862f2a80c833e1375a663afb54a6185ad085b13cf3fb4a026efa479a6deaa315e499d4c46245a4405b895ee4c2e5f0cad5d4cd75ce33d77b7
7
+ data.tar.gz: b76914702b6875f3a399cf265be280faf3117efa4d76d67a85b0eb4d5a422b13f9980759f29b2b38290e1dfbccb27366c1385f8cd6bfc91e61bb201797634490
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudchannel_v1
2
2
 
3
+ ### v0.53.0 (2024-09-15)
4
+
5
+ * Regenerated from discovery document revision 20240913
6
+
7
+ ### v0.52.0 (2024-09-01)
8
+
9
+ * Regenerated from discovery document revision 20240828
10
+
3
11
  ### v0.51.0 (2024-08-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20240728
@@ -457,11 +457,18 @@ module Google
457
457
  include Google::Apis::Core::Hashable
458
458
 
459
459
  # Required. Domain to fetch for Cloud Identity account customers, including
460
- # domained and domainless.
460
+ # domain and team customers. For team customers, please use the domain for their
461
+ # emails.
461
462
  # Corresponds to the JSON property `domain`
462
463
  # @return [String]
463
464
  attr_accessor :domain
464
465
 
466
+ # Optional. Primary admin email to fetch for Cloud Identity account team
467
+ # customer.
468
+ # Corresponds to the JSON property `primaryAdminEmail`
469
+ # @return [String]
470
+ attr_accessor :primary_admin_email
471
+
465
472
  def initialize(**args)
466
473
  update!(**args)
467
474
  end
@@ -469,6 +476,7 @@ module Google
469
476
  # Update properties of this object
470
477
  def update!(**args)
471
478
  @domain = args[:domain] if args.key?(:domain)
479
+ @primary_admin_email = args[:primary_admin_email] if args.key?(:primary_admin_email)
472
480
  end
473
481
  end
474
482
 
@@ -496,6 +504,12 @@ module Google
496
504
  class GoogleCloudChannelV1CloudIdentityCustomerAccount
497
505
  include Google::Apis::Core::Hashable
498
506
 
507
+ # If existing = true, and is 2-tier customer, the channel partner of the
508
+ # customer.
509
+ # Corresponds to the JSON property `channelPartnerCloudIdentityId`
510
+ # @return [String]
511
+ attr_accessor :channel_partner_cloud_identity_id
512
+
499
513
  # If existing = true, the Cloud Identity ID of the customer.
500
514
  # Corresponds to the JSON property `customerCloudIdentityId`
501
515
  # @return [String]
@@ -507,6 +521,11 @@ module Google
507
521
  # @return [String]
508
522
  attr_accessor :customer_name
509
523
 
524
+ # If existing = true, the type of the customer.
525
+ # Corresponds to the JSON property `customerType`
526
+ # @return [String]
527
+ attr_accessor :customer_type
528
+
510
529
  # Returns true if a Cloud Identity account exists for a specific domain.
511
530
  # Corresponds to the JSON property `existing`
512
531
  # @return [Boolean]
@@ -526,8 +545,10 @@ module Google
526
545
 
527
546
  # Update properties of this object
528
547
  def update!(**args)
548
+ @channel_partner_cloud_identity_id = args[:channel_partner_cloud_identity_id] if args.key?(:channel_partner_cloud_identity_id)
529
549
  @customer_cloud_identity_id = args[:customer_cloud_identity_id] if args.key?(:customer_cloud_identity_id)
530
550
  @customer_name = args[:customer_name] if args.key?(:customer_name)
551
+ @customer_type = args[:customer_type] if args.key?(:customer_type)
531
552
  @existing = args[:existing] if args.key?(:existing)
532
553
  @owned = args[:owned] if args.key?(:owned)
533
554
  end
@@ -1447,6 +1468,11 @@ module Google
1447
1468
  attr_accessor :overwrite_if_exists
1448
1469
  alias_method :overwrite_if_exists?, :overwrite_if_exists
1449
1470
 
1471
+ # Required. Customer's primary admin email.
1472
+ # Corresponds to the JSON property `primaryAdminEmail`
1473
+ # @return [String]
1474
+ attr_accessor :primary_admin_email
1475
+
1450
1476
  def initialize(**args)
1451
1477
  update!(**args)
1452
1478
  end
@@ -1459,6 +1485,7 @@ module Google
1459
1485
  @customer = args[:customer] if args.key?(:customer)
1460
1486
  @domain = args[:domain] if args.key?(:domain)
1461
1487
  @overwrite_if_exists = args[:overwrite_if_exists] if args.key?(:overwrite_if_exists)
1488
+ @primary_admin_email = args[:primary_admin_email] if args.key?(:primary_admin_email)
1462
1489
  end
1463
1490
  end
1464
1491
 
@@ -2677,11 +2704,6 @@ module Google
2677
2704
  class GoogleCloudChannelV1RegisterSubscriberRequest
2678
2705
  include Google::Apis::Core::Hashable
2679
2706
 
2680
- # Optional. Resource name of the integrator.
2681
- # Corresponds to the JSON property `integrator`
2682
- # @return [String]
2683
- attr_accessor :integrator
2684
-
2685
2707
  # Required. Service account that provides subscriber access to the registered
2686
2708
  # topic.
2687
2709
  # Corresponds to the JSON property `serviceAccount`
@@ -2694,7 +2716,6 @@ module Google
2694
2716
 
2695
2717
  # Update properties of this object
2696
2718
  def update!(**args)
2697
- @integrator = args[:integrator] if args.key?(:integrator)
2698
2719
  @service_account = args[:service_account] if args.key?(:service_account)
2699
2720
  end
2700
2721
  end
@@ -3600,11 +3621,6 @@ module Google
3600
3621
  class GoogleCloudChannelV1UnregisterSubscriberRequest
3601
3622
  include Google::Apis::Core::Hashable
3602
3623
 
3603
- # Optional. Resource name of the integrator.
3604
- # Corresponds to the JSON property `integrator`
3605
- # @return [String]
3606
- attr_accessor :integrator
3607
-
3608
3624
  # Required. Service account to unregister from subscriber access to the topic.
3609
3625
  # Corresponds to the JSON property `serviceAccount`
3610
3626
  # @return [String]
@@ -3616,7 +3632,6 @@ module Google
3616
3632
 
3617
3633
  # Update properties of this object
3618
3634
  def update!(**args)
3619
- @integrator = args[:integrator] if args.key?(:integrator)
3620
3635
  @service_account = args[:service_account] if args.key?(:service_account)
3621
3636
  end
3622
3637
  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.51.0"
19
+ GEM_VERSION = "0.53.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 = "20240728"
25
+ REVISION = "20240913"
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,7 +1612,6 @@ module Google
1608
1612
  class GoogleCloudChannelV1RegisterSubscriberRequest
1609
1613
  # @private
1610
1614
  class Representation < Google::Apis::Core::JsonRepresentation
1611
- property :integrator, as: 'integrator'
1612
1615
  property :service_account, as: 'serviceAccount'
1613
1616
  end
1614
1617
  end
@@ -1890,7 +1893,6 @@ module Google
1890
1893
  class GoogleCloudChannelV1UnregisterSubscriberRequest
1891
1894
  # @private
1892
1895
  class Representation < Google::Apis::Core::JsonRepresentation
1893
- property :integrator, as: 'integrator'
1894
1896
  property :service_account, as: 'serviceAccount'
1895
1897
  end
1896
1898
  end
@@ -106,8 +106,6 @@ module Google
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.
111
109
  # @param [Fixnum] page_size
112
110
  # Optional. The maximum number of service accounts to return. The service may
113
111
  # return fewer than this value. If unspecified, returns at most 100 service
@@ -134,12 +132,11 @@ module Google
134
132
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
135
133
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
136
134
  # @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)
138
136
  command = make_simple_command(:get, 'v1/{+account}:listSubscribers', options)
139
137
  command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse::Representation
140
138
  command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse
141
139
  command.params['account'] = account unless account.nil?
142
- command.query['integrator'] = integrator unless integrator.nil?
143
140
  command.query['pageSize'] = page_size unless page_size.nil?
144
141
  command.query['pageToken'] = page_token unless page_token.nil?
145
142
  command.query['fields'] = fields unless fields.nil?
@@ -2637,152 +2634,6 @@ module Google
2637
2634
  execute_or_queue_command(command, &block)
2638
2635
  end
2639
2636
 
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
-
2786
2637
  # Starts asynchronous cancellation on a long-running operation. The server makes
2787
2638
  # a best effort to cancel the operation, but success is not guaranteed. If the
2788
2639
  # 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.51.0
4
+ version: 0.53.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-08-04 00:00:00.000000000 Z
11
+ date: 2024-09-15 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.51.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.53.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: []