����JFIF��x�x����'
| Server IP : 78.140.185.180 / Your IP : 216.73.216.170 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/./././www/vendor/google/apiclient-services/src/ |
Upload File : |
<?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;
use Google\Client;
/**
* Service definition for CloudIdentity (v1).
*
* <p>
* API for provisioning and managing identity resources.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://cloud.google.com/identity/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class CloudIdentity extends \Google\Service
{
/** See your device details. */
const CLOUD_IDENTITY_DEVICES_LOOKUP =
"https://www.googleapis.com/auth/cloud-identity.devices.lookup";
/** See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group. */
const CLOUD_IDENTITY_GROUPS =
"https://www.googleapis.com/auth/cloud-identity.groups";
/** See any Cloud Identity Groups that you can access, including group members and their emails. */
const CLOUD_IDENTITY_GROUPS_READONLY =
"https://www.googleapis.com/auth/cloud-identity.groups.readonly";
/** See, edit, configure, and delete your Google Cloud Platform data. */
const CLOUD_PLATFORM =
"https://www.googleapis.com/auth/cloud-platform";
public $devices;
public $devices_deviceUsers;
public $devices_deviceUsers_clientStates;
public $groups;
public $groups_memberships;
/**
* Constructs the internal representation of the CloudIdentity service.
*
* @param Client|array $clientOrConfig The client used to deliver requests, or a
* config array to pass to a new Client instance.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct($clientOrConfig = [], $rootUrl = null)
{
parent::__construct($clientOrConfig);
$this->rootUrl = $rootUrl ?: 'https://cloudidentity.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'cloudidentity';
$this->devices = new CloudIdentity\Resource\Devices(
$this,
$this->serviceName,
'devices',
[
'methods' => [
'cancelWipe' => [
'path' => 'v1/{+name}:cancelWipe',
'httpMethod' => 'POST',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'create' => [
'path' => 'v1/devices',
'httpMethod' => 'POST',
'parameters' => [
'customer' => [
'location' => 'query',
'type' => 'string',
],
],
],'delete' => [
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'customer' => [
'location' => 'query',
'type' => 'string',
],
],
],'get' => [
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'customer' => [
'location' => 'query',
'type' => 'string',
],
],
],'list' => [
'path' => 'v1/devices',
'httpMethod' => 'GET',
'parameters' => [
'customer' => [
'location' => 'query',
'type' => 'string',
],
'filter' => [
'location' => 'query',
'type' => 'string',
],
'orderBy' => [
'location' => 'query',
'type' => 'string',
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
'view' => [
'location' => 'query',
'type' => 'string',
],
],
],'wipe' => [
'path' => 'v1/{+name}:wipe',
'httpMethod' => 'POST',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],
]
]
);
$this->devices_deviceUsers = new CloudIdentity\Resource\DevicesDeviceUsers(
$this,
$this->serviceName,
'deviceUsers',
[
'methods' => [
'approve' => [
'path' => 'v1/{+name}:approve',
'httpMethod' => 'POST',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'block' => [
'path' => 'v1/{+name}:block',
'httpMethod' => 'POST',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'cancelWipe' => [
'path' => 'v1/{+name}:cancelWipe',
'httpMethod' => 'POST',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'delete' => [
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'customer' => [
'location' => 'query',
'type' => 'string',
],
],
],'get' => [
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'customer' => [
'location' => 'query',
'type' => 'string',
],
],
],'list' => [
'path' => 'v1/{+parent}/deviceUsers',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'customer' => [
'location' => 'query',
'type' => 'string',
],
'filter' => [
'location' => 'query',
'type' => 'string',
],
'orderBy' => [
'location' => 'query',
'type' => 'string',
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
],
],'lookup' => [
'path' => 'v1/{+parent}:lookup',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'androidId' => [
'location' => 'query',
'type' => 'string',
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
'rawResourceId' => [
'location' => 'query',
'type' => 'string',
],
'userId' => [
'location' => 'query',
'type' => 'string',
],
],
],'wipe' => [
'path' => 'v1/{+name}:wipe',
'httpMethod' => 'POST',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],
]
]
);
$this->devices_deviceUsers_clientStates = new CloudIdentity\Resource\DevicesDeviceUsersClientStates(
$this,
$this->serviceName,
'clientStates',
[
'methods' => [
'get' => [
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'customer' => [
'location' => 'query',
'type' => 'string',
],
],
],'list' => [
'path' => 'v1/{+parent}/clientStates',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'customer' => [
'location' => 'query',
'type' => 'string',
],
'filter' => [
'location' => 'query',
'type' => 'string',
],
'orderBy' => [
'location' => 'query',
'type' => 'string',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
],
],'patch' => [
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'customer' => [
'location' => 'query',
'type' => 'string',
],
'updateMask' => [
'location' => 'query',
'type' => 'string',
],
],
],
]
]
);
$this->groups = new CloudIdentity\Resource\Groups(
$this,
$this->serviceName,
'groups',
[
'methods' => [
'create' => [
'path' => 'v1/groups',
'httpMethod' => 'POST',
'parameters' => [
'initialGroupConfig' => [
'location' => 'query',
'type' => 'string',
],
],
],'delete' => [
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'get' => [
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'list' => [
'path' => 'v1/groups',
'httpMethod' => 'GET',
'parameters' => [
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
'parent' => [
'location' => 'query',
'type' => 'string',
],
'view' => [
'location' => 'query',
'type' => 'string',
],
],
],'lookup' => [
'path' => 'v1/groups:lookup',
'httpMethod' => 'GET',
'parameters' => [
'groupKey.id' => [
'location' => 'query',
'type' => 'string',
],
'groupKey.namespace' => [
'location' => 'query',
'type' => 'string',
],
],
],'patch' => [
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'updateMask' => [
'location' => 'query',
'type' => 'string',
],
],
],'search' => [
'path' => 'v1/groups:search',
'httpMethod' => 'GET',
'parameters' => [
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
'query' => [
'location' => 'query',
'type' => 'string',
],
'view' => [
'location' => 'query',
'type' => 'string',
],
],
],
]
]
);
$this->groups_memberships = new CloudIdentity\Resource\GroupsMemberships(
$this,
$this->serviceName,
'memberships',
[
'methods' => [
'checkTransitiveMembership' => [
'path' => 'v1/{+parent}/memberships:checkTransitiveMembership',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'query' => [
'location' => 'query',
'type' => 'string',
],
],
],'create' => [
'path' => 'v1/{+parent}/memberships',
'httpMethod' => 'POST',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'delete' => [
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'get' => [
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'getMembershipGraph' => [
'path' => 'v1/{+parent}/memberships:getMembershipGraph',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'query' => [
'location' => 'query',
'type' => 'string',
],
],
],'list' => [
'path' => 'v1/{+parent}/memberships',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
'view' => [
'location' => 'query',
'type' => 'string',
],
],
],'lookup' => [
'path' => 'v1/{+parent}/memberships:lookup',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'memberKey.id' => [
'location' => 'query',
'type' => 'string',
],
'memberKey.namespace' => [
'location' => 'query',
'type' => 'string',
],
],
],'modifyMembershipRoles' => [
'path' => 'v1/{+name}:modifyMembershipRoles',
'httpMethod' => 'POST',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'searchTransitiveGroups' => [
'path' => 'v1/{+parent}/memberships:searchTransitiveGroups',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
'query' => [
'location' => 'query',
'type' => 'string',
],
],
],'searchTransitiveMemberships' => [
'path' => 'v1/{+parent}/memberships:searchTransitiveMemberships',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
],
],
]
]
);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudIdentity::class, 'Google_Service_CloudIdentity');