google-apis-cloudchannel_v1 0.38.0 → 0.39.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7270b43eaf81651c4ae68f7adb61391b1a8115267d84e9bc155bebbc56b2932c
4
- data.tar.gz: 16cffb2a3c8dac4b58ea701e7223fed5a53fd860b251da21676d909e3302090c
3
+ metadata.gz: d28304379f0790cb14575c7f858a8d6de602c1bf5dd12857b15ff474e332b1a9
4
+ data.tar.gz: a63ab259b9f7225fa1237b2aae178a36e1d3784c0a0946eb49f6eada50ad0b5a
5
5
  SHA512:
6
- metadata.gz: a8c6417a9fb02dbb9f6472c1dc08f92bcd16bbb41c701826fc281ed437a2b8f80b744c74ca6fc06c177a18183ca09ea0d1c0ea9c3dc104d5b7c6b2eb35d39a53
7
- data.tar.gz: 14031cbc79bc294e86fb7a40b50d764021b956f5e8c7704637cdb9d24d6fac761343fe619c916c3ee1dbf39bd4423246728c233215d7ac01f15ba1055eda788a
6
+ metadata.gz: 22c7456bc51008c0bab016e74e520f5c602f6baa94832f4f77849310979705abe74cedbd1c095a74c68c1d59a0319b7f7db8bd4145d2084edeeda8f10c9d739d
7
+ data.tar.gz: dc69f67b0643c21bd2a3ab259f99f9e987a4e67a390844ca3f7d69f98bde0b9f5069e966a01917ea75a67885f15d7e72133e566a4e58064e9ab2a36d07decc02
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudchannel_v1
2
2
 
3
+ ### v0.39.0 (2023-05-21)
4
+
5
+ * Regenerated from discovery document revision 20230516
6
+
3
7
  ### v0.38.0 (2023-05-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20230510
@@ -191,6 +191,14 @@ module Google
191
191
  class GoogleCloudChannelV1ChangeOfferRequest
192
192
  include Google::Apis::Core::Hashable
193
193
 
194
+ # Optional. The billing account resource name that is used to pay for this
195
+ # entitlement when setting up billing on a trial subscription. This field is
196
+ # only relevant for multi-currency accounts. It should be left empty for single
197
+ # currency accounts.
198
+ # Corresponds to the JSON property `billingAccount`
199
+ # @return [String]
200
+ attr_accessor :billing_account
201
+
194
202
  # Required. New Offer. Format: accounts/`account_id`/offers/`offer_id`.
195
203
  # Corresponds to the JSON property `offer`
196
204
  # @return [String]
@@ -225,6 +233,7 @@ module Google
225
233
 
226
234
  # Update properties of this object
227
235
  def update!(**args)
236
+ @billing_account = args[:billing_account] if args.key?(:billing_account)
228
237
  @offer = args[:offer] if args.key?(:offer)
229
238
  @parameters = args[:parameters] if args.key?(:parameters)
230
239
  @purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)
@@ -1755,6 +1764,14 @@ module Google
1755
1764
  class GoogleCloudChannelV1ListTransferableOffersRequest
1756
1765
  include Google::Apis::Core::Hashable
1757
1766
 
1767
+ # Optional. The Billing Account to look up Offers for. Format: accounts/`
1768
+ # account_id`/billing_accounts/`billing_account_id`. This field is only relevant
1769
+ # for multi-currency accounts. It should be left empty for single currency
1770
+ # accounts.
1771
+ # Corresponds to the JSON property `billingAccount`
1772
+ # @return [String]
1773
+ attr_accessor :billing_account
1774
+
1758
1775
  # Customer's Cloud Identity ID
1759
1776
  # Corresponds to the JSON property `cloudIdentityId`
1760
1777
  # @return [String]
@@ -1798,6 +1815,7 @@ module Google
1798
1815
 
1799
1816
  # Update properties of this object
1800
1817
  def update!(**args)
1818
+ @billing_account = args[:billing_account] if args.key?(:billing_account)
1801
1819
  @cloud_identity_id = args[:cloud_identity_id] if args.key?(:cloud_identity_id)
1802
1820
  @customer_name = args[:customer_name] if args.key?(:customer_name)
1803
1821
  @language_code = args[:language_code] if args.key?(:language_code)
@@ -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.38.0"
19
+ GEM_VERSION = "0.39.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230510"
25
+ REVISION = "20230516"
26
26
  end
27
27
  end
28
28
  end
@@ -884,6 +884,7 @@ module Google
884
884
  class GoogleCloudChannelV1ChangeOfferRequest
885
885
  # @private
886
886
  class Representation < Google::Apis::Core::JsonRepresentation
887
+ property :billing_account, as: 'billingAccount'
887
888
  property :offer, as: 'offer'
888
889
  collection :parameters, as: 'parameters', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Parameter::Representation
889
890
 
@@ -1311,6 +1312,7 @@ module Google
1311
1312
  class GoogleCloudChannelV1ListTransferableOffersRequest
1312
1313
  # @private
1313
1314
  class Representation < Google::Apis::Core::JsonRepresentation
1315
+ property :billing_account, as: 'billingAccount'
1314
1316
  property :cloud_identity_id, as: 'cloudIdentityId'
1315
1317
  property :customer_name, as: 'customerName'
1316
1318
  property :language_code, as: 'languageCode'
@@ -1188,12 +1188,21 @@ module Google
1188
1188
  # @param [String] customer
1189
1189
  # Required. The resource name of the customer to list Offers for. Format:
1190
1190
  # accounts/`account_id`/customers/`customer_id`.
1191
+ # @param [String] change_offer_purchase_billing_account
1192
+ # Optional. Resource name of the new target Billing Account. Provide this
1193
+ # Billing Account when setting up billing for a trial subscription. Format:
1194
+ # accounts/`account_id`/billing_accounts/`billing_account_id`. This field is
1195
+ # only relevant for multi-currency accounts. It should be left empty for single
1196
+ # currency accounts.
1191
1197
  # @param [String] change_offer_purchase_entitlement
1192
1198
  # Required. Resource name of the entitlement. Format: accounts/`account_id`/
1193
1199
  # customers/`customer_id`/entitlements/`entitlement_id`
1194
1200
  # @param [String] change_offer_purchase_new_sku
1195
1201
  # Optional. Resource name of the new target SKU. Provide this SKU when upgrading
1196
1202
  # or downgrading an entitlement. Format: products/`product_id`/skus/`sku_id`
1203
+ # @param [String] create_entitlement_purchase_billing_account
1204
+ # Optional. Billing account that the result should be restricted to. Format:
1205
+ # accounts/`account_id`/billing_accounts/`billing_account_id`.
1197
1206
  # @param [String] create_entitlement_purchase_sku
1198
1207
  # Required. SKU that the result should be restricted to. Format: products/`
1199
1208
  # product_id`/skus/`sku_id`.
@@ -1224,13 +1233,15 @@ module Google
1224
1233
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1225
1234
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1226
1235
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1227
- def list_account_customer_purchasable_offers(customer, change_offer_purchase_entitlement: nil, change_offer_purchase_new_sku: nil, create_entitlement_purchase_sku: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1236
+ def list_account_customer_purchasable_offers(customer, change_offer_purchase_billing_account: nil, change_offer_purchase_entitlement: nil, change_offer_purchase_new_sku: nil, create_entitlement_purchase_billing_account: nil, create_entitlement_purchase_sku: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1228
1237
  command = make_simple_command(:get, 'v1/{+customer}:listPurchasableOffers', options)
1229
1238
  command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListPurchasableOffersResponse::Representation
1230
1239
  command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListPurchasableOffersResponse
1231
1240
  command.params['customer'] = customer unless customer.nil?
1241
+ command.query['changeOfferPurchase.billingAccount'] = change_offer_purchase_billing_account unless change_offer_purchase_billing_account.nil?
1232
1242
  command.query['changeOfferPurchase.entitlement'] = change_offer_purchase_entitlement unless change_offer_purchase_entitlement.nil?
1233
1243
  command.query['changeOfferPurchase.newSku'] = change_offer_purchase_new_sku unless change_offer_purchase_new_sku.nil?
1244
+ command.query['createEntitlementPurchase.billingAccount'] = create_entitlement_purchase_billing_account unless create_entitlement_purchase_billing_account.nil?
1234
1245
  command.query['createEntitlementPurchase.sku'] = create_entitlement_purchase_sku unless create_entitlement_purchase_sku.nil?
1235
1246
  command.query['languageCode'] = language_code unless language_code.nil?
1236
1247
  command.query['pageSize'] = page_size unless page_size.nil?
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.38.0
4
+ version: 0.39.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: 2023-05-14 00:00:00.000000000 Z
11
+ date: 2023-05-21 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.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.39.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: []