���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() 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/netphim/vendor/google/apiclient-services/src/Contentwarehouse/Resource/ |
<?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\Contentwarehouse\Resource; use Google\Service\Contentwarehouse\GoogleCloudContentwarehouseV1FetchAclRequest; use Google\Service\Contentwarehouse\GoogleCloudContentwarehouseV1FetchAclResponse; use Google\Service\Contentwarehouse\GoogleCloudContentwarehouseV1SetAclRequest; use Google\Service\Contentwarehouse\GoogleCloudContentwarehouseV1SetAclResponse; /** * The "projects" collection of methods. * Typical usage is: * <code> * $contentwarehouseService = new Google\Service\Contentwarehouse(...); * $projects = $contentwarehouseService->projects; * </code> */ class Projects extends \Google\Service\Resource { /** * Gets the access control policy for a resource. Returns NOT_FOUND error if the * resource does not exist. Returns an empty policy if the resource exists but * does not have a policy set. (projects.fetchAcl) * * @param string $resource Required. REQUIRED: The resource for which the policy * is being requested. Format for document: * projects/{project_number}/locations/{location}/documents/{document_id}. * Format for collection: * projects/{project_number}/locations/{location}/collections/{collection_id}. * Format for project: projects/{project_number}. * @param GoogleCloudContentwarehouseV1FetchAclRequest $postBody * @param array $optParams Optional parameters. * @return GoogleCloudContentwarehouseV1FetchAclResponse */ public function fetchAcl($resource, GoogleCloudContentwarehouseV1FetchAclRequest $postBody, $optParams = []) { $params = ['resource' => $resource, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('fetchAcl', [$params], GoogleCloudContentwarehouseV1FetchAclResponse::class); } /** * Sets the access control policy for a resource. Replaces any existing policy. * (projects.setAcl) * * @param string $resource Required. REQUIRED: The resource for which the policy * is being requested. Format for document: * projects/{project_number}/locations/{location}/documents/{document_id}. * Format for collection: * projects/{project_number}/locations/{location}/collections/{collection_id}. * Format for project: projects/{project_number}. * @param GoogleCloudContentwarehouseV1SetAclRequest $postBody * @param array $optParams Optional parameters. * @return GoogleCloudContentwarehouseV1SetAclResponse */ public function setAcl($resource, GoogleCloudContentwarehouseV1SetAclRequest $postBody, $optParams = []) { $params = ['resource' => $resource, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('setAcl', [$params], GoogleCloudContentwarehouseV1SetAclResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Projects::class, 'Google_Service_Contentwarehouse_Resource_Projects');