google-apis-androidpublisher_v3 0.1.0 → 0.15.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 +58 -0
 - data/OVERVIEW.md +3 -3
 - data/lib/google/apis/androidpublisher_v3/classes.rb +612 -7
 - data/lib/google/apis/androidpublisher_v3/gem_version.rb +3 -3
 - data/lib/google/apis/androidpublisher_v3/representations.rb +299 -0
 - data/lib/google/apis/androidpublisher_v3/service.rb +408 -9
 - metadata +17 -11
 
| 
         @@ -54,6 +54,10 @@ module Google 
     | 
|
| 
       54 
54 
     | 
    
         
             
                    #   Package name of the app.
         
     | 
| 
       55 
55 
     | 
    
         
             
                    # @param [String] edit_id
         
     | 
| 
       56 
56 
     | 
    
         
             
                    #   Identifier of the edit.
         
     | 
| 
      
 57 
     | 
    
         
            +
                    # @param [Boolean] changes_not_sent_for_review
         
     | 
| 
      
 58 
     | 
    
         
            +
                    #   Indicates that the changes in this edit will not be reviewed until they are
         
     | 
| 
      
 59 
     | 
    
         
            +
                    #   explicitly sent for review from the Google Play Console UI. These changes will
         
     | 
| 
      
 60 
     | 
    
         
            +
                    #   be added to any other changes that are not yet sent for review.
         
     | 
| 
       57 
61 
     | 
    
         
             
                    # @param [String] fields
         
     | 
| 
       58 
62 
     | 
    
         
             
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
       59 
63 
     | 
    
         
             
                    # @param [String] quota_user
         
     | 
| 
         @@ -71,12 +75,13 @@ module Google 
     | 
|
| 
       71 
75 
     | 
    
         
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
       72 
76 
     | 
    
         
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
       73 
77 
     | 
    
         
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
       74 
     | 
    
         
            -
                    def commit_edit(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 78 
     | 
    
         
            +
                    def commit_edit(package_name, edit_id, changes_not_sent_for_review: nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
       75 
79 
     | 
    
         
             
                      command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}:commit', options)
         
     | 
| 
       76 
80 
     | 
    
         
             
                      command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
         
     | 
| 
       77 
81 
     | 
    
         
             
                      command.response_class = Google::Apis::AndroidpublisherV3::AppEdit
         
     | 
| 
       78 
82 
     | 
    
         
             
                      command.params['packageName'] = package_name unless package_name.nil?
         
     | 
| 
       79 
83 
     | 
    
         
             
                      command.params['editId'] = edit_id unless edit_id.nil?
         
     | 
| 
      
 84 
     | 
    
         
            +
                      command.query['changesNotSentForReview'] = changes_not_sent_for_review unless changes_not_sent_for_review.nil?
         
     | 
| 
       80 
85 
     | 
    
         
             
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
       81 
86 
     | 
    
         
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
       82 
87 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
         @@ -370,9 +375,9 @@ module Google 
     | 
|
| 
       370 
375 
     | 
    
         
             
                    # @param [String] edit_id
         
     | 
| 
       371 
376 
     | 
    
         
             
                    #   Identifier of the edit.
         
     | 
| 
       372 
377 
     | 
    
         
             
                    # @param [Boolean] ack_bundle_installation_warning
         
     | 
| 
       373 
     | 
    
         
            -
                    #   Must be set to true if the bundle installation may trigger a warning on 
     | 
| 
       374 
     | 
    
         
            -
                    #   devices (for example, if installation size may be over a threshold, 
     | 
| 
       375 
     | 
    
         
            -
                    #   100 MB).
         
     | 
| 
      
 378 
     | 
    
         
            +
                    #   Must be set to true if the app bundle installation may trigger a warning on
         
     | 
| 
      
 379 
     | 
    
         
            +
                    #   user devices (for example, if installation size may be over a threshold,
         
     | 
| 
      
 380 
     | 
    
         
            +
                    #   typically 100 MB).
         
     | 
| 
       376 
381 
     | 
    
         
             
                    # @param [String] fields
         
     | 
| 
       377 
382 
     | 
    
         
             
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
       378 
383 
     | 
    
         
             
                    # @param [String] quota_user
         
     | 
| 
         @@ -412,6 +417,42 @@ module Google 
     | 
|
| 
       412 
417 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       413 
418 
     | 
    
         
             
                    end
         
     | 
| 
       414 
419 
     | 
    
         | 
| 
      
 420 
     | 
    
         
            +
                    # Gets country availability.
         
     | 
| 
      
 421 
     | 
    
         
            +
                    # @param [String] package_name
         
     | 
| 
      
 422 
     | 
    
         
            +
                    #   Package name of the app.
         
     | 
| 
      
 423 
     | 
    
         
            +
                    # @param [String] edit_id
         
     | 
| 
      
 424 
     | 
    
         
            +
                    #   Identifier of the edit.
         
     | 
| 
      
 425 
     | 
    
         
            +
                    # @param [String] track
         
     | 
| 
      
 426 
     | 
    
         
            +
                    #   The track to read from.
         
     | 
| 
      
 427 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 428 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 429 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 430 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 431 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 432 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 433 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 434 
     | 
    
         
            +
                    #
         
     | 
| 
      
 435 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 436 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::AndroidpublisherV3::TrackCountryAvailability] parsed result object
         
     | 
| 
      
 437 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 438 
     | 
    
         
            +
                    #
         
     | 
| 
      
 439 
     | 
    
         
            +
                    # @return [Google::Apis::AndroidpublisherV3::TrackCountryAvailability]
         
     | 
| 
      
 440 
     | 
    
         
            +
                    #
         
     | 
| 
      
 441 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 442 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 443 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 444 
     | 
    
         
            +
                    def get_edit_countryavailability(package_name, edit_id, track, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 445 
     | 
    
         
            +
                      command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/countryAvailability/{track}', options)
         
     | 
| 
      
 446 
     | 
    
         
            +
                      command.response_representation = Google::Apis::AndroidpublisherV3::TrackCountryAvailability::Representation
         
     | 
| 
      
 447 
     | 
    
         
            +
                      command.response_class = Google::Apis::AndroidpublisherV3::TrackCountryAvailability
         
     | 
| 
      
 448 
     | 
    
         
            +
                      command.params['packageName'] = package_name unless package_name.nil?
         
     | 
| 
      
 449 
     | 
    
         
            +
                      command.params['editId'] = edit_id unless edit_id.nil?
         
     | 
| 
      
 450 
     | 
    
         
            +
                      command.params['track'] = track unless track.nil?
         
     | 
| 
      
 451 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 452 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 453 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 454 
     | 
    
         
            +
                    end
         
     | 
| 
      
 455 
     | 
    
         
            +
                    
         
     | 
| 
       415 
456 
     | 
    
         
             
                    # Uploads a new deobfuscation file and attaches to the specified APK.
         
     | 
| 
       416 
457 
     | 
    
         
             
                    # @param [String] package_name
         
     | 
| 
       417 
458 
     | 
    
         
             
                    #   Unique identifier for the Android app.
         
     | 
| 
         @@ -1397,6 +1438,182 @@ module Google 
     | 
|
| 
       1397 
1438 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       1398 
1439 
     | 
    
         
             
                    end
         
     | 
| 
       1399 
1440 
     | 
    
         | 
| 
      
 1441 
     | 
    
         
            +
                    # Downloads a single signed APK generated from an app bundle.
         
     | 
| 
      
 1442 
     | 
    
         
            +
                    # @param [String] package_name
         
     | 
| 
      
 1443 
     | 
    
         
            +
                    #   Package name of the app.
         
     | 
| 
      
 1444 
     | 
    
         
            +
                    # @param [Fixnum] version_code
         
     | 
| 
      
 1445 
     | 
    
         
            +
                    #   Version code of the app bundle.
         
     | 
| 
      
 1446 
     | 
    
         
            +
                    # @param [String] download_id
         
     | 
| 
      
 1447 
     | 
    
         
            +
                    #   Download ID, which uniquely identifies the APK to download. Can be obtained
         
     | 
| 
      
 1448 
     | 
    
         
            +
                    #   from the response of `generatedapks.list` method.
         
     | 
| 
      
 1449 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1450 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1451 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1452 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1453 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1454 
     | 
    
         
            +
                    # @param [IO, String] download_dest
         
     | 
| 
      
 1455 
     | 
    
         
            +
                    #   IO stream or filename to receive content download
         
     | 
| 
      
 1456 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1457 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1458 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1459 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1460 
     | 
    
         
            +
                    # @yieldparam result [NilClass] No result returned for this method
         
     | 
| 
      
 1461 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1462 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1463 
     | 
    
         
            +
                    # @return [void]
         
     | 
| 
      
 1464 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1465 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1466 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1467 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1468 
     | 
    
         
            +
                    def download_generatedapk(package_name, version_code, download_id, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
         
     | 
| 
      
 1469 
     | 
    
         
            +
                      if download_dest.nil?
         
     | 
| 
      
 1470 
     | 
    
         
            +
                        command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download', options)
         
     | 
| 
      
 1471 
     | 
    
         
            +
                      else
         
     | 
| 
      
 1472 
     | 
    
         
            +
                        command = make_download_command(:get, 'androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download', options)
         
     | 
| 
      
 1473 
     | 
    
         
            +
                        command.download_dest = download_dest
         
     | 
| 
      
 1474 
     | 
    
         
            +
                      end
         
     | 
| 
      
 1475 
     | 
    
         
            +
                      command.params['packageName'] = package_name unless package_name.nil?
         
     | 
| 
      
 1476 
     | 
    
         
            +
                      command.params['versionCode'] = version_code unless version_code.nil?
         
     | 
| 
      
 1477 
     | 
    
         
            +
                      command.params['downloadId'] = download_id unless download_id.nil?
         
     | 
| 
      
 1478 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1479 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1480 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1481 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1482 
     | 
    
         
            +
                    
         
     | 
| 
      
 1483 
     | 
    
         
            +
                    # Returns download metadata for all APKs that were generated from a given app
         
     | 
| 
      
 1484 
     | 
    
         
            +
                    # bundle.
         
     | 
| 
      
 1485 
     | 
    
         
            +
                    # @param [String] package_name
         
     | 
| 
      
 1486 
     | 
    
         
            +
                    #   Package name of the app.
         
     | 
| 
      
 1487 
     | 
    
         
            +
                    # @param [Fixnum] version_code
         
     | 
| 
      
 1488 
     | 
    
         
            +
                    #   Version code of the app bundle.
         
     | 
| 
      
 1489 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1490 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1491 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1492 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1493 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1494 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1495 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1496 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1497 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1498 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::AndroidpublisherV3::GeneratedApksListResponse] parsed result object
         
     | 
| 
      
 1499 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1500 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1501 
     | 
    
         
            +
                    # @return [Google::Apis::AndroidpublisherV3::GeneratedApksListResponse]
         
     | 
| 
      
 1502 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1503 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1504 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1505 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1506 
     | 
    
         
            +
                    def list_generatedapks(package_name, version_code, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1507 
     | 
    
         
            +
                      command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}', options)
         
     | 
| 
      
 1508 
     | 
    
         
            +
                      command.response_representation = Google::Apis::AndroidpublisherV3::GeneratedApksListResponse::Representation
         
     | 
| 
      
 1509 
     | 
    
         
            +
                      command.response_class = Google::Apis::AndroidpublisherV3::GeneratedApksListResponse
         
     | 
| 
      
 1510 
     | 
    
         
            +
                      command.params['packageName'] = package_name unless package_name.nil?
         
     | 
| 
      
 1511 
     | 
    
         
            +
                      command.params['versionCode'] = version_code unless version_code.nil?
         
     | 
| 
      
 1512 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1513 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1514 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1515 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1516 
     | 
    
         
            +
                    
         
     | 
| 
      
 1517 
     | 
    
         
            +
                    # Grant access for a user to the given package.
         
     | 
| 
      
 1518 
     | 
    
         
            +
                    # @param [String] parent
         
     | 
| 
      
 1519 
     | 
    
         
            +
                    #   Required. The user which needs permission. Format: developers/`developer`/
         
     | 
| 
      
 1520 
     | 
    
         
            +
                    #   users/`user`
         
     | 
| 
      
 1521 
     | 
    
         
            +
                    # @param [Google::Apis::AndroidpublisherV3::Grant] grant_object
         
     | 
| 
      
 1522 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1523 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1524 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1525 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1526 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1527 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1528 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1529 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1530 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1531 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::AndroidpublisherV3::Grant] parsed result object
         
     | 
| 
      
 1532 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1533 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1534 
     | 
    
         
            +
                    # @return [Google::Apis::AndroidpublisherV3::Grant]
         
     | 
| 
      
 1535 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1536 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1537 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1538 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1539 
     | 
    
         
            +
                    def create_grant(parent, grant_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1540 
     | 
    
         
            +
                      command = make_simple_command(:post, 'androidpublisher/v3/{+parent}/grants', options)
         
     | 
| 
      
 1541 
     | 
    
         
            +
                      command.request_representation = Google::Apis::AndroidpublisherV3::Grant::Representation
         
     | 
| 
      
 1542 
     | 
    
         
            +
                      command.request_object = grant_object
         
     | 
| 
      
 1543 
     | 
    
         
            +
                      command.response_representation = Google::Apis::AndroidpublisherV3::Grant::Representation
         
     | 
| 
      
 1544 
     | 
    
         
            +
                      command.response_class = Google::Apis::AndroidpublisherV3::Grant
         
     | 
| 
      
 1545 
     | 
    
         
            +
                      command.params['parent'] = parent unless parent.nil?
         
     | 
| 
      
 1546 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1547 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1548 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1549 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1550 
     | 
    
         
            +
                    
         
     | 
| 
      
 1551 
     | 
    
         
            +
                    # Removes all access for the user to the given package or developer account.
         
     | 
| 
      
 1552 
     | 
    
         
            +
                    # @param [String] name
         
     | 
| 
      
 1553 
     | 
    
         
            +
                    #   Required. The name of the grant to delete. Format: developers/`developer`/
         
     | 
| 
      
 1554 
     | 
    
         
            +
                    #   users/`email`/grants/`package_name`
         
     | 
| 
      
 1555 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1556 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1557 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1558 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1559 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1560 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1561 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1562 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1563 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1564 
     | 
    
         
            +
                    # @yieldparam result [NilClass] No result returned for this method
         
     | 
| 
      
 1565 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1566 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1567 
     | 
    
         
            +
                    # @return [void]
         
     | 
| 
      
 1568 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1569 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1570 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1571 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1572 
     | 
    
         
            +
                    def delete_grant(name, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1573 
     | 
    
         
            +
                      command = make_simple_command(:delete, 'androidpublisher/v3/{+name}', options)
         
     | 
| 
      
 1574 
     | 
    
         
            +
                      command.params['name'] = name unless name.nil?
         
     | 
| 
      
 1575 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1576 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1577 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1578 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1579 
     | 
    
         
            +
                    
         
     | 
| 
      
 1580 
     | 
    
         
            +
                    # Updates access for the user to the given package.
         
     | 
| 
      
 1581 
     | 
    
         
            +
                    # @param [String] name
         
     | 
| 
      
 1582 
     | 
    
         
            +
                    #   Required. Resource name for this grant, following the pattern "developers/`
         
     | 
| 
      
 1583 
     | 
    
         
            +
                    #   developer`/users/`email`/grants/`package_name`".
         
     | 
| 
      
 1584 
     | 
    
         
            +
                    # @param [Google::Apis::AndroidpublisherV3::Grant] grant_object
         
     | 
| 
      
 1585 
     | 
    
         
            +
                    # @param [String] update_mask
         
     | 
| 
      
 1586 
     | 
    
         
            +
                    #   Optional. The list of fields to be updated.
         
     | 
| 
      
 1587 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1588 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1589 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1590 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1591 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1592 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1593 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1594 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1595 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1596 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::AndroidpublisherV3::Grant] parsed result object
         
     | 
| 
      
 1597 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1598 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1599 
     | 
    
         
            +
                    # @return [Google::Apis::AndroidpublisherV3::Grant]
         
     | 
| 
      
 1600 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1601 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1602 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1603 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1604 
     | 
    
         
            +
                    def patch_grant(name, grant_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1605 
     | 
    
         
            +
                      command = make_simple_command(:patch, 'androidpublisher/v3/{+name}', options)
         
     | 
| 
      
 1606 
     | 
    
         
            +
                      command.request_representation = Google::Apis::AndroidpublisherV3::Grant::Representation
         
     | 
| 
      
 1607 
     | 
    
         
            +
                      command.request_object = grant_object
         
     | 
| 
      
 1608 
     | 
    
         
            +
                      command.response_representation = Google::Apis::AndroidpublisherV3::Grant::Representation
         
     | 
| 
      
 1609 
     | 
    
         
            +
                      command.response_class = Google::Apis::AndroidpublisherV3::Grant
         
     | 
| 
      
 1610 
     | 
    
         
            +
                      command.params['name'] = name unless name.nil?
         
     | 
| 
      
 1611 
     | 
    
         
            +
                      command.query['updateMask'] = update_mask unless update_mask.nil?
         
     | 
| 
      
 1612 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1613 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1614 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1615 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1616 
     | 
    
         
            +
                    
         
     | 
| 
       1400 
1617 
     | 
    
         
             
                    # Deletes an in-app product (i.e. a managed product or a subscriptions).
         
     | 
| 
       1401 
1618 
     | 
    
         
             
                    # @param [String] package_name
         
     | 
| 
       1402 
1619 
     | 
    
         
             
                    #   Package name of the app.
         
     | 
| 
         @@ -1499,13 +1716,17 @@ module Google 
     | 
|
| 
       1499 
1716 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       1500 
1717 
     | 
    
         
             
                    end
         
     | 
| 
       1501 
1718 
     | 
    
         | 
| 
       1502 
     | 
    
         
            -
                    # Lists all in-app products - both managed products and subscriptions.
         
     | 
| 
      
 1719 
     | 
    
         
            +
                    # Lists all in-app products - both managed products and subscriptions. If an app
         
     | 
| 
      
 1720 
     | 
    
         
            +
                    # has a large number of in-app products, the response may be paginated. In this
         
     | 
| 
      
 1721 
     | 
    
         
            +
                    # case the response field `tokenPagination.nextPageToken` will be set and the
         
     | 
| 
      
 1722 
     | 
    
         
            +
                    # caller should provide its value as a `token` request parameter to retrieve the
         
     | 
| 
      
 1723 
     | 
    
         
            +
                    # next page.
         
     | 
| 
       1503 
1724 
     | 
    
         
             
                    # @param [String] package_name
         
     | 
| 
       1504 
1725 
     | 
    
         
             
                    #   Package name of the app.
         
     | 
| 
       1505 
1726 
     | 
    
         
             
                    # @param [Fixnum] max_results
         
     | 
| 
       1506 
     | 
    
         
            -
                    #    
     | 
| 
      
 1727 
     | 
    
         
            +
                    #   Deprecated and ignored. The page size is determined by the server.
         
     | 
| 
       1507 
1728 
     | 
    
         
             
                    # @param [Fixnum] start_index
         
     | 
| 
       1508 
     | 
    
         
            -
                    #    
     | 
| 
      
 1729 
     | 
    
         
            +
                    #   Deprecated and ignored. Set the `token` parameter to rertieve the next page.
         
     | 
| 
       1509 
1730 
     | 
    
         
             
                    # @param [String] token
         
     | 
| 
       1510 
1731 
     | 
    
         
             
                    #   Pagination token. If empty, list starts at the first product.
         
     | 
| 
       1511 
1732 
     | 
    
         
             
                    # @param [String] fields
         
     | 
| 
         @@ -1585,6 +1806,9 @@ module Google 
     | 
|
| 
       1585 
1806 
     | 
    
         
             
                    # @param [String] sku
         
     | 
| 
       1586 
1807 
     | 
    
         
             
                    #   Unique identifier for the in-app product.
         
     | 
| 
       1587 
1808 
     | 
    
         
             
                    # @param [Google::Apis::AndroidpublisherV3::InAppProduct] in_app_product_object
         
     | 
| 
      
 1809 
     | 
    
         
            +
                    # @param [Boolean] allow_missing
         
     | 
| 
      
 1810 
     | 
    
         
            +
                    #   If set to true, and the in-app product with the given package_name and sku
         
     | 
| 
      
 1811 
     | 
    
         
            +
                    #   doesn't exist, the in-app product will be created.
         
     | 
| 
       1588 
1812 
     | 
    
         
             
                    # @param [Boolean] auto_convert_missing_prices
         
     | 
| 
       1589 
1813 
     | 
    
         
             
                    #   If true the prices for all regions targeted by the parent app that don't have
         
     | 
| 
       1590 
1814 
     | 
    
         
             
                    #   a price specified for this in-app product will be auto converted to the target
         
     | 
| 
         @@ -1606,7 +1830,7 @@ module Google 
     | 
|
| 
       1606 
1830 
     | 
    
         
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
       1607 
1831 
     | 
    
         
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
       1608 
1832 
     | 
    
         
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
       1609 
     | 
    
         
            -
                    def update_inappproduct(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1833 
     | 
    
         
            +
                    def update_inappproduct(package_name, sku, in_app_product_object = nil, allow_missing: nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
       1610 
1834 
     | 
    
         
             
                      command = make_simple_command(:put, 'androidpublisher/v3/applications/{packageName}/inappproducts/{sku}', options)
         
     | 
| 
       1611 
1835 
     | 
    
         
             
                      command.request_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
         
     | 
| 
       1612 
1836 
     | 
    
         
             
                      command.request_object = in_app_product_object
         
     | 
| 
         @@ -1614,6 +1838,7 @@ module Google 
     | 
|
| 
       1614 
1838 
     | 
    
         
             
                      command.response_class = Google::Apis::AndroidpublisherV3::InAppProduct
         
     | 
| 
       1615 
1839 
     | 
    
         
             
                      command.params['packageName'] = package_name unless package_name.nil?
         
     | 
| 
       1616 
1840 
     | 
    
         
             
                      command.params['sku'] = sku unless sku.nil?
         
     | 
| 
      
 1841 
     | 
    
         
            +
                      command.query['allowMissing'] = allow_missing unless allow_missing.nil?
         
     | 
| 
       1617 
1842 
     | 
    
         
             
                      command.query['autoConvertMissingPrices'] = auto_convert_missing_prices unless auto_convert_missing_prices.nil?
         
     | 
| 
       1618 
1843 
     | 
    
         
             
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
       1619 
1844 
     | 
    
         
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
         @@ -1708,7 +1933,42 @@ module Google 
     | 
|
| 
       1708 
1933 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       1709 
1934 
     | 
    
         
             
                    end
         
     | 
| 
       1710 
1935 
     | 
    
         | 
| 
       1711 
     | 
    
         
            -
                    #  
     | 
| 
      
 1936 
     | 
    
         
            +
                    # Calculates the region prices, using today's exchange rate and country-specific
         
     | 
| 
      
 1937 
     | 
    
         
            +
                    # pricing patterns, based on the price in the request for a set of regions.
         
     | 
| 
      
 1938 
     | 
    
         
            +
                    # @param [String] package_name
         
     | 
| 
      
 1939 
     | 
    
         
            +
                    #   Required. The app package name.
         
     | 
| 
      
 1940 
     | 
    
         
            +
                    # @param [Google::Apis::AndroidpublisherV3::ConvertRegionPricesRequest] convert_region_prices_request_object
         
     | 
| 
      
 1941 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 1942 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 1943 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 1944 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 1945 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 1946 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 1947 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 1948 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1949 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 1950 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::AndroidpublisherV3::ConvertRegionPricesResponse] parsed result object
         
     | 
| 
      
 1951 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 1952 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1953 
     | 
    
         
            +
                    # @return [Google::Apis::AndroidpublisherV3::ConvertRegionPricesResponse]
         
     | 
| 
      
 1954 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1955 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 1956 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 1957 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 1958 
     | 
    
         
            +
                    def convert_monetization_region_prices(package_name, convert_region_prices_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 1959 
     | 
    
         
            +
                      command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/pricing:convertRegionPrices', options)
         
     | 
| 
      
 1960 
     | 
    
         
            +
                      command.request_representation = Google::Apis::AndroidpublisherV3::ConvertRegionPricesRequest::Representation
         
     | 
| 
      
 1961 
     | 
    
         
            +
                      command.request_object = convert_region_prices_request_object
         
     | 
| 
      
 1962 
     | 
    
         
            +
                      command.response_representation = Google::Apis::AndroidpublisherV3::ConvertRegionPricesResponse::Representation
         
     | 
| 
      
 1963 
     | 
    
         
            +
                      command.response_class = Google::Apis::AndroidpublisherV3::ConvertRegionPricesResponse
         
     | 
| 
      
 1964 
     | 
    
         
            +
                      command.params['packageName'] = package_name unless package_name.nil?
         
     | 
| 
      
 1965 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 1966 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 1967 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 1968 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1969 
     | 
    
         
            +
                    
         
     | 
| 
      
 1970 
     | 
    
         
            +
                    # Refunds a user's subscription or in-app purchase order. Orders older than 1
         
     | 
| 
      
 1971 
     | 
    
         
            +
                    # year cannot be refunded.
         
     | 
| 
       1712 
1972 
     | 
    
         
             
                    # @param [String] package_name
         
     | 
| 
       1713 
1973 
     | 
    
         
             
                    #   The package name of the application for which this subscription or in-app item
         
     | 
| 
       1714 
1974 
     | 
    
         
             
                    #   was purchased (for example, 'com.some.thing').
         
     | 
| 
         @@ -2377,6 +2637,145 @@ module Google 
     | 
|
| 
       2377 
2637 
     | 
    
         
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
       2378 
2638 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       2379 
2639 
     | 
    
         
             
                    end
         
     | 
| 
      
 2640 
     | 
    
         
            +
                    
         
     | 
| 
      
 2641 
     | 
    
         
            +
                    # Grant access for a user to the given developer account.
         
     | 
| 
      
 2642 
     | 
    
         
            +
                    # @param [String] parent
         
     | 
| 
      
 2643 
     | 
    
         
            +
                    #   Required. The developer account to add the user to. Format: developers/`
         
     | 
| 
      
 2644 
     | 
    
         
            +
                    #   developer`
         
     | 
| 
      
 2645 
     | 
    
         
            +
                    # @param [Google::Apis::AndroidpublisherV3::User] user_object
         
     | 
| 
      
 2646 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 2647 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 2648 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 2649 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 2650 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 2651 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 2652 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 2653 
     | 
    
         
            +
                    #
         
     | 
| 
      
 2654 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 2655 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::AndroidpublisherV3::User] parsed result object
         
     | 
| 
      
 2656 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 2657 
     | 
    
         
            +
                    #
         
     | 
| 
      
 2658 
     | 
    
         
            +
                    # @return [Google::Apis::AndroidpublisherV3::User]
         
     | 
| 
      
 2659 
     | 
    
         
            +
                    #
         
     | 
| 
      
 2660 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 2661 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 2662 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 2663 
     | 
    
         
            +
                    def create_user(parent, user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 2664 
     | 
    
         
            +
                      command = make_simple_command(:post, 'androidpublisher/v3/{+parent}/users', options)
         
     | 
| 
      
 2665 
     | 
    
         
            +
                      command.request_representation = Google::Apis::AndroidpublisherV3::User::Representation
         
     | 
| 
      
 2666 
     | 
    
         
            +
                      command.request_object = user_object
         
     | 
| 
      
 2667 
     | 
    
         
            +
                      command.response_representation = Google::Apis::AndroidpublisherV3::User::Representation
         
     | 
| 
      
 2668 
     | 
    
         
            +
                      command.response_class = Google::Apis::AndroidpublisherV3::User
         
     | 
| 
      
 2669 
     | 
    
         
            +
                      command.params['parent'] = parent unless parent.nil?
         
     | 
| 
      
 2670 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 2671 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 2672 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 2673 
     | 
    
         
            +
                    end
         
     | 
| 
      
 2674 
     | 
    
         
            +
                    
         
     | 
| 
      
 2675 
     | 
    
         
            +
                    # Removes all access for the user to the given developer account.
         
     | 
| 
      
 2676 
     | 
    
         
            +
                    # @param [String] name
         
     | 
| 
      
 2677 
     | 
    
         
            +
                    #   Required. The name of the user to delete. Format: developers/`developer`/users/
         
     | 
| 
      
 2678 
     | 
    
         
            +
                    #   `email`
         
     | 
| 
      
 2679 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 2680 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 2681 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 2682 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 2683 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 2684 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 2685 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 2686 
     | 
    
         
            +
                    #
         
     | 
| 
      
 2687 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 2688 
     | 
    
         
            +
                    # @yieldparam result [NilClass] No result returned for this method
         
     | 
| 
      
 2689 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 2690 
     | 
    
         
            +
                    #
         
     | 
| 
      
 2691 
     | 
    
         
            +
                    # @return [void]
         
     | 
| 
      
 2692 
     | 
    
         
            +
                    #
         
     | 
| 
      
 2693 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 2694 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 2695 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 2696 
     | 
    
         
            +
                    def delete_user(name, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 2697 
     | 
    
         
            +
                      command = make_simple_command(:delete, 'androidpublisher/v3/{+name}', options)
         
     | 
| 
      
 2698 
     | 
    
         
            +
                      command.params['name'] = name unless name.nil?
         
     | 
| 
      
 2699 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 2700 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 2701 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 2702 
     | 
    
         
            +
                    end
         
     | 
| 
      
 2703 
     | 
    
         
            +
                    
         
     | 
| 
      
 2704 
     | 
    
         
            +
                    # Lists all users with access to a developer account.
         
     | 
| 
      
 2705 
     | 
    
         
            +
                    # @param [String] parent
         
     | 
| 
      
 2706 
     | 
    
         
            +
                    #   Required. The developer account to fetch users from. Format: developers/`
         
     | 
| 
      
 2707 
     | 
    
         
            +
                    #   developer`
         
     | 
| 
      
 2708 
     | 
    
         
            +
                    # @param [Fixnum] page_size
         
     | 
| 
      
 2709 
     | 
    
         
            +
                    #   The maximum number of results to return. This must be set to -1 to disable
         
     | 
| 
      
 2710 
     | 
    
         
            +
                    #   pagination.
         
     | 
| 
      
 2711 
     | 
    
         
            +
                    # @param [String] page_token
         
     | 
| 
      
 2712 
     | 
    
         
            +
                    #   A token received from a previous call to this method, in order to retrieve
         
     | 
| 
      
 2713 
     | 
    
         
            +
                    #   further results.
         
     | 
| 
      
 2714 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 2715 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 2716 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 2717 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 2718 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 2719 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 2720 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 2721 
     | 
    
         
            +
                    #
         
     | 
| 
      
 2722 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 2723 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::AndroidpublisherV3::ListUsersResponse] parsed result object
         
     | 
| 
      
 2724 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 2725 
     | 
    
         
            +
                    #
         
     | 
| 
      
 2726 
     | 
    
         
            +
                    # @return [Google::Apis::AndroidpublisherV3::ListUsersResponse]
         
     | 
| 
      
 2727 
     | 
    
         
            +
                    #
         
     | 
| 
      
 2728 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 2729 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 2730 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 2731 
     | 
    
         
            +
                    def list_users(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 2732 
     | 
    
         
            +
                      command = make_simple_command(:get, 'androidpublisher/v3/{+parent}/users', options)
         
     | 
| 
      
 2733 
     | 
    
         
            +
                      command.response_representation = Google::Apis::AndroidpublisherV3::ListUsersResponse::Representation
         
     | 
| 
      
 2734 
     | 
    
         
            +
                      command.response_class = Google::Apis::AndroidpublisherV3::ListUsersResponse
         
     | 
| 
      
 2735 
     | 
    
         
            +
                      command.params['parent'] = parent unless parent.nil?
         
     | 
| 
      
 2736 
     | 
    
         
            +
                      command.query['pageSize'] = page_size unless page_size.nil?
         
     | 
| 
      
 2737 
     | 
    
         
            +
                      command.query['pageToken'] = page_token unless page_token.nil?
         
     | 
| 
      
 2738 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 2739 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 2740 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 2741 
     | 
    
         
            +
                    end
         
     | 
| 
      
 2742 
     | 
    
         
            +
                    
         
     | 
| 
      
 2743 
     | 
    
         
            +
                    # Updates access for the user to the developer account.
         
     | 
| 
      
 2744 
     | 
    
         
            +
                    # @param [String] name
         
     | 
| 
      
 2745 
     | 
    
         
            +
                    #   Required. Resource name for this user, following the pattern "developers/`
         
     | 
| 
      
 2746 
     | 
    
         
            +
                    #   developer`/users/`email`".
         
     | 
| 
      
 2747 
     | 
    
         
            +
                    # @param [Google::Apis::AndroidpublisherV3::User] user_object
         
     | 
| 
      
 2748 
     | 
    
         
            +
                    # @param [String] update_mask
         
     | 
| 
      
 2749 
     | 
    
         
            +
                    #   Optional. The list of fields to be updated.
         
     | 
| 
      
 2750 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 2751 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 2752 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 2753 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 2754 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 2755 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 2756 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 2757 
     | 
    
         
            +
                    #
         
     | 
| 
      
 2758 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 2759 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::AndroidpublisherV3::User] parsed result object
         
     | 
| 
      
 2760 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 2761 
     | 
    
         
            +
                    #
         
     | 
| 
      
 2762 
     | 
    
         
            +
                    # @return [Google::Apis::AndroidpublisherV3::User]
         
     | 
| 
      
 2763 
     | 
    
         
            +
                    #
         
     | 
| 
      
 2764 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 2765 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 2766 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 2767 
     | 
    
         
            +
                    def patch_user(name, user_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 2768 
     | 
    
         
            +
                      command = make_simple_command(:patch, 'androidpublisher/v3/{+name}', options)
         
     | 
| 
      
 2769 
     | 
    
         
            +
                      command.request_representation = Google::Apis::AndroidpublisherV3::User::Representation
         
     | 
| 
      
 2770 
     | 
    
         
            +
                      command.request_object = user_object
         
     | 
| 
      
 2771 
     | 
    
         
            +
                      command.response_representation = Google::Apis::AndroidpublisherV3::User::Representation
         
     | 
| 
      
 2772 
     | 
    
         
            +
                      command.response_class = Google::Apis::AndroidpublisherV3::User
         
     | 
| 
      
 2773 
     | 
    
         
            +
                      command.params['name'] = name unless name.nil?
         
     | 
| 
      
 2774 
     | 
    
         
            +
                      command.query['updateMask'] = update_mask unless update_mask.nil?
         
     | 
| 
      
 2775 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 2776 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 2777 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 2778 
     | 
    
         
            +
                    end
         
     | 
| 
       2380 
2779 
     | 
    
         | 
| 
       2381 
2780 
     | 
    
         
             
                    protected
         
     | 
| 
       2382 
2781 
     | 
    
         | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,29 +1,35 @@ 
     | 
|
| 
       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.15.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:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2022-01-10 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: google-apis-core
         
     | 
| 
       15 
15 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       16 
16 
     | 
    
         
             
                requirements:
         
     | 
| 
       17 
     | 
    
         
            -
                - - " 
     | 
| 
      
 17 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       18 
18 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       19 
     | 
    
         
            -
                    version: '0. 
     | 
| 
      
 19 
     | 
    
         
            +
                    version: '0.4'
         
     | 
| 
      
 20 
     | 
    
         
            +
                - - "<"
         
     | 
| 
      
 21 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 22 
     | 
    
         
            +
                    version: 2.a
         
     | 
| 
       20 
23 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       21 
24 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       22 
25 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       23 
26 
     | 
    
         
             
                requirements:
         
     | 
| 
       24 
     | 
    
         
            -
                - - " 
     | 
| 
      
 27 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 28 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 29 
     | 
    
         
            +
                    version: '0.4'
         
     | 
| 
      
 30 
     | 
    
         
            +
                - - "<"
         
     | 
| 
       25 
31 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       26 
     | 
    
         
            -
                    version:  
     | 
| 
      
 32 
     | 
    
         
            +
                    version: 2.a
         
     | 
| 
       27 
33 
     | 
    
         
             
            description: This is the simple REST client for Google Play Android Developer API
         
     | 
| 
       28 
34 
     | 
    
         
             
              V3. Simple REST clients are Ruby client libraries that provide access to Google
         
     | 
| 
       29 
35 
     | 
    
         
             
              services via their HTTP REST API endpoints. These libraries are generated and updated
         
     | 
| 
         @@ -51,9 +57,9 @@ licenses: 
     | 
|
| 
       51 
57 
     | 
    
         
             
            - Apache-2.0
         
     | 
| 
       52 
58 
     | 
    
         
             
            metadata:
         
     | 
| 
       53 
59 
     | 
    
         
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         
     | 
| 
       54 
     | 
    
         
            -
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/ 
     | 
| 
       55 
     | 
    
         
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0. 
     | 
| 
       56 
     | 
    
         
            -
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/ 
     | 
| 
      
 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.15.0
         
     | 
| 
      
 62 
     | 
    
         
            +
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3
         
     | 
| 
       57 
63 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       58 
64 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       59 
65 
     | 
    
         
             
            require_paths:
         
     | 
| 
         @@ -62,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       62 
68 
     | 
    
         
             
              requirements:
         
     | 
| 
       63 
69 
     | 
    
         
             
              - - ">="
         
     | 
| 
       64 
70 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       65 
     | 
    
         
            -
                  version: '2. 
     | 
| 
      
 71 
     | 
    
         
            +
                  version: '2.5'
         
     | 
| 
       66 
72 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       67 
73 
     | 
    
         
             
              requirements:
         
     | 
| 
       68 
74 
     | 
    
         
             
              - - ">="
         
     | 
| 
       69 
75 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       70 
76 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       71 
77 
     | 
    
         
             
            requirements: []
         
     | 
| 
       72 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
      
 78 
     | 
    
         
            +
            rubygems_version: 3.3.4
         
     | 
| 
       73 
79 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       74 
80 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       75 
81 
     | 
    
         
             
            summary: Simple REST client for Google Play Android Developer API V3
         
     |