File: /var/www/ivs.kaunokolegija.lt/laravel/vendor/google/apiclient-services/src/CloudIdentity.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;
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
{
/** Private Service: https://www.googleapis.com/auth/cloud-identity.devices. */
const CLOUD_IDENTITY_DEVICES =
"https://www.googleapis.com/auth/cloud-identity.devices";
/** See your device details. */
const CLOUD_IDENTITY_DEVICES_LOOKUP =
"https://www.googleapis.com/auth/cloud-identity.devices.lookup";
/** Private Service: https://www.googleapis.com/auth/cloud-identity.devices.readonly. */
const CLOUD_IDENTITY_DEVICES_READONLY =
"https://www.googleapis.com/auth/cloud-identity.devices.readonly";
/** 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 and edit all of the Inbound SSO profiles and their assignments to any Org Units or Google Groups in your Cloud Identity Organization.. */
const CLOUD_IDENTITY_INBOUNDSSO =
"https://www.googleapis.com/auth/cloud-identity.inboundsso";
/** See all of the Inbound SSO profiles and their assignments to any Org Units or Google Groups in your Cloud Identity Organization.. */
const CLOUD_IDENTITY_INBOUNDSSO_READONLY =
"https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly";
/** See and edit policies in your Cloud Identity Organization.. */
const CLOUD_IDENTITY_POLICIES =
"https://www.googleapis.com/auth/cloud-identity.policies";
/** See policies in your Cloud Identity Organization.. */
const CLOUD_IDENTITY_POLICIES_READONLY =
"https://www.googleapis.com/auth/cloud-identity.policies.readonly";
/** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
const CLOUD_PLATFORM =
"https://www.googleapis.com/auth/cloud-platform";
public $customers_userinvitations;
public $devices;
public $devices_deviceUsers;
public $devices_deviceUsers_clientStates;
public $groups;
public $groups_memberships;
public $inboundSamlSsoProfiles;
public $inboundSamlSsoProfiles_idpCredentials;
public $inboundSsoAssignments;
public $policies;
public $rootUrlTemplate;
/**
* 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->rootUrlTemplate = $rootUrl ?: 'https://cloudidentity.UNIVERSE_DOMAIN/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'cloudidentity';
$this->customers_userinvitations = new CloudIdentity\Resource\CustomersUserinvitations(
$this,
$this->serviceName,
'userinvitations',
[
'methods' => [
'cancel' => [
'path' => 'v1/{+name}:cancel',
'httpMethod' => 'POST',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'get' => [
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'isInvitableUser' => [
'path' => 'v1/{+name}:isInvitableUser',
'httpMethod' => 'GET',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'list' => [
'path' => 'v1/{+parent}/userinvitations',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'filter' => [
'location' => 'query',
'type' => 'string',
],
'orderBy' => [
'location' => 'query',
'type' => 'string',
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
],
],'send' => [
'path' => 'v1/{+name}:send',
'httpMethod' => 'POST',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],
]
]
);
$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,
],
],
],'getSecuritySettings' => [
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'readMask' => [
'location' => 'query',
'type' => 'string',
],
],
],'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',
],
],
],'updateSecuritySettings' => [
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'updateMask' => [
'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,
],
],
],'searchDirectGroups' => [
'path' => 'v1/{+parent}/memberships:searchDirectGroups',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'orderBy' => [
'location' => 'query',
'type' => 'string',
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
'query' => [
'location' => 'query',
'type' => 'string',
],
],
],'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',
],
],
],
]
]
);
$this->inboundSamlSsoProfiles = new CloudIdentity\Resource\InboundSamlSsoProfiles(
$this,
$this->serviceName,
'inboundSamlSsoProfiles',
[
'methods' => [
'create' => [
'path' => 'v1/inboundSamlSsoProfiles',
'httpMethod' => 'POST',
'parameters' => [],
],'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/inboundSamlSsoProfiles',
'httpMethod' => 'GET',
'parameters' => [
'filter' => [
'location' => 'query',
'type' => 'string',
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
],
],'patch' => [
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'updateMask' => [
'location' => 'query',
'type' => 'string',
],
],
],
]
]
);
$this->inboundSamlSsoProfiles_idpCredentials = new CloudIdentity\Resource\InboundSamlSsoProfilesIdpCredentials(
$this,
$this->serviceName,
'idpCredentials',
[
'methods' => [
'add' => [
'path' => 'v1/{+parent}/idpCredentials:add',
'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,
],
],
],'list' => [
'path' => 'v1/{+parent}/idpCredentials',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
],
],
]
]
);
$this->inboundSsoAssignments = new CloudIdentity\Resource\InboundSsoAssignments(
$this,
$this->serviceName,
'inboundSsoAssignments',
[
'methods' => [
'create' => [
'path' => 'v1/inboundSsoAssignments',
'httpMethod' => 'POST',
'parameters' => [],
],'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/inboundSsoAssignments',
'httpMethod' => 'GET',
'parameters' => [
'filter' => [
'location' => 'query',
'type' => 'string',
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
],
],'patch' => [
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'updateMask' => [
'location' => 'query',
'type' => 'string',
],
],
],
]
]
);
$this->policies = new CloudIdentity\Resource\Policies(
$this,
$this->serviceName,
'policies',
[
'methods' => [
'get' => [
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'list' => [
'path' => 'v1/policies',
'httpMethod' => 'GET',
'parameters' => [
'filter' => [
'location' => 'query',
'type' => 'string',
],
'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');