google-apis-content_v2_1 0.34.0 → 0.35.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: 0b3208c6f2779a5c364820e7eed9e0a1c5a59c4540f0443d68aa6f5925300ade
4
- data.tar.gz: fbdf359304cca58bdab47800f87c61129289e93abe03b42bca6b610b592096d7
3
+ metadata.gz: 2d50441de3bbf25416119c315761fc1d56c1e8c704ade4023c0691a91878ae1c
4
+ data.tar.gz: 87aeb013fc03d6bc3cf27f8ea386aa976921923dae229a46a90ac9d2e4d4dab7
5
5
  SHA512:
6
- metadata.gz: fbb3636c1336a7205d80547bd851491ade780f6eb38fe320ba04950abab394b8c9af742e82fd360c1b35e9fce1ad2d3bcbcea7d9a2f4fcc9ee29239279d56b6b
7
- data.tar.gz: ed6f738daecfe91b93695e963bfbd75a15185a31739d5293c14626c8290ce133a214c91ac2d66efd7d11a1bb9467aebca443a99bcb31acfc17c5d06431614ac3
6
+ metadata.gz: 03ac9f9b0e3c1612e0fa56ae971ca962f1a0866f3e1b4c834988c13f42f7bcf86b3c9165db9d46f360a1b4c68de8df1306eec96db00d59edd8bb73e3da49c2e3
7
+ data.tar.gz: adb6ab861d80d539db173572b184fbce187fe1f2021a2c3e946f469bcf47fd31e9657982bcc198d50456b8740b5e23d1e4d7a396a79de7598fb944eb16714043
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-content_v2_1
2
2
 
3
+ ### v0.35.0 (2024-10-27)
4
+
5
+ * Regenerated from discovery document revision 20241023
6
+
3
7
  ### v0.34.0 (2024-09-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20240825
@@ -13543,353 +13543,6 @@ module Google
13543
13543
  end
13544
13544
  end
13545
13545
 
13546
- # Settlement reports detail order-level and item-level credits and debits
13547
- # between you and Google.
13548
- class SettlementReport
13549
- include Google::Apis::Core::Hashable
13550
-
13551
- # The end date on which all transactions are included in the report, in ISO 8601
13552
- # format.
13553
- # Corresponds to the JSON property `endDate`
13554
- # @return [String]
13555
- attr_accessor :end_date
13556
-
13557
- # Identifies what kind of resource this is. Value: the fixed string "`content#
13558
- # settlementReport`"
13559
- # Corresponds to the JSON property `kind`
13560
- # @return [String]
13561
- attr_accessor :kind
13562
-
13563
- # The residual amount from the previous invoice. This is set only if the
13564
- # previous invoices are not paid because of negative balance.
13565
- # Corresponds to the JSON property `previousBalance`
13566
- # @return [Google::Apis::ContentV2_1::Price]
13567
- attr_accessor :previous_balance
13568
-
13569
- # The ID of the settlement report.
13570
- # Corresponds to the JSON property `settlementId`
13571
- # @return [String]
13572
- attr_accessor :settlement_id
13573
-
13574
- # The start date on which all transactions are included in the report, in ISO
13575
- # 8601 format.
13576
- # Corresponds to the JSON property `startDate`
13577
- # @return [String]
13578
- attr_accessor :start_date
13579
-
13580
- # The money due to the merchant.
13581
- # Corresponds to the JSON property `transferAmount`
13582
- # @return [Google::Apis::ContentV2_1::Price]
13583
- attr_accessor :transfer_amount
13584
-
13585
- # Date on which transfer for this payment was initiated by Google, in ISO 8601
13586
- # format.
13587
- # Corresponds to the JSON property `transferDate`
13588
- # @return [String]
13589
- attr_accessor :transfer_date
13590
-
13591
- # The list of bank identifiers used for the transfer. For example, Trace ID for
13592
- # Federal Automated Clearing House (ACH). This may also be known as the Wire ID.
13593
- # Corresponds to the JSON property `transferIds`
13594
- # @return [Array<String>]
13595
- attr_accessor :transfer_ids
13596
-
13597
- def initialize(**args)
13598
- update!(**args)
13599
- end
13600
-
13601
- # Update properties of this object
13602
- def update!(**args)
13603
- @end_date = args[:end_date] if args.key?(:end_date)
13604
- @kind = args[:kind] if args.key?(:kind)
13605
- @previous_balance = args[:previous_balance] if args.key?(:previous_balance)
13606
- @settlement_id = args[:settlement_id] if args.key?(:settlement_id)
13607
- @start_date = args[:start_date] if args.key?(:start_date)
13608
- @transfer_amount = args[:transfer_amount] if args.key?(:transfer_amount)
13609
- @transfer_date = args[:transfer_date] if args.key?(:transfer_date)
13610
- @transfer_ids = args[:transfer_ids] if args.key?(:transfer_ids)
13611
- end
13612
- end
13613
-
13614
- # Settlement transactions give a detailed breakdown of the settlement report.
13615
- class SettlementTransaction
13616
- include Google::Apis::Core::Hashable
13617
-
13618
- # The amount for the transaction.
13619
- # Corresponds to the JSON property `amount`
13620
- # @return [Google::Apis::ContentV2_1::SettlementTransactionAmount]
13621
- attr_accessor :amount
13622
-
13623
- # Identifiers of the transaction.
13624
- # Corresponds to the JSON property `identifiers`
13625
- # @return [Google::Apis::ContentV2_1::SettlementTransactionIdentifiers]
13626
- attr_accessor :identifiers
13627
-
13628
- # Identifies what kind of resource this is. Value: the fixed string "`content#
13629
- # settlementTransaction`"
13630
- # Corresponds to the JSON property `kind`
13631
- # @return [String]
13632
- attr_accessor :kind
13633
-
13634
- # Details of the transaction.
13635
- # Corresponds to the JSON property `transaction`
13636
- # @return [Google::Apis::ContentV2_1::SettlementTransactionTransaction]
13637
- attr_accessor :transaction
13638
-
13639
- def initialize(**args)
13640
- update!(**args)
13641
- end
13642
-
13643
- # Update properties of this object
13644
- def update!(**args)
13645
- @amount = args[:amount] if args.key?(:amount)
13646
- @identifiers = args[:identifiers] if args.key?(:identifiers)
13647
- @kind = args[:kind] if args.key?(:kind)
13648
- @transaction = args[:transaction] if args.key?(:transaction)
13649
- end
13650
- end
13651
-
13652
- #
13653
- class SettlementTransactionAmount
13654
- include Google::Apis::Core::Hashable
13655
-
13656
- #
13657
- # Corresponds to the JSON property `commission`
13658
- # @return [Google::Apis::ContentV2_1::SettlementTransactionAmountCommission]
13659
- attr_accessor :commission
13660
-
13661
- # The description of the event. Acceptable values are: - "`taxWithhold`" - "`
13662
- # principal`" - "`principalAdjustment`" - "`shippingFee`" - "`
13663
- # merchantRemittedSalesTax`" - "`googleRemittedSalesTax`" - "`merchantCoupon`" -
13664
- # "`merchantCouponTax`" - "`merchantRemittedDisposalTax`" - "`
13665
- # googleRemittedDisposalTax`" - "`merchantRemittedRedemptionFee`" - "`
13666
- # googleRemittedRedemptionFee`" - "`eeeEcoFee`" - "`furnitureEcoFee`" - "`
13667
- # copyPrivateFee`" - "`eeeEcoFeeCommission`" - "`furnitureEcoFeeCommission`" - "`
13668
- # copyPrivateFeeCommission`" - "`principalRefund`" - "`principalRefundTax`" - "`
13669
- # itemCommission`" - "`adjustmentCommission`" - "`shippingFeeCommission`" - "`
13670
- # commissionRefund`" - "`damaged`" - "`damagedOrDefectiveItem`" - "`expiredItem`"
13671
- # - "`faultyItem`" - "`incorrectItemReceived`" - "`itemMissing`" - "`
13672
- # qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
13673
- # transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
13674
- # wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
13675
- # issueRelatedRefundAndReplacementAmountDescription`" - "`refundFromMerchant`" -
13676
- # "`returnLabelShippingFee`" - "`lumpSumCorrection`" - "`pspFee`" - "`
13677
- # principalRefundDoesNotFit`" - "`principalRefundOrderedWrongItem`" - "`
13678
- # principalRefundQualityNotExpected`" - "`principalRefundBetterPriceFound`" - "`
13679
- # principalRefundNoLongerNeeded`" - "`principalRefundChangedMind`" - "`
13680
- # principalRefundReceivedTooLate`" - "`principalRefundIncorrectItemReceived`" - "
13681
- # `principalRefundDamagedOrDefectiveItem`" - "`
13682
- # principalRefundDidNotMatchDescription`" - "`principalRefundExpiredItem`"
13683
- # Corresponds to the JSON property `description`
13684
- # @return [String]
13685
- attr_accessor :description
13686
-
13687
- # The amount that contributes to the line item price.
13688
- # Corresponds to the JSON property `transactionAmount`
13689
- # @return [Google::Apis::ContentV2_1::Price]
13690
- attr_accessor :transaction_amount
13691
-
13692
- # The type of the amount. Acceptable values are: - "`itemPrice`" - "`orderPrice`"
13693
- # - "`refund`" - "`earlyRefund`" - "`courtesyRefund`" - "`returnRefund`" - "`
13694
- # returnLabelShippingFeeAmount`" - "`lumpSumCorrectionAmount`"
13695
- # Corresponds to the JSON property `type`
13696
- # @return [String]
13697
- attr_accessor :type
13698
-
13699
- def initialize(**args)
13700
- update!(**args)
13701
- end
13702
-
13703
- # Update properties of this object
13704
- def update!(**args)
13705
- @commission = args[:commission] if args.key?(:commission)
13706
- @description = args[:description] if args.key?(:description)
13707
- @transaction_amount = args[:transaction_amount] if args.key?(:transaction_amount)
13708
- @type = args[:type] if args.key?(:type)
13709
- end
13710
- end
13711
-
13712
- #
13713
- class SettlementTransactionAmountCommission
13714
- include Google::Apis::Core::Hashable
13715
-
13716
- # The category of the commission. Acceptable values are: - "`
13717
- # animalsAndPetSupplies`" - "`dogCatFoodAndCatLitter`" - "`apparelAndAccessories`
13718
- # " - "`shoesHandbagsAndSunglasses`" - "`costumesAndAccessories`" - "`jewelry`" -
13719
- # "`watches`" - "`hobbiesArtsAndCrafts`" - "`homeAndGarden`" - "`
13720
- # entertainmentCollectibles`" - "`collectibleCoins`" - "`sportsCollectibles`" - "
13721
- # `sportingGoods`" - "`toysAndGames`" - "`musicalInstruments`" - "`giftCards`" -
13722
- # "`babyAndToddler`" - "`babyFoodWipesAndDiapers`" - "`businessAndIndustrial`" -
13723
- # "`camerasOpticsAndPhotography`" - "`consumerElectronics`" - "`
13724
- # electronicsAccessories`" - "`personalComputers`" - "`videoGameConsoles`" - "`
13725
- # foodAndGrocery`" - "`beverages`" - "`tobaccoProducts`" - "`furniture`" - "`
13726
- # hardware`" - "`buildingMaterials`" - "`tools`" - "`healthAndPersonalCare`" - "`
13727
- # beauty`" - "`householdSupplies`" - "`kitchenAndDining`" - "`majorAppliances`" -
13728
- # "`luggageAndBags`" - "`media`" - "`officeSupplies`" - "`softwareAndVideoGames`
13729
- # " - "`vehiclePartsAndAccessories`" - "`vehicleTiresAndWheels`" - "`vehicles`" -
13730
- # "`everythingElse`"
13731
- # Corresponds to the JSON property `category`
13732
- # @return [String]
13733
- attr_accessor :category
13734
-
13735
- # Rate of the commission in percentage.
13736
- # Corresponds to the JSON property `rate`
13737
- # @return [String]
13738
- attr_accessor :rate
13739
-
13740
- def initialize(**args)
13741
- update!(**args)
13742
- end
13743
-
13744
- # Update properties of this object
13745
- def update!(**args)
13746
- @category = args[:category] if args.key?(:category)
13747
- @rate = args[:rate] if args.key?(:rate)
13748
- end
13749
- end
13750
-
13751
- #
13752
- class SettlementTransactionIdentifiers
13753
- include Google::Apis::Core::Hashable
13754
-
13755
- # The identifier of the adjustments, if it's available.
13756
- # Corresponds to the JSON property `adjustmentId`
13757
- # @return [String]
13758
- attr_accessor :adjustment_id
13759
-
13760
- # The merchant provided order ID.
13761
- # Corresponds to the JSON property `merchantOrderId`
13762
- # @return [String]
13763
- attr_accessor :merchant_order_id
13764
-
13765
- # The identifier of the item.
13766
- # Corresponds to the JSON property `orderItemId`
13767
- # @return [String]
13768
- attr_accessor :order_item_id
13769
-
13770
- # The unique ID of the settlement transaction entry.
13771
- # Corresponds to the JSON property `settlementEntryId`
13772
- # @return [String]
13773
- attr_accessor :settlement_entry_id
13774
-
13775
- # The shipment ids for the item.
13776
- # Corresponds to the JSON property `shipmentIds`
13777
- # @return [Array<String>]
13778
- attr_accessor :shipment_ids
13779
-
13780
- # The Google transaction ID.
13781
- # Corresponds to the JSON property `transactionId`
13782
- # @return [String]
13783
- attr_accessor :transaction_id
13784
-
13785
- def initialize(**args)
13786
- update!(**args)
13787
- end
13788
-
13789
- # Update properties of this object
13790
- def update!(**args)
13791
- @adjustment_id = args[:adjustment_id] if args.key?(:adjustment_id)
13792
- @merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id)
13793
- @order_item_id = args[:order_item_id] if args.key?(:order_item_id)
13794
- @settlement_entry_id = args[:settlement_entry_id] if args.key?(:settlement_entry_id)
13795
- @shipment_ids = args[:shipment_ids] if args.key?(:shipment_ids)
13796
- @transaction_id = args[:transaction_id] if args.key?(:transaction_id)
13797
- end
13798
- end
13799
-
13800
- #
13801
- class SettlementTransactionTransaction
13802
- include Google::Apis::Core::Hashable
13803
-
13804
- # The time on which the event occurred in ISO 8601 format.
13805
- # Corresponds to the JSON property `postDate`
13806
- # @return [String]
13807
- attr_accessor :post_date
13808
-
13809
- # The type of the transaction that occurred. Acceptable values are: - "`order`" -
13810
- # "`reversal`" - "`orderRefund`" - "`reversalRefund`" - "`
13811
- # issueRelatedRefundAndReplacement`" - "`returnLabelShippingFeeTransaction`" - "`
13812
- # reversalIssueRelatedRefundAndReplacement`" - "`
13813
- # reversalReturnLabelShippingFeeTransaction`" - "`lumpSumCorrectionTransaction`"
13814
- # Corresponds to the JSON property `type`
13815
- # @return [String]
13816
- attr_accessor :type
13817
-
13818
- def initialize(**args)
13819
- update!(**args)
13820
- end
13821
-
13822
- # Update properties of this object
13823
- def update!(**args)
13824
- @post_date = args[:post_date] if args.key?(:post_date)
13825
- @type = args[:type] if args.key?(:type)
13826
- end
13827
- end
13828
-
13829
- #
13830
- class SettlementreportsListResponse
13831
- include Google::Apis::Core::Hashable
13832
-
13833
- # Identifies what kind of resource this is. Value: the fixed string "`content#
13834
- # settlementreportsListResponse`".
13835
- # Corresponds to the JSON property `kind`
13836
- # @return [String]
13837
- attr_accessor :kind
13838
-
13839
- # The token for the retrieval of the next page of returns.
13840
- # Corresponds to the JSON property `nextPageToken`
13841
- # @return [String]
13842
- attr_accessor :next_page_token
13843
-
13844
- #
13845
- # Corresponds to the JSON property `resources`
13846
- # @return [Array<Google::Apis::ContentV2_1::SettlementReport>]
13847
- attr_accessor :resources
13848
-
13849
- def initialize(**args)
13850
- update!(**args)
13851
- end
13852
-
13853
- # Update properties of this object
13854
- def update!(**args)
13855
- @kind = args[:kind] if args.key?(:kind)
13856
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
13857
- @resources = args[:resources] if args.key?(:resources)
13858
- end
13859
- end
13860
-
13861
- #
13862
- class SettlementtransactionsListResponse
13863
- include Google::Apis::Core::Hashable
13864
-
13865
- # Identifies what kind of resource this is. Value: the fixed string "`content#
13866
- # settlementtransactionsListResponse`".
13867
- # Corresponds to the JSON property `kind`
13868
- # @return [String]
13869
- attr_accessor :kind
13870
-
13871
- # The token for the retrieval of the next page of returns.
13872
- # Corresponds to the JSON property `nextPageToken`
13873
- # @return [String]
13874
- attr_accessor :next_page_token
13875
-
13876
- #
13877
- # Corresponds to the JSON property `resources`
13878
- # @return [Array<Google::Apis::ContentV2_1::SettlementTransaction>]
13879
- attr_accessor :resources
13880
-
13881
- def initialize(**args)
13882
- update!(**args)
13883
- end
13884
-
13885
- # Update properties of this object
13886
- def update!(**args)
13887
- @kind = args[:kind] if args.key?(:kind)
13888
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
13889
- @resources = args[:resources] if args.key?(:resources)
13890
- end
13891
- end
13892
-
13893
13546
  # The merchant account's shipping settings. All methods except
13894
13547
  # getsupportedcarriers and getsupportedholidays require the admin role.
13895
13548
  class ShippingSettings
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContentV2_1
18
18
  # Version of the google-apis-content_v2_1 gem
19
- GEM_VERSION = "0.34.0"
19
+ GEM_VERSION = "0.35.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 = "20240825"
25
+ REVISION = "20241023"
26
26
  end
27
27
  end
28
28
  end
@@ -1822,54 +1822,6 @@ module Google
1822
1822
  include Google::Apis::Core::JsonObjectSupport
1823
1823
  end
1824
1824
 
1825
- class SettlementReport
1826
- class Representation < Google::Apis::Core::JsonRepresentation; end
1827
-
1828
- include Google::Apis::Core::JsonObjectSupport
1829
- end
1830
-
1831
- class SettlementTransaction
1832
- class Representation < Google::Apis::Core::JsonRepresentation; end
1833
-
1834
- include Google::Apis::Core::JsonObjectSupport
1835
- end
1836
-
1837
- class SettlementTransactionAmount
1838
- class Representation < Google::Apis::Core::JsonRepresentation; end
1839
-
1840
- include Google::Apis::Core::JsonObjectSupport
1841
- end
1842
-
1843
- class SettlementTransactionAmountCommission
1844
- class Representation < Google::Apis::Core::JsonRepresentation; end
1845
-
1846
- include Google::Apis::Core::JsonObjectSupport
1847
- end
1848
-
1849
- class SettlementTransactionIdentifiers
1850
- class Representation < Google::Apis::Core::JsonRepresentation; end
1851
-
1852
- include Google::Apis::Core::JsonObjectSupport
1853
- end
1854
-
1855
- class SettlementTransactionTransaction
1856
- class Representation < Google::Apis::Core::JsonRepresentation; end
1857
-
1858
- include Google::Apis::Core::JsonObjectSupport
1859
- end
1860
-
1861
- class SettlementreportsListResponse
1862
- class Representation < Google::Apis::Core::JsonRepresentation; end
1863
-
1864
- include Google::Apis::Core::JsonObjectSupport
1865
- end
1866
-
1867
- class SettlementtransactionsListResponse
1868
- class Representation < Google::Apis::Core::JsonRepresentation; end
1869
-
1870
- include Google::Apis::Core::JsonObjectSupport
1871
- end
1872
-
1873
1825
  class ShippingSettings
1874
1826
  class Representation < Google::Apis::Core::JsonRepresentation; end
1875
1827
 
@@ -5530,95 +5482,6 @@ module Google
5530
5482
  end
5531
5483
  end
5532
5484
 
5533
- class SettlementReport
5534
- # @private
5535
- class Representation < Google::Apis::Core::JsonRepresentation
5536
- property :end_date, as: 'endDate'
5537
- property :kind, as: 'kind'
5538
- property :previous_balance, as: 'previousBalance', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
5539
-
5540
- property :settlement_id, as: 'settlementId'
5541
- property :start_date, as: 'startDate'
5542
- property :transfer_amount, as: 'transferAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
5543
-
5544
- property :transfer_date, as: 'transferDate'
5545
- collection :transfer_ids, as: 'transferIds'
5546
- end
5547
- end
5548
-
5549
- class SettlementTransaction
5550
- # @private
5551
- class Representation < Google::Apis::Core::JsonRepresentation
5552
- property :amount, as: 'amount', class: Google::Apis::ContentV2_1::SettlementTransactionAmount, decorator: Google::Apis::ContentV2_1::SettlementTransactionAmount::Representation
5553
-
5554
- property :identifiers, as: 'identifiers', class: Google::Apis::ContentV2_1::SettlementTransactionIdentifiers, decorator: Google::Apis::ContentV2_1::SettlementTransactionIdentifiers::Representation
5555
-
5556
- property :kind, as: 'kind'
5557
- property :transaction, as: 'transaction', class: Google::Apis::ContentV2_1::SettlementTransactionTransaction, decorator: Google::Apis::ContentV2_1::SettlementTransactionTransaction::Representation
5558
-
5559
- end
5560
- end
5561
-
5562
- class SettlementTransactionAmount
5563
- # @private
5564
- class Representation < Google::Apis::Core::JsonRepresentation
5565
- property :commission, as: 'commission', class: Google::Apis::ContentV2_1::SettlementTransactionAmountCommission, decorator: Google::Apis::ContentV2_1::SettlementTransactionAmountCommission::Representation
5566
-
5567
- property :description, as: 'description'
5568
- property :transaction_amount, as: 'transactionAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
5569
-
5570
- property :type, as: 'type'
5571
- end
5572
- end
5573
-
5574
- class SettlementTransactionAmountCommission
5575
- # @private
5576
- class Representation < Google::Apis::Core::JsonRepresentation
5577
- property :category, as: 'category'
5578
- property :rate, as: 'rate'
5579
- end
5580
- end
5581
-
5582
- class SettlementTransactionIdentifiers
5583
- # @private
5584
- class Representation < Google::Apis::Core::JsonRepresentation
5585
- property :adjustment_id, as: 'adjustmentId'
5586
- property :merchant_order_id, as: 'merchantOrderId'
5587
- property :order_item_id, as: 'orderItemId'
5588
- property :settlement_entry_id, as: 'settlementEntryId'
5589
- collection :shipment_ids, as: 'shipmentIds'
5590
- property :transaction_id, as: 'transactionId'
5591
- end
5592
- end
5593
-
5594
- class SettlementTransactionTransaction
5595
- # @private
5596
- class Representation < Google::Apis::Core::JsonRepresentation
5597
- property :post_date, as: 'postDate'
5598
- property :type, as: 'type'
5599
- end
5600
- end
5601
-
5602
- class SettlementreportsListResponse
5603
- # @private
5604
- class Representation < Google::Apis::Core::JsonRepresentation
5605
- property :kind, as: 'kind'
5606
- property :next_page_token, as: 'nextPageToken'
5607
- collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::SettlementReport, decorator: Google::Apis::ContentV2_1::SettlementReport::Representation
5608
-
5609
- end
5610
- end
5611
-
5612
- class SettlementtransactionsListResponse
5613
- # @private
5614
- class Representation < Google::Apis::Core::JsonRepresentation
5615
- property :kind, as: 'kind'
5616
- property :next_page_token, as: 'nextPageToken'
5617
- collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::SettlementTransaction, decorator: Google::Apis::ContentV2_1::SettlementTransaction::Representation
5618
-
5619
- end
5620
- end
5621
-
5622
5485
  class ShippingSettings
5623
5486
  # @private
5624
5487
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1473,7 +1473,7 @@ module Google
1473
1473
  # Required. The ID of the conversion source to be updated.
1474
1474
  # @param [Google::Apis::ContentV2_1::ConversionSource] conversion_source_object
1475
1475
  # @param [String] update_mask
1476
- # Required. List of fields being updated.
1476
+ # Optional. List of fields being updated.
1477
1477
  # @param [String] fields
1478
1478
  # Selector specifying which fields to include in a partial response.
1479
1479
  # @param [String] quota_user
@@ -4587,130 +4587,6 @@ module Google
4587
4587
  execute_or_queue_command(command, &block)
4588
4588
  end
4589
4589
 
4590
- # Retrieves a settlement report from your Merchant Center account.
4591
- # @param [Fixnum] merchant_id
4592
- # The Merchant Center account of the settlement report.
4593
- # @param [String] settlement_id
4594
- # The Google-provided ID of the settlement.
4595
- # @param [String] fields
4596
- # Selector specifying which fields to include in a partial response.
4597
- # @param [String] quota_user
4598
- # Available to use for quota purposes for server-side applications. Can be any
4599
- # arbitrary string assigned to a user, but should not exceed 40 characters.
4600
- # @param [Google::Apis::RequestOptions] options
4601
- # Request-specific options
4602
- #
4603
- # @yield [result, err] Result & error if block supplied
4604
- # @yieldparam result [Google::Apis::ContentV2_1::SettlementReport] parsed result object
4605
- # @yieldparam err [StandardError] error object if request failed
4606
- #
4607
- # @return [Google::Apis::ContentV2_1::SettlementReport]
4608
- #
4609
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4610
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4611
- # @raise [Google::Apis::AuthorizationError] Authorization is required
4612
- def get_settlementreport(merchant_id, settlement_id, fields: nil, quota_user: nil, options: nil, &block)
4613
- command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}', options)
4614
- command.response_representation = Google::Apis::ContentV2_1::SettlementReport::Representation
4615
- command.response_class = Google::Apis::ContentV2_1::SettlementReport
4616
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
4617
- command.params['settlementId'] = settlement_id unless settlement_id.nil?
4618
- command.query['fields'] = fields unless fields.nil?
4619
- command.query['quotaUser'] = quota_user unless quota_user.nil?
4620
- execute_or_queue_command(command, &block)
4621
- end
4622
-
4623
- # Retrieves a list of settlement reports from your Merchant Center account.
4624
- # @param [Fixnum] merchant_id
4625
- # The Merchant Center account to list settlements for.
4626
- # @param [Fixnum] max_results
4627
- # The maximum number of settlements to return in the response, used for paging.
4628
- # The default value is 200 returns per page, and the maximum allowed value is
4629
- # 5000 returns per page.
4630
- # @param [String] page_token
4631
- # The token returned by the previous request.
4632
- # @param [String] transfer_end_date
4633
- # Obtains settlements which have transactions before this date (inclusively), in
4634
- # ISO 8601 format.
4635
- # @param [String] transfer_start_date
4636
- # Obtains settlements which have transactions after this date (inclusively), in
4637
- # ISO 8601 format.
4638
- # @param [String] fields
4639
- # Selector specifying which fields to include in a partial response.
4640
- # @param [String] quota_user
4641
- # Available to use for quota purposes for server-side applications. Can be any
4642
- # arbitrary string assigned to a user, but should not exceed 40 characters.
4643
- # @param [Google::Apis::RequestOptions] options
4644
- # Request-specific options
4645
- #
4646
- # @yield [result, err] Result & error if block supplied
4647
- # @yieldparam result [Google::Apis::ContentV2_1::SettlementreportsListResponse] parsed result object
4648
- # @yieldparam err [StandardError] error object if request failed
4649
- #
4650
- # @return [Google::Apis::ContentV2_1::SettlementreportsListResponse]
4651
- #
4652
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4653
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4654
- # @raise [Google::Apis::AuthorizationError] Authorization is required
4655
- def list_settlementreports(merchant_id, max_results: nil, page_token: nil, transfer_end_date: nil, transfer_start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
4656
- command = make_simple_command(:get, '{merchantId}/settlementreports', options)
4657
- command.response_representation = Google::Apis::ContentV2_1::SettlementreportsListResponse::Representation
4658
- command.response_class = Google::Apis::ContentV2_1::SettlementreportsListResponse
4659
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
4660
- command.query['maxResults'] = max_results unless max_results.nil?
4661
- command.query['pageToken'] = page_token unless page_token.nil?
4662
- command.query['transferEndDate'] = transfer_end_date unless transfer_end_date.nil?
4663
- command.query['transferStartDate'] = transfer_start_date unless transfer_start_date.nil?
4664
- command.query['fields'] = fields unless fields.nil?
4665
- command.query['quotaUser'] = quota_user unless quota_user.nil?
4666
- execute_or_queue_command(command, &block)
4667
- end
4668
-
4669
- # Retrieves a list of transactions for the settlement.
4670
- # @param [Fixnum] merchant_id
4671
- # The Merchant Center account to list transactions for.
4672
- # @param [String] settlement_id
4673
- # The Google-provided ID of the settlement.
4674
- # @param [Fixnum] max_results
4675
- # The maximum number of transactions to return in the response, used for paging.
4676
- # The default value is 200 transactions per page, and the maximum allowed value
4677
- # is 5000 transactions per page.
4678
- # @param [String] page_token
4679
- # The token returned by the previous request.
4680
- # @param [Array<String>, String] transaction_ids
4681
- # The list of transactions to return. If not set, all transactions will be
4682
- # returned.
4683
- # @param [String] fields
4684
- # Selector specifying which fields to include in a partial response.
4685
- # @param [String] quota_user
4686
- # Available to use for quota purposes for server-side applications. Can be any
4687
- # arbitrary string assigned to a user, but should not exceed 40 characters.
4688
- # @param [Google::Apis::RequestOptions] options
4689
- # Request-specific options
4690
- #
4691
- # @yield [result, err] Result & error if block supplied
4692
- # @yieldparam result [Google::Apis::ContentV2_1::SettlementtransactionsListResponse] parsed result object
4693
- # @yieldparam err [StandardError] error object if request failed
4694
- #
4695
- # @return [Google::Apis::ContentV2_1::SettlementtransactionsListResponse]
4696
- #
4697
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4698
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4699
- # @raise [Google::Apis::AuthorizationError] Authorization is required
4700
- def list_settlementtransactions(merchant_id, settlement_id, max_results: nil, page_token: nil, transaction_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
4701
- command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}/transactions', options)
4702
- command.response_representation = Google::Apis::ContentV2_1::SettlementtransactionsListResponse::Representation
4703
- command.response_class = Google::Apis::ContentV2_1::SettlementtransactionsListResponse
4704
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
4705
- command.params['settlementId'] = settlement_id unless settlement_id.nil?
4706
- command.query['maxResults'] = max_results unless max_results.nil?
4707
- command.query['pageToken'] = page_token unless page_token.nil?
4708
- command.query['transactionIds'] = transaction_ids unless transaction_ids.nil?
4709
- command.query['fields'] = fields unless fields.nil?
4710
- command.query['quotaUser'] = quota_user unless quota_user.nil?
4711
- execute_or_queue_command(command, &block)
4712
- end
4713
-
4714
4590
  # Retrieves and updates the shipping settings of multiple accounts in a single
4715
4591
  # request.
4716
4592
  # @param [Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequest] shippingsettings_custom_batch_request_object
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-content_v2_1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.35.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-09-01 00:00:00.000000000 Z
11
+ date: 2024-10-27 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-content_v2_1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.35.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-content_v2_1
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.6
78
+ rubygems_version: 3.5.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Content API for Shopping V2_1