!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/   drwxr-xr-x
Free 13.06 GB of 57.97 GB (22.52%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     PhotosLibrary.php (5.76 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.
 */

/**
 * Service definition for PhotosLibrary (v1).
 *
 * <p>
 * Manage photos, videos, and albums in Google Photos</p>
 *
 * <p>
 * For more information about this service, see the API
 * <a href="https://developers.google.com/photos/" target="_blank">Documentation</a>
 * </p>
 *
 * @author Google, Inc.
 */
class Google_Service_PhotosLibrary extends Google_Service
{
  
/** View the photos, videos and albums in your Google Photos. */
  
const DRIVE_PHOTOS_READONLY =
      
"https://www.googleapis.com/auth/drive.photos.readonly";
  
/** View and manage your Google Photos library. */
  
const PHOTOSLIBRARY =
      
"https://www.googleapis.com/auth/photoslibrary";
  
/** Add to your Google Photos library. */
  
const PHOTOSLIBRARY_APPENDONLY =
      
"https://www.googleapis.com/auth/photoslibrary.appendonly";
  
/** View your Google Photos library. */
  
const PHOTOSLIBRARY_READONLY =
      
"https://www.googleapis.com/auth/photoslibrary.readonly";
  
/** Manage photos added by this app. */
  
const PHOTOSLIBRARY_READONLY_APPCREATEDDATA =
      
"https://www.googleapis.com/auth/photoslibrary.readonly.appcreateddata";
  
/** Manage and add to shared albums on your behalf. */
  
const PHOTOSLIBRARY_SHARING =
      
"https://www.googleapis.com/auth/photoslibrary.sharing";

  public 
$albums;
  public 
$mediaItems;
  public 
$sharedAlbums;
  
  
/**
   * Constructs the internal representation of the PhotosLibrary service.
   *
   * @param Google_Client $client
   */
  
public function __construct(Google_Client $client)
  {
    
parent::__construct($client);
    
$this->rootUrl 'https://photoslibrary.googleapis.com/';
    
$this->servicePath '';
    
$this->version 'v1';
    
$this->serviceName 'photoslibrary';

    
$this->albums = new Google_Service_PhotosLibrary_Resource_Albums(
        
$this,
        
$this->serviceName,
        
'albums',
        array(
          
'methods' => array(
            
'addEnrichment' => array(
              
'path' => 'v1/albums/{+albumId}:addEnrichment',
              
'httpMethod' => 'POST',
              
'parameters' => array(
                
'albumId' => array(
                  
'location' => 'path',
                  
'type' => 'string',
                  
'required' => true,
                ),
              ),
            ),
'create' => array(
              
'path' => 'v1/albums',
              
'httpMethod' => 'POST',
              
'parameters' => array(),
            ),
'get' => array(
              
'path' => 'v1/albums/{+albumId}',
              
'httpMethod' => 'GET',
              
'parameters' => array(
                
'albumId' => array(
                  
'location' => 'path',
                  
'type' => 'string',
                  
'required' => true,
                ),
              ),
            ),
'list' => array(
              
'path' => 'v1/albums',
              
'httpMethod' => 'GET',
              
'parameters' => array(
                
'pageToken' => array(
                  
'location' => 'query',
                  
'type' => 'string',
                ),
                
'pageSize' => array(
                  
'location' => 'query',
                  
'type' => 'integer',
                ),
              ),
            ),
'share' => array(
              
'path' => 'v1/albums/{+albumId}:share',
              
'httpMethod' => 'POST',
              
'parameters' => array(
                
'albumId' => array(
                  
'location' => 'path',
                  
'type' => 'string',
                  
'required' => true,
                ),
              ),
            ),
          )
        )
    );
    
$this->mediaItems = new Google_Service_PhotosLibrary_Resource_MediaItems(
        
$this,
        
$this->serviceName,
        
'mediaItems',
        array(
          
'methods' => array(
            
'batchCreate' => array(
              
'path' => 'v1/mediaItems:batchCreate',
              
'httpMethod' => 'POST',
              
'parameters' => array(),
            ),
'get' => array(
              
'path' => 'v1/mediaItems/{+mediaItemId}',
              
'httpMethod' => 'GET',
              
'parameters' => array(
                
'mediaItemId' => array(
                  
'location' => 'path',
                  
'type' => 'string',
                  
'required' => true,
                ),
              ),
            ),
'search' => array(
              
'path' => 'v1/mediaItems:search',
              
'httpMethod' => 'POST',
              
'parameters' => array(),
            ),
          )
        )
    );
    
$this->sharedAlbums = new Google_Service_PhotosLibrary_Resource_SharedAlbums(
        
$this,
        
$this->serviceName,
        
'sharedAlbums',
        array(
          
'methods' => array(
            
'join' => array(
              
'path' => 'v1/sharedAlbums:join',
              
'httpMethod' => 'POST',
              
'parameters' => array(),
            ),
'list' => array(
              
'path' => 'v1/sharedAlbums',
              
'httpMethod' => 'GET',
              
'parameters' => array(
                
'pageToken' => array(
                  
'location' => 'query',
                  
'type' => 'string',
                ),
                
'pageSize' => array(
                  
'location' => 'query',
                  
'type' => 'integer',
                ),
              ),
            ),
          )
        )
    );
  }
}

:: 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.0062 ]--