!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/uploads/script/vendor/google/apiclient-services/src/Google/Service/Licensing/Resource/   drwxr-xr-x
Free 13.13 GB of 57.97 GB (22.65%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     LicenseAssignments.php (9.96 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

/**
 * The "licenseAssignments" collection of methods.
 * Typical usage is:
 *  <code>
 *   $licensingService = new Google_Service_Licensing(...);
 *   $licenseAssignments = $licensingService->licenseAssignments;
 *  </code>
 */
class Google_Service_Licensing_Resource_LicenseAssignments extends Google_Service_Resource
{
  
/**
   * Revoke a license. (licenseAssignments.delete)
   *
   * @param string $productId A product's unique identifier. For more information
   * about products in this version of the API, see Products and SKUs.
   * @param string $skuId A product SKU's unique identifier. For more information
   * about available SKUs in this version of the API, see Products and SKUs.
   * @param string $userId The user's current primary email address. If the user's
   * email address changes, use the new email address in your API requests. Since
   * a `userId` is subject to change, do not use a `userId` value as a key for
   * persistent data. This key could break if the current user's email address
   * changes. If the `userId` is suspended, the license status changes.
   * @param array $optParams Optional parameters.
   * @return Google_Service_Licensing_LicensingEmpty
   */
  
public function delete($productId$skuId$userId$optParams = array())
  {
    
$params = array('productId' => $productId'skuId' => $skuId'userId' => $userId);
    
$params array_merge($params$optParams);
    return 
$this->call('delete', array($params), "Google_Service_Licensing_LicensingEmpty");
  }
  
/**
   * Get a specific user's license by product SKU. (licenseAssignments.get)
   *
   * @param string $productId A product's unique identifier. For more information
   * about products in this version of the API, see Products and SKUs.
   * @param string $skuId A product SKU's unique identifier. For more information
   * about available SKUs in this version of the API, see Products and SKUs.
   * @param string $userId The user's current primary email address. If the user's
   * email address changes, use the new email address in your API requests. Since
   * a `userId` is subject to change, do not use a `userId` value as a key for
   * persistent data. This key could break if the current user's email address
   * changes. If the `userId` is suspended, the license status changes.
   * @param array $optParams Optional parameters.
   * @return Google_Service_Licensing_LicenseAssignment
   */
  
public function get($productId$skuId$userId$optParams = array())
  {
    
$params = array('productId' => $productId'skuId' => $skuId'userId' => $userId);
    
$params array_merge($params$optParams);
    return 
$this->call('get', array($params), "Google_Service_Licensing_LicenseAssignment");
  }
  
/**
   * Assign a license. (licenseAssignments.insert)
   *
   * @param string $productId A product's unique identifier. For more information
   * about products in this version of the API, see Products and SKUs.
   * @param string $skuId A product SKU's unique identifier. For more information
   * about available SKUs in this version of the API, see Products and SKUs.
   * @param Google_Service_Licensing_LicenseAssignmentInsert $postBody
   * @param array $optParams Optional parameters.
   * @return Google_Service_Licensing_LicenseAssignment
   */
  
public function insert($productId$skuIdGoogle_Service_Licensing_LicenseAssignmentInsert $postBody$optParams = array())
  {
    
$params = array('productId' => $productId'skuId' => $skuId'postBody' => $postBody);
    
$params array_merge($params$optParams);
    return 
$this->call('insert', array($params), "Google_Service_Licensing_LicenseAssignment");
  }
  
/**
   * List all users assigned licenses for a specific product SKU.
   * (licenseAssignments.listForProduct)
   *
   * @param string $productId A product's unique identifier. For more information
   * about products in this version of the API, see Products and SKUs.
   * @param string $customerId Customer's `customerId`. A previous version of this
   * API accepted the primary domain name as a value for this field. If the
   * customer is suspended, the server returns an error.
   * @param array $optParams Optional parameters.
   *
   * @opt_param string maxResults The `maxResults` query string determines how
   * many entries are returned on each page of a large response. This is an
   * optional parameter. The value must be a positive number.
   * @opt_param string pageToken Token to fetch the next page of data. The
   * `maxResults` query string is related to the `pageToken` since `maxResults`
   * determines how many entries are returned on each page. This is an optional
   * query string. If not specified, the server returns the first page.
   * @return Google_Service_Licensing_LicenseAssignmentList
   */
  
public function listForProduct($productId$customerId$optParams = array())
  {
    
$params = array('productId' => $productId'customerId' => $customerId);
    
$params array_merge($params$optParams);
    return 
$this->call('listForProduct', array($params), "Google_Service_Licensing_LicenseAssignmentList");
  }
  
/**
   * List all users assigned licenses for a specific product SKU.
   * (licenseAssignments.listForProductAndSku)
   *
   * @param string $productId A product's unique identifier. For more information
   * about products in this version of the API, see Products and SKUs.
   * @param string $skuId A product SKU's unique identifier. For more information
   * about available SKUs in this version of the API, see Products and SKUs.
   * @param string $customerId Customer's `customerId`. A previous version of this
   * API accepted the primary domain name as a value for this field. If the
   * customer is suspended, the server returns an error.
   * @param array $optParams Optional parameters.
   *
   * @opt_param string maxResults The `maxResults` query string determines how
   * many entries are returned on each page of a large response. This is an
   * optional parameter. The value must be a positive number.
   * @opt_param string pageToken Token to fetch the next page of data. The
   * `maxResults` query string is related to the `pageToken` since `maxResults`
   * determines how many entries are returned on each page. This is an optional
   * query string. If not specified, the server returns the first page.
   * @return Google_Service_Licensing_LicenseAssignmentList
   */
  
public function listForProductAndSku($productId$skuId$customerId$optParams = array())
  {
    
$params = array('productId' => $productId'skuId' => $skuId'customerId' => $customerId);
    
$params array_merge($params$optParams);
    return 
$this->call('listForProductAndSku', array($params), "Google_Service_Licensing_LicenseAssignmentList");
  }
  
/**
   * Reassign a user's product SKU with a different SKU in the same product. This
   * method supports patch semantics. (licenseAssignments.patch)
   *
   * @param string $productId A product's unique identifier. For more information
   * about products in this version of the API, see Products and SKUs.
   * @param string $skuId A product SKU's unique identifier. For more information
   * about available SKUs in this version of the API, see Products and SKUs.
   * @param string $userId The user's current primary email address. If the user's
   * email address changes, use the new email address in your API requests. Since
   * a `userId` is subject to change, do not use a `userId` value as a key for
   * persistent data. This key could break if the current user's email address
   * changes. If the `userId` is suspended, the license status changes.
   * @param Google_Service_Licensing_LicenseAssignment $postBody
   * @param array $optParams Optional parameters.
   * @return Google_Service_Licensing_LicenseAssignment
   */
  
public function patch($productId$skuId$userIdGoogle_Service_Licensing_LicenseAssignment $postBody$optParams = array())
  {
    
$params = array('productId' => $productId'skuId' => $skuId'userId' => $userId'postBody' => $postBody);
    
$params array_merge($params$optParams);
    return 
$this->call('patch', array($params), "Google_Service_Licensing_LicenseAssignment");
  }
  
/**
   * Reassign a user's product SKU with a different SKU in the same product.
   * (licenseAssignments.update)
   *
   * @param string $productId A product's unique identifier. For more information
   * about products in this version of the API, see Products and SKUs.
   * @param string $skuId A product SKU's unique identifier. For more information
   * about available SKUs in this version of the API, see Products and SKUs.
   * @param string $userId The user's current primary email address. If the user's
   * email address changes, use the new email address in your API requests. Since
   * a `userId` is subject to change, do not use a `userId` value as a key for
   * persistent data. This key could break if the current user's email address
   * changes. If the `userId` is suspended, the license status changes.
   * @param Google_Service_Licensing_LicenseAssignment $postBody
   * @param array $optParams Optional parameters.
   * @return Google_Service_Licensing_LicenseAssignment
   */
  
public function update($productId$skuId$userIdGoogle_Service_Licensing_LicenseAssignment $postBody$optParams = array())
  {
    
$params = array('productId' => $productId'skuId' => $skuId'userId' => $userId'postBody' => $postBody);
    
$params array_merge($params$optParams);
    return 
$this->call('update', array($params), "Google_Service_Licensing_LicenseAssignment");
  }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0063 ]--