google-apis-cloudchannel_v1 0.54.0 → 0.56.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: 5545d7414d93ee36b1974dfc8122fda84468db799c45263112f4b61d061dfdd0
4
+ data.tar.gz: b0aea21bdb2b913da8800ab5254a2263b9c43a9159c5db32dbc9d7aa45dfcb95
5
5
  SHA512:
6
- metadata.gz: '05355348b26d54fa9398ceb7297c24432a09ad323051275cace17266072cac5760245493a26d7dcec727e682183110969a9c2bbf84ff7e85766ae0b2c1df413a'
7
- data.tar.gz: 42d1b597c0f1d4f9cfe76739a2db869e75f5f12b497a946e512192ee8eeb8ebb8b985059eda677544d028694f3090eb0f0778cb0f7063e045727c97dac33e683
6
+ metadata.gz: 60ea4a41f768b08d9b6519ac2449f9bfb0d1262c6ff0ba9c65ab823c3bf3b5954dc570c83d362e3c0376f9309465b0a3c286a423495262a07396fbc62ad7cf59
7
+ data.tar.gz: 5ab38f50d3f8bf8388fbac697bf1d43ff55ed7c3dbe51441bd56dc910b573659ea5e05fd2e2e4e5c083d7cf639ecfc55db45545514e3b4817767ae9e66a48e09
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudchannel_v1
2
2
 
3
+ ### v0.56.0 (2024-11-24)
4
+
5
+ * Regenerated from discovery document revision 20241116
6
+
7
+ ### v0.55.0 (2024-11-17)
8
+
9
+ * Regenerated from discovery document revision 20241109
10
+
3
11
  ### v0.54.0 (2024-10-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20241024
@@ -249,6 +249,14 @@ 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. Not yet
255
+ # implemented: if populated in a request, this field isn't evaluated in the API.
256
+ # Corresponds to the JSON property `priceReferenceId`
257
+ # @return [String]
258
+ attr_accessor :price_reference_id
259
+
252
260
  # Optional. Purchase order id provided by the reseller.
253
261
  # Corresponds to the JSON property `purchaseOrderId`
254
262
  # @return [String]
@@ -275,6 +283,7 @@ module Google
275
283
  @billing_account = args[:billing_account] if args.key?(:billing_account)
276
284
  @offer = args[:offer] if args.key?(:offer)
277
285
  @parameters = args[:parameters] if args.key?(:parameters)
286
+ @price_reference_id = args[:price_reference_id] if args.key?(:price_reference_id)
278
287
  @purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)
279
288
  @request_id = args[:request_id] if args.key?(:request_id)
280
289
  end
@@ -533,7 +542,7 @@ module Google
533
542
  alias_method :existing?, :existing
534
543
 
535
544
  # Returns true if the Cloud Identity account is associated with a customer of
536
- # the Channel Services partner.
545
+ # the Channel Services partner (with active subscriptions or purchase consents).
537
546
  # Corresponds to the JSON property `owned`
538
547
  # @return [Boolean]
539
548
  attr_accessor :owned
@@ -973,7 +982,7 @@ module Google
973
982
  # @return [String]
974
983
  attr_accessor :customer
975
984
 
976
- # Type of event which happened on the customer.
985
+ # Type of event which happened for the customer.
977
986
  # Corresponds to the JSON property `eventType`
978
987
  # @return [String]
979
988
  attr_accessor :event_type
@@ -1181,6 +1190,15 @@ module Google
1181
1190
  # @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter>]
1182
1191
  attr_accessor :parameters
1183
1192
 
1193
+ # Optional. Price reference ID for the offer. Optional field only for offers
1194
+ # that require additional price information. Used to guarantee that the pricing
1195
+ # is consistent between quoting the offer and placing the order. Not yet
1196
+ # implemented: if this field is populated in a request, it isn't evaluated in
1197
+ # the API.
1198
+ # Corresponds to the JSON property `priceReferenceId`
1199
+ # @return [String]
1200
+ attr_accessor :price_reference_id
1201
+
1184
1202
  # Service provisioned for an entitlement.
1185
1203
  # Corresponds to the JSON property `provisionedService`
1186
1204
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ProvisionedService]
@@ -1228,6 +1246,7 @@ module Google
1228
1246
  @name = args[:name] if args.key?(:name)
1229
1247
  @offer = args[:offer] if args.key?(:offer)
1230
1248
  @parameters = args[:parameters] if args.key?(:parameters)
1249
+ @price_reference_id = args[:price_reference_id] if args.key?(:price_reference_id)
1231
1250
  @provisioned_service = args[:provisioned_service] if args.key?(:provisioned_service)
1232
1251
  @provisioning_state = args[:provisioning_state] if args.key?(:provisioning_state)
1233
1252
  @purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)
@@ -1337,7 +1356,7 @@ module Google
1337
1356
  # @return [String]
1338
1357
  attr_accessor :entitlement
1339
1358
 
1340
- # Type of event which happened on the entitlement.
1359
+ # Type of event which happened for the entitlement.
1341
1360
  # Corresponds to the JSON property `eventType`
1342
1361
  # @return [String]
1343
1362
  attr_accessor :event_type
@@ -2307,10 +2326,9 @@ module Google
2307
2326
  include Google::Apis::Core::Hashable
2308
2327
 
2309
2328
  # 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
2329
+ # into language-native decimal formats, such as Java's [BigDecimal](https://docs.
2330
+ # oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or
2331
+ # Python's [decimal.Decimal](https://docs.python.org/3/library/decimal.html).
2314
2332
  # Corresponds to the JSON property `percentage`
2315
2333
  # @return [Google::Apis::CloudchannelV1::GoogleTypeDecimal]
2316
2334
  attr_accessor :percentage
@@ -2647,6 +2665,13 @@ module Google
2647
2665
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Offer]
2648
2666
  attr_accessor :offer
2649
2667
 
2668
+ # Optional. Price reference ID for the offer. Optional field only for offers
2669
+ # that require additional price information. Used to guarantee that the pricing
2670
+ # is consistent between quoting the offer and placing the order.
2671
+ # Corresponds to the JSON property `priceReferenceId`
2672
+ # @return [String]
2673
+ attr_accessor :price_reference_id
2674
+
2650
2675
  def initialize(**args)
2651
2676
  update!(**args)
2652
2677
  end
@@ -2654,6 +2679,7 @@ module Google
2654
2679
  # Update properties of this object
2655
2680
  def update!(**args)
2656
2681
  @offer = args[:offer] if args.key?(:offer)
2682
+ @price_reference_id = args[:price_reference_id] if args.key?(:price_reference_id)
2657
2683
  end
2658
2684
  end
2659
2685
 
@@ -2966,10 +2992,9 @@ module Google
2966
2992
  attr_accessor :date_value
2967
2993
 
2968
2994
  # 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
2995
+ # into language-native decimal formats, such as Java's [BigDecimal](https://docs.
2996
+ # oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or
2997
+ # Python's [decimal.Decimal](https://docs.python.org/3/library/decimal.html).
2973
2998
  # Corresponds to the JSON property `decimalValue`
2974
2999
  # @return [Google::Apis::CloudchannelV1::GoogleTypeDecimal]
2975
3000
  attr_accessor :decimal_value
@@ -3555,6 +3580,13 @@ module Google
3555
3580
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Offer]
3556
3581
  attr_accessor :offer
3557
3582
 
3583
+ # Optional. Price reference ID for the offer. Optional field only for offers
3584
+ # that require additional price information. Used to guarantee that the pricing
3585
+ # is consistent between quoting the offer and placing the order.
3586
+ # Corresponds to the JSON property `priceReferenceId`
3587
+ # @return [String]
3588
+ attr_accessor :price_reference_id
3589
+
3558
3590
  def initialize(**args)
3559
3591
  update!(**args)
3560
3592
  end
@@ -3562,6 +3594,7 @@ module Google
3562
3594
  # Update properties of this object
3563
3595
  def update!(**args)
3564
3596
  @offer = args[:offer] if args.key?(:offer)
3597
+ @price_reference_id = args[:price_reference_id] if args.key?(:price_reference_id)
3565
3598
  end
3566
3599
  end
3567
3600
 
@@ -3784,7 +3817,7 @@ module Google
3784
3817
  # @return [String]
3785
3818
  attr_accessor :channel_partner
3786
3819
 
3787
- # Type of event performed on the Channel Partner.
3820
+ # Type of event which happened for the channel partner.
3788
3821
  # Corresponds to the JSON property `eventType`
3789
3822
  # @return [String]
3790
3823
  attr_accessor :event_type
@@ -3875,7 +3908,7 @@ module Google
3875
3908
  # @return [String]
3876
3909
  attr_accessor :customer
3877
3910
 
3878
- # Type of event which happened on the customer.
3911
+ # Type of event which happened for the customer.
3879
3912
  # Corresponds to the JSON property `eventType`
3880
3913
  # @return [String]
3881
3914
  attr_accessor :event_type
@@ -4052,9 +4085,9 @@ module Google
4052
4085
 
4053
4086
  # Optional. Price reference ID for the offer. Optional field only for offers
4054
4087
  # that require additional price information. Used to guarantee that the pricing
4055
- # is consistent between quoting the offer and placing the order. Yet to be
4056
- # implemented: this field is currently not evaluated in the API if populated in
4057
- # a request.
4088
+ # is consistent between quoting the offer and placing the order. Not yet
4089
+ # implemented: if this field is populated in a request, it isn't evaluated in
4090
+ # the API.
4058
4091
  # Corresponds to the JSON property `priceReferenceId`
4059
4092
  # @return [String]
4060
4093
  attr_accessor :price_reference_id
@@ -4130,7 +4163,7 @@ module Google
4130
4163
  # @return [String]
4131
4164
  attr_accessor :entitlement
4132
4165
 
4133
- # Type of event which happened on the entitlement.
4166
+ # Type of event which happened for the entitlement.
4134
4167
  # Corresponds to the JSON property `eventType`
4135
4168
  # @return [String]
4136
4169
  attr_accessor :event_type
@@ -4165,6 +4198,31 @@ module Google
4165
4198
  end
4166
4199
  end
4167
4200
 
4201
+ # Represents Pub/Sub message content describing opportunity updates.
4202
+ class GoogleCloudChannelV1alpha1OpportunityEvent
4203
+ include Google::Apis::Core::Hashable
4204
+
4205
+ # Type of event which happened for the opportunity.
4206
+ # Corresponds to the JSON property `eventType`
4207
+ # @return [String]
4208
+ attr_accessor :event_type
4209
+
4210
+ # Resource name of the opportunity. Format: opportunities/`opportunity`
4211
+ # Corresponds to the JSON property `opportunity`
4212
+ # @return [String]
4213
+ attr_accessor :opportunity
4214
+
4215
+ def initialize(**args)
4216
+ update!(**args)
4217
+ end
4218
+
4219
+ # Update properties of this object
4220
+ def update!(**args)
4221
+ @event_type = args[:event_type] if args.key?(:event_type)
4222
+ @opportunity = args[:opportunity] if args.key?(:opportunity)
4223
+ end
4224
+ end
4225
+
4168
4226
  # Definition for extended entitlement parameters.
4169
4227
  class GoogleCloudChannelV1alpha1Parameter
4170
4228
  include Google::Apis::Core::Hashable
@@ -4506,6 +4564,11 @@ module Google
4506
4564
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1EntitlementEvent]
4507
4565
  attr_accessor :entitlement_event
4508
4566
 
4567
+ # Represents Pub/Sub message content describing opportunity updates.
4568
+ # Corresponds to the JSON property `opportunityEvent`
4569
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1OpportunityEvent]
4570
+ attr_accessor :opportunity_event
4571
+
4509
4572
  def initialize(**args)
4510
4573
  update!(**args)
4511
4574
  end
@@ -4515,6 +4578,7 @@ module Google
4515
4578
  @channel_partner_event = args[:channel_partner_event] if args.key?(:channel_partner_event)
4516
4579
  @customer_event = args[:customer_event] if args.key?(:customer_event)
4517
4580
  @entitlement_event = args[:entitlement_event] if args.key?(:entitlement_event)
4581
+ @opportunity_event = args[:opportunity_event] if args.key?(:opportunity_event)
4518
4582
  end
4519
4583
  end
4520
4584
 
@@ -4896,10 +4960,9 @@ module Google
4896
4960
  end
4897
4961
 
4898
4962
  # 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
4963
+ # into language-native decimal formats, such as Java's [BigDecimal](https://docs.
4964
+ # oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or
4965
+ # Python's [decimal.Decimal](https://docs.python.org/3/library/decimal.html).
4903
4966
  class GoogleTypeDecimal
4904
4967
  include Google::Apis::Core::Hashable
4905
4968
 
@@ -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.56.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 = "20241116"
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
 
@@ -2790,8 +2790,8 @@ module Google
2790
2790
  # Clients can use Operations.GetOperation or other methods to check whether the
2791
2791
  # cancellation succeeded or whether the operation completed despite cancellation.
2792
2792
  # On successful cancellation, the operation is not deleted; instead, it becomes
2793
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
2794
- # corresponding to `Code.CANCELLED`.
2793
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
2794
+ # , corresponding to `Code.CANCELLED`.
2795
2795
  # @param [String] name
2796
2796
  # The name of the operation resource to be cancelled.
2797
2797
  # @param [Google::Apis::CloudchannelV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
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.56.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-12-04 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.56.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