google-apis-cloudchannel_v1 0.63.0 → 0.65.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: 67b7eece2ad9752cef4f7f469f4b7cc5b5d2f23922dcb129287f1954a3582dc9
|
4
|
+
data.tar.gz: 02d65ac8e313f90482058e8afdd7705b4353f85acbb5bd1c04dfaa959c277d83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7edbb4c917bfeed6271d1899da96515985c8aa08a871382c5512d2b374dd5277fe4723b45734e1c96cbac34631c57fb2691764a2428d246d3326ac0fc41c3ae6
|
7
|
+
data.tar.gz: 7174d018de2b438e5f5c67b516a628a5d07fda6335248a8426f4841937dce5e994974e78d4ee53fa0b102f44912cfd9e16ae592a4814467902eeabe9fdd0f402
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudchannel_v1
|
2
2
|
|
3
|
+
### v0.65.0 (2025-10-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250929
|
6
|
+
|
7
|
+
### v0.64.0 (2025-08-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250809
|
10
|
+
|
3
11
|
### v0.63.0 (2025-06-22)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250614
|
@@ -1116,6 +1116,38 @@ module Google
|
|
1116
1116
|
end
|
1117
1117
|
end
|
1118
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
|
+
|
1119
1151
|
# Required Edu Attributes
|
1120
1152
|
class GoogleCloudChannelV1EduData
|
1121
1153
|
include Google::Apis::Core::Hashable
|
@@ -2433,6 +2465,12 @@ module Google
|
|
2433
2465
|
# @return [Float]
|
2434
2466
|
attr_accessor :discount
|
2435
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
|
+
|
2436
2474
|
# Represents an amount of money with its currency type.
|
2437
2475
|
# Corresponds to the JSON property `effectivePrice`
|
2438
2476
|
# @return [Google::Apis::CloudchannelV1::GoogleTypeMoney]
|
@@ -2443,6 +2481,11 @@ module Google
|
|
2443
2481
|
# @return [String]
|
2444
2482
|
attr_accessor :external_price_uri
|
2445
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
|
+
|
2446
2489
|
def initialize(**args)
|
2447
2490
|
update!(**args)
|
2448
2491
|
end
|
@@ -2451,8 +2494,10 @@ module Google
|
|
2451
2494
|
def update!(**args)
|
2452
2495
|
@base_price = args[:base_price] if args.key?(:base_price)
|
2453
2496
|
@discount = args[:discount] if args.key?(:discount)
|
2497
|
+
@discount_components = args[:discount_components] if args.key?(:discount_components)
|
2454
2498
|
@effective_price = args[:effective_price] if args.key?(:effective_price)
|
2455
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)
|
2456
2501
|
end
|
2457
2502
|
end
|
2458
2503
|
|
@@ -4711,6 +4756,13 @@ module Google
|
|
4711
4756
|
# @return [Array<Google::Apis::CloudchannelV1::GoogleLongrunningOperation>]
|
4712
4757
|
attr_accessor :operations
|
4713
4758
|
|
4759
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
4760
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
4761
|
+
# when attempting to list all resources across all supported locations.
|
4762
|
+
# Corresponds to the JSON property `unreachable`
|
4763
|
+
# @return [Array<String>]
|
4764
|
+
attr_accessor :unreachable
|
4765
|
+
|
4714
4766
|
def initialize(**args)
|
4715
4767
|
update!(**args)
|
4716
4768
|
end
|
@@ -4719,6 +4771,7 @@ module Google
|
|
4719
4771
|
def update!(**args)
|
4720
4772
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4721
4773
|
@operations = args[:operations] if args.key?(:operations)
|
4774
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
4722
4775
|
end
|
4723
4776
|
end
|
4724
4777
|
|
@@ -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.65.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250929"
|
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
|
|
@@ -2194,6 +2214,7 @@ module Google
|
|
2194
2214
|
property :next_page_token, as: 'nextPageToken'
|
2195
2215
|
collection :operations, as: 'operations', class: Google::Apis::CloudchannelV1::GoogleLongrunningOperation, decorator: Google::Apis::CloudchannelV1::GoogleLongrunningOperation::Representation
|
2196
2216
|
|
2217
|
+
collection :unreachable, as: 'unreachable'
|
2197
2218
|
end
|
2198
2219
|
end
|
2199
2220
|
|
@@ -2898,6 +2898,13 @@ module Google
|
|
2898
2898
|
# The standard list page size.
|
2899
2899
|
# @param [String] page_token
|
2900
2900
|
# The standard list page token.
|
2901
|
+
# @param [Boolean] return_partial_success
|
2902
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
2903
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
2904
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
2905
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
2906
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
2907
|
+
# explicitly documented otherwise in service or product specific documentation.
|
2901
2908
|
# @param [String] fields
|
2902
2909
|
# Selector specifying which fields to include in a partial response.
|
2903
2910
|
# @param [String] quota_user
|
@@ -2915,7 +2922,7 @@ module Google
|
|
2915
2922
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2916
2923
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2917
2924
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2918
|
-
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2925
|
+
def list_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2919
2926
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
2920
2927
|
command.response_representation = Google::Apis::CloudchannelV1::GoogleLongrunningListOperationsResponse::Representation
|
2921
2928
|
command.response_class = Google::Apis::CloudchannelV1::GoogleLongrunningListOperationsResponse
|
@@ -2923,6 +2930,7 @@ module Google
|
|
2923
2930
|
command.query['filter'] = filter unless filter.nil?
|
2924
2931
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2925
2932
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2933
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
2926
2934
|
command.query['fields'] = fields unless fields.nil?
|
2927
2935
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2928
2936
|
execute_or_queue_command(command, &block)
|
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.65.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.65.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:
|