google-apis-androidpublisher_v3 0.42.0 → 0.44.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 +4 -4
 - data/CHANGELOG.md +8 -0
 - data/lib/google/apis/androidpublisher_v3/classes.rb +25 -0
 - data/lib/google/apis/androidpublisher_v3/gem_version.rb +2 -2
 - data/lib/google/apis/androidpublisher_v3/representations.rb +15 -0
 - data/lib/google/apis/androidpublisher_v3/service.rb +23 -6
 - metadata +3 -3
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: d0f77fe9ec26abc9d887ec45707ad9b9fef0b7fa3b762ee151a23dd3b5af1342
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: ae5653755472fc5e3822108d1d45f10ab53b9c40645af399c132ba46fad220be
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: c726520c9b43a4ae77d3401e8fdbd470fc44c31757f49c3632801d6054195d522e804dfe7f2b0cee7bb1caeb1ed5d0d37f1e2a26ef6c2789c4d6a41299061ad3
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: b97722b493111fe0065818cbb253e38bcf3c47d8cbf503edaa7f0d2b79226fbd18a11e24056de3369681120338fc92e103ede87e0df9b9d5a9622a44d24872da
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,5 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Release history for google-apis-androidpublisher_v3
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ### v0.44.0 (2023-06-18)
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            * Regenerated from discovery document revision 20230615
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ### v0.43.0 (2023-06-11)
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            * Regenerated from discovery document revision 20230606
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
       3 
11 
     | 
    
         
             
            ### v0.42.0 (2023-05-14)
         
     | 
| 
       4 
12 
     | 
    
         | 
| 
       5 
13 
     | 
    
         
             
            * Regenerated from discovery document revision 20230511
         
     | 
| 
         @@ -722,6 +722,25 @@ module Google 
     | 
|
| 
       722 
722 
     | 
    
         
             
                    end
         
     | 
| 
       723 
723 
     | 
    
         
             
                  end
         
     | 
| 
       724 
724 
     | 
    
         | 
| 
      
 725 
     | 
    
         
            +
                  # Information related to deferred item replacement.
         
     | 
| 
      
 726 
     | 
    
         
            +
                  class DeferredItemReplacement
         
     | 
| 
      
 727 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 728 
     | 
    
         
            +
                  
         
     | 
| 
      
 729 
     | 
    
         
            +
                    # The product_id going to replace the existing product_id.
         
     | 
| 
      
 730 
     | 
    
         
            +
                    # Corresponds to the JSON property `productId`
         
     | 
| 
      
 731 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 732 
     | 
    
         
            +
                    attr_accessor :product_id
         
     | 
| 
      
 733 
     | 
    
         
            +
                  
         
     | 
| 
      
 734 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 735 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 736 
     | 
    
         
            +
                    end
         
     | 
| 
      
 737 
     | 
    
         
            +
                  
         
     | 
| 
      
 738 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 739 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 740 
     | 
    
         
            +
                      @product_id = args[:product_id] if args.key?(:product_id)
         
     | 
| 
      
 741 
     | 
    
         
            +
                    end
         
     | 
| 
      
 742 
     | 
    
         
            +
                  end
         
     | 
| 
      
 743 
     | 
    
         
            +
                  
         
     | 
| 
       725 
744 
     | 
    
         
             
                  # Represents a deobfuscation file.
         
     | 
| 
       726 
745 
     | 
    
         
             
                  class DeobfuscationFile
         
     | 
| 
       727 
746 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
         @@ -3947,6 +3966,11 @@ module Google 
     | 
|
| 
       3947 
3966 
     | 
    
         
             
                    # @return [Google::Apis::AndroidpublisherV3::AutoRenewingPlan]
         
     | 
| 
       3948 
3967 
     | 
    
         
             
                    attr_accessor :auto_renewing_plan
         
     | 
| 
       3949 
3968 
     | 
    
         | 
| 
      
 3969 
     | 
    
         
            +
                    # Information related to deferred item replacement.
         
     | 
| 
      
 3970 
     | 
    
         
            +
                    # Corresponds to the JSON property `deferredItemReplacement`
         
     | 
| 
      
 3971 
     | 
    
         
            +
                    # @return [Google::Apis::AndroidpublisherV3::DeferredItemReplacement]
         
     | 
| 
      
 3972 
     | 
    
         
            +
                    attr_accessor :deferred_item_replacement
         
     | 
| 
      
 3973 
     | 
    
         
            +
                  
         
     | 
| 
       3950 
3974 
     | 
    
         
             
                    # Time at which the subscription expired or will expire unless the access is
         
     | 
| 
       3951 
3975 
     | 
    
         
             
                    # extended (ex. renews).
         
     | 
| 
       3952 
3976 
     | 
    
         
             
                    # Corresponds to the JSON property `expiryTime`
         
     | 
| 
         @@ -3975,6 +3999,7 @@ module Google 
     | 
|
| 
       3975 
3999 
     | 
    
         
             
                    # Update properties of this object
         
     | 
| 
       3976 
4000 
     | 
    
         
             
                    def update!(**args)
         
     | 
| 
       3977 
4001 
     | 
    
         
             
                      @auto_renewing_plan = args[:auto_renewing_plan] if args.key?(:auto_renewing_plan)
         
     | 
| 
      
 4002 
     | 
    
         
            +
                      @deferred_item_replacement = args[:deferred_item_replacement] if args.key?(:deferred_item_replacement)
         
     | 
| 
       3978 
4003 
     | 
    
         
             
                      @expiry_time = args[:expiry_time] if args.key?(:expiry_time)
         
     | 
| 
       3979 
4004 
     | 
    
         
             
                      @offer_details = args[:offer_details] if args.key?(:offer_details)
         
     | 
| 
       3980 
4005 
     | 
    
         
             
                      @prepaid_plan = args[:prepaid_plan] if args.key?(:prepaid_plan)
         
     | 
| 
         @@ -16,13 +16,13 @@ module Google 
     | 
|
| 
       16 
16 
     | 
    
         
             
              module Apis
         
     | 
| 
       17 
17 
     | 
    
         
             
                module AndroidpublisherV3
         
     | 
| 
       18 
18 
     | 
    
         
             
                  # Version of the google-apis-androidpublisher_v3 gem
         
     | 
| 
       19 
     | 
    
         
            -
                  GEM_VERSION = "0. 
     | 
| 
      
 19 
     | 
    
         
            +
                  GEM_VERSION = "0.44.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 = " 
     | 
| 
      
 25 
     | 
    
         
            +
                  REVISION = "20230615"
         
     | 
| 
       26 
26 
     | 
    
         
             
                end
         
     | 
| 
       27 
27 
     | 
    
         
             
              end
         
     | 
| 
       28 
28 
     | 
    
         
             
            end
         
     | 
| 
         @@ -178,6 +178,12 @@ module Google 
     | 
|
| 
       178 
178 
     | 
    
         
             
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
       179 
179 
     | 
    
         
             
                  end
         
     | 
| 
       180 
180 
     | 
    
         | 
| 
      
 181 
     | 
    
         
            +
                  class DeferredItemReplacement
         
     | 
| 
      
 182 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
      
 183 
     | 
    
         
            +
                  
         
     | 
| 
      
 184 
     | 
    
         
            +
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
      
 185 
     | 
    
         
            +
                  end
         
     | 
| 
      
 186 
     | 
    
         
            +
                  
         
     | 
| 
       181 
187 
     | 
    
         
             
                  class DeobfuscationFile
         
     | 
| 
       182 
188 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
       183 
189 
     | 
    
         | 
| 
         @@ -1114,6 +1120,13 @@ module Google 
     | 
|
| 
       1114 
1120 
     | 
    
         
             
                    end
         
     | 
| 
       1115 
1121 
     | 
    
         
             
                  end
         
     | 
| 
       1116 
1122 
     | 
    
         | 
| 
      
 1123 
     | 
    
         
            +
                  class DeferredItemReplacement
         
     | 
| 
      
 1124 
     | 
    
         
            +
                    # @private
         
     | 
| 
      
 1125 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 1126 
     | 
    
         
            +
                      property :product_id, as: 'productId'
         
     | 
| 
      
 1127 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1128 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1129 
     | 
    
         
            +
                  
         
     | 
| 
       1117 
1130 
     | 
    
         
             
                  class DeobfuscationFile
         
     | 
| 
       1118 
1131 
     | 
    
         
             
                    # @private
         
     | 
| 
       1119 
1132 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
         @@ -2026,6 +2039,8 @@ module Google 
     | 
|
| 
       2026 
2039 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
       2027 
2040 
     | 
    
         
             
                      property :auto_renewing_plan, as: 'autoRenewingPlan', class: Google::Apis::AndroidpublisherV3::AutoRenewingPlan, decorator: Google::Apis::AndroidpublisherV3::AutoRenewingPlan::Representation
         
     | 
| 
       2028 
2041 
     | 
    
         | 
| 
      
 2042 
     | 
    
         
            +
                      property :deferred_item_replacement, as: 'deferredItemReplacement', class: Google::Apis::AndroidpublisherV3::DeferredItemReplacement, decorator: Google::Apis::AndroidpublisherV3::DeferredItemReplacement::Representation
         
     | 
| 
      
 2043 
     | 
    
         
            +
                  
         
     | 
| 
       2029 
2044 
     | 
    
         
             
                      property :expiry_time, as: 'expiryTime'
         
     | 
| 
       2030 
2045 
     | 
    
         
             
                      property :offer_details, as: 'offerDetails', class: Google::Apis::AndroidpublisherV3::OfferDetails, decorator: Google::Apis::AndroidpublisherV3::OfferDetails::Representation
         
     | 
| 
       2031 
2046 
     | 
    
         | 
| 
         @@ -1841,7 +1841,10 @@ module Google 
     | 
|
| 
       1841 
1841 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       1842 
1842 
     | 
    
         
             
                    end
         
     | 
| 
       1843 
1843 
     | 
    
         | 
| 
       1844 
     | 
    
         
            -
                    # Deletes an in-app product (i.e. a managed product or a subscription).
         
     | 
| 
      
 1844 
     | 
    
         
            +
                    # Deletes an in-app product (i.e. a managed product or a subscription). This
         
     | 
| 
      
 1845 
     | 
    
         
            +
                    # method should no longer be used to delete subscriptions. See [this article](
         
     | 
| 
      
 1846 
     | 
    
         
            +
                    # https://android-developers.googleblog.com/2023/06/changes-to-google-play-
         
     | 
| 
      
 1847 
     | 
    
         
            +
                    # developer-api-june-2023.html) for more information.
         
     | 
| 
       1845 
1848 
     | 
    
         
             
                    # @param [String] package_name
         
     | 
| 
       1846 
1849 
     | 
    
         
             
                    #   Package name of the app.
         
     | 
| 
       1847 
1850 
     | 
    
         
             
                    # @param [String] sku
         
     | 
| 
         @@ -1872,7 +1875,10 @@ module Google 
     | 
|
| 
       1872 
1875 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       1873 
1876 
     | 
    
         
             
                    end
         
     | 
| 
       1874 
1877 
     | 
    
         | 
| 
       1875 
     | 
    
         
            -
                    # Gets an in-app product, which can be a managed product or a subscription.
         
     | 
| 
      
 1878 
     | 
    
         
            +
                    # Gets an in-app product, which can be a managed product or a subscription. This
         
     | 
| 
      
 1879 
     | 
    
         
            +
                    # method should no longer be used to retrieve subscriptions. See [this article](
         
     | 
| 
      
 1880 
     | 
    
         
            +
                    # https://android-developers.googleblog.com/2023/06/changes-to-google-play-
         
     | 
| 
      
 1881 
     | 
    
         
            +
                    # developer-api-june-2023.html) for more information.
         
     | 
| 
       1876 
1882 
     | 
    
         
             
                    # @param [String] package_name
         
     | 
| 
       1877 
1883 
     | 
    
         
             
                    #   Package name of the app.
         
     | 
| 
       1878 
1884 
     | 
    
         
             
                    # @param [String] sku
         
     | 
| 
         @@ -1905,7 +1911,10 @@ module Google 
     | 
|
| 
       1905 
1911 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       1906 
1912 
     | 
    
         
             
                    end
         
     | 
| 
       1907 
1913 
     | 
    
         | 
| 
       1908 
     | 
    
         
            -
                    # Creates an in-app product (i.e. a managed product or a subscription).
         
     | 
| 
      
 1914 
     | 
    
         
            +
                    # Creates an in-app product (i.e. a managed product or a subscription). This
         
     | 
| 
      
 1915 
     | 
    
         
            +
                    # method should no longer be used to create subscriptions. See [this article](
         
     | 
| 
      
 1916 
     | 
    
         
            +
                    # https://android-developers.googleblog.com/2023/06/changes-to-google-play-
         
     | 
| 
      
 1917 
     | 
    
         
            +
                    # developer-api-june-2023.html) for more information.
         
     | 
| 
       1909 
1918 
     | 
    
         
             
                    # @param [String] package_name
         
     | 
| 
       1910 
1919 
     | 
    
         
             
                    #   Package name of the app.
         
     | 
| 
       1911 
1920 
     | 
    
         
             
                    # @param [Google::Apis::AndroidpublisherV3::InAppProduct] in_app_product_object
         
     | 
| 
         @@ -1947,7 +1956,9 @@ module Google 
     | 
|
| 
       1947 
1956 
     | 
    
         
             
                    # has a large number of in-app products, the response may be paginated. In this
         
     | 
| 
       1948 
1957 
     | 
    
         
             
                    # case the response field `tokenPagination.nextPageToken` will be set and the
         
     | 
| 
       1949 
1958 
     | 
    
         
             
                    # caller should provide its value as a `token` request parameter to retrieve the
         
     | 
| 
       1950 
     | 
    
         
            -
                    # next page.
         
     | 
| 
      
 1959 
     | 
    
         
            +
                    # next page. This method should no longer be used to retrieve subscriptions. See
         
     | 
| 
      
 1960 
     | 
    
         
            +
                    # [this article](https://android-developers.googleblog.com/2023/06/changes-to-
         
     | 
| 
      
 1961 
     | 
    
         
            +
                    # google-play-developer-api-june-2023.html) for more information.
         
     | 
| 
       1951 
1962 
     | 
    
         
             
                    # @param [String] package_name
         
     | 
| 
       1952 
1963 
     | 
    
         
             
                    #   Package name of the app.
         
     | 
| 
       1953 
1964 
     | 
    
         
             
                    # @param [Fixnum] max_results
         
     | 
| 
         @@ -1986,7 +1997,10 @@ module Google 
     | 
|
| 
       1986 
1997 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       1987 
1998 
     | 
    
         
             
                    end
         
     | 
| 
       1988 
1999 
     | 
    
         | 
| 
       1989 
     | 
    
         
            -
                    # Patches an in-app product (i.e. a managed product or a subscription).
         
     | 
| 
      
 2000 
     | 
    
         
            +
                    # Patches an in-app product (i.e. a managed product or a subscription). This
         
     | 
| 
      
 2001 
     | 
    
         
            +
                    # method should no longer be used to update subscriptions. See [this article](
         
     | 
| 
      
 2002 
     | 
    
         
            +
                    # https://android-developers.googleblog.com/2023/06/changes-to-google-play-
         
     | 
| 
      
 2003 
     | 
    
         
            +
                    # developer-api-june-2023.html) for more information.
         
     | 
| 
       1990 
2004 
     | 
    
         
             
                    # @param [String] package_name
         
     | 
| 
       1991 
2005 
     | 
    
         
             
                    #   Package name of the app.
         
     | 
| 
       1992 
2006 
     | 
    
         
             
                    # @param [String] sku
         
     | 
| 
         @@ -2027,7 +2041,10 @@ module Google 
     | 
|
| 
       2027 
2041 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       2028 
2042 
     | 
    
         
             
                    end
         
     | 
| 
       2029 
2043 
     | 
    
         | 
| 
       2030 
     | 
    
         
            -
                    # Updates an in-app product (i.e. a managed product or a subscription).
         
     | 
| 
      
 2044 
     | 
    
         
            +
                    # Updates an in-app product (i.e. a managed product or a subscription). This
         
     | 
| 
      
 2045 
     | 
    
         
            +
                    # method should no longer be used to update subscriptions. See [this article](
         
     | 
| 
      
 2046 
     | 
    
         
            +
                    # https://android-developers.googleblog.com/2023/06/changes-to-google-play-
         
     | 
| 
      
 2047 
     | 
    
         
            +
                    # developer-api-june-2023.html) for more information.
         
     | 
| 
       2031 
2048 
     | 
    
         
             
                    # @param [String] package_name
         
     | 
| 
       2032 
2049 
     | 
    
         
             
                    #   Package name of the app.
         
     | 
| 
       2033 
2050 
     | 
    
         
             
                    # @param [String] sku
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-apis-androidpublisher_v3
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.44.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- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2023-06-18 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-androidpublisher_v3/CHANGELOG.md
         
     | 
| 
       61 
     | 
    
         
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0. 
     | 
| 
      
 61 
     | 
    
         
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.44.0
         
     | 
| 
       62 
62 
     | 
    
         
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3
         
     | 
| 
       63 
63 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       64 
64 
     | 
    
         
             
            rdoc_options: []
         
     |