!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/CloudResourceManager/Resource/   drwxr-xr-x
Free 12.96 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:     Organizations.php (6.96 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\CloudResourceManager\Resource;

use 
Google\Service\CloudResourceManager\GetIamPolicyRequest;
use 
Google\Service\CloudResourceManager\Organization;
use 
Google\Service\CloudResourceManager\Policy;
use 
Google\Service\CloudResourceManager\SearchOrganizationsResponse;
use 
Google\Service\CloudResourceManager\SetIamPolicyRequest;
use 
Google\Service\CloudResourceManager\TestIamPermissionsRequest;
use 
Google\Service\CloudResourceManager\TestIamPermissionsResponse;

/**
 * The "organizations" collection of methods.
 * Typical usage is:
 *  <code>
 *   $cloudresourcemanagerService = new Google\Service\CloudResourceManager(...);
 *   $organizations = $cloudresourcemanagerService->organizations;
 *  </code>
 */
class Organizations extends \Google\Service\Resource
{
  
/**
   * Fetches an organization resource identified by the specified resource name.
   * (organizations.get)
   *
   * @param string $name Required. The resource name of the Organization to fetch.
   * This is the organization's relative path in the API, formatted as
   * "organizations/[organizationId]". For example, "organizations/1234".
   * @param array $optParams Optional parameters.
   * @return Organization
   */
  
public function get($name$optParams = [])
  {
    
$params = ['name' => $name];
    
$params array_merge($params$optParams);
    return 
$this->call('get', [$params], Organization::class);
  }
  
/**
   * Gets the access control policy for an organization resource. The policy may
   * be empty if no such policy or resource exists. The `resource` field should be
   * the organization's resource name, for example: "organizations/123".
   * Authorization requires the IAM permission
   * `resourcemanager.organizations.getIamPolicy` on the specified organization.
   * (organizations.getIamPolicy)
   *
   * @param string $resource REQUIRED: The resource for which the policy is being
   * requested. See [Resource
   * names](https://cloud.google.com/apis/design/resource_names) for the
   * appropriate value for this field.
   * @param GetIamPolicyRequest $postBody
   * @param array $optParams Optional parameters.
   * @return Policy
   */
  
public function getIamPolicy($resourceGetIamPolicyRequest $postBody$optParams = [])
  {
    
$params = ['resource' => $resource'postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('getIamPolicy', [$params], Policy::class);
  }
  
/**
   * Searches organization resources that are visible to the user and satisfy the
   * specified filter. This method returns organizations in an unspecified order.
   * New organizations do not necessarily appear at the end of the results, and
   * may take a small amount of time to appear. Search will only return
   * organizations on which the user has the permission
   * `resourcemanager.organizations.get` (organizations.search)
   *
   * @param array $optParams Optional parameters.
   *
   * @opt_param int pageSize Optional. The maximum number of organizations to
   * return in the response. The server can return fewer organizations than
   * requested. If unspecified, server picks an appropriate default.
   * @opt_param string pageToken Optional. A pagination token returned from a
   * previous call to `SearchOrganizations` that indicates from where listing
   * should continue.
   * @opt_param string query Optional. An optional query string used to filter the
   * Organizations to return in the response. Query rules are case-insensitive.
   * ``` | Field | Description |
   * |------------------|--------------------------------------------| |
   * directoryCustomerId, owner.directoryCustomerId | Filters by directory
   * customer id. | | domain | Filters by domain. | ``` Organizations may be
   * queried by `directoryCustomerId` or by `domain`, where the domain is a G
   * Suite domain, for example: * Query `directorycustomerid:123456789` returns
   * Organization resources with `owner.directory_customer_id` equal to
   * `123456789`. * Query `domain:google.com` returns Organization resources
   * corresponding to the domain `google.com`.
   * @return SearchOrganizationsResponse
   */
  
public function search($optParams = [])
  {
    
$params = [];
    
$params array_merge($params$optParams);
    return 
$this->call('search', [$params], SearchOrganizationsResponse::class);
  }
  
/**
   * Sets the access control policy on an organization resource. Replaces any
   * existing policy. The `resource` field should be the organization's resource
   * name, for example: "organizations/123". Authorization requires the IAM
   * permission `resourcemanager.organizations.setIamPolicy` on the specified
   * organization. (organizations.setIamPolicy)
   *
   * @param string $resource REQUIRED: The resource for which the policy is being
   * specified. See [Resource
   * names](https://cloud.google.com/apis/design/resource_names) for the
   * appropriate value for this field.
   * @param SetIamPolicyRequest $postBody
   * @param array $optParams Optional parameters.
   * @return Policy
   */
  
public function setIamPolicy($resourceSetIamPolicyRequest $postBody$optParams = [])
  {
    
$params = ['resource' => $resource'postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('setIamPolicy', [$params], Policy::class);
  }
  
/**
   * Returns the permissions that a caller has on the specified organization. The
   * `resource` field should be the organization's resource name, for example:
   * "organizations/123". There are no permissions required for making this API
   * call. (organizations.testIamPermissions)
   *
   * @param string $resource REQUIRED: The resource for which the policy detail is
   * being requested. See [Resource
   * names](https://cloud.google.com/apis/design/resource_names) for the
   * appropriate value for this field.
   * @param TestIamPermissionsRequest $postBody
   * @param array $optParams Optional parameters.
   * @return TestIamPermissionsResponse
   */
  
public function testIamPermissions($resourceTestIamPermissionsRequest $postBody$optParams = [])
  {
    
$params = ['resource' => $resource'postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
  }
}

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

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