google-apis-cloudchannel_v1 0.17.0 → 0.20.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: cfbb6a6ecdbb0d60a3ba179c71957b291e3a4018482ed8f934ffd09111166adc
4
- data.tar.gz: 1b3d5ad563e81c796339d499184983136694ebdc4fa78ad4b6dbb3d9ed9f42e2
3
+ metadata.gz: a4984ee47257d8ef8cbe6e262d07e09e9a9d72e399afc20521a30966b8f4d022
4
+ data.tar.gz: 4c73d3b725e70aec92166c7e8dd239b44e055618df1b3f62b3239cd957c13c0b
5
5
  SHA512:
6
- metadata.gz: 1fa4a74ab3071c1c35800061d8cfa79d0bbaae693ad170137fb98039f4c79b4df9b1ec79e431ec465a26c83808ebd49048582f341db5d13812a9933eb4498374
7
- data.tar.gz: bc9cd956debc7be9d4a043bc3598b0655ecd20af2dd0a74453fa2a71ebe1fdfaebde3387d6a9df8aa2d98cfe2d939dbb135b77b762c939970af25458b415320b
6
+ metadata.gz: 8066ab49732544c39a57b8148ccac757576e2e87924861f973401c54b704f364286d95b0aece034cef8e7b05e18d45d95428ff90d4f9f997a4215fdb911c1d37
7
+ data.tar.gz: 9616b6ccf991e1e78c3f468c3d49ac52293daf746b85fe1b699553ace1be392badc86f796bb78ac86d3abe47f258be8ba4561b9cad9b70e625bae13520cb3662
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-cloudchannel_v1
2
2
 
3
+ ### v0.20.0 (2022-06-07)
4
+
5
+ * Regenerated from discovery document revision 20220604
6
+ * Regenerated using generator version 0.5.0
7
+
8
+ ### v0.19.0 (2022-04-26)
9
+
10
+ * Regenerated from discovery document revision 20220422
11
+
12
+ ### v0.18.0 (2022-04-07)
13
+
14
+ * Regenerated from discovery document revision 20220324
15
+
3
16
  ### v0.17.0 (2022-02-10)
4
17
 
5
18
  * Regenerated from discovery document revision 20220209
@@ -305,6 +305,42 @@ module Google
305
305
  end
306
306
  end
307
307
 
308
+ # Configuration for how a distributor will rebill a channel partner (also known
309
+ # as a distributor-authorized reseller).
310
+ class GoogleCloudChannelV1ChannelPartnerRepricingConfig
311
+ include Google::Apis::Core::Hashable
312
+
313
+ # Output only. Resource name of the ChannelPartnerRepricingConfig. Format:
314
+ # accounts/`account_id`/channelPartnerLinks/`channel_partner_id`/
315
+ # channelPartnerRepricingConfigs/`id`.
316
+ # Corresponds to the JSON property `name`
317
+ # @return [String]
318
+ attr_accessor :name
319
+
320
+ # Configuration for repricing a Google bill over a period of time.
321
+ # Corresponds to the JSON property `repricingConfig`
322
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingConfig]
323
+ attr_accessor :repricing_config
324
+
325
+ # Output only. Timestamp of an update to the repricing rule. If `update_time` is
326
+ # after RepricingConfig.effective_invoice_month then it indicates this was set
327
+ # mid-month.
328
+ # Corresponds to the JSON property `updateTime`
329
+ # @return [String]
330
+ attr_accessor :update_time
331
+
332
+ def initialize(**args)
333
+ update!(**args)
334
+ end
335
+
336
+ # Update properties of this object
337
+ def update!(**args)
338
+ @name = args[:name] if args.key?(:name)
339
+ @repricing_config = args[:repricing_config] if args.key?(:repricing_config)
340
+ @update_time = args[:update_time] if args.key?(:update_time)
341
+ end
342
+ end
343
+
308
344
  # Request message for CloudChannelService.CheckCloudIdentityAccountsExist.
309
345
  class GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest
310
346
  include Google::Apis::Core::Hashable
@@ -746,6 +782,40 @@ module Google
746
782
  end
747
783
  end
748
784
 
785
+ # Configuration for how a reseller will reprice a Customer.
786
+ class GoogleCloudChannelV1CustomerRepricingConfig
787
+ include Google::Apis::Core::Hashable
788
+
789
+ # Output only. Resource name of the CustomerRepricingConfig. Format: accounts/`
790
+ # account_id`/customers/`customer_id`/customerRepricingConfigs/`id`.
791
+ # Corresponds to the JSON property `name`
792
+ # @return [String]
793
+ attr_accessor :name
794
+
795
+ # Configuration for repricing a Google bill over a period of time.
796
+ # Corresponds to the JSON property `repricingConfig`
797
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingConfig]
798
+ attr_accessor :repricing_config
799
+
800
+ # Output only. Timestamp of an update to the repricing rule. If `update_time` is
801
+ # after RepricingConfig.effective_invoice_month then it indicates this was set
802
+ # mid-month.
803
+ # Corresponds to the JSON property `updateTime`
804
+ # @return [String]
805
+ attr_accessor :update_time
806
+
807
+ def initialize(**args)
808
+ update!(**args)
809
+ end
810
+
811
+ # Update properties of this object
812
+ def update!(**args)
813
+ @name = args[:name] if args.key?(:name)
814
+ @repricing_config = args[:repricing_config] if args.key?(:repricing_config)
815
+ @update_time = args[:update_time] if args.key?(:update_time)
816
+ end
817
+ end
818
+
749
819
  # Required Edu Attributes
750
820
  class GoogleCloudChannelV1EduData
751
821
  include Google::Apis::Core::Hashable
@@ -830,7 +900,8 @@ module Google
830
900
  # Optional. This purchase order (PO) information is for resellers to use for
831
901
  # their company tracking usage. If a purchaseOrderId value is given, it appears
832
902
  # in the API responses and shows up in the invoice. The property accepts up to
833
- # 80 plain text characters.
903
+ # 80 plain text characters. This is only supported for Google Workspace
904
+ # entitlements.
834
905
  # Corresponds to the JSON property `purchaseOrderId`
835
906
  # @return [String]
836
907
  attr_accessor :purchase_order_id
@@ -981,6 +1052,58 @@ module Google
981
1052
  end
982
1053
  end
983
1054
 
1055
+ # Response message for CloudChannelService.ListChannelPartnerRepricingConfigs.
1056
+ class GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse
1057
+ include Google::Apis::Core::Hashable
1058
+
1059
+ # The repricing configs for this channel partner.
1060
+ # Corresponds to the JSON property `channelPartnerRepricingConfigs`
1061
+ # @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1ChannelPartnerRepricingConfig>]
1062
+ attr_accessor :channel_partner_repricing_configs
1063
+
1064
+ # A token to retrieve the next page of results. Pass to
1065
+ # ListChannelPartnerRepricingConfigsRequest.page_token to obtain that page.
1066
+ # Corresponds to the JSON property `nextPageToken`
1067
+ # @return [String]
1068
+ attr_accessor :next_page_token
1069
+
1070
+ def initialize(**args)
1071
+ update!(**args)
1072
+ end
1073
+
1074
+ # Update properties of this object
1075
+ def update!(**args)
1076
+ @channel_partner_repricing_configs = args[:channel_partner_repricing_configs] if args.key?(:channel_partner_repricing_configs)
1077
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1078
+ end
1079
+ end
1080
+
1081
+ # Response message for CloudChannelService.ListCustomerRepricingConfigs.
1082
+ class GoogleCloudChannelV1ListCustomerRepricingConfigsResponse
1083
+ include Google::Apis::Core::Hashable
1084
+
1085
+ # The repricing configs for this channel partner.
1086
+ # Corresponds to the JSON property `customerRepricingConfigs`
1087
+ # @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1CustomerRepricingConfig>]
1088
+ attr_accessor :customer_repricing_configs
1089
+
1090
+ # A token to retrieve the next page of results. Pass to
1091
+ # ListCustomerRepricingConfigsRequest.page_token to obtain that page.
1092
+ # Corresponds to the JSON property `nextPageToken`
1093
+ # @return [String]
1094
+ attr_accessor :next_page_token
1095
+
1096
+ def initialize(**args)
1097
+ update!(**args)
1098
+ end
1099
+
1100
+ # Update properties of this object
1101
+ def update!(**args)
1102
+ @customer_repricing_configs = args[:customer_repricing_configs] if args.key?(:customer_repricing_configs)
1103
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1104
+ end
1105
+ end
1106
+
984
1107
  # Response message for CloudChannelService.ListCustomers.
985
1108
  class GoogleCloudChannelV1ListCustomersResponse
986
1109
  include Google::Apis::Core::Hashable
@@ -1597,6 +1720,29 @@ module Google
1597
1720
  end
1598
1721
  end
1599
1722
 
1723
+ # An adjustment that applies a flat markup or markdown to an entire bill.
1724
+ class GoogleCloudChannelV1PercentageAdjustment
1725
+ include Google::Apis::Core::Hashable
1726
+
1727
+ # A representation of a decimal value, such as 2.5. Clients may convert values
1728
+ # into language-native decimal formats, such as Java's BigDecimal or Python's
1729
+ # decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/
1730
+ # api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.
1731
+ # org/3/library/decimal.html
1732
+ # Corresponds to the JSON property `percentage`
1733
+ # @return [Google::Apis::CloudchannelV1::GoogleTypeDecimal]
1734
+ attr_accessor :percentage
1735
+
1736
+ def initialize(**args)
1737
+ update!(**args)
1738
+ end
1739
+
1740
+ # Update properties of this object
1741
+ def update!(**args)
1742
+ @percentage = args[:percentage] if args.key?(:percentage)
1743
+ end
1744
+ end
1745
+
1600
1746
  # Represents period in days/months/years.
1601
1747
  class GoogleCloudChannelV1Period
1602
1748
  include Google::Apis::Core::Hashable
@@ -2030,6 +2176,111 @@ module Google
2030
2176
  end
2031
2177
  end
2032
2178
 
2179
+ # A type that represents the various adjustments you can apply to a bill.
2180
+ class GoogleCloudChannelV1RepricingAdjustment
2181
+ include Google::Apis::Core::Hashable
2182
+
2183
+ # An adjustment that applies a flat markup or markdown to an entire bill.
2184
+ # Corresponds to the JSON property `percentageAdjustment`
2185
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1PercentageAdjustment]
2186
+ attr_accessor :percentage_adjustment
2187
+
2188
+ def initialize(**args)
2189
+ update!(**args)
2190
+ end
2191
+
2192
+ # Update properties of this object
2193
+ def update!(**args)
2194
+ @percentage_adjustment = args[:percentage_adjustment] if args.key?(:percentage_adjustment)
2195
+ end
2196
+ end
2197
+
2198
+ # Configuration for repricing a Google bill over a period of time.
2199
+ class GoogleCloudChannelV1RepricingConfig
2200
+ include Google::Apis::Core::Hashable
2201
+
2202
+ # A type that represents the various adjustments you can apply to a bill.
2203
+ # Corresponds to the JSON property `adjustment`
2204
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingAdjustment]
2205
+ attr_accessor :adjustment
2206
+
2207
+ # Applies the repricing configuration at the channel partner level. The channel
2208
+ # partner value is derived from the resource name. Takes an empty json object.
2209
+ # Corresponds to the JSON property `channelPartnerGranularity`
2210
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity]
2211
+ attr_accessor :channel_partner_granularity
2212
+
2213
+ # Represents a whole or partial calendar date, such as a birthday. The time of
2214
+ # day and time zone are either specified elsewhere or are insignificant. The
2215
+ # date is relative to the Gregorian Calendar. This can represent one of the
2216
+ # following: * A full date, with non-zero year, month, and day values. * A month
2217
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
2218
+ # with a zero month and a zero day. * A year and month, with a zero day (for
2219
+ # example, a credit card expiration date). Related types: * google.type.
2220
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
2221
+ # Corresponds to the JSON property `effectiveInvoiceMonth`
2222
+ # @return [Google::Apis::CloudchannelV1::GoogleTypeDate]
2223
+ attr_accessor :effective_invoice_month
2224
+
2225
+ # Applies the repricing configuration at the entitlement level.
2226
+ # Corresponds to the JSON property `entitlementGranularity`
2227
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingConfigEntitlementGranularity]
2228
+ attr_accessor :entitlement_granularity
2229
+
2230
+ # Required. The RebillingBasis to use for this bill. Specifies the relative cost
2231
+ # based on repricing costs you will apply.
2232
+ # Corresponds to the JSON property `rebillingBasis`
2233
+ # @return [String]
2234
+ attr_accessor :rebilling_basis
2235
+
2236
+ def initialize(**args)
2237
+ update!(**args)
2238
+ end
2239
+
2240
+ # Update properties of this object
2241
+ def update!(**args)
2242
+ @adjustment = args[:adjustment] if args.key?(:adjustment)
2243
+ @channel_partner_granularity = args[:channel_partner_granularity] if args.key?(:channel_partner_granularity)
2244
+ @effective_invoice_month = args[:effective_invoice_month] if args.key?(:effective_invoice_month)
2245
+ @entitlement_granularity = args[:entitlement_granularity] if args.key?(:entitlement_granularity)
2246
+ @rebilling_basis = args[:rebilling_basis] if args.key?(:rebilling_basis)
2247
+ end
2248
+ end
2249
+
2250
+ # Applies the repricing configuration at the channel partner level. The channel
2251
+ # partner value is derived from the resource name. Takes an empty json object.
2252
+ class GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity
2253
+ include Google::Apis::Core::Hashable
2254
+
2255
+ def initialize(**args)
2256
+ update!(**args)
2257
+ end
2258
+
2259
+ # Update properties of this object
2260
+ def update!(**args)
2261
+ end
2262
+ end
2263
+
2264
+ # Applies the repricing configuration at the entitlement level.
2265
+ class GoogleCloudChannelV1RepricingConfigEntitlementGranularity
2266
+ include Google::Apis::Core::Hashable
2267
+
2268
+ # Resource name of the entitlement. Format: accounts/`account_id`/customers/`
2269
+ # customer_id`/entitlements/`entitlement_id`
2270
+ # Corresponds to the JSON property `entitlement`
2271
+ # @return [String]
2272
+ attr_accessor :entitlement
2273
+
2274
+ def initialize(**args)
2275
+ update!(**args)
2276
+ end
2277
+
2278
+ # Update properties of this object
2279
+ def update!(**args)
2280
+ @entitlement = args[:entitlement] if args.key?(:entitlement)
2281
+ end
2282
+ end
2283
+
2033
2284
  # Represents a product's purchasable Stock Keeping Unit (SKU). SKUs represent
2034
2285
  # the different variations of the product. For example, Google Workspace
2035
2286
  # Business Standard and Google Workspace Business Plus are Google Workspace
@@ -2092,7 +2343,7 @@ module Google
2092
2343
  end
2093
2344
 
2094
2345
  # Represents information which resellers will get as part of notification from
2095
- # Cloud Pub/Sub.
2346
+ # Pub/Sub.
2096
2347
  class GoogleCloudChannelV1SubscriberEvent
2097
2348
  include Google::Apis::Core::Hashable
2098
2349
 
@@ -2483,6 +2734,33 @@ module Google
2483
2734
  end
2484
2735
  end
2485
2736
 
2737
+ # Represents Pub/Sub messages about updates to a Channel Partner. You can
2738
+ # retrieve updated values through the ChannelPartnerLinks API.
2739
+ class GoogleCloudChannelV1alpha1ChannelPartnerEvent
2740
+ include Google::Apis::Core::Hashable
2741
+
2742
+ # Resource name for the Channel Partner Link. Channel_partner uses the format:
2743
+ # accounts/`account_id`/channelPartnerLinks/`channel_partner_id`
2744
+ # Corresponds to the JSON property `channelPartner`
2745
+ # @return [String]
2746
+ attr_accessor :channel_partner
2747
+
2748
+ # Type of event performed on the Channel Partner.
2749
+ # Corresponds to the JSON property `eventType`
2750
+ # @return [String]
2751
+ attr_accessor :event_type
2752
+
2753
+ def initialize(**args)
2754
+ update!(**args)
2755
+ end
2756
+
2757
+ # Update properties of this object
2758
+ def update!(**args)
2759
+ @channel_partner = args[:channel_partner] if args.key?(:channel_partner)
2760
+ @event_type = args[:event_type] if args.key?(:event_type)
2761
+ end
2762
+ end
2763
+
2486
2764
  # Commitment settings for commitment-based offers.
2487
2765
  class GoogleCloudChannelV1alpha1CommitmentSettings
2488
2766
  include Google::Apis::Core::Hashable
@@ -2625,7 +2903,8 @@ module Google
2625
2903
  # Optional. This purchase order (PO) information is for resellers to use for
2626
2904
  # their company tracking usage. If a purchaseOrderId value is given, it appears
2627
2905
  # in the API responses and shows up in the invoice. The property accepts up to
2628
- # 80 plain text characters.
2906
+ # 80 plain text characters. This is only supported for Google Workspace
2907
+ # entitlements.
2629
2908
  # Corresponds to the JSON property `purchaseOrderId`
2630
2909
  # @return [String]
2631
2910
  attr_accessor :purchase_order_id
@@ -2864,10 +3143,16 @@ module Google
2864
3143
  end
2865
3144
 
2866
3145
  # Represents information which resellers will get as part of notification from
2867
- # Cloud Pub/Sub.
3146
+ # Pub/Sub.
2868
3147
  class GoogleCloudChannelV1alpha1SubscriberEvent
2869
3148
  include Google::Apis::Core::Hashable
2870
3149
 
3150
+ # Represents Pub/Sub messages about updates to a Channel Partner. You can
3151
+ # retrieve updated values through the ChannelPartnerLinks API.
3152
+ # Corresponds to the JSON property `channelPartnerEvent`
3153
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ChannelPartnerEvent]
3154
+ attr_accessor :channel_partner_event
3155
+
2871
3156
  # Represents Pub/Sub message content describing customer update.
2872
3157
  # Corresponds to the JSON property `customerEvent`
2873
3158
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1CustomerEvent]
@@ -2884,6 +3169,7 @@ module Google
2884
3169
 
2885
3170
  # Update properties of this object
2886
3171
  def update!(**args)
3172
+ @channel_partner_event = args[:channel_partner_event] if args.key?(:channel_partner_event)
2887
3173
  @customer_event = args[:customer_event] if args.key?(:customer_event)
2888
3174
  @entitlement_event = args[:entitlement_event] if args.key?(:entitlement_event)
2889
3175
  end
@@ -3084,8 +3370,7 @@ module Google
3084
3370
  # A generic empty message that you can re-use to avoid defining duplicated empty
3085
3371
  # messages in your APIs. A typical example is to use it as the request or the
3086
3372
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
3087
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
3088
- # `Empty` is empty JSON object ````.
3373
+ # protobuf.Empty) returns (google.protobuf.Empty); `
3089
3374
  class GoogleProtobufEmpty
3090
3375
  include Google::Apis::Core::Hashable
3091
3376
 
@@ -3137,6 +3422,103 @@ module Google
3137
3422
  end
3138
3423
  end
3139
3424
 
3425
+ # Represents a whole or partial calendar date, such as a birthday. The time of
3426
+ # day and time zone are either specified elsewhere or are insignificant. The
3427
+ # date is relative to the Gregorian Calendar. This can represent one of the
3428
+ # following: * A full date, with non-zero year, month, and day values. * A month
3429
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
3430
+ # with a zero month and a zero day. * A year and month, with a zero day (for
3431
+ # example, a credit card expiration date). Related types: * google.type.
3432
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
3433
+ class GoogleTypeDate
3434
+ include Google::Apis::Core::Hashable
3435
+
3436
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
3437
+ # specify a year by itself or a year and month where the day isn't significant.
3438
+ # Corresponds to the JSON property `day`
3439
+ # @return [Fixnum]
3440
+ attr_accessor :day
3441
+
3442
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
3443
+ # and day.
3444
+ # Corresponds to the JSON property `month`
3445
+ # @return [Fixnum]
3446
+ attr_accessor :month
3447
+
3448
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
3449
+ # year.
3450
+ # Corresponds to the JSON property `year`
3451
+ # @return [Fixnum]
3452
+ attr_accessor :year
3453
+
3454
+ def initialize(**args)
3455
+ update!(**args)
3456
+ end
3457
+
3458
+ # Update properties of this object
3459
+ def update!(**args)
3460
+ @day = args[:day] if args.key?(:day)
3461
+ @month = args[:month] if args.key?(:month)
3462
+ @year = args[:year] if args.key?(:year)
3463
+ end
3464
+ end
3465
+
3466
+ # A representation of a decimal value, such as 2.5. Clients may convert values
3467
+ # into language-native decimal formats, such as Java's BigDecimal or Python's
3468
+ # decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/
3469
+ # api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.
3470
+ # org/3/library/decimal.html
3471
+ class GoogleTypeDecimal
3472
+ include Google::Apis::Core::Hashable
3473
+
3474
+ # The decimal value, as a string. The string representation consists of an
3475
+ # optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence of
3476
+ # zero or more decimal digits ("the integer"), optionally followed by a fraction,
3477
+ # optionally followed by an exponent. The fraction consists of a decimal point
3478
+ # followed by zero or more decimal digits. The string must contain at least one
3479
+ # digit in either the integer or the fraction. The number formed by the sign,
3480
+ # the integer and the fraction is referred to as the significand. The exponent
3481
+ # consists of the character `e` (`U+0065`) or `E` (`U+0045`) followed by one or
3482
+ # more decimal digits. Services **should** normalize decimal values before
3483
+ # storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
3484
+ # - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - Coercing
3485
+ # the exponent character to lower-case (`2.5E8` -> `2.5e8`). - Removing an
3486
+ # explicitly-provided zero exponent (`2.5e0` -> `2.5`). Services **may** perform
3487
+ # additional normalization based on its own needs and the internal decimal
3488
+ # implementation selected, such as shifting the decimal point and exponent value
3489
+ # together (example: `2.5e-1` <-> `0.25`). Additionally, services **may**
3490
+ # preserve trailing zeroes in the fraction to indicate increased precision, but
3491
+ # are not required to do so. Note that only the `.` character is supported to
3492
+ # divide the integer and the fraction; `,` **should not** be supported
3493
+ # regardless of locale. Additionally, thousand separators **should not** be
3494
+ # supported. If a service does support them, values **must** be normalized. The
3495
+ # ENBF grammar is: DecimalString = [Sign] Significand [Exponent]; Sign = '+' | '-
3496
+ # '; Significand = Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E') [
3497
+ # Sign] Digits; Digits = ` '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' |
3498
+ # '9' `; Services **should** clearly document the range of supported values, the
3499
+ # maximum supported precision (total number of digits), and, if applicable, the
3500
+ # scale (number of digits after the decimal point), as well as how it behaves
3501
+ # when receiving out-of-bounds values. Services **may** choose to accept values
3502
+ # passed as input even when the value has a higher precision or scale than the
3503
+ # service supports, and **should** round the value to fit the supported scale.
3504
+ # Alternatively, the service **may** error with `400 Bad Request` (`
3505
+ # INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should**
3506
+ # error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service
3507
+ # receives a value outside of the supported range.
3508
+ # Corresponds to the JSON property `value`
3509
+ # @return [String]
3510
+ attr_accessor :value
3511
+
3512
+ def initialize(**args)
3513
+ update!(**args)
3514
+ end
3515
+
3516
+ # Update properties of this object
3517
+ def update!(**args)
3518
+ @value = args[:value] if args.key?(:value)
3519
+ end
3520
+ end
3521
+
3140
3522
  # Represents an amount of money with its currency type.
3141
3523
  class GoogleTypeMoney
3142
3524
  include Google::Apis::Core::Hashable
@@ -3257,8 +3639,8 @@ module Google
3257
3639
  attr_accessor :recipients
3258
3640
 
3259
3641
  # Required. CLDR region code of the country/region of the address. This is never
3260
- # inferred and it is up to the user to ensure the value is correct. See http://
3261
- # cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/
3642
+ # inferred and it is up to the user to ensure the value is correct. See https://
3643
+ # cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/
3262
3644
  # territory_information.html for details. Example: "CH" for Switzerland.
3263
3645
  # Corresponds to the JSON property `regionCode`
3264
3646
  # @return [String]
@@ -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.17.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220209"
25
+ REVISION = "20220604"
26
26
  end
27
27
  end
28
28
  end