google-api-client 0.39.2 → 0.39.3
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 +36 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +19 -15
- data/generated/google/apis/bigqueryreservation_v1/service.rb +86 -73
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +0 -47
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +26 -14
- data/generated/google/apis/cloudkms_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +3 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +3 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +4 -4
- data/generated/google/apis/games_management_v1management.rb +6 -4
- data/generated/google/apis/games_management_v1management/classes.rb +50 -90
- data/generated/google/apis/games_management_v1management/representations.rb +0 -17
- data/generated/google/apis/games_management_v1management/service.rb +115 -291
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
- data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
- data/generated/google/apis/gmail_v1.rb +2 -3
- data/generated/google/apis/gmail_v1/classes.rb +199 -258
- data/generated/google/apis/gmail_v1/service.rb +744 -552
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +34 -22
- data/generated/google/apis/healthcare_v1/service.rb +46 -111
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +34 -22
- data/generated/google/apis/healthcare_v1beta1/service.rb +63 -113
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +35 -12
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +29 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +31 -49
- data/generated/google/apis/run_v1/representations.rb +1 -17
- data/generated/google/apis/run_v1/service.rb +3 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +23 -10
- data/generated/google/apis/run_v1alpha1/service.rb +3 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +3 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
- data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -3
| @@ -46,12 +46,6 @@ module Google | |
| 46 46 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 47 47 | 
             
                  end
         | 
| 48 48 |  | 
| 49 | 
            -
                  class GamesPlayedResource
         | 
| 50 | 
            -
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 51 | 
            -
                  
         | 
| 52 | 
            -
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 53 | 
            -
                  end
         | 
| 54 | 
            -
                  
         | 
| 55 49 | 
             
                  class GamesPlayerExperienceInfoResource
         | 
| 56 50 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 57 51 |  | 
| @@ -147,14 +141,6 @@ module Google | |
| 147 141 | 
             
                    end
         | 
| 148 142 | 
             
                  end
         | 
| 149 143 |  | 
| 150 | 
            -
                  class GamesPlayedResource
         | 
| 151 | 
            -
                    # @private
         | 
| 152 | 
            -
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 153 | 
            -
                      property :auto_matched, as: 'autoMatched'
         | 
| 154 | 
            -
                      property :time_millis, :numeric_string => true, as: 'timeMillis'
         | 
| 155 | 
            -
                    end
         | 
| 156 | 
            -
                  end
         | 
| 157 | 
            -
                  
         | 
| 158 144 | 
             
                  class GamesPlayerExperienceInfoResource
         | 
| 159 145 | 
             
                    # @private
         | 
| 160 146 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -205,10 +191,7 @@ module Google | |
| 205 191 | 
             
                      property :display_name, as: 'displayName'
         | 
| 206 192 | 
             
                      property :experience_info, as: 'experienceInfo', class: Google::Apis::GamesManagementV1management::GamesPlayerExperienceInfoResource, decorator: Google::Apis::GamesManagementV1management::GamesPlayerExperienceInfoResource::Representation
         | 
| 207 193 |  | 
| 208 | 
            -
                      property :friend_status, as: 'friendStatus'
         | 
| 209 194 | 
             
                      property :kind, as: 'kind'
         | 
| 210 | 
            -
                      property :last_played_with, as: 'lastPlayedWith', class: Google::Apis::GamesManagementV1management::GamesPlayedResource, decorator: Google::Apis::GamesManagementV1management::GamesPlayedResource::Representation
         | 
| 211 | 
            -
                  
         | 
| 212 195 | 
             
                      property :name, as: 'name', class: Google::Apis::GamesManagementV1management::Player::Name, decorator: Google::Apis::GamesManagementV1management::Player::Name::Representation
         | 
| 213 196 |  | 
| 214 197 | 
             
                      property :original_player_id, as: 'originalPlayerId'
         | 
| @@ -20,9 +20,11 @@ require 'google/apis/errors' | |
| 20 20 | 
             
            module Google
         | 
| 21 21 | 
             
              module Apis
         | 
| 22 22 | 
             
                module GamesManagementV1management
         | 
| 23 | 
            -
                  # Google Play Game  | 
| 23 | 
            +
                  # Google Play Game Management
         | 
| 24 24 | 
             
                  #
         | 
| 25 | 
            -
                  # The Management API  | 
| 25 | 
            +
                  # The Google Play Game Management API allows developers to manage resources from
         | 
| 26 | 
            +
                  #  the Google
         | 
| 27 | 
            +
                  #  Play Game service.
         | 
| 26 28 | 
             
                  #
         | 
| 27 29 | 
             
                  # @example
         | 
| 28 30 | 
             
                  #    require 'google/apis/games_management_v1management'
         | 
| @@ -30,7 +32,7 @@ module Google | |
| 30 32 | 
             
                  #    GamesManagement = Google::Apis::GamesManagementV1management # Alias the module
         | 
| 31 33 | 
             
                  #    service = GamesManagement::GamesManagementService.new
         | 
| 32 34 | 
             
                  #
         | 
| 33 | 
            -
                  # @see https://developers.google.com/games/ | 
| 35 | 
            +
                  # @see https://developers.google.com/games/
         | 
| 34 36 | 
             
                  class GamesManagementService < Google::Apis::Core::BaseService
         | 
| 35 37 | 
             
                    # @return [String]
         | 
| 36 38 | 
             
                    #  API key. Your API key identifies your project and provides you with API access,
         | 
| @@ -38,31 +40,25 @@ module Google | |
| 38 40 | 
             
                    attr_accessor :key
         | 
| 39 41 |  | 
| 40 42 | 
             
                    # @return [String]
         | 
| 41 | 
            -
                    #   | 
| 42 | 
            -
                    #  characters.
         | 
| 43 | 
            +
                    #  Available to use for quota purposes for server-side applications. Can be any
         | 
| 44 | 
            +
                    #  arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 43 45 | 
             
                    attr_accessor :quota_user
         | 
| 44 46 |  | 
| 45 | 
            -
                    # @return [String]
         | 
| 46 | 
            -
                    #  Deprecated. Please use quotaUser instead.
         | 
| 47 | 
            -
                    attr_accessor :user_ip
         | 
| 48 | 
            -
             | 
| 49 47 | 
             
                    def initialize
         | 
| 50 | 
            -
                      super('https://www.googleapis.com/', ' | 
| 51 | 
            -
                      @batch_path = 'batch | 
| 48 | 
            +
                      super('https://www.googleapis.com/', '')
         | 
| 49 | 
            +
                      @batch_path = 'batch'
         | 
| 52 50 | 
             
                    end
         | 
| 53 51 |  | 
| 54 52 | 
             
                    # Resets the achievement with the given ID for the currently authenticated
         | 
| 55 | 
            -
                    # player. This method is only accessible to whitelisted tester accounts for | 
| 56 | 
            -
                    # application.
         | 
| 53 | 
            +
                    # player. This method is only accessible to whitelisted tester accounts for
         | 
| 54 | 
            +
                    # your application.
         | 
| 57 55 | 
             
                    # @param [String] achievement_id
         | 
| 58 56 | 
             
                    #   The ID of the achievement used by this method.
         | 
| 59 57 | 
             
                    # @param [String] fields
         | 
| 60 58 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 61 59 | 
             
                    # @param [String] quota_user
         | 
| 62 | 
            -
                    #    | 
| 63 | 
            -
                    #   characters.
         | 
| 64 | 
            -
                    # @param [String] user_ip
         | 
| 65 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 60 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 61 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 66 62 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 67 63 | 
             
                    #   Request-specific options
         | 
| 68 64 | 
             
                    #
         | 
| @@ -75,27 +71,24 @@ module Google | |
| 75 71 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 76 72 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 77 73 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 78 | 
            -
                    def reset_achievement(achievement_id, fields: nil, quota_user: nil,  | 
| 79 | 
            -
                      command = make_simple_command(:post, 'achievements/{achievementId}/reset', options)
         | 
| 74 | 
            +
                    def reset_achievement(achievement_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 75 | 
            +
                      command = make_simple_command(:post, 'games/v1management/achievements/{achievementId}/reset', options)
         | 
| 80 76 | 
             
                      command.response_representation = Google::Apis::GamesManagementV1management::AchievementResetResponse::Representation
         | 
| 81 77 | 
             
                      command.response_class = Google::Apis::GamesManagementV1management::AchievementResetResponse
         | 
| 82 78 | 
             
                      command.params['achievementId'] = achievement_id unless achievement_id.nil?
         | 
| 83 79 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 84 80 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 85 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 86 81 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 87 82 | 
             
                    end
         | 
| 88 83 |  | 
| 89 84 | 
             
                    # Resets all achievements for the currently authenticated player for your
         | 
| 90 | 
            -
                    # application. This method is only accessible to whitelisted tester accounts | 
| 91 | 
            -
                    # your application.
         | 
| 85 | 
            +
                    # application. This method is only accessible to whitelisted tester accounts
         | 
| 86 | 
            +
                    # for your application.
         | 
| 92 87 | 
             
                    # @param [String] fields
         | 
| 93 88 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 94 89 | 
             
                    # @param [String] quota_user
         | 
| 95 | 
            -
                    #    | 
| 96 | 
            -
                    #   characters.
         | 
| 97 | 
            -
                    # @param [String] user_ip
         | 
| 98 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 90 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 91 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 99 92 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 100 93 | 
             
                    #   Request-specific options
         | 
| 101 94 | 
             
                    #
         | 
| @@ -108,25 +101,22 @@ module Google | |
| 108 101 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 109 102 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 110 103 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 111 | 
            -
                    def reset_achievement_all(fields: nil, quota_user: nil,  | 
| 112 | 
            -
                      command = make_simple_command(:post, 'achievements/reset', options)
         | 
| 104 | 
            +
                    def reset_achievement_all(fields: nil, quota_user: nil, options: nil, &block)
         | 
| 105 | 
            +
                      command = make_simple_command(:post, 'games/v1management/achievements/reset', options)
         | 
| 113 106 | 
             
                      command.response_representation = Google::Apis::GamesManagementV1management::AchievementResetAllResponse::Representation
         | 
| 114 107 | 
             
                      command.response_class = Google::Apis::GamesManagementV1management::AchievementResetAllResponse
         | 
| 115 108 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 116 109 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 117 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 118 110 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 119 111 | 
             
                    end
         | 
| 120 112 |  | 
| 121 | 
            -
                    # Resets all draft achievements for all players. This method is only | 
| 122 | 
            -
                    # to user accounts for your developer console.
         | 
| 113 | 
            +
                    # Resets all draft achievements for all players. This method is only
         | 
| 114 | 
            +
                    # available to user accounts for your developer console.
         | 
| 123 115 | 
             
                    # @param [String] fields
         | 
| 124 116 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 125 117 | 
             
                    # @param [String] quota_user
         | 
| 126 | 
            -
                    #    | 
| 127 | 
            -
                    #   characters.
         | 
| 128 | 
            -
                    # @param [String] user_ip
         | 
| 129 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 118 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 119 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 130 120 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 131 121 | 
             
                    #   Request-specific options
         | 
| 132 122 | 
             
                    #
         | 
| @@ -139,26 +129,23 @@ module Google | |
| 139 129 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 140 130 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 141 131 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 142 | 
            -
                    def reset_achievement_all_for_all_players(fields: nil, quota_user: nil,  | 
| 143 | 
            -
                      command = make_simple_command(:post, 'achievements/resetAllForAllPlayers', options)
         | 
| 132 | 
            +
                    def reset_achievement_all_for_all_players(fields: nil, quota_user: nil, options: nil, &block)
         | 
| 133 | 
            +
                      command = make_simple_command(:post, 'games/v1management/achievements/resetAllForAllPlayers', options)
         | 
| 144 134 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 145 135 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 146 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 147 136 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 148 137 | 
             
                    end
         | 
| 149 138 |  | 
| 150 | 
            -
                    # Resets the achievement with the given ID for all players. This method is | 
| 151 | 
            -
                    # available to user accounts for your developer console. Only draft | 
| 152 | 
            -
                    # can be reset.
         | 
| 139 | 
            +
                    # Resets the achievement with the given ID for all players. This method is
         | 
| 140 | 
            +
                    # only available to user accounts for your developer console. Only draft
         | 
| 141 | 
            +
                    # achievements can be reset.
         | 
| 153 142 | 
             
                    # @param [String] achievement_id
         | 
| 154 143 | 
             
                    #   The ID of the achievement used by this method.
         | 
| 155 144 | 
             
                    # @param [String] fields
         | 
| 156 145 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 157 146 | 
             
                    # @param [String] quota_user
         | 
| 158 | 
            -
                    #    | 
| 159 | 
            -
                    #   characters.
         | 
| 160 | 
            -
                    # @param [String] user_ip
         | 
| 161 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 147 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 148 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 162 149 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 163 150 | 
             
                    #   Request-specific options
         | 
| 164 151 | 
             
                    #
         | 
| @@ -171,26 +158,23 @@ module Google | |
| 171 158 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 172 159 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 173 160 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 174 | 
            -
                    def reset_achievement_for_all_players(achievement_id, fields: nil, quota_user: nil,  | 
| 175 | 
            -
                      command = make_simple_command(:post, 'achievements/{achievementId}/resetForAllPlayers', options)
         | 
| 161 | 
            +
                    def reset_achievement_for_all_players(achievement_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 162 | 
            +
                      command = make_simple_command(:post, 'games/v1management/achievements/{achievementId}/resetForAllPlayers', options)
         | 
| 176 163 | 
             
                      command.params['achievementId'] = achievement_id unless achievement_id.nil?
         | 
| 177 164 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 178 165 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 179 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 180 166 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 181 167 | 
             
                    end
         | 
| 182 168 |  | 
| 183 169 | 
             
                    # Resets achievements with the given IDs for all players. This method is only
         | 
| 184 | 
            -
                    # available to user accounts for your developer console. Only draft | 
| 185 | 
            -
                    # may be reset.
         | 
| 170 | 
            +
                    # available to user accounts for your developer console. Only draft
         | 
| 171 | 
            +
                    # achievements may be reset.
         | 
| 186 172 | 
             
                    # @param [Google::Apis::GamesManagementV1management::AchievementResetMultipleForAllRequest] achievement_reset_multiple_for_all_request_object
         | 
| 187 173 | 
             
                    # @param [String] fields
         | 
| 188 174 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 189 175 | 
             
                    # @param [String] quota_user
         | 
| 190 | 
            -
                    #    | 
| 191 | 
            -
                    #   characters.
         | 
| 192 | 
            -
                    # @param [String] user_ip
         | 
| 193 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 176 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 177 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 194 178 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 195 179 | 
             
                    #   Request-specific options
         | 
| 196 180 | 
             
                    #
         | 
| @@ -203,33 +187,30 @@ module Google | |
| 203 187 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 204 188 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 205 189 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 206 | 
            -
                    def reset_achievement_multiple_for_all_players(achievement_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil,  | 
| 207 | 
            -
                      command = make_simple_command(:post, 'achievements/resetMultipleForAllPlayers', options)
         | 
| 190 | 
            +
                    def reset_achievement_multiple_for_all_players(achievement_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 191 | 
            +
                      command = make_simple_command(:post, 'games/v1management/achievements/resetMultipleForAllPlayers', options)
         | 
| 208 192 | 
             
                      command.request_representation = Google::Apis::GamesManagementV1management::AchievementResetMultipleForAllRequest::Representation
         | 
| 209 193 | 
             
                      command.request_object = achievement_reset_multiple_for_all_request_object
         | 
| 210 194 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 211 195 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 212 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 213 196 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 214 197 | 
             
                    end
         | 
| 215 198 |  | 
| 216 | 
            -
                    # Get the list of players hidden from the given application. This method is | 
| 217 | 
            -
                    # available to user accounts for your developer console.
         | 
| 199 | 
            +
                    # Get the list of players hidden from the given application. This method is
         | 
| 200 | 
            +
                    # only available to user accounts for your developer console.
         | 
| 218 201 | 
             
                    # @param [String] application_id
         | 
| 219 202 | 
             
                    #   The application ID from the Google Play developer console.
         | 
| 220 203 | 
             
                    # @param [Fixnum] max_results
         | 
| 221 204 | 
             
                    #   The maximum number of player resources to return in the response, used for
         | 
| 222 | 
            -
                    #   paging. For any response, the actual number of player resources returned | 
| 223 | 
            -
                    #   be less than the specified maxResults | 
| 205 | 
            +
                    #   paging. For any response, the actual number of player resources returned
         | 
| 206 | 
            +
                    #   may be less than the specified `maxResults`.
         | 
| 224 207 | 
             
                    # @param [String] page_token
         | 
| 225 208 | 
             
                    #   The token returned by the previous request.
         | 
| 226 209 | 
             
                    # @param [String] fields
         | 
| 227 210 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 228 211 | 
             
                    # @param [String] quota_user
         | 
| 229 | 
            -
                    #    | 
| 230 | 
            -
                    #   characters.
         | 
| 231 | 
            -
                    # @param [String] user_ip
         | 
| 232 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 212 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 213 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 233 214 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 234 215 | 
             
                    #   Request-specific options
         | 
| 235 216 | 
             
                    #
         | 
| @@ -242,8 +223,8 @@ module Google | |
| 242 223 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 243 224 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 244 225 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 245 | 
            -
                    def list_application_hidden(application_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,  | 
| 246 | 
            -
                      command = make_simple_command(:get, 'applications/{applicationId}/players/hidden', options)
         | 
| 226 | 
            +
                    def list_application_hidden(application_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 227 | 
            +
                      command = make_simple_command(:get, 'games/v1management/applications/{applicationId}/players/hidden', options)
         | 
| 247 228 | 
             
                      command.response_representation = Google::Apis::GamesManagementV1management::HiddenPlayerList::Representation
         | 
| 248 229 | 
             
                      command.response_class = Google::Apis::GamesManagementV1management::HiddenPlayerList
         | 
| 249 230 | 
             
                      command.params['applicationId'] = application_id unless application_id.nil?
         | 
| @@ -251,7 +232,6 @@ module Google | |
| 251 232 | 
             
                      command.query['pageToken'] = page_token unless page_token.nil?
         | 
| 252 233 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 253 234 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 254 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 255 235 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 256 236 | 
             
                    end
         | 
| 257 237 |  | 
| @@ -263,10 +243,8 @@ module Google | |
| 263 243 | 
             
                    # @param [String] fields
         | 
| 264 244 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 265 245 | 
             
                    # @param [String] quota_user
         | 
| 266 | 
            -
                    #    | 
| 267 | 
            -
                    #   characters.
         | 
| 268 | 
            -
                    # @param [String] user_ip
         | 
| 269 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 246 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 247 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 270 248 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 271 249 | 
             
                    #   Request-specific options
         | 
| 272 250 | 
             
                    #
         | 
| @@ -279,25 +257,22 @@ module Google | |
| 279 257 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 280 258 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 281 259 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 282 | 
            -
                    def reset_event(event_id, fields: nil, quota_user: nil,  | 
| 283 | 
            -
                      command = make_simple_command(:post, 'events/{eventId}/reset', options)
         | 
| 260 | 
            +
                    def reset_event(event_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 261 | 
            +
                      command = make_simple_command(:post, 'games/v1management/events/{eventId}/reset', options)
         | 
| 284 262 | 
             
                      command.params['eventId'] = event_id unless event_id.nil?
         | 
| 285 263 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 286 264 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 287 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 288 265 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 289 266 | 
             
                    end
         | 
| 290 267 |  | 
| 291 268 | 
             
                    # Resets all player progress on all events for the currently authenticated
         | 
| 292 | 
            -
                    # player. This method is only accessible to whitelisted tester accounts for | 
| 293 | 
            -
                    # application.
         | 
| 269 | 
            +
                    # player. This method is only accessible to whitelisted tester accounts for
         | 
| 270 | 
            +
                    # your application.
         | 
| 294 271 | 
             
                    # @param [String] fields
         | 
| 295 272 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 296 273 | 
             
                    # @param [String] quota_user
         | 
| 297 | 
            -
                    #    | 
| 298 | 
            -
                    #   characters.
         | 
| 299 | 
            -
                    # @param [String] user_ip
         | 
| 300 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 274 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 275 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 301 276 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 302 277 | 
             
                    #   Request-specific options
         | 
| 303 278 | 
             
                    #
         | 
| @@ -310,23 +285,20 @@ module Google | |
| 310 285 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 311 286 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 312 287 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 313 | 
            -
                    def reset_event_all(fields: nil, quota_user: nil,  | 
| 314 | 
            -
                      command = make_simple_command(:post, 'events/reset', options)
         | 
| 288 | 
            +
                    def reset_event_all(fields: nil, quota_user: nil, options: nil, &block)
         | 
| 289 | 
            +
                      command = make_simple_command(:post, 'games/v1management/events/reset', options)
         | 
| 315 290 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 316 291 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 317 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 318 292 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 319 293 | 
             
                    end
         | 
| 320 294 |  | 
| 321 | 
            -
                    # Resets all draft events for all players. This method is only available to | 
| 322 | 
            -
                    # accounts for your developer console.
         | 
| 295 | 
            +
                    # Resets all draft events for all players. This method is only available to
         | 
| 296 | 
            +
                    # user accounts for your developer console.
         | 
| 323 297 | 
             
                    # @param [String] fields
         | 
| 324 298 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 325 299 | 
             
                    # @param [String] quota_user
         | 
| 326 | 
            -
                    #    | 
| 327 | 
            -
                    #   characters.
         | 
| 328 | 
            -
                    # @param [String] user_ip
         | 
| 329 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 300 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 301 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 330 302 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 331 303 | 
             
                    #   Request-specific options
         | 
| 332 304 | 
             
                    #
         | 
| @@ -339,26 +311,23 @@ module Google | |
| 339 311 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 340 312 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 341 313 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 342 | 
            -
                    def reset_event_all_for_all_players(fields: nil, quota_user: nil,  | 
| 343 | 
            -
                      command = make_simple_command(:post, 'events/resetAllForAllPlayers', options)
         | 
| 314 | 
            +
                    def reset_event_all_for_all_players(fields: nil, quota_user: nil, options: nil, &block)
         | 
| 315 | 
            +
                      command = make_simple_command(:post, 'games/v1management/events/resetAllForAllPlayers', options)
         | 
| 344 316 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 345 317 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 346 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 347 318 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 348 319 | 
             
                    end
         | 
| 349 320 |  | 
| 350 321 | 
             
                    # Resets the event with the given ID for all players. This method is only
         | 
| 351 | 
            -
                    # available to user accounts for your developer console. Only draft events | 
| 352 | 
            -
                    # be reset.
         | 
| 322 | 
            +
                    # available to user accounts for your developer console. Only draft events
         | 
| 323 | 
            +
                    # can be reset.
         | 
| 353 324 | 
             
                    # @param [String] event_id
         | 
| 354 325 | 
             
                    #   The ID of the event.
         | 
| 355 326 | 
             
                    # @param [String] fields
         | 
| 356 327 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 357 328 | 
             
                    # @param [String] quota_user
         | 
| 358 | 
            -
                    #    | 
| 359 | 
            -
                    #   characters.
         | 
| 360 | 
            -
                    # @param [String] user_ip
         | 
| 361 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 329 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 330 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 362 331 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 363 332 | 
             
                    #   Request-specific options
         | 
| 364 333 | 
             
                    #
         | 
| @@ -371,26 +340,23 @@ module Google | |
| 371 340 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 372 341 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 373 342 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 374 | 
            -
                    def reset_event_for_all_players(event_id, fields: nil, quota_user: nil,  | 
| 375 | 
            -
                      command = make_simple_command(:post, 'events/{eventId}/resetForAllPlayers', options)
         | 
| 343 | 
            +
                    def reset_event_for_all_players(event_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 344 | 
            +
                      command = make_simple_command(:post, 'games/v1management/events/{eventId}/resetForAllPlayers', options)
         | 
| 376 345 | 
             
                      command.params['eventId'] = event_id unless event_id.nil?
         | 
| 377 346 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 378 347 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 379 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 380 348 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 381 349 | 
             
                    end
         | 
| 382 350 |  | 
| 383 351 | 
             
                    # Resets events with the given IDs for all players. This method is only
         | 
| 384 | 
            -
                    # available to user accounts for your developer console. Only draft events | 
| 385 | 
            -
                    # be reset.
         | 
| 352 | 
            +
                    # available to user accounts for your developer console. Only draft events
         | 
| 353 | 
            +
                    # may be reset.
         | 
| 386 354 | 
             
                    # @param [Google::Apis::GamesManagementV1management::EventsResetMultipleForAllRequest] events_reset_multiple_for_all_request_object
         | 
| 387 355 | 
             
                    # @param [String] fields
         | 
| 388 356 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 389 357 | 
             
                    # @param [String] quota_user
         | 
| 390 | 
            -
                    #    | 
| 391 | 
            -
                    #   characters.
         | 
| 392 | 
            -
                    # @param [String] user_ip
         | 
| 393 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 358 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 359 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 394 360 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 395 361 | 
             
                    #   Request-specific options
         | 
| 396 362 | 
             
                    #
         | 
| @@ -403,13 +369,12 @@ module Google | |
| 403 369 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 404 370 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 405 371 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 406 | 
            -
                    def reset_event_multiple_for_all_players(events_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil,  | 
| 407 | 
            -
                      command = make_simple_command(:post, 'events/resetMultipleForAllPlayers', options)
         | 
| 372 | 
            +
                    def reset_event_multiple_for_all_players(events_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 373 | 
            +
                      command = make_simple_command(:post, 'games/v1management/events/resetMultipleForAllPlayers', options)
         | 
| 408 374 | 
             
                      command.request_representation = Google::Apis::GamesManagementV1management::EventsResetMultipleForAllRequest::Representation
         | 
| 409 375 | 
             
                      command.request_object = events_reset_multiple_for_all_request_object
         | 
| 410 376 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 411 377 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 412 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 413 378 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 414 379 | 
             
                    end
         | 
| 415 380 |  | 
| @@ -418,15 +383,13 @@ module Google | |
| 418 383 | 
             
                    # @param [String] application_id
         | 
| 419 384 | 
             
                    #   The application ID from the Google Play developer console.
         | 
| 420 385 | 
             
                    # @param [String] player_id
         | 
| 421 | 
            -
                    #   A player ID. A value of me may be used in place of the | 
| 422 | 
            -
                    #   ID.
         | 
| 386 | 
            +
                    #   A player ID. A value of `me` may be used in place of the
         | 
| 387 | 
            +
                    #   authenticated player's ID.
         | 
| 423 388 | 
             
                    # @param [String] fields
         | 
| 424 389 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 425 390 | 
             
                    # @param [String] quota_user
         | 
| 426 | 
            -
                    #    | 
| 427 | 
            -
                    #   characters.
         | 
| 428 | 
            -
                    # @param [String] user_ip
         | 
| 429 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 391 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 392 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 430 393 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 431 394 | 
             
                    #   Request-specific options
         | 
| 432 395 | 
             
                    #
         | 
| @@ -439,30 +402,27 @@ module Google | |
| 439 402 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 440 403 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 441 404 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 442 | 
            -
                    def hide_player(application_id, player_id, fields: nil, quota_user: nil,  | 
| 443 | 
            -
                      command = make_simple_command(:post, 'applications/{applicationId}/players/hidden/{playerId}', options)
         | 
| 405 | 
            +
                    def hide_player(application_id, player_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 406 | 
            +
                      command = make_simple_command(:post, 'games/v1management/applications/{applicationId}/players/hidden/{playerId}', options)
         | 
| 444 407 | 
             
                      command.params['applicationId'] = application_id unless application_id.nil?
         | 
| 445 408 | 
             
                      command.params['playerId'] = player_id unless player_id.nil?
         | 
| 446 409 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 447 410 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 448 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 449 411 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 450 412 | 
             
                    end
         | 
| 451 413 |  | 
| 452 | 
            -
                    # Unhide the given player's leaderboard scores from the given application. | 
| 453 | 
            -
                    # method is only available to user accounts for your developer console.
         | 
| 414 | 
            +
                    # Unhide the given player's leaderboard scores from the given application.
         | 
| 415 | 
            +
                    # This method is only available to user accounts for your developer console.
         | 
| 454 416 | 
             
                    # @param [String] application_id
         | 
| 455 417 | 
             
                    #   The application ID from the Google Play developer console.
         | 
| 456 418 | 
             
                    # @param [String] player_id
         | 
| 457 | 
            -
                    #   A player ID. A value of me may be used in place of the | 
| 458 | 
            -
                    #   ID.
         | 
| 419 | 
            +
                    #   A player ID. A value of `me` may be used in place of the
         | 
| 420 | 
            +
                    #   authenticated player's ID.
         | 
| 459 421 | 
             
                    # @param [String] fields
         | 
| 460 422 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 461 423 | 
             
                    # @param [String] quota_user
         | 
| 462 | 
            -
                    #    | 
| 463 | 
            -
                    #   characters.
         | 
| 464 | 
            -
                    # @param [String] user_ip
         | 
| 465 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 424 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 425 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 466 426 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 467 427 | 
             
                    #   Request-specific options
         | 
| 468 428 | 
             
                    #
         | 
| @@ -475,73 +435,12 @@ module Google | |
| 475 435 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 476 436 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 477 437 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 478 | 
            -
                    def unhide_player(application_id, player_id, fields: nil, quota_user: nil,  | 
| 479 | 
            -
                      command = make_simple_command(:delete, 'applications/{applicationId}/players/hidden/{playerId}', options)
         | 
| 438 | 
            +
                    def unhide_player(application_id, player_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 439 | 
            +
                      command = make_simple_command(:delete, 'games/v1management/applications/{applicationId}/players/hidden/{playerId}', options)
         | 
| 480 440 | 
             
                      command.params['applicationId'] = application_id unless application_id.nil?
         | 
| 481 441 | 
             
                      command.params['playerId'] = player_id unless player_id.nil?
         | 
| 482 442 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 483 443 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 484 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 485 | 
            -
                      execute_or_queue_command(command, &block)
         | 
| 486 | 
            -
                    end
         | 
| 487 | 
            -
                    
         | 
| 488 | 
            -
                    # Reset all rooms for the currently authenticated player for your application.
         | 
| 489 | 
            -
                    # This method is only accessible to whitelisted tester accounts for your
         | 
| 490 | 
            -
                    # application.
         | 
| 491 | 
            -
                    # @param [String] fields
         | 
| 492 | 
            -
                    #   Selector specifying which fields to include in a partial response.
         | 
| 493 | 
            -
                    # @param [String] quota_user
         | 
| 494 | 
            -
                    #   An opaque string that represents a user for quota purposes. Must not exceed 40
         | 
| 495 | 
            -
                    #   characters.
         | 
| 496 | 
            -
                    # @param [String] user_ip
         | 
| 497 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 498 | 
            -
                    # @param [Google::Apis::RequestOptions] options
         | 
| 499 | 
            -
                    #   Request-specific options
         | 
| 500 | 
            -
                    #
         | 
| 501 | 
            -
                    # @yield [result, err] Result & error if block supplied
         | 
| 502 | 
            -
                    # @yieldparam result [NilClass] No result returned for this method
         | 
| 503 | 
            -
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 504 | 
            -
                    #
         | 
| 505 | 
            -
                    # @return [void]
         | 
| 506 | 
            -
                    #
         | 
| 507 | 
            -
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 508 | 
            -
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 509 | 
            -
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 510 | 
            -
                    def reset_room(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 511 | 
            -
                      command = make_simple_command(:post, 'rooms/reset', options)
         | 
| 512 | 
            -
                      command.query['fields'] = fields unless fields.nil?
         | 
| 513 | 
            -
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 514 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 515 | 
            -
                      execute_or_queue_command(command, &block)
         | 
| 516 | 
            -
                    end
         | 
| 517 | 
            -
                    
         | 
| 518 | 
            -
                    # Deletes rooms where the only room participants are from whitelisted tester
         | 
| 519 | 
            -
                    # accounts for your application. This method is only available to user accounts
         | 
| 520 | 
            -
                    # for your developer console.
         | 
| 521 | 
            -
                    # @param [String] fields
         | 
| 522 | 
            -
                    #   Selector specifying which fields to include in a partial response.
         | 
| 523 | 
            -
                    # @param [String] quota_user
         | 
| 524 | 
            -
                    #   An opaque string that represents a user for quota purposes. Must not exceed 40
         | 
| 525 | 
            -
                    #   characters.
         | 
| 526 | 
            -
                    # @param [String] user_ip
         | 
| 527 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 528 | 
            -
                    # @param [Google::Apis::RequestOptions] options
         | 
| 529 | 
            -
                    #   Request-specific options
         | 
| 530 | 
            -
                    #
         | 
| 531 | 
            -
                    # @yield [result, err] Result & error if block supplied
         | 
| 532 | 
            -
                    # @yieldparam result [NilClass] No result returned for this method
         | 
| 533 | 
            -
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 534 | 
            -
                    #
         | 
| 535 | 
            -
                    # @return [void]
         | 
| 536 | 
            -
                    #
         | 
| 537 | 
            -
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 538 | 
            -
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 539 | 
            -
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 540 | 
            -
                    def reset_room_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 541 | 
            -
                      command = make_simple_command(:post, 'rooms/resetForAllPlayers', options)
         | 
| 542 | 
            -
                      command.query['fields'] = fields unless fields.nil?
         | 
| 543 | 
            -
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 544 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 545 444 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 546 445 | 
             
                    end
         | 
| 547 446 |  | 
| @@ -553,10 +452,8 @@ module Google | |
| 553 452 | 
             
                    # @param [String] fields
         | 
| 554 453 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 555 454 | 
             
                    # @param [String] quota_user
         | 
| 556 | 
            -
                    #    | 
| 557 | 
            -
                    #   characters.
         | 
| 558 | 
            -
                    # @param [String] user_ip
         | 
| 559 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 455 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 456 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 560 457 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 561 458 | 
             
                    #   Request-specific options
         | 
| 562 459 | 
             
                    #
         | 
| @@ -569,27 +466,24 @@ module Google | |
| 569 466 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 570 467 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 571 468 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 572 | 
            -
                    def reset_score(leaderboard_id, fields: nil, quota_user: nil,  | 
| 573 | 
            -
                      command = make_simple_command(:post, 'leaderboards/{leaderboardId}/scores/reset', options)
         | 
| 469 | 
            +
                    def reset_score(leaderboard_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 470 | 
            +
                      command = make_simple_command(:post, 'games/v1management/leaderboards/{leaderboardId}/scores/reset', options)
         | 
| 574 471 | 
             
                      command.response_representation = Google::Apis::GamesManagementV1management::PlayerScoreResetResponse::Representation
         | 
| 575 472 | 
             
                      command.response_class = Google::Apis::GamesManagementV1management::PlayerScoreResetResponse
         | 
| 576 473 | 
             
                      command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
         | 
| 577 474 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 578 475 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 579 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 580 476 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 581 477 | 
             
                    end
         | 
| 582 478 |  | 
| 583 | 
            -
                    # Resets all scores for all leaderboards for the currently authenticated | 
| 584 | 
            -
                    # This method is only accessible to whitelisted tester accounts for | 
| 585 | 
            -
                    # application.
         | 
| 479 | 
            +
                    # Resets all scores for all leaderboards for the currently authenticated
         | 
| 480 | 
            +
                    # players. This method is only accessible to whitelisted tester accounts for
         | 
| 481 | 
            +
                    # your application.
         | 
| 586 482 | 
             
                    # @param [String] fields
         | 
| 587 483 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 588 484 | 
             
                    # @param [String] quota_user
         | 
| 589 | 
            -
                    #    | 
| 590 | 
            -
                    #   characters.
         | 
| 591 | 
            -
                    # @param [String] user_ip
         | 
| 592 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 485 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 486 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 593 487 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 594 488 | 
             
                    #   Request-specific options
         | 
| 595 489 | 
             
                    #
         | 
| @@ -602,25 +496,22 @@ module Google | |
| 602 496 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 603 497 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 604 498 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 605 | 
            -
                    def reset_score_all(fields: nil, quota_user: nil,  | 
| 606 | 
            -
                      command = make_simple_command(:post, 'scores/reset', options)
         | 
| 499 | 
            +
                    def reset_score_all(fields: nil, quota_user: nil, options: nil, &block)
         | 
| 500 | 
            +
                      command = make_simple_command(:post, 'games/v1management/scores/reset', options)
         | 
| 607 501 | 
             
                      command.response_representation = Google::Apis::GamesManagementV1management::PlayerScoreResetAllResponse::Representation
         | 
| 608 502 | 
             
                      command.response_class = Google::Apis::GamesManagementV1management::PlayerScoreResetAllResponse
         | 
| 609 503 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 610 504 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 611 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 612 505 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 613 506 | 
             
                    end
         | 
| 614 507 |  | 
| 615 | 
            -
                    # Resets scores for all draft leaderboards for all players. This method is | 
| 616 | 
            -
                    # available to user accounts for your developer console.
         | 
| 508 | 
            +
                    # Resets scores for all draft leaderboards for all players. This method is
         | 
| 509 | 
            +
                    # only available to user accounts for your developer console.
         | 
| 617 510 | 
             
                    # @param [String] fields
         | 
| 618 511 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 619 512 | 
             
                    # @param [String] quota_user
         | 
| 620 | 
            -
                    #    | 
| 621 | 
            -
                    #   characters.
         | 
| 622 | 
            -
                    # @param [String] user_ip
         | 
| 623 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 513 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 514 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 624 515 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 625 516 | 
             
                    #   Request-specific options
         | 
| 626 517 | 
             
                    #
         | 
| @@ -633,11 +524,10 @@ module Google | |
| 633 524 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 634 525 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 635 526 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 636 | 
            -
                    def reset_score_all_for_all_players(fields: nil, quota_user: nil,  | 
| 637 | 
            -
                      command = make_simple_command(:post, 'scores/resetAllForAllPlayers', options)
         | 
| 527 | 
            +
                    def reset_score_all_for_all_players(fields: nil, quota_user: nil, options: nil, &block)
         | 
| 528 | 
            +
                      command = make_simple_command(:post, 'games/v1management/scores/resetAllForAllPlayers', options)
         | 
| 638 529 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 639 530 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 640 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 641 531 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 642 532 | 
             
                    end
         | 
| 643 533 |  | 
| @@ -649,10 +539,8 @@ module Google | |
| 649 539 | 
             
                    # @param [String] fields
         | 
| 650 540 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 651 541 | 
             
                    # @param [String] quota_user
         | 
| 652 | 
            -
                    #    | 
| 653 | 
            -
                    #   characters.
         | 
| 654 | 
            -
                    # @param [String] user_ip
         | 
| 655 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 542 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 543 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 656 544 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 657 545 | 
             
                    #   Request-specific options
         | 
| 658 546 | 
             
                    #
         | 
| @@ -665,12 +553,11 @@ module Google | |
| 665 553 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 666 554 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 667 555 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 668 | 
            -
                    def reset_score_for_all_players(leaderboard_id, fields: nil, quota_user: nil,  | 
| 669 | 
            -
                      command = make_simple_command(:post, 'leaderboards/{leaderboardId}/scores/resetForAllPlayers', options)
         | 
| 556 | 
            +
                    def reset_score_for_all_players(leaderboard_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 557 | 
            +
                      command = make_simple_command(:post, 'games/v1management/leaderboards/{leaderboardId}/scores/resetForAllPlayers', options)
         | 
| 670 558 | 
             
                      command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
         | 
| 671 559 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 672 560 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 673 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 674 561 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 675 562 | 
             
                    end
         | 
| 676 563 |  | 
| @@ -681,10 +568,8 @@ module Google | |
| 681 568 | 
             
                    # @param [String] fields
         | 
| 682 569 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 683 570 | 
             
                    # @param [String] quota_user
         | 
| 684 | 
            -
                    #    | 
| 685 | 
            -
                    #   characters.
         | 
| 686 | 
            -
                    # @param [String] user_ip
         | 
| 687 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 571 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 572 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 688 573 | 
             
                    # @param [Google::Apis::RequestOptions] options
         | 
| 689 574 | 
             
                    #   Request-specific options
         | 
| 690 575 | 
             
                    #
         | 
| @@ -697,72 +582,12 @@ module Google | |
| 697 582 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 698 583 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 699 584 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 700 | 
            -
                    def reset_score_multiple_for_all_players(scores_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil,  | 
| 701 | 
            -
                      command = make_simple_command(:post, 'scores/resetMultipleForAllPlayers', options)
         | 
| 585 | 
            +
                    def reset_score_multiple_for_all_players(scores_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 586 | 
            +
                      command = make_simple_command(:post, 'games/v1management/scores/resetMultipleForAllPlayers', options)
         | 
| 702 587 | 
             
                      command.request_representation = Google::Apis::GamesManagementV1management::ScoresResetMultipleForAllRequest::Representation
         | 
| 703 588 | 
             
                      command.request_object = scores_reset_multiple_for_all_request_object
         | 
| 704 589 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 705 590 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 706 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 707 | 
            -
                      execute_or_queue_command(command, &block)
         | 
| 708 | 
            -
                    end
         | 
| 709 | 
            -
                    
         | 
| 710 | 
            -
                    # Reset all turn-based match data for a user. This method is only accessible to
         | 
| 711 | 
            -
                    # whitelisted tester accounts for your application.
         | 
| 712 | 
            -
                    # @param [String] fields
         | 
| 713 | 
            -
                    #   Selector specifying which fields to include in a partial response.
         | 
| 714 | 
            -
                    # @param [String] quota_user
         | 
| 715 | 
            -
                    #   An opaque string that represents a user for quota purposes. Must not exceed 40
         | 
| 716 | 
            -
                    #   characters.
         | 
| 717 | 
            -
                    # @param [String] user_ip
         | 
| 718 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 719 | 
            -
                    # @param [Google::Apis::RequestOptions] options
         | 
| 720 | 
            -
                    #   Request-specific options
         | 
| 721 | 
            -
                    #
         | 
| 722 | 
            -
                    # @yield [result, err] Result & error if block supplied
         | 
| 723 | 
            -
                    # @yieldparam result [NilClass] No result returned for this method
         | 
| 724 | 
            -
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 725 | 
            -
                    #
         | 
| 726 | 
            -
                    # @return [void]
         | 
| 727 | 
            -
                    #
         | 
| 728 | 
            -
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 729 | 
            -
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 730 | 
            -
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 731 | 
            -
                    def reset_turn_based_match(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 732 | 
            -
                      command = make_simple_command(:post, 'turnbasedmatches/reset', options)
         | 
| 733 | 
            -
                      command.query['fields'] = fields unless fields.nil?
         | 
| 734 | 
            -
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 735 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 736 | 
            -
                      execute_or_queue_command(command, &block)
         | 
| 737 | 
            -
                    end
         | 
| 738 | 
            -
                    
         | 
| 739 | 
            -
                    # Deletes turn-based matches where the only match participants are from
         | 
| 740 | 
            -
                    # whitelisted tester accounts for your application. This method is only
         | 
| 741 | 
            -
                    # available to user accounts for your developer console.
         | 
| 742 | 
            -
                    # @param [String] fields
         | 
| 743 | 
            -
                    #   Selector specifying which fields to include in a partial response.
         | 
| 744 | 
            -
                    # @param [String] quota_user
         | 
| 745 | 
            -
                    #   An opaque string that represents a user for quota purposes. Must not exceed 40
         | 
| 746 | 
            -
                    #   characters.
         | 
| 747 | 
            -
                    # @param [String] user_ip
         | 
| 748 | 
            -
                    #   Deprecated. Please use quotaUser instead.
         | 
| 749 | 
            -
                    # @param [Google::Apis::RequestOptions] options
         | 
| 750 | 
            -
                    #   Request-specific options
         | 
| 751 | 
            -
                    #
         | 
| 752 | 
            -
                    # @yield [result, err] Result & error if block supplied
         | 
| 753 | 
            -
                    # @yieldparam result [NilClass] No result returned for this method
         | 
| 754 | 
            -
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 755 | 
            -
                    #
         | 
| 756 | 
            -
                    # @return [void]
         | 
| 757 | 
            -
                    #
         | 
| 758 | 
            -
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 759 | 
            -
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 760 | 
            -
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 761 | 
            -
                    def reset_turn_based_match_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
         | 
| 762 | 
            -
                      command = make_simple_command(:post, 'turnbasedmatches/resetForAllPlayers', options)
         | 
| 763 | 
            -
                      command.query['fields'] = fields unless fields.nil?
         | 
| 764 | 
            -
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 765 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 766 591 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 767 592 | 
             
                    end
         | 
| 768 593 |  | 
| @@ -771,7 +596,6 @@ module Google | |
| 771 596 | 
             
                    def apply_command_defaults(command)
         | 
| 772 597 | 
             
                      command.query['key'] = key unless key.nil?
         | 
| 773 598 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 774 | 
            -
                      command.query['userIp'] = user_ip unless user_ip.nil?
         | 
| 775 599 | 
             
                    end
         | 
| 776 600 | 
             
                  end
         | 
| 777 601 | 
             
                end
         |