google-apis-cloudchannel_v1 0.62.0 → 0.64.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70a40a9de28230eccb6e22996e51406447d925143a41f9e268df0d4de7ed0f26
|
4
|
+
data.tar.gz: 98ed680a37a187aef07c95f1ba0bebc19730deca43d967c93fabbddcae7ec793
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ea6985e948951851e75ed3d699680ffc1b65e4833f4855efb58b1bacf6eb1b93eee3eea2d0e0af169cc0c3867168cad380244829bacbc439d49abf7a7a5aed3
|
7
|
+
data.tar.gz: aa380a28be5ac0c1a030102c4eee873d3e2107872b68ee0220770cfbe94c5b23bdd96d5bbceee80ab295bce1b00caee95e470c92b2d0f3cf1a8b675573e641a4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-cloudchannel_v1
|
2
2
|
|
3
|
+
### v0.64.0 (2025-08-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250809
|
6
|
+
|
7
|
+
### v0.63.0 (2025-06-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250614
|
10
|
+
* Regenerated using generator version 0.18.0
|
11
|
+
|
3
12
|
### v0.62.0 (2025-05-04)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.17.0
|
@@ -900,16 +900,17 @@ module Google
|
|
900
900
|
# @return [String]
|
901
901
|
attr_accessor :org_display_name
|
902
902
|
|
903
|
-
# Represents a postal address
|
904
|
-
#
|
905
|
-
#
|
906
|
-
# locations
|
907
|
-
# created by user input or from importing existing data, depending on the
|
908
|
-
# of process. Advice on address input or editing: - Use an
|
909
|
-
# ready address widget such as https://github.com/google/
|
910
|
-
# Users should not be presented with UI elements for input or
|
911
|
-
# outside countries where that field is used. For more
|
912
|
-
# this schema, see: https://support.google.com/business/
|
903
|
+
# Represents a postal address, such as for postal delivery or payments addresses.
|
904
|
+
# With a postal address, a postal service can deliver items to a premise, P.O.
|
905
|
+
# box, or similar. A postal address is not intended to model geographical
|
906
|
+
# locations like roads, towns, or mountains. In typical usage, an address would
|
907
|
+
# be created by user input or from importing existing data, depending on the
|
908
|
+
# type of process. Advice on address input or editing: - Use an
|
909
|
+
# internationalization-ready address widget such as https://github.com/google/
|
910
|
+
# libaddressinput. - Users should not be presented with UI elements for input or
|
911
|
+
# editing of fields outside countries where that field is used. For more
|
912
|
+
# guidance on how to use this schema, see: https://support.google.com/business/
|
913
|
+
# answer/6397478.
|
913
914
|
# Corresponds to the JSON property `orgPostalAddress`
|
914
915
|
# @return [Google::Apis::CloudchannelV1::GoogleTypePostalAddress]
|
915
916
|
attr_accessor :org_postal_address
|
@@ -1115,6 +1116,38 @@ module Google
|
|
1115
1116
|
end
|
1116
1117
|
end
|
1117
1118
|
|
1119
|
+
# Represents a single component of the total discount applicable on a Price.
|
1120
|
+
class GoogleCloudChannelV1DiscountComponent
|
1121
|
+
include Google::Apis::Core::Hashable
|
1122
|
+
|
1123
|
+
# Represents an amount of money with its currency type.
|
1124
|
+
# Corresponds to the JSON property `discountAbsolute`
|
1125
|
+
# @return [Google::Apis::CloudchannelV1::GoogleTypeMoney]
|
1126
|
+
attr_accessor :discount_absolute
|
1127
|
+
|
1128
|
+
# Discount percentage, represented as decimal. For example, a 20% discount will
|
1129
|
+
# be represented as 0.2.
|
1130
|
+
# Corresponds to the JSON property `discountPercentage`
|
1131
|
+
# @return [Float]
|
1132
|
+
attr_accessor :discount_percentage
|
1133
|
+
|
1134
|
+
# Type of the discount.
|
1135
|
+
# Corresponds to the JSON property `discountType`
|
1136
|
+
# @return [String]
|
1137
|
+
attr_accessor :discount_type
|
1138
|
+
|
1139
|
+
def initialize(**args)
|
1140
|
+
update!(**args)
|
1141
|
+
end
|
1142
|
+
|
1143
|
+
# Update properties of this object
|
1144
|
+
def update!(**args)
|
1145
|
+
@discount_absolute = args[:discount_absolute] if args.key?(:discount_absolute)
|
1146
|
+
@discount_percentage = args[:discount_percentage] if args.key?(:discount_percentage)
|
1147
|
+
@discount_type = args[:discount_type] if args.key?(:discount_type)
|
1148
|
+
end
|
1149
|
+
end
|
1150
|
+
|
1118
1151
|
# Required Edu Attributes
|
1119
1152
|
class GoogleCloudChannelV1EduData
|
1120
1153
|
include Google::Apis::Core::Hashable
|
@@ -2432,6 +2465,12 @@ module Google
|
|
2432
2465
|
# @return [Float]
|
2433
2466
|
attr_accessor :discount
|
2434
2467
|
|
2468
|
+
# Breakdown of the discount into its components. This will be empty if there is
|
2469
|
+
# no discount present.
|
2470
|
+
# Corresponds to the JSON property `discountComponents`
|
2471
|
+
# @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1DiscountComponent>]
|
2472
|
+
attr_accessor :discount_components
|
2473
|
+
|
2435
2474
|
# Represents an amount of money with its currency type.
|
2436
2475
|
# Corresponds to the JSON property `effectivePrice`
|
2437
2476
|
# @return [Google::Apis::CloudchannelV1::GoogleTypeMoney]
|
@@ -2442,6 +2481,11 @@ module Google
|
|
2442
2481
|
# @return [String]
|
2443
2482
|
attr_accessor :external_price_uri
|
2444
2483
|
|
2484
|
+
# Represents period in days/months/years.
|
2485
|
+
# Corresponds to the JSON property `pricePeriod`
|
2486
|
+
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Period]
|
2487
|
+
attr_accessor :price_period
|
2488
|
+
|
2445
2489
|
def initialize(**args)
|
2446
2490
|
update!(**args)
|
2447
2491
|
end
|
@@ -2450,8 +2494,10 @@ module Google
|
|
2450
2494
|
def update!(**args)
|
2451
2495
|
@base_price = args[:base_price] if args.key?(:base_price)
|
2452
2496
|
@discount = args[:discount] if args.key?(:discount)
|
2497
|
+
@discount_components = args[:discount_components] if args.key?(:discount_components)
|
2453
2498
|
@effective_price = args[:effective_price] if args.key?(:effective_price)
|
2454
2499
|
@external_price_uri = args[:external_price_uri] if args.key?(:external_price_uri)
|
2500
|
+
@price_period = args[:price_period] if args.key?(:price_period)
|
2455
2501
|
end
|
2456
2502
|
end
|
2457
2503
|
|
@@ -5060,16 +5106,17 @@ module Google
|
|
5060
5106
|
end
|
5061
5107
|
end
|
5062
5108
|
|
5063
|
-
# Represents a postal address
|
5064
|
-
#
|
5065
|
-
#
|
5066
|
-
# locations
|
5067
|
-
# created by user input or from importing existing data, depending on the
|
5068
|
-
# of process. Advice on address input or editing: - Use an
|
5069
|
-
# ready address widget such as https://github.com/google/
|
5070
|
-
# Users should not be presented with UI elements for input or
|
5071
|
-
# outside countries where that field is used. For more
|
5072
|
-
# this schema, see: https://support.google.com/business/
|
5109
|
+
# Represents a postal address, such as for postal delivery or payments addresses.
|
5110
|
+
# With a postal address, a postal service can deliver items to a premise, P.O.
|
5111
|
+
# box, or similar. A postal address is not intended to model geographical
|
5112
|
+
# locations like roads, towns, or mountains. In typical usage, an address would
|
5113
|
+
# be created by user input or from importing existing data, depending on the
|
5114
|
+
# type of process. Advice on address input or editing: - Use an
|
5115
|
+
# internationalization-ready address widget such as https://github.com/google/
|
5116
|
+
# libaddressinput. - Users should not be presented with UI elements for input or
|
5117
|
+
# editing of fields outside countries where that field is used. For more
|
5118
|
+
# guidance on how to use this schema, see: https://support.google.com/business/
|
5119
|
+
# answer/6397478.
|
5073
5120
|
class GoogleTypePostalAddress
|
5074
5121
|
include Google::Apis::Core::Hashable
|
5075
5122
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.64.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250809"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -184,6 +184,12 @@ module Google
|
|
184
184
|
include Google::Apis::Core::JsonObjectSupport
|
185
185
|
end
|
186
186
|
|
187
|
+
class GoogleCloudChannelV1DiscountComponent
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
187
193
|
class GoogleCloudChannelV1EduData
|
188
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
195
|
|
@@ -1144,6 +1150,16 @@ module Google
|
|
1144
1150
|
end
|
1145
1151
|
end
|
1146
1152
|
|
1153
|
+
class GoogleCloudChannelV1DiscountComponent
|
1154
|
+
# @private
|
1155
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1156
|
+
property :discount_absolute, as: 'discountAbsolute', class: Google::Apis::CloudchannelV1::GoogleTypeMoney, decorator: Google::Apis::CloudchannelV1::GoogleTypeMoney::Representation
|
1157
|
+
|
1158
|
+
property :discount_percentage, as: 'discountPercentage'
|
1159
|
+
property :discount_type, as: 'discountType'
|
1160
|
+
end
|
1161
|
+
end
|
1162
|
+
|
1147
1163
|
class GoogleCloudChannelV1EduData
|
1148
1164
|
# @private
|
1149
1165
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1525,9 +1541,13 @@ module Google
|
|
1525
1541
|
property :base_price, as: 'basePrice', class: Google::Apis::CloudchannelV1::GoogleTypeMoney, decorator: Google::Apis::CloudchannelV1::GoogleTypeMoney::Representation
|
1526
1542
|
|
1527
1543
|
property :discount, as: 'discount'
|
1544
|
+
collection :discount_components, as: 'discountComponents', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1DiscountComponent, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1DiscountComponent::Representation
|
1545
|
+
|
1528
1546
|
property :effective_price, as: 'effectivePrice', class: Google::Apis::CloudchannelV1::GoogleTypeMoney, decorator: Google::Apis::CloudchannelV1::GoogleTypeMoney::Representation
|
1529
1547
|
|
1530
1548
|
property :external_price_uri, as: 'externalPriceUri'
|
1549
|
+
property :price_period, as: 'pricePeriod', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Period, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Period::Representation
|
1550
|
+
|
1531
1551
|
end
|
1532
1552
|
end
|
1533
1553
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudchannel_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.64.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudchannel_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.64.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudchannel_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Cloud Channel API V1
|
79
79
|
test_files: []
|