!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)

/var/www/html/main_file/vendor/google/apiclient-services/src/Baremetalsolution/Resource/   drwxr-xr-x
Free 12.95 GB of 57.97 GB (22.35%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Google\Service\Baremetalsolution\Resource;

use 
Google\Service\Baremetalsolution\BaremetalsolutionEmpty;
use 
Google\Service\Baremetalsolution\ListVolumeSnapshotsResponse;
use 
Google\Service\Baremetalsolution\Operation;
use 
Google\Service\Baremetalsolution\RestoreVolumeSnapshotRequest;
use 
Google\Service\Baremetalsolution\VolumeSnapshot;

/**
 * The "snapshots" collection of methods.
 * Typical usage is:
 *  <code>
 *   $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
 *   $snapshots = $baremetalsolutionService->projects_locations_volumes_snapshots;
 *  </code>
 */
class ProjectsLocationsVolumesSnapshots extends \Google\Service\Resource
{
  
/**
   * Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a
   * non-boot volume. (snapshots.create)
   *
   * @param string $parent Required. The volume to snapshot.
   * @param VolumeSnapshot $postBody
   * @param array $optParams Optional parameters.
   * @return VolumeSnapshot
   */
  
public function create($parentVolumeSnapshot $postBody$optParams = [])
  {
    
$params = ['parent' => $parent'postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('create', [$params], VolumeSnapshot::class);
  }
  
/**
   * Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot
   * volume. (snapshots.delete)
   *
   * @param string $name Required. The name of the snapshot to delete.
   * @param array $optParams Optional parameters.
   * @return BaremetalsolutionEmpty
   */
  
public function delete($name$optParams = [])
  {
    
$params = ['name' => $name];
    
$params array_merge($params$optParams);
    return 
$this->call('delete', [$params], BaremetalsolutionEmpty::class);
  }
  
/**
   * Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called
   * for a non-boot volume. (snapshots.get)
   *
   * @param string $name Required. The name of the snapshot.
   * @param array $optParams Optional parameters.
   * @return VolumeSnapshot
   */
  
public function get($name$optParams = [])
  {
    
$params = ['name' => $name];
    
$params array_merge($params$optParams);
    return 
$this->call('get', [$params], VolumeSnapshot::class);
  }
  
/**
   * Retrieves the list of snapshots for the specified volume. Returns a response
   * with an empty list of snapshots if called for a non-boot volume.
   * (snapshots.listProjectsLocationsVolumesSnapshots)
   *
   * @param string $parent Required. Parent value for ListVolumesRequest.
   * @param array $optParams Optional parameters.
   *
   * @opt_param int pageSize Requested page size. The server might return fewer
   * items than requested. If unspecified, server will pick an appropriate
   * default.
   * @opt_param string pageToken A token identifying a page of results from the
   * server.
   * @return ListVolumeSnapshotsResponse
   */
  
public function listProjectsLocationsVolumesSnapshots($parent$optParams = [])
  {
    
$params = ['parent' => $parent];
    
$params array_merge($params$optParams);
    return 
$this->call('list', [$params], ListVolumeSnapshotsResponse::class);
  }
  
/**
   * Uses the specified snapshot to restore its parent volume. Returns
   * INVALID_ARGUMENT if called for a non-boot volume.
   * (snapshots.restoreVolumeSnapshot)
   *
   * @param string $volumeSnapshot Required. Name of the snapshot which will be
   * used to restore its parent volume.
   * @param RestoreVolumeSnapshotRequest $postBody
   * @param array $optParams Optional parameters.
   * @return Operation
   */
  
public function restoreVolumeSnapshot($volumeSnapshotRestoreVolumeSnapshotRequest $postBody$optParams = [])
  {
    
$params = ['volumeSnapshot' => $volumeSnapshot'postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('restoreVolumeSnapshot', [$params], Operation::class);
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsVolumesSnapshots::class, 'Google_Service_Baremetalsolution_Resource_ProjectsLocationsVolumesSnapshots');

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