google-apis-cloudchannel_v1 0.54.0 → 0.55.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: c2a5e6a33bf1c5c0fdd54c5b08e11ab665fdb24f57f210d4d16bab943aafa911
4
- data.tar.gz: bf090ea435453bd12c918a261fc5785d26774c3745066f2809e12546607977aa
3
+ metadata.gz: c1192930585f8141c5053e87a2bea8c70cf9633c5ce75d62dbb6c74ef5963fa0
4
+ data.tar.gz: ca18f122b86249786c403d82a01d1f07714d5716d0db6fdcab655ed1bb2ccc70
5
5
  SHA512:
6
- metadata.gz: '05355348b26d54fa9398ceb7297c24432a09ad323051275cace17266072cac5760245493a26d7dcec727e682183110969a9c2bbf84ff7e85766ae0b2c1df413a'
7
- data.tar.gz: 42d1b597c0f1d4f9cfe76739a2db869e75f5f12b497a946e512192ee8eeb8ebb8b985059eda677544d028694f3090eb0f0778cb0f7063e045727c97dac33e683
6
+ metadata.gz: 17494ee5b160f7c427fd6b74084748f1e747480e3e330e221b63ac1fd01499ed020197524d5d1762f72f0bb4e96e8e9f651c4a573335deb82e7547ca3896a607
7
+ data.tar.gz: 9749e2d6eeb68f3211eead74df21678cec19d10ad1249edc848d6f2979d8029e1b16a589e519ef8c2e74a1fb26a3f255ebe9a9b19d770c90306100d082258609
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.54.0 (2024-10-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20241024
@@ -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,6 +284,7 @@ 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
@@ -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
@@ -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
 
@@ -2966,10 +2993,9 @@ module Google
2966
2993
  attr_accessor :date_value
2967
2994
 
2968
2995
  # A representation of a decimal value, such as 2.5. Clients may convert values
2969
- # into language-native decimal formats, such as Java's BigDecimal or Python's
2970
- # decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/
2971
- # api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.
2972
- # 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).
2973
2999
  # Corresponds to the JSON property `decimalValue`
2974
3000
  # @return [Google::Apis::CloudchannelV1::GoogleTypeDecimal]
2975
3001
  attr_accessor :decimal_value
@@ -3555,6 +3581,13 @@ module Google
3555
3581
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Offer]
3556
3582
  attr_accessor :offer
3557
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
+
3558
3591
  def initialize(**args)
3559
3592
  update!(**args)
3560
3593
  end
@@ -3562,6 +3595,7 @@ module Google
3562
3595
  # Update properties of this object
3563
3596
  def update!(**args)
3564
3597
  @offer = args[:offer] if args.key?(:offer)
3598
+ @price_reference_id = args[:price_reference_id] if args.key?(:price_reference_id)
3565
3599
  end
3566
3600
  end
3567
3601
 
@@ -3784,7 +3818,7 @@ module Google
3784
3818
  # @return [String]
3785
3819
  attr_accessor :channel_partner
3786
3820
 
3787
- # Type of event performed on the Channel Partner.
3821
+ # Type of event which happened for the channel partner.
3788
3822
  # Corresponds to the JSON property `eventType`
3789
3823
  # @return [String]
3790
3824
  attr_accessor :event_type
@@ -3875,7 +3909,7 @@ module Google
3875
3909
  # @return [String]
3876
3910
  attr_accessor :customer
3877
3911
 
3878
- # Type of event which happened on the customer.
3912
+ # Type of event which happened for the customer.
3879
3913
  # Corresponds to the JSON property `eventType`
3880
3914
  # @return [String]
3881
3915
  attr_accessor :event_type
@@ -4130,7 +4164,7 @@ module Google
4130
4164
  # @return [String]
4131
4165
  attr_accessor :entitlement
4132
4166
 
4133
- # Type of event which happened on the entitlement.
4167
+ # Type of event which happened for the entitlement.
4134
4168
  # Corresponds to the JSON property `eventType`
4135
4169
  # @return [String]
4136
4170
  attr_accessor :event_type
@@ -4165,6 +4199,31 @@ module Google
4165
4199
  end
4166
4200
  end
4167
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
+
4168
4227
  # Definition for extended entitlement parameters.
4169
4228
  class GoogleCloudChannelV1alpha1Parameter
4170
4229
  include Google::Apis::Core::Hashable
@@ -4506,6 +4565,11 @@ module Google
4506
4565
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1EntitlementEvent]
4507
4566
  attr_accessor :entitlement_event
4508
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
+
4509
4573
  def initialize(**args)
4510
4574
  update!(**args)
4511
4575
  end
@@ -4515,6 +4579,7 @@ module Google
4515
4579
  @channel_partner_event = args[:channel_partner_event] if args.key?(:channel_partner_event)
4516
4580
  @customer_event = args[:customer_event] if args.key?(:customer_event)
4517
4581
  @entitlement_event = args[:entitlement_event] if args.key?(:entitlement_event)
4582
+ @opportunity_event = args[:opportunity_event] if args.key?(:opportunity_event)
4518
4583
  end
4519
4584
  end
4520
4585
 
@@ -4896,10 +4961,9 @@ module Google
4896
4961
  end
4897
4962
 
4898
4963
  # A representation of a decimal value, such as 2.5. Clients may convert values
4899
- # into language-native decimal formats, such as Java's BigDecimal or Python's
4900
- # decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/
4901
- # api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.
4902
- # 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).
4903
4967
  class GoogleTypeDecimal
4904
4968
  include Google::Apis::Core::Hashable
4905
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.54.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 = "20241024"
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
 
@@ -1869,6 +1878,7 @@ module Google
1869
1878
  class Representation < Google::Apis::Core::JsonRepresentation
1870
1879
  property :offer, as: 'offer', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Offer, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Offer::Representation
1871
1880
 
1881
+ property :price_reference_id, as: 'priceReferenceId'
1872
1882
  end
1873
1883
  end
1874
1884
 
@@ -2028,6 +2038,14 @@ module Google
2028
2038
  end
2029
2039
  end
2030
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
+
2031
2049
  class GoogleCloudChannelV1alpha1Parameter
2032
2050
  # @private
2033
2051
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2130,6 +2148,8 @@ module Google
2130
2148
 
2131
2149
  property :entitlement_event, as: 'entitlementEvent', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1EntitlementEvent, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1EntitlementEvent::Representation
2132
2150
 
2151
+ property :opportunity_event, as: 'opportunityEvent', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1OpportunityEvent, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1OpportunityEvent::Representation
2152
+
2133
2153
  end
2134
2154
  end
2135
2155
 
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.54.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-10-27 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.54.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.21
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