Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class AddIdpCredentialOperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddIdpCredentialOperationMetadata::class, 'Google_Service_CloudIdentity_AddIdpCredentialOperationMetadata');

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class AddIdpCredentialRequest extends \Google\Model
{
/**
* @var string
*/
public $pemData;
/**
* @param string
*/
public function setPemData($pemData)
{
$this->pemData = $pemData;
}
/**
* @return string
*/
public function getPemData()
{
return $this->pemData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddIdpCredentialRequest::class, 'Google_Service_CloudIdentity_AddIdpCredentialRequest');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class CancelUserInvitationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelUserInvitationRequest::class, 'Google_Service_CloudIdentity_CancelUserInvitationRequest');

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class CheckTransitiveMembershipResponse extends \Google\Model
{
/**
* @var bool
*/
public $hasMembership;
/**
* @param bool
*/
public function setHasMembership($hasMembership)
{
$this->hasMembership = $hasMembership;
}
/**
* @return bool
*/
public function getHasMembership()
{
return $this->hasMembership;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckTransitiveMembershipResponse::class, 'Google_Service_CloudIdentity_CheckTransitiveMembershipResponse');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class CreateGroupMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateGroupMetadata::class, 'Google_Service_CloudIdentity_CreateGroupMetadata');

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class CreateInboundSamlSsoProfileOperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateInboundSamlSsoProfileOperationMetadata::class, 'Google_Service_CloudIdentity_CreateInboundSamlSsoProfileOperationMetadata');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class CreateInboundSsoAssignmentOperationMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateInboundSsoAssignmentOperationMetadata::class, 'Google_Service_CloudIdentity_CreateInboundSsoAssignmentOperationMetadata');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class CreateMembershipMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateMembershipMetadata::class, 'Google_Service_CloudIdentity_CreateMembershipMetadata');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class DeleteGroupMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteGroupMetadata::class, 'Google_Service_CloudIdentity_DeleteGroupMetadata');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class DeleteIdpCredentialOperationMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteIdpCredentialOperationMetadata::class, 'Google_Service_CloudIdentity_DeleteIdpCredentialOperationMetadata');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class DeleteInboundSamlSsoProfileOperationMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteInboundSamlSsoProfileOperationMetadata::class, 'Google_Service_CloudIdentity_DeleteInboundSamlSsoProfileOperationMetadata');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class DeleteInboundSsoAssignmentOperationMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteInboundSsoAssignmentOperationMetadata::class, 'Google_Service_CloudIdentity_DeleteInboundSsoAssignmentOperationMetadata');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class DeleteMembershipMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteMembershipMetadata::class, 'Google_Service_CloudIdentity_DeleteMembershipMetadata');

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class DsaPublicKeyInfo extends \Google\Model
{
/**
* @var int
*/
public $keySize;
/**
* @param int
*/
public function setKeySize($keySize)
{
$this->keySize = $keySize;
}
/**
* @return int
*/
public function getKeySize()
{
return $this->keySize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DsaPublicKeyInfo::class, 'Google_Service_CloudIdentity_DsaPublicKeyInfo');

View File

@@ -0,0 +1,59 @@
<?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\CloudIdentity;
class DynamicGroupMetadata extends \Google\Collection
{
protected $collection_key = 'queries';
protected $queriesType = DynamicGroupQuery::class;
protected $queriesDataType = 'array';
protected $statusType = DynamicGroupStatus::class;
protected $statusDataType = '';
/**
* @param DynamicGroupQuery[]
*/
public function setQueries($queries)
{
$this->queries = $queries;
}
/**
* @return DynamicGroupQuery[]
*/
public function getQueries()
{
return $this->queries;
}
/**
* @param DynamicGroupStatus
*/
public function setStatus(DynamicGroupStatus $status)
{
$this->status = $status;
}
/**
* @return DynamicGroupStatus
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DynamicGroupMetadata::class, 'Google_Service_CloudIdentity_DynamicGroupMetadata');

View File

@@ -0,0 +1,62 @@
<?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\CloudIdentity;
class DynamicGroupQuery extends \Google\Model
{
/**
* @var string
*/
public $query;
/**
* @var string
*/
public $resourceType;
/**
* @param string
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* @return string
*/
public function getQuery()
{
return $this->query;
}
/**
* @param string
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DynamicGroupQuery::class, 'Google_Service_CloudIdentity_DynamicGroupQuery');

View File

@@ -0,0 +1,62 @@
<?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\CloudIdentity;
class DynamicGroupStatus extends \Google\Model
{
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $statusTime;
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setStatusTime($statusTime)
{
$this->statusTime = $statusTime;
}
/**
* @return string
*/
public function getStatusTime()
{
return $this->statusTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DynamicGroupStatus::class, 'Google_Service_CloudIdentity_DynamicGroupStatus');

View File

@@ -0,0 +1,62 @@
<?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\CloudIdentity;
class EntityKey extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $namespace;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setNamespace($namespace)
{
$this->namespace = $namespace;
}
/**
* @return string
*/
public function getNamespace()
{
return $this->namespace;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EntityKey::class, 'Google_Service_CloudIdentity_EntityKey');

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class ExpiryDetail extends \Google\Model
{
/**
* @var string
*/
public $expireTime;
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExpiryDetail::class, 'Google_Service_CloudIdentity_ExpiryDetail');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class GetMembershipGraphMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetMembershipGraphMetadata::class, 'Google_Service_CloudIdentity_GetMembershipGraphMetadata');

View File

@@ -0,0 +1,59 @@
<?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\CloudIdentity;
class GetMembershipGraphResponse extends \Google\Collection
{
protected $collection_key = 'groups';
protected $adjacencyListType = MembershipAdjacencyList::class;
protected $adjacencyListDataType = 'array';
protected $groupsType = Group::class;
protected $groupsDataType = 'array';
/**
* @param MembershipAdjacencyList[]
*/
public function setAdjacencyList($adjacencyList)
{
$this->adjacencyList = $adjacencyList;
}
/**
* @return MembershipAdjacencyList[]
*/
public function getAdjacencyList()
{
return $this->adjacencyList;
}
/**
* @param Group[]
*/
public function setGroups($groups)
{
$this->groups = $groups;
}
/**
* @return Group[]
*/
public function getGroups()
{
return $this->groups;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetMembershipGraphResponse::class, 'Google_Service_CloudIdentity_GetMembershipGraphResponse');

View File

@@ -0,0 +1,170 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1AndroidAttributes extends \Google\Model
{
/**
* @var bool
*/
public $ctsProfileMatch;
/**
* @var bool
*/
public $enabledUnknownSources;
/**
* @var bool
*/
public $hasPotentiallyHarmfulApps;
/**
* @var bool
*/
public $ownerProfileAccount;
/**
* @var string
*/
public $ownershipPrivilege;
/**
* @var bool
*/
public $supportsWorkProfile;
/**
* @var bool
*/
public $verifiedBoot;
/**
* @var bool
*/
public $verifyAppsEnabled;
/**
* @param bool
*/
public function setCtsProfileMatch($ctsProfileMatch)
{
$this->ctsProfileMatch = $ctsProfileMatch;
}
/**
* @return bool
*/
public function getCtsProfileMatch()
{
return $this->ctsProfileMatch;
}
/**
* @param bool
*/
public function setEnabledUnknownSources($enabledUnknownSources)
{
$this->enabledUnknownSources = $enabledUnknownSources;
}
/**
* @return bool
*/
public function getEnabledUnknownSources()
{
return $this->enabledUnknownSources;
}
/**
* @param bool
*/
public function setHasPotentiallyHarmfulApps($hasPotentiallyHarmfulApps)
{
$this->hasPotentiallyHarmfulApps = $hasPotentiallyHarmfulApps;
}
/**
* @return bool
*/
public function getHasPotentiallyHarmfulApps()
{
return $this->hasPotentiallyHarmfulApps;
}
/**
* @param bool
*/
public function setOwnerProfileAccount($ownerProfileAccount)
{
$this->ownerProfileAccount = $ownerProfileAccount;
}
/**
* @return bool
*/
public function getOwnerProfileAccount()
{
return $this->ownerProfileAccount;
}
/**
* @param string
*/
public function setOwnershipPrivilege($ownershipPrivilege)
{
$this->ownershipPrivilege = $ownershipPrivilege;
}
/**
* @return string
*/
public function getOwnershipPrivilege()
{
return $this->ownershipPrivilege;
}
/**
* @param bool
*/
public function setSupportsWorkProfile($supportsWorkProfile)
{
$this->supportsWorkProfile = $supportsWorkProfile;
}
/**
* @return bool
*/
public function getSupportsWorkProfile()
{
return $this->supportsWorkProfile;
}
/**
* @param bool
*/
public function setVerifiedBoot($verifiedBoot)
{
$this->verifiedBoot = $verifiedBoot;
}
/**
* @return bool
*/
public function getVerifiedBoot()
{
return $this->verifiedBoot;
}
/**
* @param bool
*/
public function setVerifyAppsEnabled($verifyAppsEnabled)
{
$this->verifyAppsEnabled = $verifyAppsEnabled;
}
/**
* @return bool
*/
public function getVerifyAppsEnabled()
{
return $this->verifyAppsEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1AndroidAttributes::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1AndroidAttributes');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata');

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest extends \Google\Model
{
/**
* @var string
*/
public $customer;
/**
* @param string
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest');

View File

@@ -0,0 +1,42 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse extends \Google\Model
{
protected $deviceUserType = GoogleAppsCloudidentityDevicesV1DeviceUser::class;
protected $deviceUserDataType = '';
/**
* @param GoogleAppsCloudidentityDevicesV1DeviceUser
*/
public function setDeviceUser(GoogleAppsCloudidentityDevicesV1DeviceUser $deviceUser)
{
$this->deviceUser = $deviceUser;
}
/**
* @return GoogleAppsCloudidentityDevicesV1DeviceUser
*/
public function getDeviceUser()
{
return $this->deviceUser;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata');

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest extends \Google\Model
{
/**
* @var string
*/
public $customer;
/**
* @param string
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest');

View File

@@ -0,0 +1,42 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse extends \Google\Model
{
protected $deviceUserType = GoogleAppsCloudidentityDevicesV1DeviceUser::class;
protected $deviceUserDataType = '';
/**
* @param GoogleAppsCloudidentityDevicesV1DeviceUser
*/
public function setDeviceUser(GoogleAppsCloudidentityDevicesV1DeviceUser $deviceUser)
{
$this->deviceUser = $deviceUser;
}
/**
* @return GoogleAppsCloudidentityDevicesV1DeviceUser
*/
public function getDeviceUser()
{
return $this->deviceUser;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse');

View File

@@ -0,0 +1,78 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1BrowserAttributes extends \Google\Model
{
protected $chromeBrowserInfoType = GoogleAppsCloudidentityDevicesV1BrowserInfo::class;
protected $chromeBrowserInfoDataType = '';
/**
* @var string
*/
public $chromeProfileId;
/**
* @var string
*/
public $lastProfileSyncTime;
/**
* @param GoogleAppsCloudidentityDevicesV1BrowserInfo
*/
public function setChromeBrowserInfo(GoogleAppsCloudidentityDevicesV1BrowserInfo $chromeBrowserInfo)
{
$this->chromeBrowserInfo = $chromeBrowserInfo;
}
/**
* @return GoogleAppsCloudidentityDevicesV1BrowserInfo
*/
public function getChromeBrowserInfo()
{
return $this->chromeBrowserInfo;
}
/**
* @param string
*/
public function setChromeProfileId($chromeProfileId)
{
$this->chromeProfileId = $chromeProfileId;
}
/**
* @return string
*/
public function getChromeProfileId()
{
return $this->chromeProfileId;
}
/**
* @param string
*/
public function setLastProfileSyncTime($lastProfileSyncTime)
{
$this->lastProfileSyncTime = $lastProfileSyncTime;
}
/**
* @return string
*/
public function getLastProfileSyncTime()
{
return $this->lastProfileSyncTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1BrowserAttributes::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1BrowserAttributes');

View File

@@ -0,0 +1,278 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1BrowserInfo extends \Google\Model
{
/**
* @var string
*/
public $browserManagementState;
/**
* @var string
*/
public $browserVersion;
/**
* @var bool
*/
public $isBuiltInDnsClientEnabled;
/**
* @var bool
*/
public $isBulkDataEntryAnalysisEnabled;
/**
* @var bool
*/
public $isChromeCleanupEnabled;
/**
* @var bool
*/
public $isChromeRemoteDesktopAppBlocked;
/**
* @var bool
*/
public $isFileDownloadAnalysisEnabled;
/**
* @var bool
*/
public $isFileUploadAnalysisEnabled;
/**
* @var bool
*/
public $isRealtimeUrlCheckEnabled;
/**
* @var bool
*/
public $isSecurityEventAnalysisEnabled;
/**
* @var bool
*/
public $isSiteIsolationEnabled;
/**
* @var bool
*/
public $isThirdPartyBlockingEnabled;
/**
* @var string
*/
public $passwordProtectionWarningTrigger;
/**
* @var string
*/
public $safeBrowsingProtectionLevel;
/**
* @param string
*/
public function setBrowserManagementState($browserManagementState)
{
$this->browserManagementState = $browserManagementState;
}
/**
* @return string
*/
public function getBrowserManagementState()
{
return $this->browserManagementState;
}
/**
* @param string
*/
public function setBrowserVersion($browserVersion)
{
$this->browserVersion = $browserVersion;
}
/**
* @return string
*/
public function getBrowserVersion()
{
return $this->browserVersion;
}
/**
* @param bool
*/
public function setIsBuiltInDnsClientEnabled($isBuiltInDnsClientEnabled)
{
$this->isBuiltInDnsClientEnabled = $isBuiltInDnsClientEnabled;
}
/**
* @return bool
*/
public function getIsBuiltInDnsClientEnabled()
{
return $this->isBuiltInDnsClientEnabled;
}
/**
* @param bool
*/
public function setIsBulkDataEntryAnalysisEnabled($isBulkDataEntryAnalysisEnabled)
{
$this->isBulkDataEntryAnalysisEnabled = $isBulkDataEntryAnalysisEnabled;
}
/**
* @return bool
*/
public function getIsBulkDataEntryAnalysisEnabled()
{
return $this->isBulkDataEntryAnalysisEnabled;
}
/**
* @param bool
*/
public function setIsChromeCleanupEnabled($isChromeCleanupEnabled)
{
$this->isChromeCleanupEnabled = $isChromeCleanupEnabled;
}
/**
* @return bool
*/
public function getIsChromeCleanupEnabled()
{
return $this->isChromeCleanupEnabled;
}
/**
* @param bool
*/
public function setIsChromeRemoteDesktopAppBlocked($isChromeRemoteDesktopAppBlocked)
{
$this->isChromeRemoteDesktopAppBlocked = $isChromeRemoteDesktopAppBlocked;
}
/**
* @return bool
*/
public function getIsChromeRemoteDesktopAppBlocked()
{
return $this->isChromeRemoteDesktopAppBlocked;
}
/**
* @param bool
*/
public function setIsFileDownloadAnalysisEnabled($isFileDownloadAnalysisEnabled)
{
$this->isFileDownloadAnalysisEnabled = $isFileDownloadAnalysisEnabled;
}
/**
* @return bool
*/
public function getIsFileDownloadAnalysisEnabled()
{
return $this->isFileDownloadAnalysisEnabled;
}
/**
* @param bool
*/
public function setIsFileUploadAnalysisEnabled($isFileUploadAnalysisEnabled)
{
$this->isFileUploadAnalysisEnabled = $isFileUploadAnalysisEnabled;
}
/**
* @return bool
*/
public function getIsFileUploadAnalysisEnabled()
{
return $this->isFileUploadAnalysisEnabled;
}
/**
* @param bool
*/
public function setIsRealtimeUrlCheckEnabled($isRealtimeUrlCheckEnabled)
{
$this->isRealtimeUrlCheckEnabled = $isRealtimeUrlCheckEnabled;
}
/**
* @return bool
*/
public function getIsRealtimeUrlCheckEnabled()
{
return $this->isRealtimeUrlCheckEnabled;
}
/**
* @param bool
*/
public function setIsSecurityEventAnalysisEnabled($isSecurityEventAnalysisEnabled)
{
$this->isSecurityEventAnalysisEnabled = $isSecurityEventAnalysisEnabled;
}
/**
* @return bool
*/
public function getIsSecurityEventAnalysisEnabled()
{
return $this->isSecurityEventAnalysisEnabled;
}
/**
* @param bool
*/
public function setIsSiteIsolationEnabled($isSiteIsolationEnabled)
{
$this->isSiteIsolationEnabled = $isSiteIsolationEnabled;
}
/**
* @return bool
*/
public function getIsSiteIsolationEnabled()
{
return $this->isSiteIsolationEnabled;
}
/**
* @param bool
*/
public function setIsThirdPartyBlockingEnabled($isThirdPartyBlockingEnabled)
{
$this->isThirdPartyBlockingEnabled = $isThirdPartyBlockingEnabled;
}
/**
* @return bool
*/
public function getIsThirdPartyBlockingEnabled()
{
return $this->isThirdPartyBlockingEnabled;
}
/**
* @param string
*/
public function setPasswordProtectionWarningTrigger($passwordProtectionWarningTrigger)
{
$this->passwordProtectionWarningTrigger = $passwordProtectionWarningTrigger;
}
/**
* @return string
*/
public function getPasswordProtectionWarningTrigger()
{
return $this->passwordProtectionWarningTrigger;
}
/**
* @param string
*/
public function setSafeBrowsingProtectionLevel($safeBrowsingProtectionLevel)
{
$this->safeBrowsingProtectionLevel = $safeBrowsingProtectionLevel;
}
/**
* @return string
*/
public function getSafeBrowsingProtectionLevel()
{
return $this->safeBrowsingProtectionLevel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1BrowserInfo::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1BrowserInfo');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata');

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest extends \Google\Model
{
/**
* @var string
*/
public $customer;
/**
* @param string
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest');

View File

@@ -0,0 +1,42 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse extends \Google\Model
{
protected $deviceType = GoogleAppsCloudidentityDevicesV1Device::class;
protected $deviceDataType = '';
/**
* @param GoogleAppsCloudidentityDevicesV1Device
*/
public function setDevice(GoogleAppsCloudidentityDevicesV1Device $device)
{
$this->device = $device;
}
/**
* @return GoogleAppsCloudidentityDevicesV1Device
*/
public function getDevice()
{
return $this->device;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata');

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest extends \Google\Model
{
/**
* @var string
*/
public $customer;
/**
* @param string
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest');

View File

@@ -0,0 +1,42 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse extends \Google\Model
{
protected $deviceUserType = GoogleAppsCloudidentityDevicesV1DeviceUser::class;
protected $deviceUserDataType = '';
/**
* @param GoogleAppsCloudidentityDevicesV1DeviceUser
*/
public function setDeviceUser(GoogleAppsCloudidentityDevicesV1DeviceUser $deviceUser)
{
$this->deviceUser = $deviceUser;
}
/**
* @return GoogleAppsCloudidentityDevicesV1DeviceUser
*/
public function getDeviceUser()
{
return $this->deviceUser;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse');

View File

@@ -0,0 +1,186 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1CertificateAttributes extends \Google\Model
{
protected $certificateTemplateType = GoogleAppsCloudidentityDevicesV1CertificateTemplate::class;
protected $certificateTemplateDataType = '';
/**
* @var string
*/
public $fingerprint;
/**
* @var string
*/
public $issuer;
/**
* @var string
*/
public $serialNumber;
/**
* @var string
*/
public $subject;
/**
* @var string
*/
public $thumbprint;
/**
* @var string
*/
public $validationState;
/**
* @var string
*/
public $validityExpirationTime;
/**
* @var string
*/
public $validityStartTime;
/**
* @param GoogleAppsCloudidentityDevicesV1CertificateTemplate
*/
public function setCertificateTemplate(GoogleAppsCloudidentityDevicesV1CertificateTemplate $certificateTemplate)
{
$this->certificateTemplate = $certificateTemplate;
}
/**
* @return GoogleAppsCloudidentityDevicesV1CertificateTemplate
*/
public function getCertificateTemplate()
{
return $this->certificateTemplate;
}
/**
* @param string
*/
public function setFingerprint($fingerprint)
{
$this->fingerprint = $fingerprint;
}
/**
* @return string
*/
public function getFingerprint()
{
return $this->fingerprint;
}
/**
* @param string
*/
public function setIssuer($issuer)
{
$this->issuer = $issuer;
}
/**
* @return string
*/
public function getIssuer()
{
return $this->issuer;
}
/**
* @param string
*/
public function setSerialNumber($serialNumber)
{
$this->serialNumber = $serialNumber;
}
/**
* @return string
*/
public function getSerialNumber()
{
return $this->serialNumber;
}
/**
* @param string
*/
public function setSubject($subject)
{
$this->subject = $subject;
}
/**
* @return string
*/
public function getSubject()
{
return $this->subject;
}
/**
* @param string
*/
public function setThumbprint($thumbprint)
{
$this->thumbprint = $thumbprint;
}
/**
* @return string
*/
public function getThumbprint()
{
return $this->thumbprint;
}
/**
* @param string
*/
public function setValidationState($validationState)
{
$this->validationState = $validationState;
}
/**
* @return string
*/
public function getValidationState()
{
return $this->validationState;
}
/**
* @param string
*/
public function setValidityExpirationTime($validityExpirationTime)
{
$this->validityExpirationTime = $validityExpirationTime;
}
/**
* @return string
*/
public function getValidityExpirationTime()
{
return $this->validityExpirationTime;
}
/**
* @param string
*/
public function setValidityStartTime($validityStartTime)
{
$this->validityStartTime = $validityStartTime;
}
/**
* @return string
*/
public function getValidityStartTime()
{
return $this->validityStartTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1CertificateAttributes::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1CertificateAttributes');

View File

@@ -0,0 +1,80 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1CertificateTemplate extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var int
*/
public $majorVersion;
/**
* @var int
*/
public $minorVersion;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param int
*/
public function setMajorVersion($majorVersion)
{
$this->majorVersion = $majorVersion;
}
/**
* @return int
*/
public function getMajorVersion()
{
return $this->majorVersion;
}
/**
* @param int
*/
public function setMinorVersion($minorVersion)
{
$this->minorVersion = $minorVersion;
}
/**
* @return int
*/
public function getMinorVersion()
{
return $this->minorVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1CertificateTemplate::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1CertificateTemplate');

View File

@@ -0,0 +1,241 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1ClientState extends \Google\Collection
{
protected $collection_key = 'assetTags';
/**
* @var string[]
*/
public $assetTags;
/**
* @var string
*/
public $complianceState;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $customId;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $healthScore;
protected $keyValuePairsType = GoogleAppsCloudidentityDevicesV1CustomAttributeValue::class;
protected $keyValuePairsDataType = 'map';
/**
* @var string
*/
public $lastUpdateTime;
/**
* @var string
*/
public $managed;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $ownerType;
/**
* @var string
*/
public $scoreReason;
/**
* @param string[]
*/
public function setAssetTags($assetTags)
{
$this->assetTags = $assetTags;
}
/**
* @return string[]
*/
public function getAssetTags()
{
return $this->assetTags;
}
/**
* @param string
*/
public function setComplianceState($complianceState)
{
$this->complianceState = $complianceState;
}
/**
* @return string
*/
public function getComplianceState()
{
return $this->complianceState;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setCustomId($customId)
{
$this->customId = $customId;
}
/**
* @return string
*/
public function getCustomId()
{
return $this->customId;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setHealthScore($healthScore)
{
$this->healthScore = $healthScore;
}
/**
* @return string
*/
public function getHealthScore()
{
return $this->healthScore;
}
/**
* @param GoogleAppsCloudidentityDevicesV1CustomAttributeValue[]
*/
public function setKeyValuePairs($keyValuePairs)
{
$this->keyValuePairs = $keyValuePairs;
}
/**
* @return GoogleAppsCloudidentityDevicesV1CustomAttributeValue[]
*/
public function getKeyValuePairs()
{
return $this->keyValuePairs;
}
/**
* @param string
*/
public function setLastUpdateTime($lastUpdateTime)
{
$this->lastUpdateTime = $lastUpdateTime;
}
/**
* @return string
*/
public function getLastUpdateTime()
{
return $this->lastUpdateTime;
}
/**
* @param string
*/
public function setManaged($managed)
{
$this->managed = $managed;
}
/**
* @return string
*/
public function getManaged()
{
return $this->managed;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setOwnerType($ownerType)
{
$this->ownerType = $ownerType;
}
/**
* @return string
*/
public function getOwnerType()
{
return $this->ownerType;
}
/**
* @param string
*/
public function setScoreReason($scoreReason)
{
$this->scoreReason = $scoreReason;
}
/**
* @return string
*/
public function getScoreReason()
{
return $this->scoreReason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1ClientState::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1ClientState');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata');

View File

@@ -0,0 +1,71 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1CustomAttributeValue extends \Google\Model
{
/**
* @var bool
*/
public $boolValue;
public $numberValue;
/**
* @var string
*/
public $stringValue;
/**
* @param bool
*/
public function setBoolValue($boolValue)
{
$this->boolValue = $boolValue;
}
/**
* @return bool
*/
public function getBoolValue()
{
return $this->boolValue;
}
public function setNumberValue($numberValue)
{
$this->numberValue = $numberValue;
}
public function getNumberValue()
{
return $this->numberValue;
}
/**
* @param string
*/
public function setStringValue($stringValue)
{
$this->stringValue = $stringValue;
}
/**
* @return string
*/
public function getStringValue()
{
return $this->stringValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1CustomAttributeValue::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1CustomAttributeValue');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata');

View File

@@ -0,0 +1,599 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1Device extends \Google\Collection
{
protected $collection_key = 'wifiMacAddresses';
protected $androidSpecificAttributesType = GoogleAppsCloudidentityDevicesV1AndroidAttributes::class;
protected $androidSpecificAttributesDataType = '';
/**
* @var string
*/
public $assetTag;
/**
* @var string
*/
public $basebandVersion;
/**
* @var string
*/
public $bootloaderVersion;
/**
* @var string
*/
public $brand;
/**
* @var string
*/
public $buildNumber;
/**
* @var string
*/
public $compromisedState;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $deviceId;
/**
* @var string
*/
public $deviceType;
/**
* @var bool
*/
public $enabledDeveloperOptions;
/**
* @var bool
*/
public $enabledUsbDebugging;
/**
* @var string
*/
public $encryptionState;
protected $endpointVerificationSpecificAttributesType = GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes::class;
protected $endpointVerificationSpecificAttributesDataType = '';
/**
* @var string
*/
public $hostname;
/**
* @var string
*/
public $imei;
/**
* @var string
*/
public $kernelVersion;
/**
* @var string
*/
public $lastSyncTime;
/**
* @var string
*/
public $managementState;
/**
* @var string
*/
public $manufacturer;
/**
* @var string
*/
public $meid;
/**
* @var string
*/
public $model;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $networkOperator;
/**
* @var string
*/
public $osVersion;
/**
* @var string[]
*/
public $otherAccounts;
/**
* @var string
*/
public $ownerType;
/**
* @var string
*/
public $releaseVersion;
/**
* @var string
*/
public $securityPatchTime;
/**
* @var string
*/
public $serialNumber;
/**
* @var string
*/
public $unifiedDeviceId;
/**
* @var string[]
*/
public $wifiMacAddresses;
/**
* @param GoogleAppsCloudidentityDevicesV1AndroidAttributes
*/
public function setAndroidSpecificAttributes(GoogleAppsCloudidentityDevicesV1AndroidAttributes $androidSpecificAttributes)
{
$this->androidSpecificAttributes = $androidSpecificAttributes;
}
/**
* @return GoogleAppsCloudidentityDevicesV1AndroidAttributes
*/
public function getAndroidSpecificAttributes()
{
return $this->androidSpecificAttributes;
}
/**
* @param string
*/
public function setAssetTag($assetTag)
{
$this->assetTag = $assetTag;
}
/**
* @return string
*/
public function getAssetTag()
{
return $this->assetTag;
}
/**
* @param string
*/
public function setBasebandVersion($basebandVersion)
{
$this->basebandVersion = $basebandVersion;
}
/**
* @return string
*/
public function getBasebandVersion()
{
return $this->basebandVersion;
}
/**
* @param string
*/
public function setBootloaderVersion($bootloaderVersion)
{
$this->bootloaderVersion = $bootloaderVersion;
}
/**
* @return string
*/
public function getBootloaderVersion()
{
return $this->bootloaderVersion;
}
/**
* @param string
*/
public function setBrand($brand)
{
$this->brand = $brand;
}
/**
* @return string
*/
public function getBrand()
{
return $this->brand;
}
/**
* @param string
*/
public function setBuildNumber($buildNumber)
{
$this->buildNumber = $buildNumber;
}
/**
* @return string
*/
public function getBuildNumber()
{
return $this->buildNumber;
}
/**
* @param string
*/
public function setCompromisedState($compromisedState)
{
$this->compromisedState = $compromisedState;
}
/**
* @return string
*/
public function getCompromisedState()
{
return $this->compromisedState;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
/**
* @return string
*/
public function getDeviceId()
{
return $this->deviceId;
}
/**
* @param string
*/
public function setDeviceType($deviceType)
{
$this->deviceType = $deviceType;
}
/**
* @return string
*/
public function getDeviceType()
{
return $this->deviceType;
}
/**
* @param bool
*/
public function setEnabledDeveloperOptions($enabledDeveloperOptions)
{
$this->enabledDeveloperOptions = $enabledDeveloperOptions;
}
/**
* @return bool
*/
public function getEnabledDeveloperOptions()
{
return $this->enabledDeveloperOptions;
}
/**
* @param bool
*/
public function setEnabledUsbDebugging($enabledUsbDebugging)
{
$this->enabledUsbDebugging = $enabledUsbDebugging;
}
/**
* @return bool
*/
public function getEnabledUsbDebugging()
{
return $this->enabledUsbDebugging;
}
/**
* @param string
*/
public function setEncryptionState($encryptionState)
{
$this->encryptionState = $encryptionState;
}
/**
* @return string
*/
public function getEncryptionState()
{
return $this->encryptionState;
}
/**
* @param GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes
*/
public function setEndpointVerificationSpecificAttributes(GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes $endpointVerificationSpecificAttributes)
{
$this->endpointVerificationSpecificAttributes = $endpointVerificationSpecificAttributes;
}
/**
* @return GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes
*/
public function getEndpointVerificationSpecificAttributes()
{
return $this->endpointVerificationSpecificAttributes;
}
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @param string
*/
public function setImei($imei)
{
$this->imei = $imei;
}
/**
* @return string
*/
public function getImei()
{
return $this->imei;
}
/**
* @param string
*/
public function setKernelVersion($kernelVersion)
{
$this->kernelVersion = $kernelVersion;
}
/**
* @return string
*/
public function getKernelVersion()
{
return $this->kernelVersion;
}
/**
* @param string
*/
public function setLastSyncTime($lastSyncTime)
{
$this->lastSyncTime = $lastSyncTime;
}
/**
* @return string
*/
public function getLastSyncTime()
{
return $this->lastSyncTime;
}
/**
* @param string
*/
public function setManagementState($managementState)
{
$this->managementState = $managementState;
}
/**
* @return string
*/
public function getManagementState()
{
return $this->managementState;
}
/**
* @param string
*/
public function setManufacturer($manufacturer)
{
$this->manufacturer = $manufacturer;
}
/**
* @return string
*/
public function getManufacturer()
{
return $this->manufacturer;
}
/**
* @param string
*/
public function setMeid($meid)
{
$this->meid = $meid;
}
/**
* @return string
*/
public function getMeid()
{
return $this->meid;
}
/**
* @param string
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNetworkOperator($networkOperator)
{
$this->networkOperator = $networkOperator;
}
/**
* @return string
*/
public function getNetworkOperator()
{
return $this->networkOperator;
}
/**
* @param string
*/
public function setOsVersion($osVersion)
{
$this->osVersion = $osVersion;
}
/**
* @return string
*/
public function getOsVersion()
{
return $this->osVersion;
}
/**
* @param string[]
*/
public function setOtherAccounts($otherAccounts)
{
$this->otherAccounts = $otherAccounts;
}
/**
* @return string[]
*/
public function getOtherAccounts()
{
return $this->otherAccounts;
}
/**
* @param string
*/
public function setOwnerType($ownerType)
{
$this->ownerType = $ownerType;
}
/**
* @return string
*/
public function getOwnerType()
{
return $this->ownerType;
}
/**
* @param string
*/
public function setReleaseVersion($releaseVersion)
{
$this->releaseVersion = $releaseVersion;
}
/**
* @return string
*/
public function getReleaseVersion()
{
return $this->releaseVersion;
}
/**
* @param string
*/
public function setSecurityPatchTime($securityPatchTime)
{
$this->securityPatchTime = $securityPatchTime;
}
/**
* @return string
*/
public function getSecurityPatchTime()
{
return $this->securityPatchTime;
}
/**
* @param string
*/
public function setSerialNumber($serialNumber)
{
$this->serialNumber = $serialNumber;
}
/**
* @return string
*/
public function getSerialNumber()
{
return $this->serialNumber;
}
/**
* @param string
*/
public function setUnifiedDeviceId($unifiedDeviceId)
{
$this->unifiedDeviceId = $unifiedDeviceId;
}
/**
* @return string
*/
public function getUnifiedDeviceId()
{
return $this->unifiedDeviceId;
}
/**
* @param string[]
*/
public function setWifiMacAddresses($wifiMacAddresses)
{
$this->wifiMacAddresses = $wifiMacAddresses;
}
/**
* @return string[]
*/
public function getWifiMacAddresses()
{
return $this->wifiMacAddresses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1Device::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1Device');

View File

@@ -0,0 +1,206 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1DeviceUser extends \Google\Model
{
/**
* @var string
*/
public $compromisedState;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $firstSyncTime;
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $lastSyncTime;
/**
* @var string
*/
public $managementState;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $passwordState;
/**
* @var string
*/
public $userAgent;
/**
* @var string
*/
public $userEmail;
/**
* @param string
*/
public function setCompromisedState($compromisedState)
{
$this->compromisedState = $compromisedState;
}
/**
* @return string
*/
public function getCompromisedState()
{
return $this->compromisedState;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setFirstSyncTime($firstSyncTime)
{
$this->firstSyncTime = $firstSyncTime;
}
/**
* @return string
*/
public function getFirstSyncTime()
{
return $this->firstSyncTime;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setLastSyncTime($lastSyncTime)
{
$this->lastSyncTime = $lastSyncTime;
}
/**
* @return string
*/
public function getLastSyncTime()
{
return $this->lastSyncTime;
}
/**
* @param string
*/
public function setManagementState($managementState)
{
$this->managementState = $managementState;
}
/**
* @return string
*/
public function getManagementState()
{
return $this->managementState;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPasswordState($passwordState)
{
$this->passwordState = $passwordState;
}
/**
* @return string
*/
public function getPasswordState()
{
return $this->passwordState;
}
/**
* @param string
*/
public function setUserAgent($userAgent)
{
$this->userAgent = $userAgent;
}
/**
* @return string
*/
public function getUserAgent()
{
return $this->userAgent;
}
/**
* @param string
*/
public function setUserEmail($userEmail)
{
$this->userEmail = $userEmail;
}
/**
* @return string
*/
public function getUserEmail()
{
return $this->userEmail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1DeviceUser::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1DeviceUser');

View File

@@ -0,0 +1,77 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes extends \Google\Collection
{
protected $collection_key = 'certificateAttributes';
/**
* @var array[]
*/
public $additionalSignals;
protected $browserAttributesType = GoogleAppsCloudidentityDevicesV1BrowserAttributes::class;
protected $browserAttributesDataType = 'array';
protected $certificateAttributesType = GoogleAppsCloudidentityDevicesV1CertificateAttributes::class;
protected $certificateAttributesDataType = 'array';
/**
* @param array[]
*/
public function setAdditionalSignals($additionalSignals)
{
$this->additionalSignals = $additionalSignals;
}
/**
* @return array[]
*/
public function getAdditionalSignals()
{
return $this->additionalSignals;
}
/**
* @param GoogleAppsCloudidentityDevicesV1BrowserAttributes[]
*/
public function setBrowserAttributes($browserAttributes)
{
$this->browserAttributes = $browserAttributes;
}
/**
* @return GoogleAppsCloudidentityDevicesV1BrowserAttributes[]
*/
public function getBrowserAttributes()
{
return $this->browserAttributes;
}
/**
* @param GoogleAppsCloudidentityDevicesV1CertificateAttributes[]
*/
public function setCertificateAttributes($certificateAttributes)
{
$this->certificateAttributes = $certificateAttributes;
}
/**
* @return GoogleAppsCloudidentityDevicesV1CertificateAttributes[]
*/
public function getCertificateAttributes()
{
return $this->certificateAttributes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes');

View File

@@ -0,0 +1,61 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1ListClientStatesResponse extends \Google\Collection
{
protected $collection_key = 'clientStates';
protected $clientStatesType = GoogleAppsCloudidentityDevicesV1ClientState::class;
protected $clientStatesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleAppsCloudidentityDevicesV1ClientState[]
*/
public function setClientStates($clientStates)
{
$this->clientStates = $clientStates;
}
/**
* @return GoogleAppsCloudidentityDevicesV1ClientState[]
*/
public function getClientStates()
{
return $this->clientStates;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1ListClientStatesResponse::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1ListClientStatesResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse extends \Google\Collection
{
protected $collection_key = 'deviceUsers';
protected $deviceUsersType = GoogleAppsCloudidentityDevicesV1DeviceUser::class;
protected $deviceUsersDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleAppsCloudidentityDevicesV1DeviceUser[]
*/
public function setDeviceUsers($deviceUsers)
{
$this->deviceUsers = $deviceUsers;
}
/**
* @return GoogleAppsCloudidentityDevicesV1DeviceUser[]
*/
public function getDeviceUsers()
{
return $this->deviceUsers;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1ListDevicesResponse extends \Google\Collection
{
protected $collection_key = 'devices';
protected $devicesType = GoogleAppsCloudidentityDevicesV1Device::class;
protected $devicesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleAppsCloudidentityDevicesV1Device[]
*/
public function setDevices($devices)
{
$this->devices = $devices;
}
/**
* @return GoogleAppsCloudidentityDevicesV1Device[]
*/
public function getDevices()
{
return $this->devices;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1ListDevicesResponse::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1ListDevicesResponse');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata');

View File

@@ -0,0 +1,81 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse extends \Google\Collection
{
protected $collection_key = 'names';
/**
* @var string
*/
public $customer;
/**
* @var string[]
*/
public $names;
/**
* @var string
*/
public $nextPageToken;
/**
* @param string
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
/**
* @param string[]
*/
public function setNames($names)
{
$this->names = $names;
}
/**
* @return string[]
*/
public function getNames()
{
return $this->names;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata');

View File

@@ -0,0 +1,62 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1WipeDeviceRequest extends \Google\Model
{
/**
* @var string
*/
public $customer;
/**
* @var bool
*/
public $removeResetLock;
/**
* @param string
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
/**
* @param bool
*/
public function setRemoveResetLock($removeResetLock)
{
$this->removeResetLock = $removeResetLock;
}
/**
* @return bool
*/
public function getRemoveResetLock()
{
return $this->removeResetLock;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1WipeDeviceRequest::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1WipeDeviceRequest');

View File

@@ -0,0 +1,42 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse extends \Google\Model
{
protected $deviceType = GoogleAppsCloudidentityDevicesV1Device::class;
protected $deviceDataType = '';
/**
* @param GoogleAppsCloudidentityDevicesV1Device
*/
public function setDevice(GoogleAppsCloudidentityDevicesV1Device $device)
{
$this->device = $device;
}
/**
* @return GoogleAppsCloudidentityDevicesV1Device
*/
public function getDevice()
{
return $this->device;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1WipeDeviceResponse::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1WipeDeviceResponse');

View File

@@ -0,0 +1,25 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata');

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest extends \Google\Model
{
/**
* @var string
*/
public $customer;
/**
* @param string
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest');

View File

@@ -0,0 +1,42 @@
<?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\CloudIdentity;
class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse extends \Google\Model
{
protected $deviceUserType = GoogleAppsCloudidentityDevicesV1DeviceUser::class;
protected $deviceUserDataType = '';
/**
* @param GoogleAppsCloudidentityDevicesV1DeviceUser
*/
public function setDeviceUser(GoogleAppsCloudidentityDevicesV1DeviceUser $deviceUser)
{
$this->deviceUser = $deviceUser;
}
/**
* @return GoogleAppsCloudidentityDevicesV1DeviceUser
*/
public function getDeviceUser()
{
return $this->deviceUser;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse::class, 'Google_Service_CloudIdentity_GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse');

View File

@@ -0,0 +1,201 @@
<?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\CloudIdentity;
class Group extends \Google\Collection
{
protected $collection_key = 'additionalGroupKeys';
protected $additionalGroupKeysType = EntityKey::class;
protected $additionalGroupKeysDataType = 'array';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
protected $dynamicGroupMetadataType = DynamicGroupMetadata::class;
protected $dynamicGroupMetadataDataType = '';
protected $groupKeyType = EntityKey::class;
protected $groupKeyDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $parent;
/**
* @var string
*/
public $updateTime;
/**
* @param EntityKey[]
*/
public function setAdditionalGroupKeys($additionalGroupKeys)
{
$this->additionalGroupKeys = $additionalGroupKeys;
}
/**
* @return EntityKey[]
*/
public function getAdditionalGroupKeys()
{
return $this->additionalGroupKeys;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param DynamicGroupMetadata
*/
public function setDynamicGroupMetadata(DynamicGroupMetadata $dynamicGroupMetadata)
{
$this->dynamicGroupMetadata = $dynamicGroupMetadata;
}
/**
* @return DynamicGroupMetadata
*/
public function getDynamicGroupMetadata()
{
return $this->dynamicGroupMetadata;
}
/**
* @param EntityKey
*/
public function setGroupKey(EntityKey $groupKey)
{
$this->groupKey = $groupKey;
}
/**
* @return EntityKey
*/
public function getGroupKey()
{
return $this->groupKey;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Group::class, 'Google_Service_CloudIdentity_Group');

View File

@@ -0,0 +1,131 @@
<?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\CloudIdentity;
class GroupRelation extends \Google\Collection
{
protected $collection_key = 'roles';
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $group;
protected $groupKeyType = EntityKey::class;
protected $groupKeyDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $relationType;
protected $rolesType = TransitiveMembershipRole::class;
protected $rolesDataType = 'array';
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setGroup($group)
{
$this->group = $group;
}
/**
* @return string
*/
public function getGroup()
{
return $this->group;
}
/**
* @param EntityKey
*/
public function setGroupKey(EntityKey $groupKey)
{
$this->groupKey = $groupKey;
}
/**
* @return EntityKey
*/
public function getGroupKey()
{
return $this->groupKey;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setRelationType($relationType)
{
$this->relationType = $relationType;
}
/**
* @return string
*/
public function getRelationType()
{
return $this->relationType;
}
/**
* @param TransitiveMembershipRole[]
*/
public function setRoles($roles)
{
$this->roles = $roles;
}
/**
* @return TransitiveMembershipRole[]
*/
public function getRoles()
{
return $this->roles;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GroupRelation::class, 'Google_Service_CloudIdentity_GroupRelation');

View File

@@ -0,0 +1,94 @@
<?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\CloudIdentity;
class IdpCredential extends \Google\Model
{
protected $dsaKeyInfoType = DsaPublicKeyInfo::class;
protected $dsaKeyInfoDataType = '';
/**
* @var string
*/
public $name;
protected $rsaKeyInfoType = RsaPublicKeyInfo::class;
protected $rsaKeyInfoDataType = '';
/**
* @var string
*/
public $updateTime;
/**
* @param DsaPublicKeyInfo
*/
public function setDsaKeyInfo(DsaPublicKeyInfo $dsaKeyInfo)
{
$this->dsaKeyInfo = $dsaKeyInfo;
}
/**
* @return DsaPublicKeyInfo
*/
public function getDsaKeyInfo()
{
return $this->dsaKeyInfo;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param RsaPublicKeyInfo
*/
public function setRsaKeyInfo(RsaPublicKeyInfo $rsaKeyInfo)
{
$this->rsaKeyInfo = $rsaKeyInfo;
}
/**
* @return RsaPublicKeyInfo
*/
public function getRsaKeyInfo()
{
return $this->rsaKeyInfo;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IdpCredential::class, 'Google_Service_CloudIdentity_IdpCredential');

View File

@@ -0,0 +1,112 @@
<?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\CloudIdentity;
class InboundSamlSsoProfile extends \Google\Model
{
/**
* @var string
*/
public $customer;
/**
* @var string
*/
public $displayName;
protected $idpConfigType = SamlIdpConfig::class;
protected $idpConfigDataType = '';
/**
* @var string
*/
public $name;
protected $spConfigType = SamlSpConfig::class;
protected $spConfigDataType = '';
/**
* @param string
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param SamlIdpConfig
*/
public function setIdpConfig(SamlIdpConfig $idpConfig)
{
$this->idpConfig = $idpConfig;
}
/**
* @return SamlIdpConfig
*/
public function getIdpConfig()
{
return $this->idpConfig;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param SamlSpConfig
*/
public function setSpConfig(SamlSpConfig $spConfig)
{
$this->spConfig = $spConfig;
}
/**
* @return SamlSpConfig
*/
public function getSpConfig()
{
return $this->spConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InboundSamlSsoProfile::class, 'Google_Service_CloudIdentity_InboundSamlSsoProfile');

View File

@@ -0,0 +1,166 @@
<?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\CloudIdentity;
class InboundSsoAssignment extends \Google\Model
{
/**
* @var string
*/
public $customer;
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $rank;
protected $samlSsoInfoType = SamlSsoInfo::class;
protected $samlSsoInfoDataType = '';
protected $signInBehaviorType = SignInBehavior::class;
protected $signInBehaviorDataType = '';
/**
* @var string
*/
public $ssoMode;
/**
* @var string
*/
public $targetGroup;
/**
* @var string
*/
public $targetOrgUnit;
/**
* @param string
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setRank($rank)
{
$this->rank = $rank;
}
/**
* @return int
*/
public function getRank()
{
return $this->rank;
}
/**
* @param SamlSsoInfo
*/
public function setSamlSsoInfo(SamlSsoInfo $samlSsoInfo)
{
$this->samlSsoInfo = $samlSsoInfo;
}
/**
* @return SamlSsoInfo
*/
public function getSamlSsoInfo()
{
return $this->samlSsoInfo;
}
/**
* @param SignInBehavior
*/
public function setSignInBehavior(SignInBehavior $signInBehavior)
{
$this->signInBehavior = $signInBehavior;
}
/**
* @return SignInBehavior
*/
public function getSignInBehavior()
{
return $this->signInBehavior;
}
/**
* @param string
*/
public function setSsoMode($ssoMode)
{
$this->ssoMode = $ssoMode;
}
/**
* @return string
*/
public function getSsoMode()
{
return $this->ssoMode;
}
/**
* @param string
*/
public function setTargetGroup($targetGroup)
{
$this->targetGroup = $targetGroup;
}
/**
* @return string
*/
public function getTargetGroup()
{
return $this->targetGroup;
}
/**
* @param string
*/
public function setTargetOrgUnit($targetOrgUnit)
{
$this->targetOrgUnit = $targetOrgUnit;
}
/**
* @return string
*/
public function getTargetOrgUnit()
{
return $this->targetOrgUnit;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InboundSsoAssignment::class, 'Google_Service_CloudIdentity_InboundSsoAssignment');

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class IsInvitableUserResponse extends \Google\Model
{
/**
* @var bool
*/
public $isInvitableUser;
/**
* @param bool
*/
public function setIsInvitableUser($isInvitableUser)
{
$this->isInvitableUser = $isInvitableUser;
}
/**
* @return bool
*/
public function getIsInvitableUser()
{
return $this->isInvitableUser;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IsInvitableUserResponse::class, 'Google_Service_CloudIdentity_IsInvitableUserResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudIdentity;
class ListGroupsResponse extends \Google\Collection
{
protected $collection_key = 'groups';
protected $groupsType = Group::class;
protected $groupsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Group[]
*/
public function setGroups($groups)
{
$this->groups = $groups;
}
/**
* @return Group[]
*/
public function getGroups()
{
return $this->groups;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListGroupsResponse::class, 'Google_Service_CloudIdentity_ListGroupsResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudIdentity;
class ListIdpCredentialsResponse extends \Google\Collection
{
protected $collection_key = 'idpCredentials';
protected $idpCredentialsType = IdpCredential::class;
protected $idpCredentialsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param IdpCredential[]
*/
public function setIdpCredentials($idpCredentials)
{
$this->idpCredentials = $idpCredentials;
}
/**
* @return IdpCredential[]
*/
public function getIdpCredentials()
{
return $this->idpCredentials;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListIdpCredentialsResponse::class, 'Google_Service_CloudIdentity_ListIdpCredentialsResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudIdentity;
class ListInboundSamlSsoProfilesResponse extends \Google\Collection
{
protected $collection_key = 'inboundSamlSsoProfiles';
protected $inboundSamlSsoProfilesType = InboundSamlSsoProfile::class;
protected $inboundSamlSsoProfilesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param InboundSamlSsoProfile[]
*/
public function setInboundSamlSsoProfiles($inboundSamlSsoProfiles)
{
$this->inboundSamlSsoProfiles = $inboundSamlSsoProfiles;
}
/**
* @return InboundSamlSsoProfile[]
*/
public function getInboundSamlSsoProfiles()
{
return $this->inboundSamlSsoProfiles;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListInboundSamlSsoProfilesResponse::class, 'Google_Service_CloudIdentity_ListInboundSamlSsoProfilesResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudIdentity;
class ListInboundSsoAssignmentsResponse extends \Google\Collection
{
protected $collection_key = 'inboundSsoAssignments';
protected $inboundSsoAssignmentsType = InboundSsoAssignment::class;
protected $inboundSsoAssignmentsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param InboundSsoAssignment[]
*/
public function setInboundSsoAssignments($inboundSsoAssignments)
{
$this->inboundSsoAssignments = $inboundSsoAssignments;
}
/**
* @return InboundSsoAssignment[]
*/
public function getInboundSsoAssignments()
{
return $this->inboundSsoAssignments;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListInboundSsoAssignmentsResponse::class, 'Google_Service_CloudIdentity_ListInboundSsoAssignmentsResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudIdentity;
class ListMembershipsResponse extends \Google\Collection
{
protected $collection_key = 'memberships';
protected $membershipsType = Membership::class;
protected $membershipsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Membership[]
*/
public function setMemberships($memberships)
{
$this->memberships = $memberships;
}
/**
* @return Membership[]
*/
public function getMemberships()
{
return $this->memberships;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListMembershipsResponse::class, 'Google_Service_CloudIdentity_ListMembershipsResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudIdentity;
class ListPoliciesResponse extends \Google\Collection
{
protected $collection_key = 'policies';
/**
* @var string
*/
public $nextPageToken;
protected $policiesType = Policy::class;
protected $policiesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Policy[]
*/
public function setPolicies($policies)
{
$this->policies = $policies;
}
/**
* @return Policy[]
*/
public function getPolicies()
{
return $this->policies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListPoliciesResponse::class, 'Google_Service_CloudIdentity_ListPoliciesResponse');

View File

@@ -0,0 +1,61 @@
<?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\CloudIdentity;
class ListUserInvitationsResponse extends \Google\Collection
{
protected $collection_key = 'userInvitations';
/**
* @var string
*/
public $nextPageToken;
protected $userInvitationsType = UserInvitation::class;
protected $userInvitationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param UserInvitation[]
*/
public function setUserInvitations($userInvitations)
{
$this->userInvitations = $userInvitations;
}
/**
* @return UserInvitation[]
*/
public function getUserInvitations()
{
return $this->userInvitations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListUserInvitationsResponse::class, 'Google_Service_CloudIdentity_ListUserInvitationsResponse');

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class LookupGroupNameResponse extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LookupGroupNameResponse::class, 'Google_Service_CloudIdentity_LookupGroupNameResponse');

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class LookupMembershipNameResponse extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LookupMembershipNameResponse::class, 'Google_Service_CloudIdentity_LookupMembershipNameResponse');

View File

@@ -0,0 +1,95 @@
<?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\CloudIdentity;
class MemberRelation extends \Google\Collection
{
protected $collection_key = 'roles';
/**
* @var string
*/
public $member;
protected $preferredMemberKeyType = EntityKey::class;
protected $preferredMemberKeyDataType = 'array';
/**
* @var string
*/
public $relationType;
protected $rolesType = TransitiveMembershipRole::class;
protected $rolesDataType = 'array';
/**
* @param string
*/
public function setMember($member)
{
$this->member = $member;
}
/**
* @return string
*/
public function getMember()
{
return $this->member;
}
/**
* @param EntityKey[]
*/
public function setPreferredMemberKey($preferredMemberKey)
{
$this->preferredMemberKey = $preferredMemberKey;
}
/**
* @return EntityKey[]
*/
public function getPreferredMemberKey()
{
return $this->preferredMemberKey;
}
/**
* @param string
*/
public function setRelationType($relationType)
{
$this->relationType = $relationType;
}
/**
* @return string
*/
public function getRelationType()
{
return $this->relationType;
}
/**
* @param TransitiveMembershipRole[]
*/
public function setRoles($roles)
{
$this->roles = $roles;
}
/**
* @return TransitiveMembershipRole[]
*/
public function getRoles()
{
return $this->roles;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MemberRelation::class, 'Google_Service_CloudIdentity_MemberRelation');

View File

@@ -0,0 +1,60 @@
<?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\CloudIdentity;
class MemberRestriction extends \Google\Model
{
protected $evaluationType = RestrictionEvaluation::class;
protected $evaluationDataType = '';
/**
* @var string
*/
public $query;
/**
* @param RestrictionEvaluation
*/
public function setEvaluation(RestrictionEvaluation $evaluation)
{
$this->evaluation = $evaluation;
}
/**
* @return RestrictionEvaluation
*/
public function getEvaluation()
{
return $this->evaluation;
}
/**
* @param string
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* @return string
*/
public function getQuery()
{
return $this->query;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MemberRestriction::class, 'Google_Service_CloudIdentity_MemberRestriction');

View File

@@ -0,0 +1,149 @@
<?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\CloudIdentity;
class Membership extends \Google\Collection
{
protected $collection_key = 'roles';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $deliverySetting;
/**
* @var string
*/
public $name;
protected $preferredMemberKeyType = EntityKey::class;
protected $preferredMemberKeyDataType = '';
protected $rolesType = MembershipRole::class;
protected $rolesDataType = 'array';
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDeliverySetting($deliverySetting)
{
$this->deliverySetting = $deliverySetting;
}
/**
* @return string
*/
public function getDeliverySetting()
{
return $this->deliverySetting;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param EntityKey
*/
public function setPreferredMemberKey(EntityKey $preferredMemberKey)
{
$this->preferredMemberKey = $preferredMemberKey;
}
/**
* @return EntityKey
*/
public function getPreferredMemberKey()
{
return $this->preferredMemberKey;
}
/**
* @param MembershipRole[]
*/
public function setRoles($roles)
{
$this->roles = $roles;
}
/**
* @return MembershipRole[]
*/
public function getRoles()
{
return $this->roles;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Membership::class, 'Google_Service_CloudIdentity_Membership');

View File

@@ -0,0 +1,61 @@
<?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\CloudIdentity;
class MembershipAdjacencyList extends \Google\Collection
{
protected $collection_key = 'edges';
protected $edgesType = Membership::class;
protected $edgesDataType = 'array';
/**
* @var string
*/
public $group;
/**
* @param Membership[]
*/
public function setEdges($edges)
{
$this->edges = $edges;
}
/**
* @return Membership[]
*/
public function getEdges()
{
return $this->edges;
}
/**
* @param string
*/
public function setGroup($group)
{
$this->group = $group;
}
/**
* @return string
*/
public function getGroup()
{
return $this->group;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MembershipAdjacencyList::class, 'Google_Service_CloudIdentity_MembershipAdjacencyList');

View File

@@ -0,0 +1,149 @@
<?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\CloudIdentity;
class MembershipRelation extends \Google\Collection
{
protected $collection_key = 'roles';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $group;
protected $groupKeyType = EntityKey::class;
protected $groupKeyDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $membership;
protected $rolesType = MembershipRole::class;
protected $rolesDataType = 'array';
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setGroup($group)
{
$this->group = $group;
}
/**
* @return string
*/
public function getGroup()
{
return $this->group;
}
/**
* @param EntityKey
*/
public function setGroupKey(EntityKey $groupKey)
{
$this->groupKey = $groupKey;
}
/**
* @return EntityKey
*/
public function getGroupKey()
{
return $this->groupKey;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setMembership($membership)
{
$this->membership = $membership;
}
/**
* @return string
*/
public function getMembership()
{
return $this->membership;
}
/**
* @param MembershipRole[]
*/
public function setRoles($roles)
{
$this->roles = $roles;
}
/**
* @return MembershipRole[]
*/
public function getRoles()
{
return $this->roles;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MembershipRelation::class, 'Google_Service_CloudIdentity_MembershipRelation');

View File

@@ -0,0 +1,76 @@
<?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\CloudIdentity;
class MembershipRole extends \Google\Model
{
protected $expiryDetailType = ExpiryDetail::class;
protected $expiryDetailDataType = '';
/**
* @var string
*/
public $name;
protected $restrictionEvaluationsType = RestrictionEvaluations::class;
protected $restrictionEvaluationsDataType = '';
/**
* @param ExpiryDetail
*/
public function setExpiryDetail(ExpiryDetail $expiryDetail)
{
$this->expiryDetail = $expiryDetail;
}
/**
* @return ExpiryDetail
*/
public function getExpiryDetail()
{
return $this->expiryDetail;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param RestrictionEvaluations
*/
public function setRestrictionEvaluations(RestrictionEvaluations $restrictionEvaluations)
{
$this->restrictionEvaluations = $restrictionEvaluations;
}
/**
* @return RestrictionEvaluations
*/
public function getRestrictionEvaluations()
{
return $this->restrictionEvaluations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MembershipRole::class, 'Google_Service_CloudIdentity_MembershipRole');

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class MembershipRoleRestrictionEvaluation extends \Google\Model
{
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MembershipRoleRestrictionEvaluation::class, 'Google_Service_CloudIdentity_MembershipRoleRestrictionEvaluation');

View File

@@ -0,0 +1,77 @@
<?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\CloudIdentity;
class ModifyMembershipRolesRequest extends \Google\Collection
{
protected $collection_key = 'updateRolesParams';
protected $addRolesType = MembershipRole::class;
protected $addRolesDataType = 'array';
/**
* @var string[]
*/
public $removeRoles;
protected $updateRolesParamsType = UpdateMembershipRolesParams::class;
protected $updateRolesParamsDataType = 'array';
/**
* @param MembershipRole[]
*/
public function setAddRoles($addRoles)
{
$this->addRoles = $addRoles;
}
/**
* @return MembershipRole[]
*/
public function getAddRoles()
{
return $this->addRoles;
}
/**
* @param string[]
*/
public function setRemoveRoles($removeRoles)
{
$this->removeRoles = $removeRoles;
}
/**
* @return string[]
*/
public function getRemoveRoles()
{
return $this->removeRoles;
}
/**
* @param UpdateMembershipRolesParams[]
*/
public function setUpdateRolesParams($updateRolesParams)
{
$this->updateRolesParams = $updateRolesParams;
}
/**
* @return UpdateMembershipRolesParams[]
*/
public function getUpdateRolesParams()
{
return $this->updateRolesParams;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ModifyMembershipRolesRequest::class, 'Google_Service_CloudIdentity_ModifyMembershipRolesRequest');

View File

@@ -0,0 +1,42 @@
<?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\CloudIdentity;
class ModifyMembershipRolesResponse extends \Google\Model
{
protected $membershipType = Membership::class;
protected $membershipDataType = '';
/**
* @param Membership
*/
public function setMembership(Membership $membership)
{
$this->membership = $membership;
}
/**
* @return Membership
*/
public function getMembership()
{
return $this->membership;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ModifyMembershipRolesResponse::class, 'Google_Service_CloudIdentity_ModifyMembershipRolesResponse');

View File

@@ -0,0 +1,114 @@
<?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\CloudIdentity;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_CloudIdentity_Operation');

View File

@@ -0,0 +1,112 @@
<?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\CloudIdentity;
class Policy extends \Google\Model
{
/**
* @var string
*/
public $customer;
/**
* @var string
*/
public $name;
protected $policyQueryType = PolicyQuery::class;
protected $policyQueryDataType = '';
protected $settingType = Setting::class;
protected $settingDataType = '';
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param PolicyQuery
*/
public function setPolicyQuery(PolicyQuery $policyQuery)
{
$this->policyQuery = $policyQuery;
}
/**
* @return PolicyQuery
*/
public function getPolicyQuery()
{
return $this->policyQuery;
}
/**
* @param Setting
*/
public function setSetting(Setting $setting)
{
$this->setting = $setting;
}
/**
* @return Setting
*/
public function getSetting()
{
return $this->setting;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_CloudIdentity_Policy');

View File

@@ -0,0 +1,89 @@
<?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\CloudIdentity;
class PolicyQuery extends \Google\Model
{
/**
* @var string
*/
public $group;
/**
* @var string
*/
public $orgUnit;
/**
* @var string
*/
public $query;
public $sortOrder;
/**
* @param string
*/
public function setGroup($group)
{
$this->group = $group;
}
/**
* @return string
*/
public function getGroup()
{
return $this->group;
}
/**
* @param string
*/
public function setOrgUnit($orgUnit)
{
$this->orgUnit = $orgUnit;
}
/**
* @return string
*/
public function getOrgUnit()
{
return $this->orgUnit;
}
/**
* @param string
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* @return string
*/
public function getQuery()
{
return $this->query;
}
public function setSortOrder($sortOrder)
{
$this->sortOrder = $sortOrder;
}
public function getSortOrder()
{
return $this->sortOrder;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyQuery::class, 'Google_Service_CloudIdentity_PolicyQuery');

View File

@@ -0,0 +1,33 @@
<?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\CloudIdentity\Resource;
/**
* The "customers" collection of methods.
* Typical usage is:
* <code>
* $cloudidentityService = new Google\Service\CloudIdentity(...);
* $customers = $cloudidentityService->customers;
* </code>
*/
class Customers extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Customers::class, 'Google_Service_CloudIdentity_Resource_Customers');

View File

@@ -0,0 +1,150 @@
<?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\CloudIdentity\Resource;
use Google\Service\CloudIdentity\CancelUserInvitationRequest;
use Google\Service\CloudIdentity\IsInvitableUserResponse;
use Google\Service\CloudIdentity\ListUserInvitationsResponse;
use Google\Service\CloudIdentity\Operation;
use Google\Service\CloudIdentity\SendUserInvitationRequest;
use Google\Service\CloudIdentity\UserInvitation;
/**
* The "userinvitations" collection of methods.
* Typical usage is:
* <code>
* $cloudidentityService = new Google\Service\CloudIdentity(...);
* $userinvitations = $cloudidentityService->customers_userinvitations;
* </code>
*/
class CustomersUserinvitations extends \Google\Service\Resource
{
/**
* Cancels a UserInvitation that was already sent. (userinvitations.cancel)
*
* @param string $name Required. `UserInvitation` name in the format
* `customers/{customer}/userinvitations/{user_email_address}`
* @param CancelUserInvitationRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelUserInvitationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], Operation::class);
}
/**
* Retrieves a UserInvitation resource. **Note:** New consumer accounts with the
* customer's verified domain created within the previous 48 hours will not
* appear in the result. This delay also applies to newly-verified domains.
* (userinvitations.get)
*
* @param string $name Required. `UserInvitation` name in the format
* `customers/{customer}/userinvitations/{user_email_address}`
* @param array $optParams Optional parameters.
* @return UserInvitation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], UserInvitation::class);
}
/**
* Verifies whether a user account is eligible to receive a UserInvitation (is
* an unmanaged account). Eligibility is based on the following criteria: * the
* email address is a consumer account and it's the primary email address of the
* account, and * the domain of the email address matches an existing verified
* Google Workspace or Cloud Identity domain If both conditions are met, the
* user is eligible. **Note:** This method is not supported for Workspace
* Essentials customers. (userinvitations.isInvitableUser)
*
* @param string $name Required. `UserInvitation` name in the format
* `customers/{customer}/userinvitations/{user_email_address}`
* @param array $optParams Optional parameters.
* @return IsInvitableUserResponse
* @throws \Google\Service\Exception
*/
public function isInvitableUser($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('isInvitableUser', [$params], IsInvitableUserResponse::class);
}
/**
* Retrieves a list of UserInvitation resources. **Note:** New consumer accounts
* with the customer's verified domain created within the previous 48 hours will
* not appear in the result. This delay also applies to newly-verified domains.
* (userinvitations.listCustomersUserinvitations)
*
* @param string $parent Required. The customer ID of the Google Workspace or
* Cloud Identity account the UserInvitation resources are associated with.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. A query string for filtering
* `UserInvitation` results by their current state, in the format:
* `"state=='invited'"`.
* @opt_param string orderBy Optional. The sort order of the list results. You
* can sort the results in descending order based on either email or last update
* timestamp but not both, using `order_by="email desc"`. Currently, sorting is
* supported for `update_time asc`, `update_time desc`, `email asc`, and `email
* desc`. If not specified, results will be returned based on `email asc` order.
* @opt_param int pageSize Optional. The maximum number of UserInvitation
* resources to return. If unspecified, at most 100 resources will be returned.
* The maximum value is 200; values above 200 will be set to 200.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListUserInvitations` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListBooks` must match the
* call that provided the page token.
* @return ListUserInvitationsResponse
* @throws \Google\Service\Exception
*/
public function listCustomersUserinvitations($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListUserInvitationsResponse::class);
}
/**
* Sends a UserInvitation to email. If the `UserInvitation` does not exist for
* this request and it is a valid request, the request creates a
* `UserInvitation`. **Note:** The `get` and `list` methods have a 48-hour delay
* where newly-created consumer accounts will not appear in the results. You can
* still send a `UserInvitation` to those accounts if you know the unmanaged
* email address and IsInvitableUser==True. (userinvitations.send)
*
* @param string $name Required. `UserInvitation` name in the format
* `customers/{customer}/userinvitations/{user_email_address}`
* @param SendUserInvitationRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function send($name, SendUserInvitationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('send', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersUserinvitations::class, 'Google_Service_CloudIdentity_Resource_CustomersUserinvitations');

View File

@@ -0,0 +1,193 @@
<?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\CloudIdentity\Resource;
use Google\Service\CloudIdentity\GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest;
use Google\Service\CloudIdentity\GoogleAppsCloudidentityDevicesV1Device;
use Google\Service\CloudIdentity\GoogleAppsCloudidentityDevicesV1ListDevicesResponse;
use Google\Service\CloudIdentity\GoogleAppsCloudidentityDevicesV1WipeDeviceRequest;
use Google\Service\CloudIdentity\Operation;
/**
* The "devices" collection of methods.
* Typical usage is:
* <code>
* $cloudidentityService = new Google\Service\CloudIdentity(...);
* $devices = $cloudidentityService->devices;
* </code>
*/
class Devices extends \Google\Service\Resource
{
/**
* Cancels an unfinished device wipe. This operation can be used to cancel
* device wipe in the gap between the wipe operation returning success and the
* device being wiped. This operation is possible when the device is in a
* "pending wipe" state. The device enters the "pending wipe" state when a wipe
* device command is issued, but has not yet been sent to the device. The cancel
* wipe will fail if the wipe command has already been issued to the device.
* (devices.cancelWipe)
*
* @param string $name Required. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the Device in
* format: `devices/{device}`, where device is the unique ID assigned to the
* Device.
* @param GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function cancelWipe($name, GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancelWipe', [$params], Operation::class);
}
/**
* Creates a device. Only company-owned device may be created. **Note**: This
* method is available only to customers who have one of the following SKUs:
* Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud
* Identity Premium (devices.create)
*
* @param GoogleAppsCloudidentityDevicesV1Device $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string customer Optional. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the customer.
* If you're using this API for your own organization, use
* `customers/my_customer` If you're using this API to manage another
* organization, use `customers/{customer}`, where customer is the customer to
* whom the device belongs.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create(GoogleAppsCloudidentityDevicesV1Device $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes the specified device. (devices.delete)
*
* @param string $name Required. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the Device in
* format: `devices/{device}`, where device is the unique ID assigned to the
* Device.
* @param array $optParams Optional parameters.
*
* @opt_param string customer Optional. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the customer.
* If you're using this API for your own organization, use
* `customers/my_customer` If you're using this API to manage another
* organization, use `customers/{customer}`, where customer is the customer to
* whom the device belongs.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Retrieves the specified device. (devices.get)
*
* @param string $name Required. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the Device in
* the format: `devices/{device}`, where device is the unique ID assigned to the
* Device.
* @param array $optParams Optional parameters.
*
* @opt_param string customer Optional. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the Customer in
* the format: `customers/{customer}`, where customer is the customer to whom
* the device belongs. If you're using this API for your own organization, use
* `customers/my_customer`. If you're using this API to manage another
* organization, use `customers/{customer}`, where customer is the customer to
* whom the device belongs.
* @return GoogleAppsCloudidentityDevicesV1Device
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleAppsCloudidentityDevicesV1Device::class);
}
/**
* Lists/Searches devices. (devices.listDevices)
*
* @param array $optParams Optional parameters.
*
* @opt_param string customer Optional. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the customer in
* the format: `customers/{customer}`, where customer is the customer to whom
* the device belongs. If you're using this API for your own organization, use
* `customers/my_customer`. If you're using this API to manage another
* organization, use `customers/{customer}`, where customer is the customer to
* whom the device belongs.
* @opt_param string filter Optional. Additional restrictions when fetching list
* of devices. For a list of search fields, refer to [Mobile device search
* fields](https://developers.google.com/admin-sdk/directory/v1/search-
* operators). Multiple search fields are separated by the space character.
* @opt_param string orderBy Optional. Order specification for devices in the
* response. Only one of the following field names may be used to specify the
* order: `create_time`, `last_sync_time`, `model`, `os_version`, `device_type`
* and `serial_number`. `desc` may be specified optionally at the end to specify
* results to be sorted in descending order. Default order is ascending.
* @opt_param int pageSize Optional. The maximum number of Devices to return. If
* unspecified, at most 20 Devices will be returned. The maximum value is 100;
* values above 100 will be coerced to 100.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListDevices` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListDevices` must match the
* call that provided the page token.
* @opt_param string view Optional. The view to use for the List request.
* @return GoogleAppsCloudidentityDevicesV1ListDevicesResponse
* @throws \Google\Service\Exception
*/
public function listDevices($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleAppsCloudidentityDevicesV1ListDevicesResponse::class);
}
/**
* Wipes all data on the specified device. (devices.wipe)
*
* @param string $name Required. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the Device in
* format: `devices/{device}/deviceUsers/{device_user}`, where device is the
* unique ID assigned to the Device, and device_user is the unique ID assigned
* to the User.
* @param GoogleAppsCloudidentityDevicesV1WipeDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function wipe($name, GoogleAppsCloudidentityDevicesV1WipeDeviceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('wipe', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Devices::class, 'Google_Service_CloudIdentity_Resource_Devices');

View File

@@ -0,0 +1,260 @@
<?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\CloudIdentity\Resource;
use Google\Service\CloudIdentity\GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest;
use Google\Service\CloudIdentity\GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest;
use Google\Service\CloudIdentity\GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest;
use Google\Service\CloudIdentity\GoogleAppsCloudidentityDevicesV1DeviceUser;
use Google\Service\CloudIdentity\GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse;
use Google\Service\CloudIdentity\GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse;
use Google\Service\CloudIdentity\GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest;
use Google\Service\CloudIdentity\Operation;
/**
* The "deviceUsers" collection of methods.
* Typical usage is:
* <code>
* $cloudidentityService = new Google\Service\CloudIdentity(...);
* $deviceUsers = $cloudidentityService->devices_deviceUsers;
* </code>
*/
class DevicesDeviceUsers extends \Google\Service\Resource
{
/**
* Approves device to access user data. (deviceUsers.approve)
*
* @param string $name Required. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the Device in
* format: `devices/{device}/deviceUsers/{device_user}`, where device is the
* unique ID assigned to the Device, and device_user is the unique ID assigned
* to the User.
* @param GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function approve($name, GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('approve', [$params], Operation::class);
}
/**
* Blocks device from accessing user data (deviceUsers.block)
*
* @param string $name Required. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the Device in
* format: `devices/{device}/deviceUsers/{device_user}`, where device is the
* unique ID assigned to the Device, and device_user is the unique ID assigned
* to the User.
* @param GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function block($name, GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('block', [$params], Operation::class);
}
/**
* Cancels an unfinished user account wipe. This operation can be used to cancel
* device wipe in the gap between the wipe operation returning success and the
* device being wiped. (deviceUsers.cancelWipe)
*
* @param string $name Required. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the Device in
* format: `devices/{device}/deviceUsers/{device_user}`, where device is the
* unique ID assigned to the Device, and device_user is the unique ID assigned
* to the User.
* @param GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function cancelWipe($name, GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancelWipe', [$params], Operation::class);
}
/**
* Deletes the specified DeviceUser. This also revokes the user's access to
* device data. (deviceUsers.delete)
*
* @param string $name Required. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the Device in
* format: `devices/{device}/deviceUsers/{device_user}`, where device is the
* unique ID assigned to the Device, and device_user is the unique ID assigned
* to the User.
* @param array $optParams Optional parameters.
*
* @opt_param string customer Optional. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the customer.
* If you're using this API for your own organization, use
* `customers/my_customer` If you're using this API to manage another
* organization, use `customers/{customer}`, where customer is the customer to
* whom the device belongs.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Retrieves the specified DeviceUser (deviceUsers.get)
*
* @param string $name Required. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the Device in
* format: `devices/{device}/deviceUsers/{device_user}`, where device is the
* unique ID assigned to the Device, and device_user is the unique ID assigned
* to the User.
* @param array $optParams Optional parameters.
*
* @opt_param string customer Optional. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the customer.
* If you're using this API for your own organization, use
* `customers/my_customer` If you're using this API to manage another
* organization, use `customers/{customer}`, where customer is the customer to
* whom the device belongs.
* @return GoogleAppsCloudidentityDevicesV1DeviceUser
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleAppsCloudidentityDevicesV1DeviceUser::class);
}
/**
* Lists/Searches DeviceUsers. (deviceUsers.listDevicesDeviceUsers)
*
* @param string $parent Required. To list all DeviceUsers, set this to
* "devices/-". To list all DeviceUsers owned by a device, set this to the
* resource name of the device. Format: devices/{device}
* @param array $optParams Optional parameters.
*
* @opt_param string customer Optional. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the customer.
* If you're using this API for your own organization, use
* `customers/my_customer` If you're using this API to manage another
* organization, use `customers/{customer}`, where customer is the customer to
* whom the device belongs.
* @opt_param string filter Optional. Additional restrictions when fetching list
* of devices. For a list of search fields, refer to [Mobile device search
* fields](https://developers.google.com/admin-sdk/directory/v1/search-
* operators). Multiple search fields are separated by the space character.
* @opt_param string orderBy Optional. Order specification for devices in the
* response.
* @opt_param int pageSize Optional. The maximum number of DeviceUsers to
* return. If unspecified, at most 5 DeviceUsers will be returned. The maximum
* value is 20; values above 20 will be coerced to 20.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListDeviceUsers` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListBooks` must match the call
* that provided the page token.
* @return GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse
* @throws \Google\Service\Exception
*/
public function listDevicesDeviceUsers($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse::class);
}
/**
* Looks up resource names of the DeviceUsers associated with the caller's
* credentials, as well as the properties provided in the request. This method
* must be called with end-user credentials with the scope:
* https://www.googleapis.com/auth/cloud-identity.devices.lookup If multiple
* properties are provided, only DeviceUsers having all of these properties are
* considered as matches - i.e. the query behaves like an AND. Different
* platforms require different amounts of information from the caller to ensure
* that the DeviceUser is uniquely identified. - iOS: No properties need to be
* passed, the caller's credentials are sufficient to identify the corresponding
* DeviceUser. - Android: Specifying the 'android_id' field is required. -
* Desktop: Specifying the 'raw_resource_id' field is required.
* (deviceUsers.lookup)
*
* @param string $parent Must be set to "devices/-/deviceUsers" to search across
* all DeviceUser belonging to the user.
* @param array $optParams Optional parameters.
*
* @opt_param string androidId Android Id returned by [Settings.Secure#ANDROID_I
* D](https://developer.android.com/reference/android/provider/Settings.Secure.h
* tml#ANDROID_ID).
* @opt_param int pageSize The maximum number of DeviceUsers to return. If
* unspecified, at most 20 DeviceUsers will be returned. The maximum value is
* 20; values above 20 will be coerced to 20.
* @opt_param string pageToken A page token, received from a previous
* `LookupDeviceUsers` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `LookupDeviceUsers` must match
* the call that provided the page token.
* @opt_param string rawResourceId Raw Resource Id used by Google Endpoint
* Verification. If the user is enrolled into Google Endpoint Verification, this
* id will be saved as the 'device_resource_id' field in the following platform
* dependent files. * macOS: ~/.secureConnect/context_aware_config.json *
* Windows: %USERPROFILE%\AppData\Local\Google\Endpoint
* Verification\accounts.json * Linux:
* ~/.secureConnect/context_aware_config.json
* @opt_param string userId The user whose DeviceUser's resource name will be
* fetched. Must be set to 'me' to fetch the DeviceUser's resource name for the
* calling user.
* @return GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse
* @throws \Google\Service\Exception
*/
public function lookup($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('lookup', [$params], GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse::class);
}
/**
* Wipes the user's account on a device. Other data on the device that is not
* associated with the user's work account is not affected. For example, if a
* Gmail app is installed on a device that is used for personal and work
* purposes, and the user is logged in to the Gmail app with their personal
* account as well as their work account, wiping the "deviceUser" by their work
* administrator will not affect their personal account within Gmail or other
* apps such as Photos. (deviceUsers.wipe)
*
* @param string $name Required. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the Device in
* format: `devices/{device}/deviceUsers/{device_user}`, where device is the
* unique ID assigned to the Device, and device_user is the unique ID assigned
* to the User.
* @param GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function wipe($name, GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('wipe', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DevicesDeviceUsers::class, 'Google_Service_CloudIdentity_Resource_DevicesDeviceUsers');

View File

@@ -0,0 +1,147 @@
<?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\CloudIdentity\Resource;
use Google\Service\CloudIdentity\GoogleAppsCloudidentityDevicesV1ClientState;
use Google\Service\CloudIdentity\GoogleAppsCloudidentityDevicesV1ListClientStatesResponse;
use Google\Service\CloudIdentity\Operation;
/**
* The "clientStates" collection of methods.
* Typical usage is:
* <code>
* $cloudidentityService = new Google\Service\CloudIdentity(...);
* $clientStates = $cloudidentityService->devices_deviceUsers_clientStates;
* </code>
*/
class DevicesDeviceUsersClientStates extends \Google\Service\Resource
{
/**
* Gets the client state for the device user (clientStates.get)
*
* @param string $name Required. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the ClientState
* in format:
* `devices/{device}/deviceUsers/{device_user}/clientStates/{partner}`, where
* `device` is the unique ID assigned to the Device, `device_user` is the unique
* ID assigned to the User and `partner` identifies the partner storing the
* data. To get the client state for devices belonging to your own organization,
* the `partnerId` is in the format: `customerId-*anystring*`. Where the
* `customerId` is your organization's customer ID and `anystring` is any
* suffix. This suffix is used in setting up Custom Access Levels in Context-
* Aware Access. You may use `my_customer` instead of the customer ID for
* devices managed by your own organization. You may specify `-` in place of the
* `{device}`, so the ClientState resource name can be:
* `devices/-/deviceUsers/{device_user_resource}/clientStates/{partner}`.
* @param array $optParams Optional parameters.
*
* @opt_param string customer Optional. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the customer.
* If you're using this API for your own organization, use
* `customers/my_customer` If you're using this API to manage another
* organization, use `customers/{customer}`, where customer is the customer to
* whom the device belongs.
* @return GoogleAppsCloudidentityDevicesV1ClientState
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleAppsCloudidentityDevicesV1ClientState::class);
}
/**
* Lists the client states for the given search query.
* (clientStates.listDevicesDeviceUsersClientStates)
*
* @param string $parent Required. To list all ClientStates, set this to
* "devices/-/deviceUsers/-". To list all ClientStates owned by a DeviceUser,
* set this to the resource name of the DeviceUser. Format:
* devices/{device}/deviceUsers/{deviceUser}
* @param array $optParams Optional parameters.
*
* @opt_param string customer Optional. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the customer.
* If you're using this API for your own organization, use
* `customers/my_customer` If you're using this API to manage another
* organization, use `customers/{customer}`, where customer is the customer to
* whom the device belongs.
* @opt_param string filter Optional. Additional restrictions when fetching list
* of client states.
* @opt_param string orderBy Optional. Order specification for client states in
* the response.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListClientStates` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListClientStates` must match
* the call that provided the page token.
* @return GoogleAppsCloudidentityDevicesV1ListClientStatesResponse
* @throws \Google\Service\Exception
*/
public function listDevicesDeviceUsersClientStates($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleAppsCloudidentityDevicesV1ListClientStatesResponse::class);
}
/**
* Updates the client state for the device user **Note**: This method is
* available only to customers who have one of the following SKUs: Enterprise
* Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity
* Premium (clientStates.patch)
*
* @param string $name Output only. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the ClientState
* in format:
* `devices/{device}/deviceUsers/{device_user}/clientState/{partner}`, where
* partner corresponds to the partner storing the data. For partners belonging
* to the "BeyondCorp Alliance", this is the partner ID specified to you by
* Google. For all other callers, this is a string of the form:
* `{customer}-suffix`, where `customer` is your customer ID. The *suffix* is
* any string the caller specifies. This string will be displayed verbatim in
* the administration console. This suffix is used in setting up Custom Access
* Levels in Context-Aware Access. Your organization's customer ID can be
* obtained from the URL: `GET
* https://www.googleapis.com/admin/directory/v1/customers/my_customer` The `id`
* field in the response contains the customer ID starting with the letter 'C'.
* The customer ID to be used in this API is the string after the letter 'C'
* (not including 'C')
* @param GoogleAppsCloudidentityDevicesV1ClientState $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string customer Optional. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the customer.
* If you're using this API for your own organization, use
* `customers/my_customer` If you're using this API to manage another
* organization, use `customers/{customer}`, where customer is the customer to
* whom the device belongs.
* @opt_param string updateMask Optional. Comma-separated list of fully
* qualified names of fields to be updated. If not specified, all updatable
* fields in ClientState are updated.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, GoogleAppsCloudidentityDevicesV1ClientState $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DevicesDeviceUsersClientStates::class, 'Google_Service_CloudIdentity_Resource_DevicesDeviceUsersClientStates');

View File

@@ -0,0 +1,248 @@
<?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\CloudIdentity\Resource;
use Google\Service\CloudIdentity\Group;
use Google\Service\CloudIdentity\ListGroupsResponse;
use Google\Service\CloudIdentity\LookupGroupNameResponse;
use Google\Service\CloudIdentity\Operation;
use Google\Service\CloudIdentity\SearchGroupsResponse;
use Google\Service\CloudIdentity\SecuritySettings;
/**
* The "groups" collection of methods.
* Typical usage is:
* <code>
* $cloudidentityService = new Google\Service\CloudIdentity(...);
* $groups = $cloudidentityService->groups;
* </code>
*/
class Groups extends \Google\Service\Resource
{
/**
* Creates a Group. (groups.create)
*
* @param Group $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string initialGroupConfig Optional. The initial configuration
* option for the `Group`.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create(Group $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a `Group`. (groups.delete)
*
* @param string $name Required. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the `Group` to
* retrieve. Must be of the form `groups/{group}`.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Retrieves a `Group`. (groups.get)
*
* @param string $name Required. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the `Group` to
* retrieve. Must be of the form `groups/{group}`.
* @param array $optParams Optional parameters.
* @return Group
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Group::class);
}
/**
* Get Security Settings (groups.getSecuritySettings)
*
* @param string $name Required. The security settings to retrieve. Format:
* `groups/{group_id}/securitySettings`
* @param array $optParams Optional parameters.
*
* @opt_param string readMask Field-level read mask of which fields to return.
* "*" returns all fields. If not specified, all fields will be returned. May
* only contain the following field: `member_restriction`.
* @return SecuritySettings
* @throws \Google\Service\Exception
*/
public function getSecuritySettings($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getSecuritySettings', [$params], SecuritySettings::class);
}
/**
* Lists the `Group` resources under a customer or namespace.
* (groups.listGroups)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of results to return. Note that
* the number of results returned may be less than this value even if there are
* more available results. To fetch all results, clients must continue calling
* this method repeatedly until the response no longer contains a
* `next_page_token`. If unspecified, defaults to 200 for `View.BASIC` and to 50
* for `View.FULL`. Must not be greater than 1000 for `View.BASIC` or 500 for
* `View.FULL`.
* @opt_param string pageToken The `next_page_token` value returned from a
* previous list request, if any.
* @opt_param string parent Required. The parent resource under which to list
* all `Group` resources. Must be of the form
* `identitysources/{identity_source}` for external- identity-mapped groups or
* `customers/{customer_id}` for Google Groups. The `customer_id` must begin
* with "C" (for example, 'C046psxkn'). [Find your customer ID.]
* (https://support.google.com/cloudidentity/answer/10070793)
* @opt_param string view The level of detail to be returned. If unspecified,
* defaults to `View.BASIC`.
* @return ListGroupsResponse
* @throws \Google\Service\Exception
*/
public function listGroups($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListGroupsResponse::class);
}
/**
* Looks up the [resource
* name](https://cloud.google.com/apis/design/resource_names) of a `Group` by
* its `EntityKey`. (groups.lookup)
*
* @param array $optParams Optional parameters.
*
* @opt_param string groupKey.id The ID of the entity. For Google-managed
* entities, the `id` should be the email address of an existing group or user.
* Email addresses need to adhere to [name guidelines for users and
* groups](https://support.google.com/a/answer/9193374). For external-identity-
* mapped entities, the `id` must be a string conforming to the Identity
* Source's requirements. Must be unique within a `namespace`.
* @opt_param string groupKey.namespace The namespace in which the entity
* exists. If not specified, the `EntityKey` represents a Google-managed entity
* such as a Google user or a Google Group. If specified, the `EntityKey`
* represents an external-identity-mapped group. The namespace must correspond
* to an identity source created in Admin Console and must be in the form of
* `identitysources/{identity_source}`.
* @return LookupGroupNameResponse
* @throws \Google\Service\Exception
*/
public function lookup($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('lookup', [$params], LookupGroupNameResponse::class);
}
/**
* Updates a `Group`. (groups.patch)
*
* @param string $name Output only. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the `Group`.
* Shall be of the form `groups/{group}`.
* @param Group $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. The names of fields to update. May
* only contain the following field names: `display_name`, `description`,
* `labels`.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Group $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Searches for `Group` resources matching a specified query. (groups.search)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of results to return. Note that
* the number of results returned may be less than this value even if there are
* more available results. To fetch all results, clients must continue calling
* this method repeatedly until the response no longer contains a
* `next_page_token`. If unspecified, defaults to 200 for `GroupView.BASIC` and
* 50 for `GroupView.FULL`. Must not be greater than 1000 for `GroupView.BASIC`
* or 500 for `GroupView.FULL`.
* @opt_param string pageToken The `next_page_token` value returned from a
* previous search request, if any.
* @opt_param string query Required. The search query. * Must be specified in
* [Common Expression Language](https://opensource.google/projects/cel). * Must
* contain equality operators on the parent, e.g. `parent ==
* 'customers/{customer_id}'`. The `customer_id` must begin with "C" (for
* example, 'C046psxkn'). [Find your customer ID.]
* (https://support.google.com/cloudidentity/answer/10070793) * Can contain
* optional inclusion operators on `labels` such as
* `'cloudidentity.googleapis.com/groups.discussion_forum' in labels`). * Can
* contain an optional equality operator on `domain_name`. e.g. `domain_name ==
* 'examplepetstore.com'` * Can contain optional `startsWith/contains/equality`
* operators on `group_key`, e.g. `group_key.startsWith('dev')`,
* `group_key.contains('dev'), group_key == 'dev@examplepetstore.com'` * Can
* contain optional `startsWith/contains/equality` operators on `display_name`,
* such as `display_name.startsWith('dev')` , `display_name.contains('dev')`,
* `display_name == 'dev'`
* @opt_param string view The level of detail to be returned. If unspecified,
* defaults to `View.BASIC`.
* @return SearchGroupsResponse
* @throws \Google\Service\Exception
*/
public function search($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], SearchGroupsResponse::class);
}
/**
* Update Security Settings (groups.updateSecuritySettings)
*
* @param string $name Output only. The resource name of the security settings.
* Shall be of the form `groups/{group_id}/securitySettings`.
* @param SecuritySettings $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. The fully-qualified names of fields to
* update. May only contain the following field: `member_restriction.query`.
* @return Operation
* @throws \Google\Service\Exception
*/
public function updateSecuritySettings($name, SecuritySettings $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updateSecuritySettings', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Groups::class, 'Google_Service_CloudIdentity_Resource_Groups');

View File

@@ -0,0 +1,336 @@
<?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\CloudIdentity\Resource;
use Google\Service\CloudIdentity\CheckTransitiveMembershipResponse;
use Google\Service\CloudIdentity\ListMembershipsResponse;
use Google\Service\CloudIdentity\LookupMembershipNameResponse;
use Google\Service\CloudIdentity\Membership;
use Google\Service\CloudIdentity\ModifyMembershipRolesRequest;
use Google\Service\CloudIdentity\ModifyMembershipRolesResponse;
use Google\Service\CloudIdentity\Operation;
use Google\Service\CloudIdentity\SearchDirectGroupsResponse;
use Google\Service\CloudIdentity\SearchTransitiveGroupsResponse;
use Google\Service\CloudIdentity\SearchTransitiveMembershipsResponse;
/**
* The "memberships" collection of methods.
* Typical usage is:
* <code>
* $cloudidentityService = new Google\Service\CloudIdentity(...);
* $memberships = $cloudidentityService->groups_memberships;
* </code>
*/
class GroupsMemberships extends \Google\Service\Resource
{
/**
* Check a potential member for membership in a group. **Note:** This feature is
* only available to Google Workspace Enterprise Standard, Enterprise Plus, and
* Enterprise for Education; and Cloud Identity Premium accounts. If the account
* of the member is not one of these, a 403 (PERMISSION_DENIED) HTTP status code
* will be returned. A member has membership to a group as long as there is a
* single viewable transitive membership between the group and the member. The
* actor must have view permissions to at least one transitive membership
* between the member and group. (memberships.checkTransitiveMembership)
*
* @param string $parent [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the group to
* check the transitive membership in. Format: `groups/{group}`, where `group`
* is the unique id assigned to the Group to which the Membership belongs to.
* @param array $optParams Optional parameters.
*
* @opt_param string query Required. A CEL expression that MUST include member
* specification. This is a `required` field. Certain groups are uniquely
* identified by both a 'member_key_id' and a 'member_key_namespace', which
* requires an additional query input: 'member_key_namespace'. Example query:
* `member_key_id == 'member_key_id_value'`
* @return CheckTransitiveMembershipResponse
* @throws \Google\Service\Exception
*/
public function checkTransitiveMembership($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('checkTransitiveMembership', [$params], CheckTransitiveMembershipResponse::class);
}
/**
* Creates a `Membership`. (memberships.create)
*
* @param string $parent Required. The parent `Group` resource under which to
* create the `Membership`. Must be of the form `groups/{group}`.
* @param Membership $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, Membership $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a `Membership`. (memberships.delete)
*
* @param string $name Required. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the
* `Membership` to delete. Must be of the form
* `groups/{group}/memberships/{membership}`
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Retrieves a `Membership`. (memberships.get)
*
* @param string $name Required. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the
* `Membership` to retrieve. Must be of the form
* `groups/{group}/memberships/{membership}`.
* @param array $optParams Optional parameters.
* @return Membership
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Membership::class);
}
/**
* Get a membership graph of just a member or both a member and a group.
* **Note:** This feature is only available to Google Workspace Enterprise
* Standard, Enterprise Plus, and Enterprise for Education; and Cloud Identity
* Premium accounts. If the account of the member is not one of these, a 403
* (PERMISSION_DENIED) HTTP status code will be returned. Given a member, the
* response will contain all membership paths from the member. Given both a
* group and a member, the response will contain all membership paths between
* the group and the member. (memberships.getMembershipGraph)
*
* @param string $parent Required. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the group to
* search transitive memberships in. Format: `groups/{group}`, where `group` is
* the unique ID assigned to the Group to which the Membership belongs to. group
* can be a wildcard collection id "-". When a group is specified, the
* membership graph will be constrained to paths between the member (defined in
* the query) and the parent. If a wildcard collection is provided, all
* membership paths connected to the member will be returned.
* @param array $optParams Optional parameters.
*
* @opt_param string query Required. A CEL expression that MUST include member
* specification AND label(s). Certain groups are uniquely identified by both a
* 'member_key_id' and a 'member_key_namespace', which requires an additional
* query input: 'member_key_namespace'. Example query: `member_key_id ==
* 'member_key_id_value' && in labels`
* @return Operation
* @throws \Google\Service\Exception
*/
public function getMembershipGraph($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('getMembershipGraph', [$params], Operation::class);
}
/**
* Lists the `Membership`s within a `Group`. (memberships.listGroupsMemberships)
*
* @param string $parent Required. The parent `Group` resource under which to
* lookup the `Membership` name. Must be of the form `groups/{group}`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of results to return. Note that
* the number of results returned may be less than this value even if there are
* more available results. To fetch all results, clients must continue calling
* this method repeatedly until the response no longer contains a
* `next_page_token`. If unspecified, defaults to 200 for `GroupView.BASIC` and
* to 50 for `GroupView.FULL`. Must not be greater than 1000 for
* `GroupView.BASIC` or 500 for `GroupView.FULL`.
* @opt_param string pageToken The `next_page_token` value returned from a
* previous search request, if any.
* @opt_param string view The level of detail to be returned. If unspecified,
* defaults to `View.BASIC`.
* @return ListMembershipsResponse
* @throws \Google\Service\Exception
*/
public function listGroupsMemberships($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListMembershipsResponse::class);
}
/**
* Looks up the [resource
* name](https://cloud.google.com/apis/design/resource_names) of a `Membership`
* by its `EntityKey`. (memberships.lookup)
*
* @param string $parent Required. The parent `Group` resource under which to
* lookup the `Membership` name. Must be of the form `groups/{group}`.
* @param array $optParams Optional parameters.
*
* @opt_param string memberKey.id The ID of the entity. For Google-managed
* entities, the `id` should be the email address of an existing group or user.
* Email addresses need to adhere to [name guidelines for users and
* groups](https://support.google.com/a/answer/9193374). For external-identity-
* mapped entities, the `id` must be a string conforming to the Identity
* Source's requirements. Must be unique within a `namespace`.
* @opt_param string memberKey.namespace The namespace in which the entity
* exists. If not specified, the `EntityKey` represents a Google-managed entity
* such as a Google user or a Google Group. If specified, the `EntityKey`
* represents an external-identity-mapped group. The namespace must correspond
* to an identity source created in Admin Console and must be in the form of
* `identitysources/{identity_source}`.
* @return LookupMembershipNameResponse
* @throws \Google\Service\Exception
*/
public function lookup($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('lookup', [$params], LookupMembershipNameResponse::class);
}
/**
* Modifies the `MembershipRole`s of a `Membership`.
* (memberships.modifyMembershipRoles)
*
* @param string $name Required. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the
* `Membership` whose roles are to be modified. Must be of the form
* `groups/{group}/memberships/{membership}`.
* @param ModifyMembershipRolesRequest $postBody
* @param array $optParams Optional parameters.
* @return ModifyMembershipRolesResponse
* @throws \Google\Service\Exception
*/
public function modifyMembershipRoles($name, ModifyMembershipRolesRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('modifyMembershipRoles', [$params], ModifyMembershipRolesResponse::class);
}
/**
* Searches direct groups of a member. (memberships.searchDirectGroups)
*
* @param string $parent [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the group to
* search transitive memberships in. Format: groups/{group_id}, where group_id
* is always '-' as this API will search across all groups for a given member.
* @param array $optParams Optional parameters.
*
* @opt_param string orderBy The ordering of membership relation for the display
* name or email in the response. The syntax for this field can be found at
* https://cloud.google.com/apis/design/design_patterns#sorting_order. Example:
* Sort by the ascending display name: order_by="group_name" or
* order_by="group_name asc". Sort by the descending display name:
* order_by="group_name desc". Sort by the ascending group key:
* order_by="group_key" or order_by="group_key asc". Sort by the descending
* group key: order_by="group_key desc".
* @opt_param int pageSize The default page size is 200 (max 1000).
* @opt_param string pageToken The `next_page_token` value returned from a
* previous list request, if any
* @opt_param string query Required. A CEL expression that MUST include member
* specification AND label(s). Users can search on label attributes of groups.
* CONTAINS match ('in') is supported on labels. Identity-mapped groups are
* uniquely identified by both a `member_key_id` and a `member_key_namespace`,
* which requires an additional query input: `member_key_namespace`. Example
* query: `member_key_id == 'member_key_id_value' && 'label_value' in labels`
* @return SearchDirectGroupsResponse
* @throws \Google\Service\Exception
*/
public function searchDirectGroups($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('searchDirectGroups', [$params], SearchDirectGroupsResponse::class);
}
/**
* Search transitive groups of a member. **Note:** This feature is only
* available to Google Workspace Enterprise Standard, Enterprise Plus, and
* Enterprise for Education; and Cloud Identity Premium accounts. If the account
* of the member is not one of these, a 403 (PERMISSION_DENIED) HTTP status code
* will be returned. A transitive group is any group that has a direct or
* indirect membership to the member. Actor must have view permissions all
* transitive groups. (memberships.searchTransitiveGroups)
*
* @param string $parent [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the group to
* search transitive memberships in. Format: `groups/{group}`, where `group` is
* always '-' as this API will search across all groups for a given member.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The default page size is 200 (max 1000).
* @opt_param string pageToken The `next_page_token` value returned from a
* previous list request, if any.
* @opt_param string query Required. A CEL expression that MUST include member
* specification AND label(s). This is a `required` field. Users can search on
* label attributes of groups. CONTAINS match ('in') is supported on labels.
* Identity-mapped groups are uniquely identified by both a `member_key_id` and
* a `member_key_namespace`, which requires an additional query input:
* `member_key_namespace`. Example query: `member_key_id ==
* 'member_key_id_value' && in labels` Query may optionally contain equality
* operators on the parent of the group restricting the search within a
* particular customer, e.g. `parent == 'customers/{customer_id}'`. The
* `customer_id` must begin with "C" (for example, 'C046psxkn'). This filtering
* is only supported for Admins with groups read permissions on the input
* customer. Example query: `member_key_id == 'member_key_id_value' && in labels
* && parent == 'customers/C046psxkn'`
* @return SearchTransitiveGroupsResponse
* @throws \Google\Service\Exception
*/
public function searchTransitiveGroups($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('searchTransitiveGroups', [$params], SearchTransitiveGroupsResponse::class);
}
/**
* Search transitive memberships of a group. **Note:** This feature is only
* available to Google Workspace Enterprise Standard, Enterprise Plus, and
* Enterprise for Education; and Cloud Identity Premium accounts. If the account
* of the group is not one of these, a 403 (PERMISSION_DENIED) HTTP status code
* will be returned. A transitive membership is any direct or indirect
* membership of a group. Actor must have view permissions to all transitive
* memberships. (memberships.searchTransitiveMemberships)
*
* @param string $parent [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the group to
* search transitive memberships in. Format: `groups/{group}`, where `group` is
* the unique ID assigned to the Group.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The default page size is 200 (max 1000).
* @opt_param string pageToken The `next_page_token` value returned from a
* previous list request, if any.
* @return SearchTransitiveMembershipsResponse
* @throws \Google\Service\Exception
*/
public function searchTransitiveMemberships($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('searchTransitiveMemberships', [$params], SearchTransitiveMembershipsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GroupsMemberships::class, 'Google_Service_CloudIdentity_Resource_GroupsMemberships');

View File

@@ -0,0 +1,145 @@
<?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\CloudIdentity\Resource;
use Google\Service\CloudIdentity\InboundSamlSsoProfile;
use Google\Service\CloudIdentity\ListInboundSamlSsoProfilesResponse;
use Google\Service\CloudIdentity\Operation;
/**
* The "inboundSamlSsoProfiles" collection of methods.
* Typical usage is:
* <code>
* $cloudidentityService = new Google\Service\CloudIdentity(...);
* $inboundSamlSsoProfiles = $cloudidentityService->inboundSamlSsoProfiles;
* </code>
*/
class InboundSamlSsoProfiles extends \Google\Service\Resource
{
/**
* Creates an InboundSamlSsoProfile for a customer. When the target customer has
* enabled [Multi-party approval for sensitive
* actions](https://support.google.com/a/answer/13790448), the `Operation` in
* the response will have `"done": false`, it will not have a response, and the
* metadata will have `"state": "awaiting-multi-party-approval"`.
* (inboundSamlSsoProfiles.create)
*
* @param InboundSamlSsoProfile $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create(InboundSamlSsoProfile $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes an InboundSamlSsoProfile. (inboundSamlSsoProfiles.delete)
*
* @param string $name Required. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the
* InboundSamlSsoProfile to delete. Format:
* `inboundSamlSsoProfiles/{sso_profile_id}`
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets an InboundSamlSsoProfile. (inboundSamlSsoProfiles.get)
*
* @param string $name Required. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the
* InboundSamlSsoProfile to get. Format:
* `inboundSamlSsoProfiles/{sso_profile_id}`
* @param array $optParams Optional parameters.
* @return InboundSamlSsoProfile
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], InboundSamlSsoProfile::class);
}
/**
* Lists InboundSamlSsoProfiles for a customer.
* (inboundSamlSsoProfiles.listInboundSamlSsoProfiles)
*
* @param array $optParams Optional parameters.
*
* @opt_param string filter A [Common Expression
* Language](https://github.com/google/cel-spec) expression to filter the
* results. The only supported filter is filtering by customer. For example:
* `customer=="customers/C0123abc"`. Omitting the filter or specifying a filter
* of `customer=="customers/my_customer"` will return the profiles for the
* customer that the caller (authenticated user) belongs to.
* @opt_param int pageSize The maximum number of InboundSamlSsoProfiles to
* return. The service may return fewer than this value. If omitted (or
* defaulted to zero) the server will use a sensible default. This default may
* change over time. The maximum allowed value is 100. Requests with page_size
* greater than that will be silently interpreted as having this maximum value.
* @opt_param string pageToken A page token, received from a previous
* `ListInboundSamlSsoProfiles` call. Provide this to retrieve the subsequent
* page. When paginating, all other parameters provided to
* `ListInboundSamlSsoProfiles` must match the call that provided the page
* token.
* @return ListInboundSamlSsoProfilesResponse
* @throws \Google\Service\Exception
*/
public function listInboundSamlSsoProfiles($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListInboundSamlSsoProfilesResponse::class);
}
/**
* Updates an InboundSamlSsoProfile. When the target customer has enabled
* [Multi-party approval for sensitive
* actions](https://support.google.com/a/answer/13790448), the `Operation` in
* the response will have `"done": false`, it will not have a response, and the
* metadata will have `"state": "awaiting-multi-party-approval"`.
* (inboundSamlSsoProfiles.patch)
*
* @param string $name Output only. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the SAML SSO
* profile.
* @param InboundSamlSsoProfile $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. The list of fields to be updated.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, InboundSamlSsoProfile $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InboundSamlSsoProfiles::class, 'Google_Service_CloudIdentity_Resource_InboundSamlSsoProfiles');

View File

@@ -0,0 +1,116 @@
<?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\CloudIdentity\Resource;
use Google\Service\CloudIdentity\AddIdpCredentialRequest;
use Google\Service\CloudIdentity\IdpCredential;
use Google\Service\CloudIdentity\ListIdpCredentialsResponse;
use Google\Service\CloudIdentity\Operation;
/**
* The "idpCredentials" collection of methods.
* Typical usage is:
* <code>
* $cloudidentityService = new Google\Service\CloudIdentity(...);
* $idpCredentials = $cloudidentityService->inboundSamlSsoProfiles_idpCredentials;
* </code>
*/
class InboundSamlSsoProfilesIdpCredentials extends \Google\Service\Resource
{
/**
* Adds an IdpCredential. Up to 2 credentials are allowed. When the target
* customer has enabled [Multi-party approval for sensitive
* actions](https://support.google.com/a/answer/13790448), the `Operation` in
* the response will have `"done": false`, it will not have a response, and the
* metadata will have `"state": "awaiting-multi-party-approval"`.
* (idpCredentials.add)
*
* @param string $parent Required. The InboundSamlSsoProfile that owns the
* IdpCredential. Format: `inboundSamlSsoProfiles/{sso_profile_id}`
* @param AddIdpCredentialRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function add($parent, AddIdpCredentialRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('add', [$params], Operation::class);
}
/**
* Deletes an IdpCredential. (idpCredentials.delete)
*
* @param string $name Required. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the
* IdpCredential to delete. Format:
* `inboundSamlSsoProfiles/{sso_profile_id}/idpCredentials/{idp_credential_id}`
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets an IdpCredential. (idpCredentials.get)
*
* @param string $name Required. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the
* IdpCredential to retrieve. Format:
* `inboundSamlSsoProfiles/{sso_profile_id}/idpCredentials/{idp_credential_id}`
* @param array $optParams Optional parameters.
* @return IdpCredential
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], IdpCredential::class);
}
/**
* Returns a list of IdpCredentials in an InboundSamlSsoProfile.
* (idpCredentials.listInboundSamlSsoProfilesIdpCredentials)
*
* @param string $parent Required. The parent, which owns this collection of
* `IdpCredential`s. Format: `inboundSamlSsoProfiles/{sso_profile_id}`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of `IdpCredential`s to return. The
* service may return fewer than this value.
* @opt_param string pageToken A page token, received from a previous
* `ListIdpCredentials` call. Provide this to retrieve the subsequent page. When
* paginating, all other parameters provided to `ListIdpCredentials` must match
* the call that provided the page token.
* @return ListIdpCredentialsResponse
* @throws \Google\Service\Exception
*/
public function listInboundSamlSsoProfilesIdpCredentials($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListIdpCredentialsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InboundSamlSsoProfilesIdpCredentials::class, 'Google_Service_CloudIdentity_Resource_InboundSamlSsoProfilesIdpCredentials');

View File

@@ -0,0 +1,140 @@
<?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\CloudIdentity\Resource;
use Google\Service\CloudIdentity\InboundSsoAssignment;
use Google\Service\CloudIdentity\ListInboundSsoAssignmentsResponse;
use Google\Service\CloudIdentity\Operation;
/**
* The "inboundSsoAssignments" collection of methods.
* Typical usage is:
* <code>
* $cloudidentityService = new Google\Service\CloudIdentity(...);
* $inboundSsoAssignments = $cloudidentityService->inboundSsoAssignments;
* </code>
*/
class InboundSsoAssignments extends \Google\Service\Resource
{
/**
* Creates an InboundSsoAssignment for users and devices in a `Customer` under a
* given `Group` or `OrgUnit`. (inboundSsoAssignments.create)
*
* @param InboundSsoAssignment $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create(InboundSsoAssignment $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes an InboundSsoAssignment. To disable SSO, Create (or Update) an
* assignment that has `sso_mode` == `SSO_OFF`. (inboundSsoAssignments.delete)
*
* @param string $name Required. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the
* InboundSsoAssignment to delete. Format: `inboundSsoAssignments/{assignment}`
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets an InboundSsoAssignment. (inboundSsoAssignments.get)
*
* @param string $name Required. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the
* InboundSsoAssignment to fetch. Format: `inboundSsoAssignments/{assignment}`
* @param array $optParams Optional parameters.
* @return InboundSsoAssignment
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], InboundSsoAssignment::class);
}
/**
* Lists the InboundSsoAssignments for a `Customer`.
* (inboundSsoAssignments.listInboundSsoAssignments)
*
* @param array $optParams Optional parameters.
*
* @opt_param string filter A CEL expression to filter the results. The only
* supported filter is filtering by customer. For example:
* `customer==customers/C0123abc`. Omitting the filter or specifying a filter of
* `customer==customers/my_customer` will return the assignments for the
* customer that the caller (authenticated user) belongs to.
* @opt_param int pageSize The maximum number of assignments to return. The
* service may return fewer than this value. If omitted (or defaulted to zero)
* the server will use a sensible default. This default may change over time.
* The maximum allowed value is 100, though requests with page_size greater than
* that will be silently interpreted as having this maximum value. This may
* increase in the futue.
* @opt_param string pageToken A page token, received from a previous
* `ListInboundSsoAssignments` call. Provide this to retrieve the subsequent
* page. When paginating, all other parameters provided to
* `ListInboundSsoAssignments` must match the call that provided the page token.
* @return ListInboundSsoAssignmentsResponse
* @throws \Google\Service\Exception
*/
public function listInboundSsoAssignments($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListInboundSsoAssignmentsResponse::class);
}
/**
* Updates an InboundSsoAssignment. The body of this request is the
* `inbound_sso_assignment` field and the `update_mask` is relative to that. For
* example: a PATCH to
* `/v1/inboundSsoAssignments/0abcdefg1234567&update_mask=rank` with a body of
* `{ "rank": 1 }` moves that (presumably group-targeted) SSO assignment to the
* highest priority and shifts any other group-targeted assignments down in
* priority. (inboundSsoAssignments.patch)
*
* @param string $name Output only. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the Inbound SSO
* Assignment.
* @param InboundSsoAssignment $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. The list of fields to be updated.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, InboundSsoAssignment $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InboundSsoAssignments::class, 'Google_Service_CloudIdentity_Resource_InboundSsoAssignments');

View File

@@ -0,0 +1,86 @@
<?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\CloudIdentity\Resource;
use Google\Service\CloudIdentity\ListPoliciesResponse;
use Google\Service\CloudIdentity\Policy;
/**
* The "policies" collection of methods.
* Typical usage is:
* <code>
* $cloudidentityService = new Google\Service\CloudIdentity(...);
* $policies = $cloudidentityService->policies;
* </code>
*/
class Policies extends \Google\Service\Resource
{
/**
* Get a Policy (policies.get)
*
* @param string $name Required. The name of the policy to retrieve. Format:
* "policies/{policy}".
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Policy::class);
}
/**
* List Policies (policies.listPolicies)
*
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. A CEL expression for filtering the
* results. Policies can be filtered by application with this expression:
* setting.name = 'settings/gmail.*' Policies can be filtered by setting type
* with this expression: setting.name = '*.service_status' A maximum of one of
* the above setting.name clauses can be used. Policies can be filtered by
* customer with this expression: customer = "customers/{customer}" Where
* `customer` is the `id` from the [Admin SDK `Customer`
* resource](https://developers.google.com/admin-
* sdk/directory/reference/rest/v1/customers). You may use
* `customers/my_customer` to specify your own organization. When no customer is
* mentioned it will be default to customers/my_customer. A maximum of one
* customer clause can be used. The above clauses can only be combined together
* in a single filter expression with the `&&` operator.
* @opt_param int pageSize Optional. The maximum number of results to return.
* The service can return fewer than this number. If omitted or set to 0, the
* default is 50 results per page. The maximum allowed value is 100. `page_size`
* values greater than 100 default to 100.
* @opt_param string pageToken Optional. The pagination token received from a
* prior call to PoliciesService.ListPolicies to retrieve the next page of
* results. When paginating, all other parameters provided to
* `ListPoliciesRequest` must match the call that provided the page token.
* @return ListPoliciesResponse
* @throws \Google\Service\Exception
*/
public function listPolicies($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListPoliciesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policies::class, 'Google_Service_CloudIdentity_Resource_Policies');

View File

@@ -0,0 +1,44 @@
<?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\CloudIdentity;
class RestrictionEvaluation extends \Google\Model
{
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RestrictionEvaluation::class, 'Google_Service_CloudIdentity_RestrictionEvaluation');

View File

@@ -0,0 +1,42 @@
<?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\CloudIdentity;
class RestrictionEvaluations extends \Google\Model
{
protected $memberRestrictionEvaluationType = MembershipRoleRestrictionEvaluation::class;
protected $memberRestrictionEvaluationDataType = '';
/**
* @param MembershipRoleRestrictionEvaluation
*/
public function setMemberRestrictionEvaluation(MembershipRoleRestrictionEvaluation $memberRestrictionEvaluation)
{
$this->memberRestrictionEvaluation = $memberRestrictionEvaluation;
}
/**
* @return MembershipRoleRestrictionEvaluation
*/
public function getMemberRestrictionEvaluation()
{
return $this->memberRestrictionEvaluation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RestrictionEvaluations::class, 'Google_Service_CloudIdentity_RestrictionEvaluations');

Some files were not shown because too many files have changed in this diff Show More