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


Viewing file:     ProjectsKeys.php (7.14 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\RecaptchaEnterprise\Resource;

use 
Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1Key;
use 
Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1ListKeysResponse;
use 
Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1Metrics;
use 
Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest;
use 
Google\Service\RecaptchaEnterprise\GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse;
use 
Google\Service\RecaptchaEnterprise\GoogleProtobufEmpty;

/**
 * The "keys" collection of methods.
 * Typical usage is:
 *  <code>
 *   $recaptchaenterpriseService = new Google\Service\RecaptchaEnterprise(...);
 *   $keys = $recaptchaenterpriseService->projects_keys;
 *  </code>
 */
class ProjectsKeys extends \Google\Service\Resource
{
  
/**
   * Creates a new reCAPTCHA Enterprise key. (keys.create)
   *
   * @param string $parent Required. The name of the project in which the key will
   * be created, in the format "projects/{project}".
   * @param GoogleCloudRecaptchaenterpriseV1Key $postBody
   * @param array $optParams Optional parameters.
   * @return GoogleCloudRecaptchaenterpriseV1Key
   */
  
public function create($parentGoogleCloudRecaptchaenterpriseV1Key $postBody$optParams = [])
  {
    
$params = ['parent' => $parent'postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('create', [$params], GoogleCloudRecaptchaenterpriseV1Key::class);
  }
  
/**
   * Deletes the specified key. (keys.delete)
   *
   * @param string $name Required. The name of the key to be deleted, in the
   * format "projects/{project}/keys/{key}".
   * @param array $optParams Optional parameters.
   * @return GoogleProtobufEmpty
   */
  
public function delete($name$optParams = [])
  {
    
$params = ['name' => $name];
    
$params array_merge($params$optParams);
    return 
$this->call('delete', [$params], GoogleProtobufEmpty::class);
  }
  
/**
   * Returns the specified key. (keys.get)
   *
   * @param string $name Required. The name of the requested key, in the format
   * "projects/{project}/keys/{key}".
   * @param array $optParams Optional parameters.
   * @return GoogleCloudRecaptchaenterpriseV1Key
   */
  
public function get($name$optParams = [])
  {
    
$params = ['name' => $name];
    
$params array_merge($params$optParams);
    return 
$this->call('get', [$params], GoogleCloudRecaptchaenterpriseV1Key::class);
  }
  
/**
   * Get some aggregated metrics for a Key. This data can be used to build
   * dashboards. (keys.getMetrics)
   *
   * @param string $name Required. The name of the requested metrics, in the
   * format "projects/{project}/keys/{key}/metrics".
   * @param array $optParams Optional parameters.
   * @return GoogleCloudRecaptchaenterpriseV1Metrics
   */
  
public function getMetrics($name$optParams = [])
  {
    
$params = ['name' => $name];
    
$params array_merge($params$optParams);
    return 
$this->call('getMetrics', [$params], GoogleCloudRecaptchaenterpriseV1Metrics::class);
  }
  
/**
   * Returns the list of all keys that belong to a project.
   * (keys.listProjectsKeys)
   *
   * @param string $parent Required. The name of the project that contains the
   * keys that will be listed, in the format "projects/{project}".
   * @param array $optParams Optional parameters.
   *
   * @opt_param int pageSize Optional. The maximum number of keys to return.
   * Default is 10. Max limit is 1000.
   * @opt_param string pageToken Optional. The next_page_token value returned from
   * a previous. ListKeysRequest, if any.
   * @return GoogleCloudRecaptchaenterpriseV1ListKeysResponse
   */
  
public function listProjectsKeys($parent$optParams = [])
  {
    
$params = ['parent' => $parent];
    
$params array_merge($params$optParams);
    return 
$this->call('list', [$params], GoogleCloudRecaptchaenterpriseV1ListKeysResponse::class);
  }
  
/**
   * Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise. Once a key
   * is migrated, it can be used from either product. SiteVerify requests are
   * billed as CreateAssessment calls. You must be authenticated as one of the
   * current owners of the reCAPTCHA Site Key, and your user must have the
   * reCAPTCHA Enterprise Admin IAM role in the destination project.
   * (keys.migrate)
   *
   * @param string $name Required. The name of the key to be migrated, in the
   * format "projects/{project}/keys/{key}".
   * @param GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest $postBody
   * @param array $optParams Optional parameters.
   * @return GoogleCloudRecaptchaenterpriseV1Key
   */
  
public function migrate($nameGoogleCloudRecaptchaenterpriseV1MigrateKeyRequest $postBody$optParams = [])
  {
    
$params = ['name' => $name'postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('migrate', [$params], GoogleCloudRecaptchaenterpriseV1Key::class);
  }
  
/**
   * Updates the specified key. (keys.patch)
   *
   * @param string $name The resource name for the Key in the format
   * "projects/{project}/keys/{key}".
   * @param GoogleCloudRecaptchaenterpriseV1Key $postBody
   * @param array $optParams Optional parameters.
   *
   * @opt_param string updateMask Optional. The mask to control which fields of
   * the key get updated. If the mask is not present, all fields will be updated.
   * @return GoogleCloudRecaptchaenterpriseV1Key
   */
  
public function patch($nameGoogleCloudRecaptchaenterpriseV1Key $postBody$optParams = [])
  {
    
$params = ['name' => $name'postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('patch', [$params], GoogleCloudRecaptchaenterpriseV1Key::class);
  }
  
/**
   * Returns the secret key related to the specified public key. You must use the
   * legacy secret key only in a 3rd party integration with legacy reCAPTCHA.
   * (keys.retrieveLegacySecretKey)
   *
   * @param string $key Required. The public key name linked to the requested
   * secret key in the format "projects/{project}/keys/{key}".
   * @param array $optParams Optional parameters.
   * @return GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse
   */
  
public function retrieveLegacySecretKey($key$optParams = [])
  {
    
$params = ['key' => $key];
    
$params array_merge($params$optParams);
    return 
$this->call('retrieveLegacySecretKey', [$params], GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse::class);
  }
}

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

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