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


Viewing file:     LabelsRevisionsPermissions.php (6.41 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\DriveLabels\Resource;

use 
Google\Service\DriveLabels\GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest;
use 
Google\Service\DriveLabels\GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest;
use 
Google\Service\DriveLabels\GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse;
use 
Google\Service\DriveLabels\GoogleAppsDriveLabelsV2LabelPermission;
use 
Google\Service\DriveLabels\GoogleAppsDriveLabelsV2ListLabelPermissionsResponse;
use 
Google\Service\DriveLabels\GoogleProtobufEmpty;

/**
 * The "permissions" collection of methods.
 * Typical usage is:
 *  <code>
 *   $drivelabelsService = new Google\Service\DriveLabels(...);
 *   $permissions = $drivelabelsService->labels_revisions_permissions;
 *  </code>
 */
class LabelsRevisionsPermissions extends \Google\Service\Resource
{
  
/**
   * Deletes Label permissions. Permissions affect the Label resource as a whole,
   * are not revisioned, and do not require publishing. (permissions.batchDelete)
   *
   * @param string $parent Required. The parent Label resource name shared by all
   * permissions being deleted. Format: labels/{label} If this is set, the parent
   * field in the UpdateLabelPermissionRequest messages must either be empty or
   * match this field.
   * @param GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest $postBody
   * @param array $optParams Optional parameters.
   * @return GoogleProtobufEmpty
   */
  
public function batchDelete($parentGoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest $postBody$optParams = [])
  {
    
$params = ['parent' => $parent'postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('batchDelete', [$params], GoogleProtobufEmpty::class);
  }
  
/**
   * Updates Label permissions. If a permission for the indicated principal
   * doesn't exist, a new Label Permission is created, otherwise the existing
   * permission is updated. Permissions affect the Label resource as a whole, are
   * not revisioned, and do not require publishing. (permissions.batchUpdate)
   *
   * @param string $parent Required. The parent Label resource name shared by all
   * permissions being updated. Format: labels/{label} If this is set, the parent
   * field in the UpdateLabelPermissionRequest messages must either be empty or
   * match this field.
   * @param GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest $postBody
   * @param array $optParams Optional parameters.
   * @return GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse
   */
  
public function batchUpdate($parentGoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest $postBody$optParams = [])
  {
    
$params = ['parent' => $parent'postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('batchUpdate', [$params], GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse::class);
  }
  
/**
   * Updates a Label's permissions. If a permission for the indicated principal
   * doesn't exist, a new Label Permission is created, otherwise the existing
   * permission is updated. Permissions affect the Label resource as a whole, are
   * not revisioned, and do not require publishing. (permissions.create)
   *
   * @param string $parent Required. The parent Label resource name on the Label
   * Permission is created. Format: labels/{label}
   * @param GoogleAppsDriveLabelsV2LabelPermission $postBody
   * @param array $optParams Optional parameters.
   *
   * @opt_param bool useAdminAccess Set to `true` in order to use the user's admin
   * credentials. The server will verify the user is an admin for the Label before
   * allowing access.
   * @return GoogleAppsDriveLabelsV2LabelPermission
   */
  
public function create($parentGoogleAppsDriveLabelsV2LabelPermission $postBody$optParams = [])
  {
    
$params = ['parent' => $parent'postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('create', [$params], GoogleAppsDriveLabelsV2LabelPermission::class);
  }
  
/**
   * Deletes a Label's permission. Permissions affect the Label resource as a
   * whole, are not revisioned, and do not require publishing.
   * (permissions.delete)
   *
   * @param string $name Required. Label Permission resource name.
   * @param array $optParams Optional parameters.
   *
   * @opt_param bool useAdminAccess Set to `true` in order to use the user's admin
   * credentials. The server will verify the user is an admin for the Label before
   * allowing access.
   * @return GoogleProtobufEmpty
   */
  
public function delete($name$optParams = [])
  {
    
$params = ['name' => $name];
    
$params array_merge($params$optParams);
    return 
$this->call('delete', [$params], GoogleProtobufEmpty::class);
  }
  
/**
   * Lists a Label's permissions. (permissions.listLabelsRevisionsPermissions)
   *
   * @param string $parent Required. The parent Label resource name on which Label
   * Permission are listed. Format: labels/{label}
   * @param array $optParams Optional parameters.
   *
   * @opt_param int pageSize Maximum number of permissions to return per page.
   * Default: 50. Max: 200.
   * @opt_param string pageToken The token of the page to return.
   * @opt_param bool useAdminAccess Set to `true` in order to use the user's admin
   * credentials. The server will verify the user is an admin for the Label before
   * allowing access.
   * @return GoogleAppsDriveLabelsV2ListLabelPermissionsResponse
   */
  
public function listLabelsRevisionsPermissions($parent$optParams = [])
  {
    
$params = ['parent' => $parent];
    
$params array_merge($params$optParams);
    return 
$this->call('list', [$params], GoogleAppsDriveLabelsV2ListLabelPermissionsResponse::class);
  }
}

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

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