google-apis-cloudchannel_v1 0.53.0 → 0.55.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: 3f9616844226f5477794eb660a130eb4cfc86bfac42dce5bc8418514a12becaa
4
- data.tar.gz: 61898ee1f3bb64a8feb681f1d5d53d47c53d1c035dba2a6b8c493408fcd1e414
3
+ metadata.gz: c1192930585f8141c5053e87a2bea8c70cf9633c5ce75d62dbb6c74ef5963fa0
4
+ data.tar.gz: ca18f122b86249786c403d82a01d1f07714d5716d0db6fdcab655ed1bb2ccc70
5
5
  SHA512:
6
- metadata.gz: 12a4236f5ae903d862f2a80c833e1375a663afb54a6185ad085b13cf3fb4a026efa479a6deaa315e499d4c46245a4405b895ee4c2e5f0cad5d4cd75ce33d77b7
7
- data.tar.gz: b76914702b6875f3a399cf265be280faf3117efa4d76d67a85b0eb4d5a422b13f9980759f29b2b38290e1dfbccb27366c1385f8cd6bfc91e61bb201797634490
6
+ metadata.gz: 17494ee5b160f7c427fd6b74084748f1e747480e3e330e221b63ac1fd01499ed020197524d5d1762f72f0bb4e96e8e9f651c4a573335deb82e7547ca3896a607
7
+ data.tar.gz: 9749e2d6eeb68f3211eead74df21678cec19d10ad1249edc848d6f2979d8029e1b16a589e519ef8c2e74a1fb26a3f255ebe9a9b19d770c90306100d082258609
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudchannel_v1
2
2
 
3
+ ### v0.55.0 (2024-11-10)
4
+
5
+ * Regenerated from discovery document revision 20241102
6
+
7
+ ### v0.54.0 (2024-10-27)
8
+
9
+ * Regenerated from discovery document revision 20241024
10
+
3
11
  ### v0.53.0 (2024-09-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20240913
@@ -249,6 +249,15 @@ module Google
249
249
  # @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter>]
250
250
  attr_accessor :parameters
251
251
 
252
+ # Optional. Price reference ID for the offer. Optional field only for offers
253
+ # that require additional price information. Used to guarantee that the pricing
254
+ # is consistent between quoting the offer and placing the order. Yet to be
255
+ # implemented: this field is currently not evaluated in the API if populated in
256
+ # a request.
257
+ # Corresponds to the JSON property `priceReferenceId`
258
+ # @return [String]
259
+ attr_accessor :price_reference_id
260
+
252
261
  # Optional. Purchase order id provided by the reseller.
253
262
  # Corresponds to the JSON property `purchaseOrderId`
254
263
  # @return [String]
@@ -275,12 +284,13 @@ module Google
275
284
  @billing_account = args[:billing_account] if args.key?(:billing_account)
276
285
  @offer = args[:offer] if args.key?(:offer)
277
286
  @parameters = args[:parameters] if args.key?(:parameters)
287
+ @price_reference_id = args[:price_reference_id] if args.key?(:price_reference_id)
278
288
  @purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)
279
289
  @request_id = args[:request_id] if args.key?(:request_id)
280
290
  end
281
291
  end
282
292
 
283
- # Request message for CloudChannelService.ChangeParametersRequest.
293
+ # Request message for CloudChannelService.ChangeParameters.
284
294
  class GoogleCloudChannelV1ChangeParametersRequest
285
295
  include Google::Apis::Core::Hashable
286
296
 
@@ -973,7 +983,7 @@ module Google
973
983
  # @return [String]
974
984
  attr_accessor :customer
975
985
 
976
- # Type of event which happened on the customer.
986
+ # Type of event which happened for the customer.
977
987
  # Corresponds to the JSON property `eventType`
978
988
  # @return [String]
979
989
  attr_accessor :event_type
@@ -1181,6 +1191,15 @@ module Google
1181
1191
  # @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter>]
1182
1192
  attr_accessor :parameters
1183
1193
 
1194
+ # Optional. Price reference ID for the offer. Optional field only for offers
1195
+ # that require additional price information. Used to guarantee that the pricing
1196
+ # is consistent between quoting the offer and placing the order. Yet to be
1197
+ # implemented: this field is currently not evaluated in the API if populated in
1198
+ # a request.
1199
+ # Corresponds to the JSON property `priceReferenceId`
1200
+ # @return [String]
1201
+ attr_accessor :price_reference_id
1202
+
1184
1203
  # Service provisioned for an entitlement.
1185
1204
  # Corresponds to the JSON property `provisionedService`
1186
1205
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ProvisionedService]
@@ -1228,6 +1247,7 @@ module Google
1228
1247
  @name = args[:name] if args.key?(:name)
1229
1248
  @offer = args[:offer] if args.key?(:offer)
1230
1249
  @parameters = args[:parameters] if args.key?(:parameters)
1250
+ @price_reference_id = args[:price_reference_id] if args.key?(:price_reference_id)
1231
1251
  @provisioned_service = args[:provisioned_service] if args.key?(:provisioned_service)
1232
1252
  @provisioning_state = args[:provisioning_state] if args.key?(:provisioning_state)
1233
1253
  @purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)
@@ -1337,7 +1357,7 @@ module Google
1337
1357
  # @return [String]
1338
1358
  attr_accessor :entitlement
1339
1359
 
1340
- # Type of event which happened on the entitlement.
1360
+ # Type of event which happened for the entitlement.
1341
1361
  # Corresponds to the JSON property `eventType`
1342
1362
  # @return [String]
1343
1363
  attr_accessor :event_type
@@ -1779,8 +1799,8 @@ module Google
1779
1799
  # @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillableSku>]
1780
1800
  attr_accessor :billable_skus
1781
1801
 
1782
- # A token to retrieve the next page of results. Pass to ListSkuGroupBillableSkus.
1783
- # page_token to obtain that page.
1802
+ # A token to retrieve the next page of results. Pass to
1803
+ # ListSkuGroupBillableSkusRequest.page_token to obtain that page.
1784
1804
  # Corresponds to the JSON property `nextPageToken`
1785
1805
  # @return [String]
1786
1806
  attr_accessor :next_page_token
@@ -1800,8 +1820,8 @@ module Google
1800
1820
  class GoogleCloudChannelV1ListSkuGroupsResponse
1801
1821
  include Google::Apis::Core::Hashable
1802
1822
 
1803
- # A token to retrieve the next page of results. Pass to ListSkuGroups.page_token
1804
- # to obtain that page.
1823
+ # A token to retrieve the next page of results. Pass to ListSkuGroupsRequest.
1824
+ # page_token to obtain that page.
1805
1825
  # Corresponds to the JSON property `nextPageToken`
1806
1826
  # @return [String]
1807
1827
  attr_accessor :next_page_token
@@ -2307,10 +2327,9 @@ module Google
2307
2327
  include Google::Apis::Core::Hashable
2308
2328
 
2309
2329
  # A representation of a decimal value, such as 2.5. Clients may convert values
2310
- # into language-native decimal formats, such as Java's BigDecimal or Python's
2311
- # decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/
2312
- # api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.
2313
- # org/3/library/decimal.html
2330
+ # into language-native decimal formats, such as Java's [BigDecimal](https://docs.
2331
+ # oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or
2332
+ # Python's [decimal.Decimal](https://docs.python.org/3/library/decimal.html).
2314
2333
  # Corresponds to the JSON property `percentage`
2315
2334
  # @return [Google::Apis::CloudchannelV1::GoogleTypeDecimal]
2316
2335
  attr_accessor :percentage
@@ -2647,6 +2666,13 @@ module Google
2647
2666
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Offer]
2648
2667
  attr_accessor :offer
2649
2668
 
2669
+ # Optional. Price reference ID for the offer. Optional field only for offers
2670
+ # that require additional price information. Used to guarantee that the pricing
2671
+ # is consistent between quoting the offer and placing the order.
2672
+ # Corresponds to the JSON property `priceReferenceId`
2673
+ # @return [String]
2674
+ attr_accessor :price_reference_id
2675
+
2650
2676
  def initialize(**args)
2651
2677
  update!(**args)
2652
2678
  end
@@ -2654,6 +2680,7 @@ module Google
2654
2680
  # Update properties of this object
2655
2681
  def update!(**args)
2656
2682
  @offer = args[:offer] if args.key?(:offer)
2683
+ @price_reference_id = args[:price_reference_id] if args.key?(:price_reference_id)
2657
2684
  end
2658
2685
  end
2659
2686
 
@@ -2704,6 +2731,18 @@ module Google
2704
2731
  class GoogleCloudChannelV1RegisterSubscriberRequest
2705
2732
  include Google::Apis::Core::Hashable
2706
2733
 
2734
+ # Optional. Resource name of the account. Required if integrator is not provided.
2735
+ # Otherwise, leave this field empty/unset.
2736
+ # Corresponds to the JSON property `account`
2737
+ # @return [String]
2738
+ attr_accessor :account
2739
+
2740
+ # Optional. Resource name of the integrator. Required if account is not provided.
2741
+ # Otherwise, leave this field empty/unset.
2742
+ # Corresponds to the JSON property `integrator`
2743
+ # @return [String]
2744
+ attr_accessor :integrator
2745
+
2707
2746
  # Required. Service account that provides subscriber access to the registered
2708
2747
  # topic.
2709
2748
  # Corresponds to the JSON property `serviceAccount`
@@ -2716,6 +2755,8 @@ module Google
2716
2755
 
2717
2756
  # Update properties of this object
2718
2757
  def update!(**args)
2758
+ @account = args[:account] if args.key?(:account)
2759
+ @integrator = args[:integrator] if args.key?(:integrator)
2719
2760
  @service_account = args[:service_account] if args.key?(:service_account)
2720
2761
  end
2721
2762
  end
@@ -2952,10 +2993,9 @@ module Google
2952
2993
  attr_accessor :date_value
2953
2994
 
2954
2995
  # A representation of a decimal value, such as 2.5. Clients may convert values
2955
- # into language-native decimal formats, such as Java's BigDecimal or Python's
2956
- # decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/
2957
- # api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.
2958
- # org/3/library/decimal.html
2996
+ # into language-native decimal formats, such as Java's [BigDecimal](https://docs.
2997
+ # oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or
2998
+ # Python's [decimal.Decimal](https://docs.python.org/3/library/decimal.html).
2959
2999
  # Corresponds to the JSON property `decimalValue`
2960
3000
  # @return [Google::Apis::CloudchannelV1::GoogleTypeDecimal]
2961
3001
  attr_accessor :decimal_value
@@ -3541,6 +3581,13 @@ module Google
3541
3581
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Offer]
3542
3582
  attr_accessor :offer
3543
3583
 
3584
+ # Optional. Price reference ID for the offer. Optional field only for offers
3585
+ # that require additional price information. Used to guarantee that the pricing
3586
+ # is consistent between quoting the offer and placing the order.
3587
+ # Corresponds to the JSON property `priceReferenceId`
3588
+ # @return [String]
3589
+ attr_accessor :price_reference_id
3590
+
3544
3591
  def initialize(**args)
3545
3592
  update!(**args)
3546
3593
  end
@@ -3548,6 +3595,7 @@ module Google
3548
3595
  # Update properties of this object
3549
3596
  def update!(**args)
3550
3597
  @offer = args[:offer] if args.key?(:offer)
3598
+ @price_reference_id = args[:price_reference_id] if args.key?(:price_reference_id)
3551
3599
  end
3552
3600
  end
3553
3601
 
@@ -3621,6 +3669,18 @@ module Google
3621
3669
  class GoogleCloudChannelV1UnregisterSubscriberRequest
3622
3670
  include Google::Apis::Core::Hashable
3623
3671
 
3672
+ # Optional. Resource name of the account. Required if integrator is not provided.
3673
+ # Otherwise, leave this field empty/unset.
3674
+ # Corresponds to the JSON property `account`
3675
+ # @return [String]
3676
+ attr_accessor :account
3677
+
3678
+ # Optional. Resource name of the integrator. Required if account is not provided.
3679
+ # Otherwise, leave this field empty/unset.
3680
+ # Corresponds to the JSON property `integrator`
3681
+ # @return [String]
3682
+ attr_accessor :integrator
3683
+
3624
3684
  # Required. Service account to unregister from subscriber access to the topic.
3625
3685
  # Corresponds to the JSON property `serviceAccount`
3626
3686
  # @return [String]
@@ -3632,6 +3692,8 @@ module Google
3632
3692
 
3633
3693
  # Update properties of this object
3634
3694
  def update!(**args)
3695
+ @account = args[:account] if args.key?(:account)
3696
+ @integrator = args[:integrator] if args.key?(:integrator)
3635
3697
  @service_account = args[:service_account] if args.key?(:service_account)
3636
3698
  end
3637
3699
  end
@@ -3756,7 +3818,7 @@ module Google
3756
3818
  # @return [String]
3757
3819
  attr_accessor :channel_partner
3758
3820
 
3759
- # Type of event performed on the Channel Partner.
3821
+ # Type of event which happened for the channel partner.
3760
3822
  # Corresponds to the JSON property `eventType`
3761
3823
  # @return [String]
3762
3824
  attr_accessor :event_type
@@ -3847,7 +3909,7 @@ module Google
3847
3909
  # @return [String]
3848
3910
  attr_accessor :customer
3849
3911
 
3850
- # Type of event which happened on the customer.
3912
+ # Type of event which happened for the customer.
3851
3913
  # Corresponds to the JSON property `eventType`
3852
3914
  # @return [String]
3853
3915
  attr_accessor :event_type
@@ -4022,6 +4084,15 @@ module Google
4022
4084
  # @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter>]
4023
4085
  attr_accessor :parameters
4024
4086
 
4087
+ # Optional. Price reference ID for the offer. Optional field only for offers
4088
+ # that require additional price information. Used to guarantee that the pricing
4089
+ # is consistent between quoting the offer and placing the order. Yet to be
4090
+ # implemented: this field is currently not evaluated in the API if populated in
4091
+ # a request.
4092
+ # Corresponds to the JSON property `priceReferenceId`
4093
+ # @return [String]
4094
+ attr_accessor :price_reference_id
4095
+
4025
4096
  # Service provisioned for an entitlement.
4026
4097
  # Corresponds to the JSON property `provisionedService`
4027
4098
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ProvisionedService]
@@ -4073,6 +4144,7 @@ module Google
4073
4144
  @num_units = args[:num_units] if args.key?(:num_units)
4074
4145
  @offer = args[:offer] if args.key?(:offer)
4075
4146
  @parameters = args[:parameters] if args.key?(:parameters)
4147
+ @price_reference_id = args[:price_reference_id] if args.key?(:price_reference_id)
4076
4148
  @provisioned_service = args[:provisioned_service] if args.key?(:provisioned_service)
4077
4149
  @provisioning_state = args[:provisioning_state] if args.key?(:provisioning_state)
4078
4150
  @purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)
@@ -4092,7 +4164,7 @@ module Google
4092
4164
  # @return [String]
4093
4165
  attr_accessor :entitlement
4094
4166
 
4095
- # Type of event which happened on the entitlement.
4167
+ # Type of event which happened for the entitlement.
4096
4168
  # Corresponds to the JSON property `eventType`
4097
4169
  # @return [String]
4098
4170
  attr_accessor :event_type
@@ -4127,6 +4199,31 @@ module Google
4127
4199
  end
4128
4200
  end
4129
4201
 
4202
+ # Represents Pub/Sub message content describing opportunity updates.
4203
+ class GoogleCloudChannelV1alpha1OpportunityEvent
4204
+ include Google::Apis::Core::Hashable
4205
+
4206
+ # Type of event which happened for the opportunity.
4207
+ # Corresponds to the JSON property `eventType`
4208
+ # @return [String]
4209
+ attr_accessor :event_type
4210
+
4211
+ # Resource name of the opportunity. Format: opportunities/`opportunity`
4212
+ # Corresponds to the JSON property `opportunity`
4213
+ # @return [String]
4214
+ attr_accessor :opportunity
4215
+
4216
+ def initialize(**args)
4217
+ update!(**args)
4218
+ end
4219
+
4220
+ # Update properties of this object
4221
+ def update!(**args)
4222
+ @event_type = args[:event_type] if args.key?(:event_type)
4223
+ @opportunity = args[:opportunity] if args.key?(:opportunity)
4224
+ end
4225
+ end
4226
+
4130
4227
  # Definition for extended entitlement parameters.
4131
4228
  class GoogleCloudChannelV1alpha1Parameter
4132
4229
  include Google::Apis::Core::Hashable
@@ -4468,6 +4565,11 @@ module Google
4468
4565
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1EntitlementEvent]
4469
4566
  attr_accessor :entitlement_event
4470
4567
 
4568
+ # Represents Pub/Sub message content describing opportunity updates.
4569
+ # Corresponds to the JSON property `opportunityEvent`
4570
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1OpportunityEvent]
4571
+ attr_accessor :opportunity_event
4572
+
4471
4573
  def initialize(**args)
4472
4574
  update!(**args)
4473
4575
  end
@@ -4477,6 +4579,7 @@ module Google
4477
4579
  @channel_partner_event = args[:channel_partner_event] if args.key?(:channel_partner_event)
4478
4580
  @customer_event = args[:customer_event] if args.key?(:customer_event)
4479
4581
  @entitlement_event = args[:entitlement_event] if args.key?(:entitlement_event)
4582
+ @opportunity_event = args[:opportunity_event] if args.key?(:opportunity_event)
4480
4583
  end
4481
4584
  end
4482
4585
 
@@ -4858,10 +4961,9 @@ module Google
4858
4961
  end
4859
4962
 
4860
4963
  # A representation of a decimal value, such as 2.5. Clients may convert values
4861
- # into language-native decimal formats, such as Java's BigDecimal or Python's
4862
- # decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/
4863
- # api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.
4864
- # org/3/library/decimal.html
4964
+ # into language-native decimal formats, such as Java's [BigDecimal](https://docs.
4965
+ # oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or
4966
+ # Python's [decimal.Decimal](https://docs.python.org/3/library/decimal.html).
4865
4967
  class GoogleTypeDecimal
4866
4968
  include Google::Apis::Core::Hashable
4867
4969
 
@@ -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.53.0"
19
+ GEM_VERSION = "0.55.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 = "20240913"
25
+ REVISION = "20241102"
26
26
  end
27
27
  end
28
28
  end
@@ -712,6 +712,12 @@ module Google
712
712
  include Google::Apis::Core::JsonObjectSupport
713
713
  end
714
714
 
715
+ class GoogleCloudChannelV1alpha1OpportunityEvent
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ include Google::Apis::Core::JsonObjectSupport
719
+ end
720
+
715
721
  class GoogleCloudChannelV1alpha1Parameter
716
722
  class Representation < Google::Apis::Core::JsonRepresentation; end
717
723
 
@@ -922,6 +928,7 @@ module Google
922
928
  property :offer, as: 'offer'
923
929
  collection :parameters, as: 'parameters', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter::Representation
924
930
 
931
+ property :price_reference_id, as: 'priceReferenceId'
925
932
  property :purchase_order_id, as: 'purchaseOrderId'
926
933
  property :request_id, as: 'requestId'
927
934
  end
@@ -1158,6 +1165,7 @@ module Google
1158
1165
  property :offer, as: 'offer'
1159
1166
  collection :parameters, as: 'parameters', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter::Representation
1160
1167
 
1168
+ property :price_reference_id, as: 'priceReferenceId'
1161
1169
  property :provisioned_service, as: 'provisionedService', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ProvisionedService, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ProvisionedService::Representation
1162
1170
 
1163
1171
  property :provisioning_state, as: 'provisioningState'
@@ -1590,6 +1598,7 @@ module Google
1590
1598
  class Representation < Google::Apis::Core::JsonRepresentation
1591
1599
  property :offer, as: 'offer', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Offer, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Offer::Representation
1592
1600
 
1601
+ property :price_reference_id, as: 'priceReferenceId'
1593
1602
  end
1594
1603
  end
1595
1604
 
@@ -1612,6 +1621,8 @@ module Google
1612
1621
  class GoogleCloudChannelV1RegisterSubscriberRequest
1613
1622
  # @private
1614
1623
  class Representation < Google::Apis::Core::JsonRepresentation
1624
+ property :account, as: 'account'
1625
+ property :integrator, as: 'integrator'
1615
1626
  property :service_account, as: 'serviceAccount'
1616
1627
  end
1617
1628
  end
@@ -1867,6 +1878,7 @@ module Google
1867
1878
  class Representation < Google::Apis::Core::JsonRepresentation
1868
1879
  property :offer, as: 'offer', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Offer, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Offer::Representation
1869
1880
 
1881
+ property :price_reference_id, as: 'priceReferenceId'
1870
1882
  end
1871
1883
  end
1872
1884
 
@@ -1893,6 +1905,8 @@ module Google
1893
1905
  class GoogleCloudChannelV1UnregisterSubscriberRequest
1894
1906
  # @private
1895
1907
  class Representation < Google::Apis::Core::JsonRepresentation
1908
+ property :account, as: 'account'
1909
+ property :integrator, as: 'integrator'
1896
1910
  property :service_account, as: 'serviceAccount'
1897
1911
  end
1898
1912
  end
@@ -1997,6 +2011,7 @@ module Google
1997
2011
  property :offer, as: 'offer'
1998
2012
  collection :parameters, as: 'parameters', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter::Representation
1999
2013
 
2014
+ property :price_reference_id, as: 'priceReferenceId'
2000
2015
  property :provisioned_service, as: 'provisionedService', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ProvisionedService, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ProvisionedService::Representation
2001
2016
 
2002
2017
  property :provisioning_state, as: 'provisioningState'
@@ -2023,6 +2038,14 @@ module Google
2023
2038
  end
2024
2039
  end
2025
2040
 
2041
+ class GoogleCloudChannelV1alpha1OpportunityEvent
2042
+ # @private
2043
+ class Representation < Google::Apis::Core::JsonRepresentation
2044
+ property :event_type, as: 'eventType'
2045
+ property :opportunity, as: 'opportunity'
2046
+ end
2047
+ end
2048
+
2026
2049
  class GoogleCloudChannelV1alpha1Parameter
2027
2050
  # @private
2028
2051
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2125,6 +2148,8 @@ module Google
2125
2148
 
2126
2149
  property :entitlement_event, as: 'entitlementEvent', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1EntitlementEvent, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1EntitlementEvent::Representation
2127
2150
 
2151
+ property :opportunity_event, as: 'opportunityEvent', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1OpportunityEvent, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1OpportunityEvent::Representation
2152
+
2128
2153
  end
2129
2154
  end
2130
2155
 
@@ -95,8 +95,8 @@ module Google
95
95
  execute_or_queue_command(command, &block)
96
96
  end
97
97
 
98
- # Lists service accounts with subscriber privileges on the Cloud Pub/Sub topic
99
- # created for this Channel Services account. Possible error codes: *
98
+ # Lists service accounts with subscriber privileges on the Pub/Sub topic created
99
+ # for this Channel Services account or integrator. Possible error codes: *
100
100
  # PERMISSION_DENIED: The reseller account making the request and the provided
101
101
  # reseller account are different, or the impersonated user is not a super admin.
102
102
  # * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
@@ -105,7 +105,11 @@ 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
- # Optional. Resource name of the account.
108
+ # Optional. Resource name of the account. Required if integrator is not provided.
109
+ # Otherwise, leave this field empty/unset.
110
+ # @param [String] integrator
111
+ # Optional. Resource name of the integrator. Required if account is not provided.
112
+ # Otherwise, leave this field empty/unset.
109
113
  # @param [Fixnum] page_size
110
114
  # Optional. The maximum number of service accounts to return. The service may
111
115
  # return fewer than this value. If unspecified, returns at most 100 service
@@ -132,11 +136,12 @@ module Google
132
136
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
133
137
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
134
138
  # @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)
139
+ def list_account_subscribers(account, integrator: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
136
140
  command = make_simple_command(:get, 'v1/{+account}:listSubscribers', options)
137
141
  command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse::Representation
138
142
  command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse
139
143
  command.params['account'] = account unless account.nil?
144
+ command.query['integrator'] = integrator unless integrator.nil?
140
145
  command.query['pageSize'] = page_size unless page_size.nil?
141
146
  command.query['pageToken'] = page_token unless page_token.nil?
142
147
  command.query['fields'] = fields unless fields.nil?
@@ -228,9 +233,9 @@ module Google
228
233
  execute_or_queue_command(command, &block)
229
234
  end
230
235
 
231
- # Registers a service account with subscriber privileges on the Cloud Pub/Sub
232
- # topic for this Channel Services account. After you create a subscriber, you
233
- # get the events through SubscriberEvent Possible error codes: *
236
+ # Registers a service account with subscriber privileges on the Pub/Sub topic
237
+ # for this Channel Services account or integrator. After you create a subscriber,
238
+ # you get the events through SubscriberEvent Possible error codes: *
234
239
  # PERMISSION_DENIED: The reseller account making the request and the provided
235
240
  # reseller account are different, or the impersonated user is not a super admin.
236
241
  # * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
@@ -239,7 +244,8 @@ module Google
239
244
  # technical issue in the backend. Contact Cloud Channel support. Return value:
240
245
  # The topic name with the registered service email address.
241
246
  # @param [String] account
242
- # Optional. Resource name of the account.
247
+ # Optional. Resource name of the account. Required if integrator is not provided.
248
+ # Otherwise, leave this field empty/unset.
243
249
  # @param [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberRequest] google_cloud_channel_v1_register_subscriber_request_object
244
250
  # @param [String] fields
245
251
  # Selector specifying which fields to include in a partial response.
@@ -270,10 +276,10 @@ module Google
270
276
  execute_or_queue_command(command, &block)
271
277
  end
272
278
 
273
- # Unregisters a service account with subscriber privileges on the Cloud Pub/Sub
274
- # topic created for this Channel Services account. If there are no service
275
- # accounts left with subscriber privileges, this deletes the topic. You can call
276
- # ListSubscribers to check for these accounts. Possible error codes: *
279
+ # Unregisters a service account with subscriber privileges on the Pub/Sub topic
280
+ # created for this Channel Services account or integrator. If there are no
281
+ # service accounts left with subscriber privileges, this deletes the topic. You
282
+ # can call ListSubscribers to check for these accounts. Possible error codes: *
277
283
  # PERMISSION_DENIED: The reseller account making the request and the provided
278
284
  # reseller account are different, or the impersonated user is not a super admin.
279
285
  # * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
@@ -284,7 +290,8 @@ module Google
284
290
  # the service email address. Returns a success response if the service email
285
291
  # address wasn't registered with the topic.
286
292
  # @param [String] account
287
- # Optional. Resource name of the account.
293
+ # Optional. Resource name of the account. Required if integrator is not provided.
294
+ # Otherwise, leave this field empty/unset.
288
295
  # @param [Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberRequest] google_cloud_channel_v1_unregister_subscriber_request_object
289
296
  # @param [String] fields
290
297
  # Selector specifying which fields to include in a partial response.
@@ -2554,7 +2561,7 @@ module Google
2554
2561
  # The maximum value is 1000; values above 1000 will be coerced to 1000.
2555
2562
  # @param [String] page_token
2556
2563
  # Optional. A token identifying a page of results beyond the first page.
2557
- # Obtained through ListSkuGroups.next_page_token of the previous
2564
+ # Obtained through ListSkuGroupsResponse.next_page_token of the previous
2558
2565
  # CloudChannelService.ListSkuGroups call.
2559
2566
  # @param [String] fields
2560
2567
  # Selector specifying which fields to include in a partial response.
@@ -2603,8 +2610,8 @@ module Google
2603
2610
  # value is 100000; values above 100000 will be coerced to 100000.
2604
2611
  # @param [String] page_token
2605
2612
  # Optional. A token identifying a page of results beyond the first page.
2606
- # Obtained through ListSkuGroupBillableSkus.next_page_token of the previous
2607
- # CloudChannelService.ListSkuGroupBillableSkus call.
2613
+ # Obtained through ListSkuGroupBillableSkusResponse.next_page_token of the
2614
+ # previous CloudChannelService.ListSkuGroupBillableSkus call.
2608
2615
  # @param [String] fields
2609
2616
  # Selector specifying which fields to include in a partial response.
2610
2617
  # @param [String] quota_user
@@ -2634,6 +2641,149 @@ module Google
2634
2641
  execute_or_queue_command(command, &block)
2635
2642
  end
2636
2643
 
2644
+ # Lists service accounts with subscriber privileges on the Pub/Sub topic created
2645
+ # for this Channel Services account or integrator. Possible error codes: *
2646
+ # PERMISSION_DENIED: The reseller account making the request and the provided
2647
+ # reseller account are different, or the impersonated user is not a super admin.
2648
+ # * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
2649
+ # NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error
2650
+ # related to a technical issue in the backend. Contact Cloud Channel support. *
2651
+ # UNKNOWN: Any non-user error related to a technical issue in the backend.
2652
+ # Contact Cloud Channel support. Return value: A list of service email addresses.
2653
+ # @param [String] integrator
2654
+ # Optional. Resource name of the integrator. Required if account is not provided.
2655
+ # Otherwise, leave this field empty/unset.
2656
+ # @param [String] account
2657
+ # Optional. Resource name of the account. Required if integrator is not provided.
2658
+ # Otherwise, leave this field empty/unset.
2659
+ # @param [Fixnum] page_size
2660
+ # Optional. The maximum number of service accounts to return. The service may
2661
+ # return fewer than this value. If unspecified, returns at most 100 service
2662
+ # accounts. The maximum value is 1000; the server will coerce values above 1000.
2663
+ # @param [String] page_token
2664
+ # Optional. A page token, received from a previous `ListSubscribers` call.
2665
+ # Provide this to retrieve the subsequent page. When paginating, all other
2666
+ # parameters provided to `ListSubscribers` must match the call that provided the
2667
+ # page token.
2668
+ # @param [String] fields
2669
+ # Selector specifying which fields to include in a partial response.
2670
+ # @param [String] quota_user
2671
+ # Available to use for quota purposes for server-side applications. Can be any
2672
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2673
+ # @param [Google::Apis::RequestOptions] options
2674
+ # Request-specific options
2675
+ #
2676
+ # @yield [result, err] Result & error if block supplied
2677
+ # @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse] parsed result object
2678
+ # @yieldparam err [StandardError] error object if request failed
2679
+ #
2680
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse]
2681
+ #
2682
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2683
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2684
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2685
+ def list_integrator_subscribers(integrator, account: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2686
+ command = make_simple_command(:get, 'v1/{+integrator}:listSubscribers', options)
2687
+ command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse::Representation
2688
+ command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListSubscribersResponse
2689
+ command.params['integrator'] = integrator unless integrator.nil?
2690
+ command.query['account'] = account unless account.nil?
2691
+ command.query['pageSize'] = page_size unless page_size.nil?
2692
+ command.query['pageToken'] = page_token unless page_token.nil?
2693
+ command.query['fields'] = fields unless fields.nil?
2694
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2695
+ execute_or_queue_command(command, &block)
2696
+ end
2697
+
2698
+ # Registers a service account with subscriber privileges on the Pub/Sub topic
2699
+ # for this Channel Services account or integrator. After you create a subscriber,
2700
+ # you get the events through SubscriberEvent Possible error codes: *
2701
+ # PERMISSION_DENIED: The reseller account making the request and the provided
2702
+ # reseller account are different, or the impersonated user is not a super admin.
2703
+ # * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
2704
+ # INTERNAL: Any non-user error related to a technical issue in the backend.
2705
+ # Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a
2706
+ # technical issue in the backend. Contact Cloud Channel support. Return value:
2707
+ # The topic name with the registered service email address.
2708
+ # @param [String] integrator
2709
+ # Optional. Resource name of the integrator. Required if account is not provided.
2710
+ # Otherwise, leave this field empty/unset.
2711
+ # @param [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberRequest] google_cloud_channel_v1_register_subscriber_request_object
2712
+ # @param [String] fields
2713
+ # Selector specifying which fields to include in a partial response.
2714
+ # @param [String] quota_user
2715
+ # Available to use for quota purposes for server-side applications. Can be any
2716
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2717
+ # @param [Google::Apis::RequestOptions] options
2718
+ # Request-specific options
2719
+ #
2720
+ # @yield [result, err] Result & error if block supplied
2721
+ # @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberResponse] parsed result object
2722
+ # @yieldparam err [StandardError] error object if request failed
2723
+ #
2724
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberResponse]
2725
+ #
2726
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2727
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2728
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2729
+ def register_integrator_subscriber(integrator, google_cloud_channel_v1_register_subscriber_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2730
+ command = make_simple_command(:post, 'v1/{+integrator}:registerSubscriber', options)
2731
+ command.request_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberRequest::Representation
2732
+ command.request_object = google_cloud_channel_v1_register_subscriber_request_object
2733
+ command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberResponse::Representation
2734
+ command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1RegisterSubscriberResponse
2735
+ command.params['integrator'] = integrator unless integrator.nil?
2736
+ command.query['fields'] = fields unless fields.nil?
2737
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2738
+ execute_or_queue_command(command, &block)
2739
+ end
2740
+
2741
+ # Unregisters a service account with subscriber privileges on the Pub/Sub topic
2742
+ # created for this Channel Services account or integrator. If there are no
2743
+ # service accounts left with subscriber privileges, this deletes the topic. You
2744
+ # can call ListSubscribers to check for these accounts. Possible error codes: *
2745
+ # PERMISSION_DENIED: The reseller account making the request and the provided
2746
+ # reseller account are different, or the impersonated user is not a super admin.
2747
+ # * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
2748
+ # NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error
2749
+ # related to a technical issue in the backend. Contact Cloud Channel support. *
2750
+ # UNKNOWN: Any non-user error related to a technical issue in the backend.
2751
+ # Contact Cloud Channel support. Return value: The topic name that unregistered
2752
+ # the service email address. Returns a success response if the service email
2753
+ # address wasn't registered with the topic.
2754
+ # @param [String] integrator
2755
+ # Optional. Resource name of the integrator. Required if account is not provided.
2756
+ # Otherwise, leave this field empty/unset.
2757
+ # @param [Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberRequest] google_cloud_channel_v1_unregister_subscriber_request_object
2758
+ # @param [String] fields
2759
+ # Selector specifying which fields to include in a partial response.
2760
+ # @param [String] quota_user
2761
+ # Available to use for quota purposes for server-side applications. Can be any
2762
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2763
+ # @param [Google::Apis::RequestOptions] options
2764
+ # Request-specific options
2765
+ #
2766
+ # @yield [result, err] Result & error if block supplied
2767
+ # @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberResponse] parsed result object
2768
+ # @yieldparam err [StandardError] error object if request failed
2769
+ #
2770
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberResponse]
2771
+ #
2772
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2773
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2774
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2775
+ def unregister_integrator_subscriber(integrator, google_cloud_channel_v1_unregister_subscriber_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2776
+ command = make_simple_command(:post, 'v1/{+integrator}:unregisterSubscriber', options)
2777
+ command.request_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberRequest::Representation
2778
+ command.request_object = google_cloud_channel_v1_unregister_subscriber_request_object
2779
+ command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberResponse::Representation
2780
+ command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1UnregisterSubscriberResponse
2781
+ command.params['integrator'] = integrator unless integrator.nil?
2782
+ command.query['fields'] = fields unless fields.nil?
2783
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2784
+ execute_or_queue_command(command, &block)
2785
+ end
2786
+
2637
2787
  # Starts asynchronous cancellation on a long-running operation. The server makes
2638
2788
  # a best effort to cancel the operation, but success is not guaranteed. If the
2639
2789
  # 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.53.0
4
+ version: 0.55.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-09-15 00:00:00.000000000 Z
11
+ date: 2024-11-17 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.53.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.55.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Channel API V1