google-apis-androidpublisher_v3 0.55.0 → 0.57.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 +9 -0
 - data/lib/google/apis/androidpublisher_v3/classes.rb +45 -0
 - data/lib/google/apis/androidpublisher_v3/gem_version.rb +3 -3
 - data/lib/google/apis/androidpublisher_v3/representations.rb +26 -0
 - data/lib/google/apis/androidpublisher_v3/service.rb +33 -0
 - 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: e86cc9cee8747306b086625bb39f1fc736c53e1b61ffcc370f5b9171120173f7
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: d89bbcf2c6f4e3298d1e5e800ac2d6b93c4dda3fd8f5eb36ecdb9e262e6cdcb4
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 1f2340a6b058518e1e0dee5c0cb6519f064aaad8df7bbc0ee518b98c1cd39cdb18651eee735912cd1391d5381c036c20b2524c633385e90437f833d8e3fd24ba
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 2a27ead3b99704a7a23b1679ef9a4f1d7d11eb669ce80335fcc29325da0e863bd8494ddc2ff3bacdca4a71a654779d363c0757bfa9da2681af4ab85947eca0eb
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,5 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Release history for google-apis-androidpublisher_v3
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ### v0.57.0 (2024-02-11)
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            * Regenerated from discovery document revision 20240207
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ### v0.56.0 (2024-02-04)
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            * Regenerated from discovery document revision 20240129
         
     | 
| 
      
 10 
     | 
    
         
            +
            * Regenerated using generator version 0.13.1
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
       3 
12 
     | 
    
         
             
            ### v0.55.0 (2024-01-23)
         
     | 
| 
       4 
13 
     | 
    
         | 
| 
       5 
14 
     | 
    
         
             
            * Regenerated from discovery document revision 20240117
         
     | 
| 
         @@ -731,6 +731,13 @@ module Google 
     | 
|
| 
       731 
731 
     | 
    
         
             
                  class AutoRenewingBasePlanType
         
     | 
| 
       732 
732 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
       733 
733 
     | 
    
         | 
| 
      
 734 
     | 
    
         
            +
                    # Optional. Account hold period of the subscription, specified in ISO 8601
         
     | 
| 
      
 735 
     | 
    
         
            +
                    # format. Acceptable values must be in DAYS and in the range P0D (zero days) to
         
     | 
| 
      
 736 
     | 
    
         
            +
                    # P30D (30 days). If not specified, the default value is P30D (30 days).
         
     | 
| 
      
 737 
     | 
    
         
            +
                    # Corresponds to the JSON property `accountHoldDuration`
         
     | 
| 
      
 738 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 739 
     | 
    
         
            +
                    attr_accessor :account_hold_duration
         
     | 
| 
      
 740 
     | 
    
         
            +
                  
         
     | 
| 
       734 
741 
     | 
    
         
             
                    # Required. Subscription period, specified in ISO 8601 format. For a list of
         
     | 
| 
       735 
742 
     | 
    
         
             
                    # acceptable billing periods, refer to the help center.
         
     | 
| 
       736 
743 
     | 
    
         
             
                    # Corresponds to the JSON property `billingPeriodDuration`
         
     | 
| 
         @@ -782,6 +789,7 @@ module Google 
     | 
|
| 
       782 
789 
     | 
    
         | 
| 
       783 
790 
     | 
    
         
             
                    # Update properties of this object
         
     | 
| 
       784 
791 
     | 
    
         
             
                    def update!(**args)
         
     | 
| 
      
 792 
     | 
    
         
            +
                      @account_hold_duration = args[:account_hold_duration] if args.key?(:account_hold_duration)
         
     | 
| 
       785 
793 
     | 
    
         
             
                      @billing_period_duration = args[:billing_period_duration] if args.key?(:billing_period_duration)
         
     | 
| 
       786 
794 
     | 
    
         
             
                      @grace_period_duration = args[:grace_period_duration] if args.key?(:grace_period_duration)
         
     | 
| 
       787 
795 
     | 
    
         
             
                      @legacy_compatible = args[:legacy_compatible] if args.key?(:legacy_compatible)
         
     | 
| 
         @@ -4833,6 +4841,43 @@ module Google 
     | 
|
| 
       4833 
4841 
     | 
    
         
             
                    end
         
     | 
| 
       4834 
4842 
     | 
    
         
             
                  end
         
     | 
| 
       4835 
4843 
     | 
    
         | 
| 
      
 4844 
     | 
    
         
            +
                  # Request to update Safety Labels of an app.
         
     | 
| 
      
 4845 
     | 
    
         
            +
                  class SafetyLabelsUpdateRequest
         
     | 
| 
      
 4846 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 4847 
     | 
    
         
            +
                  
         
     | 
| 
      
 4848 
     | 
    
         
            +
                    # Required. Contents of the CSV file containing Data Safety responses. For the
         
     | 
| 
      
 4849 
     | 
    
         
            +
                    # format of this file, see the Help Center documentation at https://support.
         
     | 
| 
      
 4850 
     | 
    
         
            +
                    # google.com/googleplay/android-developer/answer/10787469?hl=en#zippy=%
         
     | 
| 
      
 4851 
     | 
    
         
            +
                    # 2Cunderstand-the-csv-format To download an up to date template, follow the
         
     | 
| 
      
 4852 
     | 
    
         
            +
                    # steps at https://support.google.com/googleplay/android-developer/answer/
         
     | 
| 
      
 4853 
     | 
    
         
            +
                    # 10787469?hl=en#zippy=%2Cexport-to-a-csv-file
         
     | 
| 
      
 4854 
     | 
    
         
            +
                    # Corresponds to the JSON property `safetyLabels`
         
     | 
| 
      
 4855 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 4856 
     | 
    
         
            +
                    attr_accessor :safety_labels
         
     | 
| 
      
 4857 
     | 
    
         
            +
                  
         
     | 
| 
      
 4858 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 4859 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 4860 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4861 
     | 
    
         
            +
                  
         
     | 
| 
      
 4862 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 4863 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 4864 
     | 
    
         
            +
                      @safety_labels = args[:safety_labels] if args.key?(:safety_labels)
         
     | 
| 
      
 4865 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4866 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4867 
     | 
    
         
            +
                  
         
     | 
| 
      
 4868 
     | 
    
         
            +
                  # Response for SafetyLabelsUpdate rpc.
         
     | 
| 
      
 4869 
     | 
    
         
            +
                  class SafetyLabelsUpdateResponse
         
     | 
| 
      
 4870 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 4871 
     | 
    
         
            +
                  
         
     | 
| 
      
 4872 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 4873 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 4874 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4875 
     | 
    
         
            +
                  
         
     | 
| 
      
 4876 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 4877 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 4878 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4879 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4880 
     | 
    
         
            +
                  
         
     | 
| 
       4836 
4881 
     | 
    
         
             
                  # Represents a screen density.
         
     | 
| 
       4837 
4882 
     | 
    
         
             
                  class ScreenDensity
         
     | 
| 
       4838 
4883 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
         @@ -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.57.0"
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
                  # Version of the code generator used to generate this client
         
     | 
| 
       22 
     | 
    
         
            -
                  GENERATOR_VERSION = "0.13. 
     | 
| 
      
 22 
     | 
    
         
            +
                  GENERATOR_VERSION = "0.13.1"
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
                  # Revision of the discovery document this client was generated from
         
     | 
| 
       25 
     | 
    
         
            -
                  REVISION = " 
     | 
| 
      
 25 
     | 
    
         
            +
                  REVISION = "20240207"
         
     | 
| 
       26 
26 
     | 
    
         
             
                end
         
     | 
| 
       27 
27 
     | 
    
         
             
              end
         
     | 
| 
       28 
28 
     | 
    
         
             
            end
         
     | 
| 
         @@ -988,6 +988,18 @@ module Google 
     | 
|
| 
       988 
988 
     | 
    
         
             
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
       989 
989 
     | 
    
         
             
                  end
         
     | 
| 
       990 
990 
     | 
    
         | 
| 
      
 991 
     | 
    
         
            +
                  class SafetyLabelsUpdateRequest
         
     | 
| 
      
 992 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
      
 993 
     | 
    
         
            +
                  
         
     | 
| 
      
 994 
     | 
    
         
            +
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
      
 995 
     | 
    
         
            +
                  end
         
     | 
| 
      
 996 
     | 
    
         
            +
                  
         
     | 
| 
      
 997 
     | 
    
         
            +
                  class SafetyLabelsUpdateResponse
         
     | 
| 
      
 998 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
      
 999 
     | 
    
         
            +
                  
         
     | 
| 
      
 1000 
     | 
    
         
            +
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
      
 1001 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1002 
     | 
    
         
            +
                  
         
     | 
| 
       991 
1003 
     | 
    
         
             
                  class ScreenDensity
         
     | 
| 
       992 
1004 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
       993 
1005 
     | 
    
         | 
| 
         @@ -1579,6 +1591,7 @@ module Google 
     | 
|
| 
       1579 
1591 
     | 
    
         
             
                  class AutoRenewingBasePlanType
         
     | 
| 
       1580 
1592 
     | 
    
         
             
                    # @private
         
     | 
| 
       1581 
1593 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 1594 
     | 
    
         
            +
                      property :account_hold_duration, as: 'accountHoldDuration'
         
     | 
| 
       1582 
1595 
     | 
    
         
             
                      property :billing_period_duration, as: 'billingPeriodDuration'
         
     | 
| 
       1583 
1596 
     | 
    
         
             
                      property :grace_period_duration, as: 'gracePeriodDuration'
         
     | 
| 
       1584 
1597 
     | 
    
         
             
                      property :legacy_compatible, as: 'legacyCompatible'
         
     | 
| 
         @@ -2851,6 +2864,19 @@ module Google 
     | 
|
| 
       2851 
2864 
     | 
    
         
             
                    end
         
     | 
| 
       2852 
2865 
     | 
    
         
             
                  end
         
     | 
| 
       2853 
2866 
     | 
    
         | 
| 
      
 2867 
     | 
    
         
            +
                  class SafetyLabelsUpdateRequest
         
     | 
| 
      
 2868 
     | 
    
         
            +
                    # @private
         
     | 
| 
      
 2869 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 2870 
     | 
    
         
            +
                      property :safety_labels, as: 'safetyLabels'
         
     | 
| 
      
 2871 
     | 
    
         
            +
                    end
         
     | 
| 
      
 2872 
     | 
    
         
            +
                  end
         
     | 
| 
      
 2873 
     | 
    
         
            +
                  
         
     | 
| 
      
 2874 
     | 
    
         
            +
                  class SafetyLabelsUpdateResponse
         
     | 
| 
      
 2875 
     | 
    
         
            +
                    # @private
         
     | 
| 
      
 2876 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 2877 
     | 
    
         
            +
                    end
         
     | 
| 
      
 2878 
     | 
    
         
            +
                  end
         
     | 
| 
      
 2879 
     | 
    
         
            +
                  
         
     | 
| 
       2854 
2880 
     | 
    
         
             
                  class ScreenDensity
         
     | 
| 
       2855 
2881 
     | 
    
         
             
                    # @private
         
     | 
| 
       2856 
2882 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
         @@ -53,6 +53,39 @@ module Google 
     | 
|
| 
       53 
53 
     | 
    
         
             
                      @batch_path = 'batch'
         
     | 
| 
       54 
54 
     | 
    
         
             
                    end
         
     | 
| 
       55 
55 
     | 
    
         | 
| 
      
 56 
     | 
    
         
            +
                    # Writes the Safety Labels declaration of an app.
         
     | 
| 
      
 57 
     | 
    
         
            +
                    # @param [String] package_name
         
     | 
| 
      
 58 
     | 
    
         
            +
                    #   Required. Package name of the app.
         
     | 
| 
      
 59 
     | 
    
         
            +
                    # @param [Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateRequest] safety_labels_update_request_object
         
     | 
| 
      
 60 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 61 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 62 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 63 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 64 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 65 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 66 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 67 
     | 
    
         
            +
                    #
         
     | 
| 
      
 68 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 69 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateResponse] parsed result object
         
     | 
| 
      
 70 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 71 
     | 
    
         
            +
                    #
         
     | 
| 
      
 72 
     | 
    
         
            +
                    # @return [Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateResponse]
         
     | 
| 
      
 73 
     | 
    
         
            +
                    #
         
     | 
| 
      
 74 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 75 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 76 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 77 
     | 
    
         
            +
                    def data_application_safety(package_name, safety_labels_update_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 78 
     | 
    
         
            +
                      command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/dataSafety', options)
         
     | 
| 
      
 79 
     | 
    
         
            +
                      command.request_representation = Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateRequest::Representation
         
     | 
| 
      
 80 
     | 
    
         
            +
                      command.request_object = safety_labels_update_request_object
         
     | 
| 
      
 81 
     | 
    
         
            +
                      command.response_representation = Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateResponse::Representation
         
     | 
| 
      
 82 
     | 
    
         
            +
                      command.response_class = Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateResponse
         
     | 
| 
      
 83 
     | 
    
         
            +
                      command.params['packageName'] = package_name unless package_name.nil?
         
     | 
| 
      
 84 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 85 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 86 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 87 
     | 
    
         
            +
                    end
         
     | 
| 
      
 88 
     | 
    
         
            +
                    
         
     | 
| 
       56 
89 
     | 
    
         
             
                    # Creates a new device tier config for an app.
         
     | 
| 
       57 
90 
     | 
    
         
             
                    # @param [String] package_name
         
     | 
| 
       58 
91 
     | 
    
         
             
                    #   Package name of the app.
         
     | 
    
        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.57.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- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2024-02-11 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.57.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: []
         
     |