gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,54 @@
<?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
{
/**
* State of this Operation Will be "awaiting-multi-party-approval" when the
* operation is deferred due to the target customer having enabled [Multi-
* party approval for sensitive
* actions](https://support.google.com/a/answer/13790448).
*
* @var string
*/
public $state;
/**
* State of this Operation Will be "awaiting-multi-party-approval" when the
* operation is deferred due to the target customer having enabled [Multi-
* party approval for sensitive
* actions](https://support.google.com/a/answer/13790448).
*
* @param string $state
*/
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');
@@ -0,0 +1,50 @@
<?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
{
/**
* PEM encoded x509 certificate containing the public key for verifying IdP
* signatures.
*
* @var string
*/
public $pemData;
/**
* PEM encoded x509 certificate containing the public key for verifying IdP
* signatures.
*
* @param string $pemData
*/
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');
@@ -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');
@@ -0,0 +1,54 @@
<?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
{
/**
* Response does not include the possible roles of a member since the behavior
* of this rpc is not all-or-nothing unlike the other rpcs. So, it may not be
* possible to list all the roles definitively, due to possible lack of
* authorization in some of the paths.
*
* @var bool
*/
public $hasMembership;
/**
* Response does not include the possible roles of a member since the behavior
* of this rpc is not all-or-nothing unlike the other rpcs. So, it may not be
* possible to list all the roles definitively, due to possible lack of
* authorization in some of the paths.
*
* @param bool $hasMembership
*/
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');
@@ -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');
@@ -0,0 +1,54 @@
<?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 CreateInboundOidcSsoProfileOperationMetadata extends \Google\Model
{
/**
* State of this Operation Will be "awaiting-multi-party-approval" when the
* operation is deferred due to the target customer having enabled [Multi-
* party approval for sensitive
* actions](https://support.google.com/a/answer/13790448).
*
* @var string
*/
public $state;
/**
* State of this Operation Will be "awaiting-multi-party-approval" when the
* operation is deferred due to the target customer having enabled [Multi-
* party approval for sensitive
* actions](https://support.google.com/a/answer/13790448).
*
* @param string $state
*/
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(CreateInboundOidcSsoProfileOperationMetadata::class, 'Google_Service_CloudIdentity_CreateInboundOidcSsoProfileOperationMetadata');
@@ -0,0 +1,54 @@
<?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
{
/**
* State of this Operation Will be "awaiting-multi-party-approval" when the
* operation is deferred due to the target customer having enabled [Multi-
* party approval for sensitive
* actions](https://support.google.com/a/answer/13790448).
*
* @var string
*/
public $state;
/**
* State of this Operation Will be "awaiting-multi-party-approval" when the
* operation is deferred due to the target customer having enabled [Multi-
* party approval for sensitive
* actions](https://support.google.com/a/answer/13790448).
*
* @param string $state
*/
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');
@@ -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');
@@ -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');
@@ -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');
@@ -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');
@@ -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 DeleteInboundOidcSsoProfileOperationMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteInboundOidcSsoProfileOperationMetadata::class, 'Google_Service_CloudIdentity_DeleteInboundOidcSsoProfileOperationMetadata');
@@ -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');
@@ -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');
@@ -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');
@@ -0,0 +1,48 @@
<?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
{
/**
* Key size in bits (size of parameter P).
*
* @var int
*/
public $keySize;
/**
* Key size in bits (size of parameter P).
*
* @param int $keySize
*/
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');
@@ -0,0 +1,65 @@
<?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 = '';
/**
* Memberships will be the union of all queries. Only one entry with USER
* resource is currently supported. Customers can create up to 500 dynamic
* groups.
*
* @param DynamicGroupQuery[] $queries
*/
public function setQueries($queries)
{
$this->queries = $queries;
}
/**
* @return DynamicGroupQuery[]
*/
public function getQueries()
{
return $this->queries;
}
/**
* Output only. Status of the dynamic group.
*
* @param DynamicGroupStatus $status
*/
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');
@@ -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 DynamicGroupQuery extends \Google\Model
{
/**
* Default value (not valid)
*/
public const RESOURCE_TYPE_RESOURCE_TYPE_UNSPECIFIED = 'RESOURCE_TYPE_UNSPECIFIED';
/**
* For queries on User
*/
public const RESOURCE_TYPE_USER = 'USER';
/**
* Query that determines the memberships of the dynamic group. Examples: All
* users with at least one `organizations.department` of engineering.
* `user.organizations.exists(org, org.department=='engineering')` All users
* with at least one location that has `area` of `foo` and `building_id` of
* `bar`. `user.locations.exists(loc, loc.area=='foo' &&
* loc.building_id=='bar')` All users with any variation of the name John Doe
* (case-insensitive queries add `equalsIgnoreCase()` to the value being
* queried). `user.name.value.equalsIgnoreCase('jOhn DoE')`
*
* @var string
*/
public $query;
/**
* Resource type for the Dynamic Group Query
*
* @var string
*/
public $resourceType;
/**
* Query that determines the memberships of the dynamic group. Examples: All
* users with at least one `organizations.department` of engineering.
* `user.organizations.exists(org, org.department=='engineering')` All users
* with at least one location that has `area` of `foo` and `building_id` of
* `bar`. `user.locations.exists(loc, loc.area=='foo' &&
* loc.building_id=='bar')` All users with any variation of the name John Doe
* (case-insensitive queries add `equalsIgnoreCase()` to the value being
* queried). `user.name.value.equalsIgnoreCase('jOhn DoE')`
*
* @param string $query
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* @return string
*/
public function getQuery()
{
return $this->query;
}
/**
* Resource type for the Dynamic Group Query
*
* Accepted values: RESOURCE_TYPE_UNSPECIFIED, USER
*
* @param self::RESOURCE_TYPE_* $resourceType
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return self::RESOURCE_TYPE_*
*/
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');
@@ -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 DynamicGroupStatus extends \Google\Model
{
/**
* Default.
*/
public const STATUS_STATUS_UNSPECIFIED = 'STATUS_UNSPECIFIED';
/**
* The dynamic group is up-to-date.
*/
public const STATUS_UP_TO_DATE = 'UP_TO_DATE';
/**
* The dynamic group has just been created and memberships are being updated.
*/
public const STATUS_UPDATING_MEMBERSHIPS = 'UPDATING_MEMBERSHIPS';
/**
* Group is in an unrecoverable state and its memberships can't be updated.
*/
public const STATUS_INVALID_QUERY = 'INVALID_QUERY';
/**
* Status of the dynamic group.
*
* @var string
*/
public $status;
/**
* The latest time at which the dynamic group is guaranteed to be in the given
* status. If status is `UP_TO_DATE`, the latest time at which the dynamic
* group was confirmed to be up-to-date. If status is `UPDATING_MEMBERSHIPS`,
* the time at which dynamic group was created.
*
* @var string
*/
public $statusTime;
/**
* Status of the dynamic group.
*
* Accepted values: STATUS_UNSPECIFIED, UP_TO_DATE, UPDATING_MEMBERSHIPS,
* INVALID_QUERY
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
/**
* The latest time at which the dynamic group is guaranteed to be in the given
* status. If status is `UP_TO_DATE`, the latest time at which the dynamic
* group was confirmed to be up-to-date. If status is `UPDATING_MEMBERSHIPS`,
* the time at which dynamic group was created.
*
* @param string $statusTime
*/
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');
@@ -0,0 +1,88 @@
<?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
{
/**
* 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`.
*
* @var string
*/
public $id;
/**
* 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}`.
*
* @var string
*/
public $namespace;
/**
* 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`.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* 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}`.
*
* @param string $namespace
*/
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');
@@ -0,0 +1,48 @@
<?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
{
/**
* The time at which the `MembershipRole` will expire.
*
* @var string
*/
public $expireTime;
/**
* The time at which the `MembershipRole` will expire.
*
* @param string $expireTime
*/
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');
@@ -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');
@@ -0,0 +1,65 @@
<?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';
/**
* The membership graph's path information represented as an adjacency list.
*
* @param MembershipAdjacencyList[] $adjacencyList
*/
public function setAdjacencyList($adjacencyList)
{
$this->adjacencyList = $adjacencyList;
}
/**
* @return MembershipAdjacencyList[]
*/
public function getAdjacencyList()
{
return $this->adjacencyList;
}
/**
* The resources representing each group in the adjacency list. Each group in
* this list can be correlated to a 'group' of the MembershipAdjacencyList
* using the 'name' of the Group resource.
*
* @param Group[] $groups
*/
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');
@@ -0,0 +1,229 @@
<?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
{
/**
* Ownership privilege is not set.
*/
public const OWNERSHIP_PRIVILEGE_OWNERSHIP_PRIVILEGE_UNSPECIFIED = 'OWNERSHIP_PRIVILEGE_UNSPECIFIED';
/**
* Active device administrator privileges on the device.
*/
public const OWNERSHIP_PRIVILEGE_DEVICE_ADMINISTRATOR = 'DEVICE_ADMINISTRATOR';
/**
* Profile Owner privileges. The account is in a managed corporate profile.
*/
public const OWNERSHIP_PRIVILEGE_PROFILE_OWNER = 'PROFILE_OWNER';
/**
* Device Owner privileges on the device.
*/
public const OWNERSHIP_PRIVILEGE_DEVICE_OWNER = 'DEVICE_OWNER';
/**
* Whether the device passes Android CTS compliance.
*
* @var bool
*/
public $ctsProfileMatch;
/**
* Whether applications from unknown sources can be installed on device.
*
* @var bool
*/
public $enabledUnknownSources;
/**
* Whether any potentially harmful apps were detected on the device.
*
* @var bool
*/
public $hasPotentiallyHarmfulApps;
/**
* Whether this account is on an owner/primary profile. For phones, only true
* for owner profiles. Android 4+ devices can have secondary or restricted
* user profiles.
*
* @var bool
*/
public $ownerProfileAccount;
/**
* Ownership privileges on device.
*
* @var string
*/
public $ownershipPrivilege;
/**
* Whether device supports Android work profiles. If false, this service will
* not block access to corp data even if an administrator turns on the
* "Enforce Work Profile" policy.
*
* @var bool
*/
public $supportsWorkProfile;
/**
* Whether Android verified boot status is GREEN.
*
* @var bool
*/
public $verifiedBoot;
/**
* Whether Google Play Protect Verify Apps is enabled.
*
* @var bool
*/
public $verifyAppsEnabled;
/**
* Whether the device passes Android CTS compliance.
*
* @param bool $ctsProfileMatch
*/
public function setCtsProfileMatch($ctsProfileMatch)
{
$this->ctsProfileMatch = $ctsProfileMatch;
}
/**
* @return bool
*/
public function getCtsProfileMatch()
{
return $this->ctsProfileMatch;
}
/**
* Whether applications from unknown sources can be installed on device.
*
* @param bool $enabledUnknownSources
*/
public function setEnabledUnknownSources($enabledUnknownSources)
{
$this->enabledUnknownSources = $enabledUnknownSources;
}
/**
* @return bool
*/
public function getEnabledUnknownSources()
{
return $this->enabledUnknownSources;
}
/**
* Whether any potentially harmful apps were detected on the device.
*
* @param bool $hasPotentiallyHarmfulApps
*/
public function setHasPotentiallyHarmfulApps($hasPotentiallyHarmfulApps)
{
$this->hasPotentiallyHarmfulApps = $hasPotentiallyHarmfulApps;
}
/**
* @return bool
*/
public function getHasPotentiallyHarmfulApps()
{
return $this->hasPotentiallyHarmfulApps;
}
/**
* Whether this account is on an owner/primary profile. For phones, only true
* for owner profiles. Android 4+ devices can have secondary or restricted
* user profiles.
*
* @param bool $ownerProfileAccount
*/
public function setOwnerProfileAccount($ownerProfileAccount)
{
$this->ownerProfileAccount = $ownerProfileAccount;
}
/**
* @return bool
*/
public function getOwnerProfileAccount()
{
return $this->ownerProfileAccount;
}
/**
* Ownership privileges on device.
*
* Accepted values: OWNERSHIP_PRIVILEGE_UNSPECIFIED, DEVICE_ADMINISTRATOR,
* PROFILE_OWNER, DEVICE_OWNER
*
* @param self::OWNERSHIP_PRIVILEGE_* $ownershipPrivilege
*/
public function setOwnershipPrivilege($ownershipPrivilege)
{
$this->ownershipPrivilege = $ownershipPrivilege;
}
/**
* @return self::OWNERSHIP_PRIVILEGE_*
*/
public function getOwnershipPrivilege()
{
return $this->ownershipPrivilege;
}
/**
* Whether device supports Android work profiles. If false, this service will
* not block access to corp data even if an administrator turns on the
* "Enforce Work Profile" policy.
*
* @param bool $supportsWorkProfile
*/
public function setSupportsWorkProfile($supportsWorkProfile)
{
$this->supportsWorkProfile = $supportsWorkProfile;
}
/**
* @return bool
*/
public function getSupportsWorkProfile()
{
return $this->supportsWorkProfile;
}
/**
* Whether Android verified boot status is GREEN.
*
* @param bool $verifiedBoot
*/
public function setVerifiedBoot($verifiedBoot)
{
$this->verifiedBoot = $verifiedBoot;
}
/**
* @return bool
*/
public function getVerifiedBoot()
{
return $this->verifiedBoot;
}
/**
* Whether Google Play Protect Verify Apps is enabled.
*
* @param bool $verifyAppsEnabled
*/
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');
@@ -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');
@@ -0,0 +1,58 @@
<?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
{
/**
* 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.
*
* @var string
*/
public $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.
*
* @param string $customer
*/
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');
@@ -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 GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse extends \Google\Model
{
protected $deviceUserType = GoogleAppsCloudidentityDevicesV1DeviceUser::class;
protected $deviceUserDataType = '';
/**
* Resultant DeviceUser object for the action.
*
* @param GoogleAppsCloudidentityDevicesV1DeviceUser $deviceUser
*/
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');
@@ -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');
@@ -0,0 +1,58 @@
<?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
{
/**
* 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.
*
* @var string
*/
public $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.
*
* @param string $customer
*/
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');
@@ -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 GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse extends \Google\Model
{
protected $deviceUserType = GoogleAppsCloudidentityDevicesV1DeviceUser::class;
protected $deviceUserDataType = '';
/**
* Resultant DeviceUser object for the action.
*
* @param GoogleAppsCloudidentityDevicesV1DeviceUser $deviceUser
*/
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');
@@ -0,0 +1,96 @@
<?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 = '';
/**
* Chrome profile ID that is exposed by the Chrome API. It is unique for each
* device.
*
* @var string
*/
public $chromeProfileId;
/**
* Timestamp in milliseconds since the Unix epoch when the profile/gcm id was
* last synced.
*
* @var string
*/
public $lastProfileSyncTime;
/**
* Represents the current state of the [Chrome browser
* attributes](https://cloud.google.com/access-context-manager/docs/browser-
* attributes) sent by the [Endpoint Verification
* extension](https://chromewebstore.google.com/detail/endpoint-
* verification/callobklhcbilhphinckomhgkigmfocg?pli=1).
*
* @param GoogleAppsCloudidentityDevicesV1BrowserInfo $chromeBrowserInfo
*/
public function setChromeBrowserInfo(GoogleAppsCloudidentityDevicesV1BrowserInfo $chromeBrowserInfo)
{
$this->chromeBrowserInfo = $chromeBrowserInfo;
}
/**
* @return GoogleAppsCloudidentityDevicesV1BrowserInfo
*/
public function getChromeBrowserInfo()
{
return $this->chromeBrowserInfo;
}
/**
* Chrome profile ID that is exposed by the Chrome API. It is unique for each
* device.
*
* @param string $chromeProfileId
*/
public function setChromeProfileId($chromeProfileId)
{
$this->chromeProfileId = $chromeProfileId;
}
/**
* @return string
*/
public function getChromeProfileId()
{
return $this->chromeProfileId;
}
/**
* Timestamp in milliseconds since the Unix epoch when the profile/gcm id was
* last synced.
*
* @param string $lastProfileSyncTime
*/
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');
@@ -0,0 +1,438 @@
<?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
{
/**
* Management state is not specified.
*/
public const BROWSER_MANAGEMENT_STATE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Browser/Profile is not managed by any customer.
*/
public const BROWSER_MANAGEMENT_STATE_UNMANAGED = 'UNMANAGED';
/**
* Browser/Profile is managed, but by some other customer.
*/
public const BROWSER_MANAGEMENT_STATE_MANAGED_BY_OTHER_DOMAIN = 'MANAGED_BY_OTHER_DOMAIN';
/**
* Profile is managed by customer.
*/
public const BROWSER_MANAGEMENT_STATE_PROFILE_MANAGED = 'PROFILE_MANAGED';
/**
* Browser is managed by customer.
*/
public const BROWSER_MANAGEMENT_STATE_BROWSER_MANAGED = 'BROWSER_MANAGED';
/**
* Password protection is not specified.
*/
public const PASSWORD_PROTECTION_WARNING_TRIGGER_PASSWORD_PROTECTION_TRIGGER_UNSPECIFIED = 'PASSWORD_PROTECTION_TRIGGER_UNSPECIFIED';
/**
* Password reuse is never detected.
*/
public const PASSWORD_PROTECTION_WARNING_TRIGGER_PROTECTION_OFF = 'PROTECTION_OFF';
/**
* Warning is shown when the user reuses their protected password on a non-
* allowed site.
*/
public const PASSWORD_PROTECTION_WARNING_TRIGGER_PASSWORD_REUSE = 'PASSWORD_REUSE';
/**
* Warning is shown when the user reuses their protected password on a
* phishing site.
*/
public const PASSWORD_PROTECTION_WARNING_TRIGGER_PHISHING_REUSE = 'PHISHING_REUSE';
/**
* Browser protection level is not specified.
*/
public const SAFE_BROWSING_PROTECTION_LEVEL_SAFE_BROWSING_LEVEL_UNSPECIFIED = 'SAFE_BROWSING_LEVEL_UNSPECIFIED';
/**
* No protection against dangerous websites, downloads, and extensions.
*/
public const SAFE_BROWSING_PROTECTION_LEVEL_DISABLED = 'DISABLED';
/**
* Standard protection against websites, downloads, and extensions that are
* known to be dangerous.
*/
public const SAFE_BROWSING_PROTECTION_LEVEL_STANDARD = 'STANDARD';
/**
* Faster, proactive protection against dangerous websites, downloads, and
* extensions.
*/
public const SAFE_BROWSING_PROTECTION_LEVEL_ENHANCED = 'ENHANCED';
/**
* Output only. Browser's management state.
*
* @var string
*/
public $browserManagementState;
/**
* Version of the request initiating browser. E.g. `91.0.4442.4`.
*
* @var string
*/
public $browserVersion;
/**
* Current state of [built-in DNS
* client](https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled).
*
* @var bool
*/
public $isBuiltInDnsClientEnabled;
/**
* Current state of [bulk data analysis](https://chromeenterprise.google/polic
* ies/#OnBulkDataEntryEnterpriseConnector). Set to true if provider list from
* Chrome is non-empty.
*
* @var bool
*/
public $isBulkDataEntryAnalysisEnabled;
/**
* Deprecated: This field is not used for Chrome version 118 and later.
* Current state of [Chrome
* Cleanup](https://chromeenterprise.google/policies/#ChromeCleanupEnabled).
*
* @deprecated
* @var bool
*/
public $isChromeCleanupEnabled;
/**
* Current state of [Chrome Remote Desktop
* app](https://chromeenterprise.google/policies/#URLBlocklist).
*
* @var bool
*/
public $isChromeRemoteDesktopAppBlocked;
/**
* Current state of [file download analysis](https://chromeenterprise.google/p
* olicies/#OnFileDownloadedEnterpriseConnector). Set to true if provider list
* from Chrome is non-empty.
*
* @var bool
*/
public $isFileDownloadAnalysisEnabled;
/**
* Current state of [file upload analysis](https://chromeenterprise.google/pol
* icies/#OnFileAttachedEnterpriseConnector). Set to true if provider list
* from Chrome is non-empty.
*
* @var bool
*/
public $isFileUploadAnalysisEnabled;
/**
* Current state of [real-time URL check](https://chromeenterprise.google/poli
* cies/#EnterpriseRealTimeUrlCheckMode). Set to true if provider list from
* Chrome is non-empty.
*
* @var bool
*/
public $isRealtimeUrlCheckEnabled;
/**
* Current state of [security event analysis](https://chromeenterprise.google/
* policies/#OnSecurityEventEnterpriseConnector). Set to true if provider list
* from Chrome is non-empty.
*
* @var bool
*/
public $isSecurityEventAnalysisEnabled;
/**
* Current state of [site isolation](https://chromeenterprise.google/policies/
* ?policy=IsolateOrigins).
*
* @var bool
*/
public $isSiteIsolationEnabled;
/**
* Current state of [third-party blocking](https://chromeenterprise.google/pol
* icies/#ThirdPartyBlockingEnabled).
*
* @var bool
*/
public $isThirdPartyBlockingEnabled;
/**
* Current state of [password protection trigger](https://chromeenterprise.goo
* gle/policies/#PasswordProtectionWarningTrigger).
*
* @var string
*/
public $passwordProtectionWarningTrigger;
/**
* Current state of [Safe Browsing protection level](https://chromeenterprise.
* google/policies/#SafeBrowsingProtectionLevel).
*
* @var string
*/
public $safeBrowsingProtectionLevel;
/**
* Output only. Browser's management state.
*
* Accepted values: UNSPECIFIED, UNMANAGED, MANAGED_BY_OTHER_DOMAIN,
* PROFILE_MANAGED, BROWSER_MANAGED
*
* @param self::BROWSER_MANAGEMENT_STATE_* $browserManagementState
*/
public function setBrowserManagementState($browserManagementState)
{
$this->browserManagementState = $browserManagementState;
}
/**
* @return self::BROWSER_MANAGEMENT_STATE_*
*/
public function getBrowserManagementState()
{
return $this->browserManagementState;
}
/**
* Version of the request initiating browser. E.g. `91.0.4442.4`.
*
* @param string $browserVersion
*/
public function setBrowserVersion($browserVersion)
{
$this->browserVersion = $browserVersion;
}
/**
* @return string
*/
public function getBrowserVersion()
{
return $this->browserVersion;
}
/**
* Current state of [built-in DNS
* client](https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled).
*
* @param bool $isBuiltInDnsClientEnabled
*/
public function setIsBuiltInDnsClientEnabled($isBuiltInDnsClientEnabled)
{
$this->isBuiltInDnsClientEnabled = $isBuiltInDnsClientEnabled;
}
/**
* @return bool
*/
public function getIsBuiltInDnsClientEnabled()
{
return $this->isBuiltInDnsClientEnabled;
}
/**
* Current state of [bulk data analysis](https://chromeenterprise.google/polic
* ies/#OnBulkDataEntryEnterpriseConnector). Set to true if provider list from
* Chrome is non-empty.
*
* @param bool $isBulkDataEntryAnalysisEnabled
*/
public function setIsBulkDataEntryAnalysisEnabled($isBulkDataEntryAnalysisEnabled)
{
$this->isBulkDataEntryAnalysisEnabled = $isBulkDataEntryAnalysisEnabled;
}
/**
* @return bool
*/
public function getIsBulkDataEntryAnalysisEnabled()
{
return $this->isBulkDataEntryAnalysisEnabled;
}
/**
* Deprecated: This field is not used for Chrome version 118 and later.
* Current state of [Chrome
* Cleanup](https://chromeenterprise.google/policies/#ChromeCleanupEnabled).
*
* @deprecated
* @param bool $isChromeCleanupEnabled
*/
public function setIsChromeCleanupEnabled($isChromeCleanupEnabled)
{
$this->isChromeCleanupEnabled = $isChromeCleanupEnabled;
}
/**
* @deprecated
* @return bool
*/
public function getIsChromeCleanupEnabled()
{
return $this->isChromeCleanupEnabled;
}
/**
* Current state of [Chrome Remote Desktop
* app](https://chromeenterprise.google/policies/#URLBlocklist).
*
* @param bool $isChromeRemoteDesktopAppBlocked
*/
public function setIsChromeRemoteDesktopAppBlocked($isChromeRemoteDesktopAppBlocked)
{
$this->isChromeRemoteDesktopAppBlocked = $isChromeRemoteDesktopAppBlocked;
}
/**
* @return bool
*/
public function getIsChromeRemoteDesktopAppBlocked()
{
return $this->isChromeRemoteDesktopAppBlocked;
}
/**
* Current state of [file download analysis](https://chromeenterprise.google/p
* olicies/#OnFileDownloadedEnterpriseConnector). Set to true if provider list
* from Chrome is non-empty.
*
* @param bool $isFileDownloadAnalysisEnabled
*/
public function setIsFileDownloadAnalysisEnabled($isFileDownloadAnalysisEnabled)
{
$this->isFileDownloadAnalysisEnabled = $isFileDownloadAnalysisEnabled;
}
/**
* @return bool
*/
public function getIsFileDownloadAnalysisEnabled()
{
return $this->isFileDownloadAnalysisEnabled;
}
/**
* Current state of [file upload analysis](https://chromeenterprise.google/pol
* icies/#OnFileAttachedEnterpriseConnector). Set to true if provider list
* from Chrome is non-empty.
*
* @param bool $isFileUploadAnalysisEnabled
*/
public function setIsFileUploadAnalysisEnabled($isFileUploadAnalysisEnabled)
{
$this->isFileUploadAnalysisEnabled = $isFileUploadAnalysisEnabled;
}
/**
* @return bool
*/
public function getIsFileUploadAnalysisEnabled()
{
return $this->isFileUploadAnalysisEnabled;
}
/**
* Current state of [real-time URL check](https://chromeenterprise.google/poli
* cies/#EnterpriseRealTimeUrlCheckMode). Set to true if provider list from
* Chrome is non-empty.
*
* @param bool $isRealtimeUrlCheckEnabled
*/
public function setIsRealtimeUrlCheckEnabled($isRealtimeUrlCheckEnabled)
{
$this->isRealtimeUrlCheckEnabled = $isRealtimeUrlCheckEnabled;
}
/**
* @return bool
*/
public function getIsRealtimeUrlCheckEnabled()
{
return $this->isRealtimeUrlCheckEnabled;
}
/**
* Current state of [security event analysis](https://chromeenterprise.google/
* policies/#OnSecurityEventEnterpriseConnector). Set to true if provider list
* from Chrome is non-empty.
*
* @param bool $isSecurityEventAnalysisEnabled
*/
public function setIsSecurityEventAnalysisEnabled($isSecurityEventAnalysisEnabled)
{
$this->isSecurityEventAnalysisEnabled = $isSecurityEventAnalysisEnabled;
}
/**
* @return bool
*/
public function getIsSecurityEventAnalysisEnabled()
{
return $this->isSecurityEventAnalysisEnabled;
}
/**
* Current state of [site isolation](https://chromeenterprise.google/policies/
* ?policy=IsolateOrigins).
*
* @param bool $isSiteIsolationEnabled
*/
public function setIsSiteIsolationEnabled($isSiteIsolationEnabled)
{
$this->isSiteIsolationEnabled = $isSiteIsolationEnabled;
}
/**
* @return bool
*/
public function getIsSiteIsolationEnabled()
{
return $this->isSiteIsolationEnabled;
}
/**
* Current state of [third-party blocking](https://chromeenterprise.google/pol
* icies/#ThirdPartyBlockingEnabled).
*
* @param bool $isThirdPartyBlockingEnabled
*/
public function setIsThirdPartyBlockingEnabled($isThirdPartyBlockingEnabled)
{
$this->isThirdPartyBlockingEnabled = $isThirdPartyBlockingEnabled;
}
/**
* @return bool
*/
public function getIsThirdPartyBlockingEnabled()
{
return $this->isThirdPartyBlockingEnabled;
}
/**
* Current state of [password protection trigger](https://chromeenterprise.goo
* gle/policies/#PasswordProtectionWarningTrigger).
*
* Accepted values: PASSWORD_PROTECTION_TRIGGER_UNSPECIFIED, PROTECTION_OFF,
* PASSWORD_REUSE, PHISHING_REUSE
*
* @param self::PASSWORD_PROTECTION_WARNING_TRIGGER_* $passwordProtectionWarningTrigger
*/
public function setPasswordProtectionWarningTrigger($passwordProtectionWarningTrigger)
{
$this->passwordProtectionWarningTrigger = $passwordProtectionWarningTrigger;
}
/**
* @return self::PASSWORD_PROTECTION_WARNING_TRIGGER_*
*/
public function getPasswordProtectionWarningTrigger()
{
return $this->passwordProtectionWarningTrigger;
}
/**
* Current state of [Safe Browsing protection level](https://chromeenterprise.
* google/policies/#SafeBrowsingProtectionLevel).
*
* Accepted values: SAFE_BROWSING_LEVEL_UNSPECIFIED, DISABLED, STANDARD,
* ENHANCED
*
* @param self::SAFE_BROWSING_PROTECTION_LEVEL_* $safeBrowsingProtectionLevel
*/
public function setSafeBrowsingProtectionLevel($safeBrowsingProtectionLevel)
{
$this->safeBrowsingProtectionLevel = $safeBrowsingProtectionLevel;
}
/**
* @return self::SAFE_BROWSING_PROTECTION_LEVEL_*
*/
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');
@@ -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');
@@ -0,0 +1,58 @@
<?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
{
/**
* 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.
*
* @var string
*/
public $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.
*
* @param string $customer
*/
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');
@@ -0,0 +1,45 @@
<?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 = '';
/**
* Resultant Device object for the action. Note that asset tags will not be
* returned in the device object.
*
* @param GoogleAppsCloudidentityDevicesV1Device $device
*/
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');
@@ -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');
@@ -0,0 +1,58 @@
<?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
{
/**
* 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.
*
* @var string
*/
public $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.
*
* @param string $customer
*/
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');
@@ -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 GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse extends \Google\Model
{
protected $deviceUserType = GoogleAppsCloudidentityDevicesV1DeviceUser::class;
protected $deviceUserDataType = '';
/**
* Resultant DeviceUser object for the action.
*
* @param GoogleAppsCloudidentityDevicesV1DeviceUser $deviceUser
*/
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');
@@ -0,0 +1,235 @@
<?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
{
/**
* Default value.
*/
public const VALIDATION_STATE_CERTIFICATE_VALIDATION_STATE_UNSPECIFIED = 'CERTIFICATE_VALIDATION_STATE_UNSPECIFIED';
/**
* Certificate validation was successful.
*/
public const VALIDATION_STATE_VALIDATION_SUCCESSFUL = 'VALIDATION_SUCCESSFUL';
/**
* Certificate validation failed.
*/
public const VALIDATION_STATE_VALIDATION_FAILED = 'VALIDATION_FAILED';
protected $certificateTemplateType = GoogleAppsCloudidentityDevicesV1CertificateTemplate::class;
protected $certificateTemplateDataType = '';
/**
* The encoded certificate fingerprint.
*
* @var string
*/
public $fingerprint;
/**
* The name of the issuer of this certificate.
*
* @var string
*/
public $issuer;
/**
* Serial number of the certificate, Example: "123456789".
*
* @var string
*/
public $serialNumber;
/**
* The subject name of this certificate.
*
* @var string
*/
public $subject;
/**
* The certificate thumbprint.
*
* @var string
*/
public $thumbprint;
/**
* Output only. Validation state of this certificate.
*
* @var string
*/
public $validationState;
/**
* Certificate not valid at or after this timestamp.
*
* @var string
*/
public $validityExpirationTime;
/**
* Certificate not valid before this timestamp.
*
* @var string
*/
public $validityStartTime;
/**
* The X.509 extension for CertificateTemplate.
*
* @param GoogleAppsCloudidentityDevicesV1CertificateTemplate $certificateTemplate
*/
public function setCertificateTemplate(GoogleAppsCloudidentityDevicesV1CertificateTemplate $certificateTemplate)
{
$this->certificateTemplate = $certificateTemplate;
}
/**
* @return GoogleAppsCloudidentityDevicesV1CertificateTemplate
*/
public function getCertificateTemplate()
{
return $this->certificateTemplate;
}
/**
* The encoded certificate fingerprint.
*
* @param string $fingerprint
*/
public function setFingerprint($fingerprint)
{
$this->fingerprint = $fingerprint;
}
/**
* @return string
*/
public function getFingerprint()
{
return $this->fingerprint;
}
/**
* The name of the issuer of this certificate.
*
* @param string $issuer
*/
public function setIssuer($issuer)
{
$this->issuer = $issuer;
}
/**
* @return string
*/
public function getIssuer()
{
return $this->issuer;
}
/**
* Serial number of the certificate, Example: "123456789".
*
* @param string $serialNumber
*/
public function setSerialNumber($serialNumber)
{
$this->serialNumber = $serialNumber;
}
/**
* @return string
*/
public function getSerialNumber()
{
return $this->serialNumber;
}
/**
* The subject name of this certificate.
*
* @param string $subject
*/
public function setSubject($subject)
{
$this->subject = $subject;
}
/**
* @return string
*/
public function getSubject()
{
return $this->subject;
}
/**
* The certificate thumbprint.
*
* @param string $thumbprint
*/
public function setThumbprint($thumbprint)
{
$this->thumbprint = $thumbprint;
}
/**
* @return string
*/
public function getThumbprint()
{
return $this->thumbprint;
}
/**
* Output only. Validation state of this certificate.
*
* Accepted values: CERTIFICATE_VALIDATION_STATE_UNSPECIFIED,
* VALIDATION_SUCCESSFUL, VALIDATION_FAILED
*
* @param self::VALIDATION_STATE_* $validationState
*/
public function setValidationState($validationState)
{
$this->validationState = $validationState;
}
/**
* @return self::VALIDATION_STATE_*
*/
public function getValidationState()
{
return $this->validationState;
}
/**
* Certificate not valid at or after this timestamp.
*
* @param string $validityExpirationTime
*/
public function setValidityExpirationTime($validityExpirationTime)
{
$this->validityExpirationTime = $validityExpirationTime;
}
/**
* @return string
*/
public function getValidityExpirationTime()
{
return $this->validityExpirationTime;
}
/**
* Certificate not valid before this timestamp.
*
* @param string $validityStartTime
*/
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');
@@ -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 GoogleAppsCloudidentityDevicesV1CertificateTemplate extends \Google\Model
{
/**
* The template id of the template. Example: "1.3.6.1.4.1.311.21.8.15608621.11
* 768144.5720724.16068415.6889630.81.2472537.7784047".
*
* @var string
*/
public $id;
/**
* The Major version of the template. Example: 100.
*
* @var int
*/
public $majorVersion;
/**
* The minor version of the template. Example: 12.
*
* @var int
*/
public $minorVersion;
/**
* The template id of the template. Example: "1.3.6.1.4.1.311.21.8.15608621.11
* 768144.5720724.16068415.6889630.81.2472537.7784047".
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* The Major version of the template. Example: 100.
*
* @param int $majorVersion
*/
public function setMajorVersion($majorVersion)
{
$this->majorVersion = $majorVersion;
}
/**
* @return int
*/
public function getMajorVersion()
{
return $this->majorVersion;
}
/**
* The minor version of the template. Example: 12.
*
* @param int $minorVersion
*/
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');
@@ -0,0 +1,399 @@
<?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
{
/**
* The compliance state of the resource is unknown or unspecified.
*/
public const COMPLIANCE_STATE_COMPLIANCE_STATE_UNSPECIFIED = 'COMPLIANCE_STATE_UNSPECIFIED';
/**
* Device is compliant with third party policies
*/
public const COMPLIANCE_STATE_COMPLIANT = 'COMPLIANT';
/**
* Device is not compliant with third party policies
*/
public const COMPLIANCE_STATE_NON_COMPLIANT = 'NON_COMPLIANT';
/**
* Default value
*/
public const HEALTH_SCORE_HEALTH_SCORE_UNSPECIFIED = 'HEALTH_SCORE_UNSPECIFIED';
/**
* The object is in very poor health as defined by the caller.
*/
public const HEALTH_SCORE_VERY_POOR = 'VERY_POOR';
/**
* The object is in poor health as defined by the caller.
*/
public const HEALTH_SCORE_POOR = 'POOR';
/**
* The object health is neither good nor poor, as defined by the caller.
*/
public const HEALTH_SCORE_NEUTRAL = 'NEUTRAL';
/**
* The object is in good health as defined by the caller.
*/
public const HEALTH_SCORE_GOOD = 'GOOD';
/**
* The object is in very good health as defined by the caller.
*/
public const HEALTH_SCORE_VERY_GOOD = 'VERY_GOOD';
/**
* The management state of the resource is unknown or unspecified.
*/
public const MANAGED_MANAGED_STATE_UNSPECIFIED = 'MANAGED_STATE_UNSPECIFIED';
/**
* The resource is managed.
*/
public const MANAGED_MANAGED = 'MANAGED';
/**
* The resource is not managed.
*/
public const MANAGED_UNMANAGED = 'UNMANAGED';
/**
* Unknown owner type
*/
public const OWNER_TYPE_OWNER_TYPE_UNSPECIFIED = 'OWNER_TYPE_UNSPECIFIED';
/**
* Customer is the owner
*/
public const OWNER_TYPE_OWNER_TYPE_CUSTOMER = 'OWNER_TYPE_CUSTOMER';
/**
* Partner is the owner
*/
public const OWNER_TYPE_OWNER_TYPE_PARTNER = 'OWNER_TYPE_PARTNER';
protected $collection_key = 'assetTags';
/**
* The caller can specify asset tags for this resource
*
* @var string[]
*/
public $assetTags;
/**
* The compliance state of the resource as specified by the API client.
*
* @var string
*/
public $complianceState;
/**
* Output only. The time the client state data was created.
*
* @var string
*/
public $createTime;
/**
* This field may be used to store a unique identifier for the API resource
* within which these CustomAttributes are a field.
*
* @var string
*/
public $customId;
/**
* The token that needs to be passed back for concurrency control in updates.
* Token needs to be passed back in UpdateRequest
*
* @var string
*/
public $etag;
/**
* The Health score of the resource. The Health score is the callers
* specification of the condition of the device from a usability point of
* view. For example, a third-party device management provider may specify a
* health score based on its compliance with organizational policies.
*
* @var string
*/
public $healthScore;
protected $keyValuePairsType = GoogleAppsCloudidentityDevicesV1CustomAttributeValue::class;
protected $keyValuePairsDataType = 'map';
/**
* Output only. The time the client state data was last updated.
*
* @var string
*/
public $lastUpdateTime;
/**
* The management state of the resource as specified by the API client.
*
* @var string
*/
public $managed;
/**
* 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')
*
* @var string
*/
public $name;
/**
* Output only. The owner of the ClientState
*
* @var string
*/
public $ownerType;
/**
* A descriptive cause of the health score.
*
* @var string
*/
public $scoreReason;
/**
* The caller can specify asset tags for this resource
*
* @param string[] $assetTags
*/
public function setAssetTags($assetTags)
{
$this->assetTags = $assetTags;
}
/**
* @return string[]
*/
public function getAssetTags()
{
return $this->assetTags;
}
/**
* The compliance state of the resource as specified by the API client.
*
* Accepted values: COMPLIANCE_STATE_UNSPECIFIED, COMPLIANT, NON_COMPLIANT
*
* @param self::COMPLIANCE_STATE_* $complianceState
*/
public function setComplianceState($complianceState)
{
$this->complianceState = $complianceState;
}
/**
* @return self::COMPLIANCE_STATE_*
*/
public function getComplianceState()
{
return $this->complianceState;
}
/**
* Output only. The time the client state data was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* This field may be used to store a unique identifier for the API resource
* within which these CustomAttributes are a field.
*
* @param string $customId
*/
public function setCustomId($customId)
{
$this->customId = $customId;
}
/**
* @return string
*/
public function getCustomId()
{
return $this->customId;
}
/**
* The token that needs to be passed back for concurrency control in updates.
* Token needs to be passed back in UpdateRequest
*
* @param string $etag
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* The Health score of the resource. The Health score is the callers
* specification of the condition of the device from a usability point of
* view. For example, a third-party device management provider may specify a
* health score based on its compliance with organizational policies.
*
* Accepted values: HEALTH_SCORE_UNSPECIFIED, VERY_POOR, POOR, NEUTRAL, GOOD,
* VERY_GOOD
*
* @param self::HEALTH_SCORE_* $healthScore
*/
public function setHealthScore($healthScore)
{
$this->healthScore = $healthScore;
}
/**
* @return self::HEALTH_SCORE_*
*/
public function getHealthScore()
{
return $this->healthScore;
}
/**
* The map of key-value attributes stored by callers specific to a device. The
* total serialized length of this map may not exceed 10KB. No limit is placed
* on the number of attributes in a map.
*
* @param GoogleAppsCloudidentityDevicesV1CustomAttributeValue[] $keyValuePairs
*/
public function setKeyValuePairs($keyValuePairs)
{
$this->keyValuePairs = $keyValuePairs;
}
/**
* @return GoogleAppsCloudidentityDevicesV1CustomAttributeValue[]
*/
public function getKeyValuePairs()
{
return $this->keyValuePairs;
}
/**
* Output only. The time the client state data was last updated.
*
* @param string $lastUpdateTime
*/
public function setLastUpdateTime($lastUpdateTime)
{
$this->lastUpdateTime = $lastUpdateTime;
}
/**
* @return string
*/
public function getLastUpdateTime()
{
return $this->lastUpdateTime;
}
/**
* The management state of the resource as specified by the API client.
*
* Accepted values: MANAGED_STATE_UNSPECIFIED, MANAGED, UNMANAGED
*
* @param self::MANAGED_* $managed
*/
public function setManaged($managed)
{
$this->managed = $managed;
}
/**
* @return self::MANAGED_*
*/
public function getManaged()
{
return $this->managed;
}
/**
* 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 string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The owner of the ClientState
*
* Accepted values: OWNER_TYPE_UNSPECIFIED, OWNER_TYPE_CUSTOMER,
* OWNER_TYPE_PARTNER
*
* @param self::OWNER_TYPE_* $ownerType
*/
public function setOwnerType($ownerType)
{
$this->ownerType = $ownerType;
}
/**
* @return self::OWNER_TYPE_*
*/
public function getOwnerType()
{
return $this->ownerType;
}
/**
* A descriptive cause of the health score.
*
* @param string $scoreReason
*/
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');
@@ -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');
@@ -0,0 +1,84 @@
<?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
{
/**
* Represents a boolean value.
*
* @var bool
*/
public $boolValue;
/**
* Represents a double value.
*
* @var
*/
public $numberValue;
/**
* Represents a string value.
*
* @var string
*/
public $stringValue;
/**
* Represents a boolean value.
*
* @param bool $boolValue
*/
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;
}
/**
* Represents a string value.
*
* @param string $stringValue
*/
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');
@@ -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');
@@ -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');
@@ -0,0 +1,859 @@
<?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
{
/**
* Default value.
*/
public const COMPROMISED_STATE_COMPROMISED_STATE_UNSPECIFIED = 'COMPROMISED_STATE_UNSPECIFIED';
/**
* The device is compromised (currently, this means Android device is rooted).
*/
public const COMPROMISED_STATE_COMPROMISED = 'COMPROMISED';
/**
* The device is safe (currently, this means Android device is unrooted).
*/
public const COMPROMISED_STATE_UNCOMPROMISED = 'UNCOMPROMISED';
/**
* Unknown device type
*/
public const DEVICE_TYPE_DEVICE_TYPE_UNSPECIFIED = 'DEVICE_TYPE_UNSPECIFIED';
/**
* Device is an Android device
*/
public const DEVICE_TYPE_ANDROID = 'ANDROID';
/**
* Device is an iOS device
*/
public const DEVICE_TYPE_IOS = 'IOS';
/**
* Device is a Google Sync device.
*/
public const DEVICE_TYPE_GOOGLE_SYNC = 'GOOGLE_SYNC';
/**
* Device is a Windows device.
*/
public const DEVICE_TYPE_WINDOWS = 'WINDOWS';
/**
* Device is a MacOS device.
*/
public const DEVICE_TYPE_MAC_OS = 'MAC_OS';
/**
* Device is a Linux device.
*/
public const DEVICE_TYPE_LINUX = 'LINUX';
/**
* Device is a ChromeOS device.
*/
public const DEVICE_TYPE_CHROME_OS = 'CHROME_OS';
/**
* Encryption Status is not set.
*/
public const ENCRYPTION_STATE_ENCRYPTION_STATE_UNSPECIFIED = 'ENCRYPTION_STATE_UNSPECIFIED';
/**
* Device doesn't support encryption.
*/
public const ENCRYPTION_STATE_UNSUPPORTED_BY_DEVICE = 'UNSUPPORTED_BY_DEVICE';
/**
* Device is encrypted.
*/
public const ENCRYPTION_STATE_ENCRYPTED = 'ENCRYPTED';
/**
* Device is not encrypted.
*/
public const ENCRYPTION_STATE_NOT_ENCRYPTED = 'NOT_ENCRYPTED';
/**
* Default value. This value is unused.
*/
public const MANAGEMENT_STATE_MANAGEMENT_STATE_UNSPECIFIED = 'MANAGEMENT_STATE_UNSPECIFIED';
/**
* Device is approved.
*/
public const MANAGEMENT_STATE_APPROVED = 'APPROVED';
/**
* Device is blocked.
*/
public const MANAGEMENT_STATE_BLOCKED = 'BLOCKED';
/**
* Device is pending approval.
*/
public const MANAGEMENT_STATE_PENDING = 'PENDING';
/**
* The device is not provisioned. Device will start from this state until some
* action is taken (i.e. a user starts using the device).
*/
public const MANAGEMENT_STATE_UNPROVISIONED = 'UNPROVISIONED';
/**
* Data and settings on the device are being removed.
*/
public const MANAGEMENT_STATE_WIPING = 'WIPING';
/**
* All data and settings on the device are removed.
*/
public const MANAGEMENT_STATE_WIPED = 'WIPED';
/**
* Default value. The value is unused.
*/
public const OWNER_TYPE_DEVICE_OWNERSHIP_UNSPECIFIED = 'DEVICE_OWNERSHIP_UNSPECIFIED';
/**
* Company owns the device.
*/
public const OWNER_TYPE_COMPANY = 'COMPANY';
/**
* Bring Your Own Device (i.e. individual owns the device)
*/
public const OWNER_TYPE_BYOD = 'BYOD';
protected $collection_key = 'wifiMacAddresses';
protected $androidSpecificAttributesType = GoogleAppsCloudidentityDevicesV1AndroidAttributes::class;
protected $androidSpecificAttributesDataType = '';
/**
* Asset tag of the device.
*
* @var string
*/
public $assetTag;
/**
* Output only. Baseband version of the device.
*
* @var string
*/
public $basebandVersion;
/**
* Output only. Device bootloader version. Example: 0.6.7.
*
* @var string
*/
public $bootloaderVersion;
/**
* Output only. Device brand. Example: Samsung.
*
* @var string
*/
public $brand;
/**
* Output only. Build number of the device.
*
* @var string
*/
public $buildNumber;
/**
* Output only. Represents whether the Device is compromised.
*
* @var string
*/
public $compromisedState;
/**
* Output only. When the Company-Owned device was imported. This field is
* empty for BYOD devices.
*
* @var string
*/
public $createTime;
/**
* Unique identifier for the device.
*
* @var string
*/
public $deviceId;
/**
* Output only. Type of device.
*
* @var string
*/
public $deviceType;
/**
* Output only. Whether developer options is enabled on device.
*
* @var bool
*/
public $enabledDeveloperOptions;
/**
* Output only. Whether USB debugging is enabled on device.
*
* @var bool
*/
public $enabledUsbDebugging;
/**
* Output only. Device encryption state.
*
* @var string
*/
public $encryptionState;
protected $endpointVerificationSpecificAttributesType = GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes::class;
protected $endpointVerificationSpecificAttributesDataType = '';
/**
* Host name of the device.
*
* @var string
*/
public $hostname;
/**
* Output only. IMEI number of device if GSM device; empty otherwise.
*
* @var string
*/
public $imei;
/**
* Output only. Kernel version of the device.
*
* @var string
*/
public $kernelVersion;
/**
* Most recent time when device synced with this service.
*
* @var string
*/
public $lastSyncTime;
/**
* Output only. Management state of the device
*
* @var string
*/
public $managementState;
/**
* Output only. Device manufacturer. Example: Motorola.
*
* @var string
*/
public $manufacturer;
/**
* Output only. MEID number of device if CDMA device; empty otherwise.
*
* @var string
*/
public $meid;
/**
* Output only. Model name of device. Example: Pixel 3.
*
* @var string
*/
public $model;
/**
* Output only. [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. Important: Device API scopes require that you use domain-wide
* delegation to access the API. For more information, see [Set up the Devices
* API](https://cloud.google.com/identity/docs/how-to/setup-devices).
*
* @var string
*/
public $name;
/**
* Output only. Mobile or network operator of device, if available.
*
* @var string
*/
public $networkOperator;
/**
* Output only. OS version of the device. Example: Android 8.1.0.
*
* @var string
*/
public $osVersion;
/**
* Output only. Domain name for Google accounts on device. Type for other
* accounts on device. On Android, will only be populated if
* |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not
* include the account signed in to the device policy app if that account's
* domain has only one account. Examples: "com.example", "xyz.com".
*
* @var string[]
*/
public $otherAccounts;
/**
* Output only. Whether the device is owned by the company or an individual
*
* @var string
*/
public $ownerType;
/**
* Output only. OS release version. Example: 6.0.
*
* @var string
*/
public $releaseVersion;
/**
* Output only. OS security patch update time on device.
*
* @var string
*/
public $securityPatchTime;
/**
* Serial Number of device. Example: HT82V1A01076.
*
* @var string
*/
public $serialNumber;
/**
* Output only. Unified device id of the device.
*
* @var string
*/
public $unifiedDeviceId;
/**
* WiFi MAC addresses of device.
*
* @var string[]
*/
public $wifiMacAddresses;
/**
* Output only. Attributes specific to Android devices.
*
* @param GoogleAppsCloudidentityDevicesV1AndroidAttributes $androidSpecificAttributes
*/
public function setAndroidSpecificAttributes(GoogleAppsCloudidentityDevicesV1AndroidAttributes $androidSpecificAttributes)
{
$this->androidSpecificAttributes = $androidSpecificAttributes;
}
/**
* @return GoogleAppsCloudidentityDevicesV1AndroidAttributes
*/
public function getAndroidSpecificAttributes()
{
return $this->androidSpecificAttributes;
}
/**
* Asset tag of the device.
*
* @param string $assetTag
*/
public function setAssetTag($assetTag)
{
$this->assetTag = $assetTag;
}
/**
* @return string
*/
public function getAssetTag()
{
return $this->assetTag;
}
/**
* Output only. Baseband version of the device.
*
* @param string $basebandVersion
*/
public function setBasebandVersion($basebandVersion)
{
$this->basebandVersion = $basebandVersion;
}
/**
* @return string
*/
public function getBasebandVersion()
{
return $this->basebandVersion;
}
/**
* Output only. Device bootloader version. Example: 0.6.7.
*
* @param string $bootloaderVersion
*/
public function setBootloaderVersion($bootloaderVersion)
{
$this->bootloaderVersion = $bootloaderVersion;
}
/**
* @return string
*/
public function getBootloaderVersion()
{
return $this->bootloaderVersion;
}
/**
* Output only. Device brand. Example: Samsung.
*
* @param string $brand
*/
public function setBrand($brand)
{
$this->brand = $brand;
}
/**
* @return string
*/
public function getBrand()
{
return $this->brand;
}
/**
* Output only. Build number of the device.
*
* @param string $buildNumber
*/
public function setBuildNumber($buildNumber)
{
$this->buildNumber = $buildNumber;
}
/**
* @return string
*/
public function getBuildNumber()
{
return $this->buildNumber;
}
/**
* Output only. Represents whether the Device is compromised.
*
* Accepted values: COMPROMISED_STATE_UNSPECIFIED, COMPROMISED, UNCOMPROMISED
*
* @param self::COMPROMISED_STATE_* $compromisedState
*/
public function setCompromisedState($compromisedState)
{
$this->compromisedState = $compromisedState;
}
/**
* @return self::COMPROMISED_STATE_*
*/
public function getCompromisedState()
{
return $this->compromisedState;
}
/**
* Output only. When the Company-Owned device was imported. This field is
* empty for BYOD devices.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Unique identifier for the device.
*
* @param string $deviceId
*/
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
/**
* @return string
*/
public function getDeviceId()
{
return $this->deviceId;
}
/**
* Output only. Type of device.
*
* Accepted values: DEVICE_TYPE_UNSPECIFIED, ANDROID, IOS, GOOGLE_SYNC,
* WINDOWS, MAC_OS, LINUX, CHROME_OS
*
* @param self::DEVICE_TYPE_* $deviceType
*/
public function setDeviceType($deviceType)
{
$this->deviceType = $deviceType;
}
/**
* @return self::DEVICE_TYPE_*
*/
public function getDeviceType()
{
return $this->deviceType;
}
/**
* Output only. Whether developer options is enabled on device.
*
* @param bool $enabledDeveloperOptions
*/
public function setEnabledDeveloperOptions($enabledDeveloperOptions)
{
$this->enabledDeveloperOptions = $enabledDeveloperOptions;
}
/**
* @return bool
*/
public function getEnabledDeveloperOptions()
{
return $this->enabledDeveloperOptions;
}
/**
* Output only. Whether USB debugging is enabled on device.
*
* @param bool $enabledUsbDebugging
*/
public function setEnabledUsbDebugging($enabledUsbDebugging)
{
$this->enabledUsbDebugging = $enabledUsbDebugging;
}
/**
* @return bool
*/
public function getEnabledUsbDebugging()
{
return $this->enabledUsbDebugging;
}
/**
* Output only. Device encryption state.
*
* Accepted values: ENCRYPTION_STATE_UNSPECIFIED, UNSUPPORTED_BY_DEVICE,
* ENCRYPTED, NOT_ENCRYPTED
*
* @param self::ENCRYPTION_STATE_* $encryptionState
*/
public function setEncryptionState($encryptionState)
{
$this->encryptionState = $encryptionState;
}
/**
* @return self::ENCRYPTION_STATE_*
*/
public function getEncryptionState()
{
return $this->encryptionState;
}
/**
* Output only. Attributes specific to [Endpoint
* Verification](https://cloud.google.com/endpoint-verification/docs/overview)
* devices.
*
* @param GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes $endpointVerificationSpecificAttributes
*/
public function setEndpointVerificationSpecificAttributes(GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes $endpointVerificationSpecificAttributes)
{
$this->endpointVerificationSpecificAttributes = $endpointVerificationSpecificAttributes;
}
/**
* @return GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes
*/
public function getEndpointVerificationSpecificAttributes()
{
return $this->endpointVerificationSpecificAttributes;
}
/**
* Host name of the device.
*
* @param string $hostname
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* Output only. IMEI number of device if GSM device; empty otherwise.
*
* @param string $imei
*/
public function setImei($imei)
{
$this->imei = $imei;
}
/**
* @return string
*/
public function getImei()
{
return $this->imei;
}
/**
* Output only. Kernel version of the device.
*
* @param string $kernelVersion
*/
public function setKernelVersion($kernelVersion)
{
$this->kernelVersion = $kernelVersion;
}
/**
* @return string
*/
public function getKernelVersion()
{
return $this->kernelVersion;
}
/**
* Most recent time when device synced with this service.
*
* @param string $lastSyncTime
*/
public function setLastSyncTime($lastSyncTime)
{
$this->lastSyncTime = $lastSyncTime;
}
/**
* @return string
*/
public function getLastSyncTime()
{
return $this->lastSyncTime;
}
/**
* Output only. Management state of the device
*
* Accepted values: MANAGEMENT_STATE_UNSPECIFIED, APPROVED, BLOCKED, PENDING,
* UNPROVISIONED, WIPING, WIPED
*
* @param self::MANAGEMENT_STATE_* $managementState
*/
public function setManagementState($managementState)
{
$this->managementState = $managementState;
}
/**
* @return self::MANAGEMENT_STATE_*
*/
public function getManagementState()
{
return $this->managementState;
}
/**
* Output only. Device manufacturer. Example: Motorola.
*
* @param string $manufacturer
*/
public function setManufacturer($manufacturer)
{
$this->manufacturer = $manufacturer;
}
/**
* @return string
*/
public function getManufacturer()
{
return $this->manufacturer;
}
/**
* Output only. MEID number of device if CDMA device; empty otherwise.
*
* @param string $meid
*/
public function setMeid($meid)
{
$this->meid = $meid;
}
/**
* @return string
*/
public function getMeid()
{
return $this->meid;
}
/**
* Output only. Model name of device. Example: Pixel 3.
*
* @param string $model
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
/**
* Output only. [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. Important: Device API scopes require that you use domain-wide
* delegation to access the API. For more information, see [Set up the Devices
* API](https://cloud.google.com/identity/docs/how-to/setup-devices).
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Mobile or network operator of device, if available.
*
* @param string $networkOperator
*/
public function setNetworkOperator($networkOperator)
{
$this->networkOperator = $networkOperator;
}
/**
* @return string
*/
public function getNetworkOperator()
{
return $this->networkOperator;
}
/**
* Output only. OS version of the device. Example: Android 8.1.0.
*
* @param string $osVersion
*/
public function setOsVersion($osVersion)
{
$this->osVersion = $osVersion;
}
/**
* @return string
*/
public function getOsVersion()
{
return $this->osVersion;
}
/**
* Output only. Domain name for Google accounts on device. Type for other
* accounts on device. On Android, will only be populated if
* |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not
* include the account signed in to the device policy app if that account's
* domain has only one account. Examples: "com.example", "xyz.com".
*
* @param string[] $otherAccounts
*/
public function setOtherAccounts($otherAccounts)
{
$this->otherAccounts = $otherAccounts;
}
/**
* @return string[]
*/
public function getOtherAccounts()
{
return $this->otherAccounts;
}
/**
* Output only. Whether the device is owned by the company or an individual
*
* Accepted values: DEVICE_OWNERSHIP_UNSPECIFIED, COMPANY, BYOD
*
* @param self::OWNER_TYPE_* $ownerType
*/
public function setOwnerType($ownerType)
{
$this->ownerType = $ownerType;
}
/**
* @return self::OWNER_TYPE_*
*/
public function getOwnerType()
{
return $this->ownerType;
}
/**
* Output only. OS release version. Example: 6.0.
*
* @param string $releaseVersion
*/
public function setReleaseVersion($releaseVersion)
{
$this->releaseVersion = $releaseVersion;
}
/**
* @return string
*/
public function getReleaseVersion()
{
return $this->releaseVersion;
}
/**
* Output only. OS security patch update time on device.
*
* @param string $securityPatchTime
*/
public function setSecurityPatchTime($securityPatchTime)
{
$this->securityPatchTime = $securityPatchTime;
}
/**
* @return string
*/
public function getSecurityPatchTime()
{
return $this->securityPatchTime;
}
/**
* Serial Number of device. Example: HT82V1A01076.
*
* @param string $serialNumber
*/
public function setSerialNumber($serialNumber)
{
$this->serialNumber = $serialNumber;
}
/**
* @return string
*/
public function getSerialNumber()
{
return $this->serialNumber;
}
/**
* Output only. Unified device id of the device.
*
* @param string $unifiedDeviceId
*/
public function setUnifiedDeviceId($unifiedDeviceId)
{
$this->unifiedDeviceId = $unifiedDeviceId;
}
/**
* @return string
*/
public function getUnifiedDeviceId()
{
return $this->unifiedDeviceId;
}
/**
* WiFi MAC addresses of device.
*
* @param string[] $wifiMacAddresses
*/
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');
@@ -0,0 +1,313 @@
<?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
{
/**
* Compromised state of Device User account is unknown or unspecified.
*/
public const COMPROMISED_STATE_COMPROMISED_STATE_UNSPECIFIED = 'COMPROMISED_STATE_UNSPECIFIED';
/**
* Device User Account is compromised.
*/
public const COMPROMISED_STATE_COMPROMISED = 'COMPROMISED';
/**
* Device User Account is not compromised.
*/
public const COMPROMISED_STATE_NOT_COMPROMISED = 'NOT_COMPROMISED';
/**
* Default value. This value is unused.
*/
public const MANAGEMENT_STATE_MANAGEMENT_STATE_UNSPECIFIED = 'MANAGEMENT_STATE_UNSPECIFIED';
/**
* This user's data and profile is being removed from the device.
*/
public const MANAGEMENT_STATE_WIPING = 'WIPING';
/**
* This user's data and profile is removed from the device.
*/
public const MANAGEMENT_STATE_WIPED = 'WIPED';
/**
* User is approved to access data on the device.
*/
public const MANAGEMENT_STATE_APPROVED = 'APPROVED';
/**
* User is blocked from accessing data on the device.
*/
public const MANAGEMENT_STATE_BLOCKED = 'BLOCKED';
/**
* User is awaiting approval.
*/
public const MANAGEMENT_STATE_PENDING_APPROVAL = 'PENDING_APPROVAL';
/**
* User is unenrolled from Advanced Windows Management, but the Windows
* account is still intact.
*/
public const MANAGEMENT_STATE_UNENROLLED = 'UNENROLLED';
/**
* Password state not set.
*/
public const PASSWORD_STATE_PASSWORD_STATE_UNSPECIFIED = 'PASSWORD_STATE_UNSPECIFIED';
/**
* Password set in object.
*/
public const PASSWORD_STATE_PASSWORD_SET = 'PASSWORD_SET';
/**
* Password not set in object.
*/
public const PASSWORD_STATE_PASSWORD_NOT_SET = 'PASSWORD_NOT_SET';
/**
* Compromised State of the DeviceUser object
*
* @var string
*/
public $compromisedState;
/**
* When the user first signed in to the device
*
* @var string
*/
public $createTime;
/**
* Output only. Most recent time when user registered with this service.
*
* @var string
*/
public $firstSyncTime;
/**
* Output only. Default locale used on device, in IETF BCP-47 format.
*
* @var string
*/
public $languageCode;
/**
* Output only. Last time when user synced with policies.
*
* @var string
*/
public $lastSyncTime;
/**
* Output only. Management state of the user on the device.
*
* @var string
*/
public $managementState;
/**
* Output only. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the
* DeviceUser in format: `devices/{device}/deviceUsers/{device_user}`, where
* `device_user` uniquely identifies a user's use of a device.
*
* @var string
*/
public $name;
/**
* Password state of the DeviceUser object
*
* @var string
*/
public $passwordState;
/**
* Output only. User agent on the device for this specific user
*
* @var string
*/
public $userAgent;
/**
* Email address of the user registered on the device.
*
* @var string
*/
public $userEmail;
/**
* Compromised State of the DeviceUser object
*
* Accepted values: COMPROMISED_STATE_UNSPECIFIED, COMPROMISED,
* NOT_COMPROMISED
*
* @param self::COMPROMISED_STATE_* $compromisedState
*/
public function setCompromisedState($compromisedState)
{
$this->compromisedState = $compromisedState;
}
/**
* @return self::COMPROMISED_STATE_*
*/
public function getCompromisedState()
{
return $this->compromisedState;
}
/**
* When the user first signed in to the device
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. Most recent time when user registered with this service.
*
* @param string $firstSyncTime
*/
public function setFirstSyncTime($firstSyncTime)
{
$this->firstSyncTime = $firstSyncTime;
}
/**
* @return string
*/
public function getFirstSyncTime()
{
return $this->firstSyncTime;
}
/**
* Output only. Default locale used on device, in IETF BCP-47 format.
*
* @param string $languageCode
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* Output only. Last time when user synced with policies.
*
* @param string $lastSyncTime
*/
public function setLastSyncTime($lastSyncTime)
{
$this->lastSyncTime = $lastSyncTime;
}
/**
* @return string
*/
public function getLastSyncTime()
{
return $this->lastSyncTime;
}
/**
* Output only. Management state of the user on the device.
*
* Accepted values: MANAGEMENT_STATE_UNSPECIFIED, WIPING, WIPED, APPROVED,
* BLOCKED, PENDING_APPROVAL, UNENROLLED
*
* @param self::MANAGEMENT_STATE_* $managementState
*/
public function setManagementState($managementState)
{
$this->managementState = $managementState;
}
/**
* @return self::MANAGEMENT_STATE_*
*/
public function getManagementState()
{
return $this->managementState;
}
/**
* Output only. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the
* DeviceUser in format: `devices/{device}/deviceUsers/{device_user}`, where
* `device_user` uniquely identifies a user's use of a device.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Password state of the DeviceUser object
*
* Accepted values: PASSWORD_STATE_UNSPECIFIED, PASSWORD_SET, PASSWORD_NOT_SET
*
* @param self::PASSWORD_STATE_* $passwordState
*/
public function setPasswordState($passwordState)
{
$this->passwordState = $passwordState;
}
/**
* @return self::PASSWORD_STATE_*
*/
public function getPasswordState()
{
return $this->passwordState;
}
/**
* Output only. User agent on the device for this specific user
*
* @param string $userAgent
*/
public function setUserAgent($userAgent)
{
$this->userAgent = $userAgent;
}
/**
* @return string
*/
public function getUserAgent()
{
return $this->userAgent;
}
/**
* Email address of the user registered on the device.
*
* @param string $userEmail
*/
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');
@@ -0,0 +1,99 @@
<?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';
/**
* [Additional signals](https://cloud.google.com/endpoint-
* verification/docs/device-information) reported by Endpoint Verification. It
* includes the following attributes: * Non-configurable attributes: hotfixes,
* av_installed, av_enabled, windows_domain_name,
* is_os_native_firewall_enabled, and is_secure_boot_enabled. * [Configurable
* attributes](https://cloud.google.com/endpoint-verification/docs/collect-
* config-attributes): file, folder, and binary attributes; registry entries;
* and properties in a plist.
*
* @var array[]
*/
public $additionalSignals;
protected $browserAttributesType = GoogleAppsCloudidentityDevicesV1BrowserAttributes::class;
protected $browserAttributesDataType = 'array';
protected $certificateAttributesType = GoogleAppsCloudidentityDevicesV1CertificateAttributes::class;
protected $certificateAttributesDataType = 'array';
/**
* [Additional signals](https://cloud.google.com/endpoint-
* verification/docs/device-information) reported by Endpoint Verification. It
* includes the following attributes: * Non-configurable attributes: hotfixes,
* av_installed, av_enabled, windows_domain_name,
* is_os_native_firewall_enabled, and is_secure_boot_enabled. * [Configurable
* attributes](https://cloud.google.com/endpoint-verification/docs/collect-
* config-attributes): file, folder, and binary attributes; registry entries;
* and properties in a plist.
*
* @param array[] $additionalSignals
*/
public function setAdditionalSignals($additionalSignals)
{
$this->additionalSignals = $additionalSignals;
}
/**
* @return array[]
*/
public function getAdditionalSignals()
{
return $this->additionalSignals;
}
/**
* Details of browser profiles reported by Endpoint Verification.
*
* @param GoogleAppsCloudidentityDevicesV1BrowserAttributes[] $browserAttributes
*/
public function setBrowserAttributes($browserAttributes)
{
$this->browserAttributes = $browserAttributes;
}
/**
* @return GoogleAppsCloudidentityDevicesV1BrowserAttributes[]
*/
public function getBrowserAttributes()
{
return $this->browserAttributes;
}
/**
* Details of certificates.
*
* @param GoogleAppsCloudidentityDevicesV1CertificateAttributes[] $certificateAttributes
*/
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');
@@ -0,0 +1,69 @@
<?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';
/**
* Token to retrieve the next page of results. Empty if there are no more
* results.
*
* @var string
*/
public $nextPageToken;
/**
* Client states meeting the list restrictions.
*
* @param GoogleAppsCloudidentityDevicesV1ClientState[] $clientStates
*/
public function setClientStates($clientStates)
{
$this->clientStates = $clientStates;
}
/**
* @return GoogleAppsCloudidentityDevicesV1ClientState[]
*/
public function getClientStates()
{
return $this->clientStates;
}
/**
* Token to retrieve the next page of results. Empty if there are no more
* results.
*
* @param string $nextPageToken
*/
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');
@@ -0,0 +1,69 @@
<?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';
/**
* Token to retrieve the next page of results. Empty if there are no more
* results.
*
* @var string
*/
public $nextPageToken;
/**
* Devices meeting the list restrictions.
*
* @param GoogleAppsCloudidentityDevicesV1DeviceUser[] $deviceUsers
*/
public function setDeviceUsers($deviceUsers)
{
$this->deviceUsers = $deviceUsers;
}
/**
* @return GoogleAppsCloudidentityDevicesV1DeviceUser[]
*/
public function getDeviceUsers()
{
return $this->deviceUsers;
}
/**
* Token to retrieve the next page of results. Empty if there are no more
* results.
*
* @param string $nextPageToken
*/
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');
@@ -0,0 +1,69 @@
<?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';
/**
* Token to retrieve the next page of results. Empty if there are no more
* results.
*
* @var string
*/
public $nextPageToken;
/**
* Devices meeting the list restrictions.
*
* @param GoogleAppsCloudidentityDevicesV1Device[] $devices
*/
public function setDevices($devices)
{
$this->devices = $devices;
}
/**
* @return GoogleAppsCloudidentityDevicesV1Device[]
*/
public function getDevices()
{
return $this->devices;
}
/**
* Token to retrieve the next page of results. Empty if there are no more
* results.
*
* @param string $nextPageToken
*/
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');
@@ -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');
@@ -0,0 +1,103 @@
<?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';
/**
* The customer resource name that may be passed back to other Devices API
* methods such as List, Get, etc.
*
* @var string
*/
public $customer;
/**
* [Resource names](https://cloud.google.com/apis/design/resource_names) of
* the DeviceUsers in the format:
* `devices/{device}/deviceUsers/{user_resource}`, where device is the unique
* ID assigned to a Device and user_resource is the unique user ID
*
* @var string[]
*/
public $names;
/**
* Token to retrieve the next page of results. Empty if there are no more
* results.
*
* @var string
*/
public $nextPageToken;
/**
* The customer resource name that may be passed back to other Devices API
* methods such as List, Get, etc.
*
* @param string $customer
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
/**
* [Resource names](https://cloud.google.com/apis/design/resource_names) of
* the DeviceUsers in the format:
* `devices/{device}/deviceUsers/{user_resource}`, where device is the unique
* ID assigned to a Device and user_resource is the unique user ID
*
* @param string[] $names
*/
public function setNames($names)
{
$this->names = $names;
}
/**
* @return string[]
*/
public function getNames()
{
return $this->names;
}
/**
* Token to retrieve the next page of results. Empty if there are no more
* results.
*
* @param string $nextPageToken
*/
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');
@@ -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');
@@ -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');
@@ -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');
@@ -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');
@@ -0,0 +1,88 @@
<?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
{
/**
* 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.
*
* @var string
*/
public $customer;
/**
* Optional. Specifies if a user is able to factory reset a device after a
* Device Wipe. On iOS, this is called "Activation Lock", while on Android,
* this is known as "Factory Reset Protection". If true, this protection will
* be removed from the device, so that a user can successfully factory reset.
* If false, the setting is untouched on the device.
*
* @var bool
*/
public $removeResetLock;
/**
* 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.
*
* @param string $customer
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
/**
* Optional. Specifies if a user is able to factory reset a device after a
* Device Wipe. On iOS, this is called "Activation Lock", while on Android,
* this is known as "Factory Reset Protection". If true, this protection will
* be removed from the device, so that a user can successfully factory reset.
* If false, the setting is untouched on the device.
*
* @param bool $removeResetLock
*/
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');
@@ -0,0 +1,45 @@
<?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 = '';
/**
* Resultant Device object for the action. Note that asset tags will not be
* returned in the device object.
*
* @param GoogleAppsCloudidentityDevicesV1Device $device
*/
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');
@@ -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');
@@ -0,0 +1,58 @@
<?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
{
/**
* 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.
*
* @var string
*/
public $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.
*
* @param string $customer
*/
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');
@@ -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 GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse extends \Google\Model
{
protected $deviceUserType = GoogleAppsCloudidentityDevicesV1DeviceUser::class;
protected $deviceUserDataType = '';
/**
* Resultant DeviceUser object for the action.
*
* @param GoogleAppsCloudidentityDevicesV1DeviceUser $deviceUser
*/
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');
@@ -0,0 +1,281 @@
<?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';
/**
* Output only. The time when the `Group` was created.
*
* @var string
*/
public $createTime;
/**
* An extended description to help users determine the purpose of a `Group`.
* Must not be longer than 4,096 characters.
*
* @var string
*/
public $description;
/**
* The display name of the `Group`.
*
* @var string
*/
public $displayName;
protected $dynamicGroupMetadataType = DynamicGroupMetadata::class;
protected $dynamicGroupMetadataDataType = '';
protected $groupKeyType = EntityKey::class;
protected $groupKeyDataType = '';
/**
* Required. One or more label entries that apply to the Group. Labels contain
* a key with an empty value. Google Groups are the default type of group and
* have a label with a key of
* `cloudidentity.googleapis.com/groups.discussion_forum` and an empty value.
* Existing Google Groups can have an additional label with a key of
* `cloudidentity.googleapis.com/groups.security` and an empty value added to
* them. **This is an immutable change and the security label cannot be
* removed once added.** Dynamic groups have a label with a key of
* `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups for
* Cloud Search have a label with a key of `system/groups/external` and an
* empty value. Google Groups can be
* [locked](https://support.google.com/a?p=locked-groups). To lock a group,
* add a label with a key of `cloudidentity.googleapis.com/groups.locked` and
* an empty value. Doing so locks the group. To unlock the group, remove this
* label.
*
* @var string[]
*/
public $labels;
/**
* Output only. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the `Group`.
* Shall be of the form `groups/{group}`.
*
* @var string
*/
public $name;
/**
* Required. Immutable. The resource name of the entity under which this
* `Group` resides in the Cloud Identity resource hierarchy. Must be of the
* form `identitysources/{identity_source}` for external [identity-mapped
* groups](https://support.google.com/a/answer/9039510) 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)
*
* @var string
*/
public $parent;
/**
* Output only. The time when the `Group` was last updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. Additional group keys associated with the Group.
*
* @param EntityKey[] $additionalGroupKeys
*/
public function setAdditionalGroupKeys($additionalGroupKeys)
{
$this->additionalGroupKeys = $additionalGroupKeys;
}
/**
* @return EntityKey[]
*/
public function getAdditionalGroupKeys()
{
return $this->additionalGroupKeys;
}
/**
* Output only. The time when the `Group` was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* An extended description to help users determine the purpose of a `Group`.
* Must not be longer than 4,096 characters.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* The display name of the `Group`.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. Dynamic group metadata like queries and status.
*
* @param DynamicGroupMetadata $dynamicGroupMetadata
*/
public function setDynamicGroupMetadata(DynamicGroupMetadata $dynamicGroupMetadata)
{
$this->dynamicGroupMetadata = $dynamicGroupMetadata;
}
/**
* @return DynamicGroupMetadata
*/
public function getDynamicGroupMetadata()
{
return $this->dynamicGroupMetadata;
}
/**
* Required. The `EntityKey` of the `Group`.
*
* @param EntityKey $groupKey
*/
public function setGroupKey(EntityKey $groupKey)
{
$this->groupKey = $groupKey;
}
/**
* @return EntityKey
*/
public function getGroupKey()
{
return $this->groupKey;
}
/**
* Required. One or more label entries that apply to the Group. Labels contain
* a key with an empty value. Google Groups are the default type of group and
* have a label with a key of
* `cloudidentity.googleapis.com/groups.discussion_forum` and an empty value.
* Existing Google Groups can have an additional label with a key of
* `cloudidentity.googleapis.com/groups.security` and an empty value added to
* them. **This is an immutable change and the security label cannot be
* removed once added.** Dynamic groups have a label with a key of
* `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups for
* Cloud Search have a label with a key of `system/groups/external` and an
* empty value. Google Groups can be
* [locked](https://support.google.com/a?p=locked-groups). To lock a group,
* add a label with a key of `cloudidentity.googleapis.com/groups.locked` and
* an empty value. Doing so locks the group. To unlock the group, remove this
* label.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Output only. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the `Group`.
* Shall be of the form `groups/{group}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. Immutable. The resource name of the entity under which this
* `Group` resides in the Cloud Identity resource hierarchy. Must be of the
* form `identitysources/{identity_source}` for external [identity-mapped
* groups](https://support.google.com/a/answer/9039510) 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)
*
* @param string $parent
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* Output only. The time when the `Group` was last updated.
*
* @param string $updateTime
*/
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');
@@ -0,0 +1,172 @@
<?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
{
/**
* The relation type is undefined or undetermined.
*/
public const RELATION_TYPE_RELATION_TYPE_UNSPECIFIED = 'RELATION_TYPE_UNSPECIFIED';
/**
* The two entities have only a direct membership with each other.
*/
public const RELATION_TYPE_DIRECT = 'DIRECT';
/**
* The two entities have only an indirect membership with each other.
*/
public const RELATION_TYPE_INDIRECT = 'INDIRECT';
/**
* The two entities have both a direct and an indirect membership with each
* other.
*/
public const RELATION_TYPE_DIRECT_AND_INDIRECT = 'DIRECT_AND_INDIRECT';
protected $collection_key = 'roles';
/**
* Display name for this group.
*
* @var string
*/
public $displayName;
/**
* Resource name for this group.
*
* @var string
*/
public $group;
protected $groupKeyType = EntityKey::class;
protected $groupKeyDataType = '';
/**
* Labels for Group resource.
*
* @var string[]
*/
public $labels;
/**
* The relation between the member and the transitive group.
*
* @var string
*/
public $relationType;
protected $rolesType = TransitiveMembershipRole::class;
protected $rolesDataType = 'array';
/**
* Display name for this group.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Resource name for this group.
*
* @param string $group
*/
public function setGroup($group)
{
$this->group = $group;
}
/**
* @return string
*/
public function getGroup()
{
return $this->group;
}
/**
* Entity key has an id and a namespace. In case of discussion forums, the id
* will be an email address without a namespace.
*
* @param EntityKey $groupKey
*/
public function setGroupKey(EntityKey $groupKey)
{
$this->groupKey = $groupKey;
}
/**
* @return EntityKey
*/
public function getGroupKey()
{
return $this->groupKey;
}
/**
* Labels for Group resource.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* The relation between the member and the transitive group.
*
* Accepted values: RELATION_TYPE_UNSPECIFIED, DIRECT, INDIRECT,
* DIRECT_AND_INDIRECT
*
* @param self::RELATION_TYPE_* $relationType
*/
public function setRelationType($relationType)
{
$this->relationType = $relationType;
}
/**
* @return self::RELATION_TYPE_*
*/
public function getRelationType()
{
return $this->relationType;
}
/**
* Membership roles of the member for the group.
*
* @param TransitiveMembershipRole[] $roles
*/
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');
@@ -0,0 +1,110 @@
<?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 = '';
/**
* Output only. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the
* credential.
*
* @var string
*/
public $name;
protected $rsaKeyInfoType = RsaPublicKeyInfo::class;
protected $rsaKeyInfoDataType = '';
/**
* Output only. Time when the `IdpCredential` was last updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. Information of a DSA public key.
*
* @param DsaPublicKeyInfo $dsaKeyInfo
*/
public function setDsaKeyInfo(DsaPublicKeyInfo $dsaKeyInfo)
{
$this->dsaKeyInfo = $dsaKeyInfo;
}
/**
* @return DsaPublicKeyInfo
*/
public function getDsaKeyInfo()
{
return $this->dsaKeyInfo;
}
/**
* Output only. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the
* credential.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Information of a RSA public key.
*
* @param RsaPublicKeyInfo $rsaKeyInfo
*/
public function setRsaKeyInfo(RsaPublicKeyInfo $rsaKeyInfo)
{
$this->rsaKeyInfo = $rsaKeyInfo;
}
/**
* @return RsaPublicKeyInfo
*/
public function getRsaKeyInfo()
{
return $this->rsaKeyInfo;
}
/**
* Output only. Time when the `IdpCredential` was last updated.
*
* @param string $updateTime
*/
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');
@@ -0,0 +1,134 @@
<?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 InboundOidcSsoProfile extends \Google\Model
{
/**
* Immutable. The customer. For example: `customers/C0123abc`.
*
* @var string
*/
public $customer;
/**
* Human-readable name of the OIDC SSO profile.
*
* @var string
*/
public $displayName;
protected $idpConfigType = OidcIdpConfig::class;
protected $idpConfigDataType = '';
/**
* Output only. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the OIDC SSO
* profile.
*
* @var string
*/
public $name;
protected $rpConfigType = OidcRpConfig::class;
protected $rpConfigDataType = '';
/**
* Immutable. The customer. For example: `customers/C0123abc`.
*
* @param string $customer
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
/**
* Human-readable name of the OIDC SSO profile.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* OIDC identity provider configuration.
*
* @param OidcIdpConfig $idpConfig
*/
public function setIdpConfig(OidcIdpConfig $idpConfig)
{
$this->idpConfig = $idpConfig;
}
/**
* @return OidcIdpConfig
*/
public function getIdpConfig()
{
return $this->idpConfig;
}
/**
* Output only. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the OIDC SSO
* profile.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* OIDC relying party (RP) configuration for this OIDC SSO profile. These are
* the RP details provided by Google that should be configured on the
* corresponding identity provider.
*
* @param OidcRpConfig $rpConfig
*/
public function setRpConfig(OidcRpConfig $rpConfig)
{
$this->rpConfig = $rpConfig;
}
/**
* @return OidcRpConfig
*/
public function getRpConfig()
{
return $this->rpConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InboundOidcSsoProfile::class, 'Google_Service_CloudIdentity_InboundOidcSsoProfile');
@@ -0,0 +1,134 @@
<?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
{
/**
* Immutable. The customer. For example: `customers/C0123abc`.
*
* @var string
*/
public $customer;
/**
* Human-readable name of the SAML SSO profile.
*
* @var string
*/
public $displayName;
protected $idpConfigType = SamlIdpConfig::class;
protected $idpConfigDataType = '';
/**
* Output only. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the SAML SSO
* profile.
*
* @var string
*/
public $name;
protected $spConfigType = SamlSpConfig::class;
protected $spConfigDataType = '';
/**
* Immutable. The customer. For example: `customers/C0123abc`.
*
* @param string $customer
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
/**
* Human-readable name of the SAML SSO profile.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* SAML identity provider configuration.
*
* @param SamlIdpConfig $idpConfig
*/
public function setIdpConfig(SamlIdpConfig $idpConfig)
{
$this->idpConfig = $idpConfig;
}
/**
* @return SamlIdpConfig
*/
public function getIdpConfig()
{
return $this->idpConfig;
}
/**
* Output only. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the SAML SSO
* profile.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* SAML service provider configuration for this SAML SSO profile. These are
* the service provider details provided by Google that should be configured
* on the corresponding identity provider.
*
* @param SamlSpConfig $spConfig
*/
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');
@@ -0,0 +1,251 @@
<?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
{
/**
* Not allowed.
*/
public const SSO_MODE_SSO_MODE_UNSPECIFIED = 'SSO_MODE_UNSPECIFIED';
/**
* Disable SSO for the targeted users.
*/
public const SSO_MODE_SSO_OFF = 'SSO_OFF';
/**
* Use an external SAML Identity Provider for SSO for the targeted users.
*/
public const SSO_MODE_SAML_SSO = 'SAML_SSO';
/**
* Use an external OIDC Identity Provider for SSO for the targeted users.
*/
public const SSO_MODE_OIDC_SSO = 'OIDC_SSO';
/**
* Use the domain-wide SAML Identity Provider for the targeted users if one is
* configured; otherwise, this is equivalent to `SSO_OFF`. Note that this will
* also be equivalent to `SSO_OFF` if/when support for domain-wide SAML is
* removed. Google may disallow this mode at that point and existing
* assignments with this mode may be automatically changed to `SSO_OFF`.
*/
public const SSO_MODE_DOMAIN_WIDE_SAML_IF_ENABLED = 'DOMAIN_WIDE_SAML_IF_ENABLED';
/**
* Immutable. The customer. For example: `customers/C0123abc`.
*
* @var string
*/
public $customer;
/**
* Output only. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the Inbound
* SSO Assignment.
*
* @var string
*/
public $name;
protected $oidcSsoInfoType = OidcSsoInfo::class;
protected $oidcSsoInfoDataType = '';
/**
* Must be zero (which is the default value so it can be omitted) for
* assignments with `target_org_unit` set and must be greater-than-or-equal-to
* one for assignments with `target_group` set.
*
* @var int
*/
public $rank;
protected $samlSsoInfoType = SamlSsoInfo::class;
protected $samlSsoInfoDataType = '';
protected $signInBehaviorType = SignInBehavior::class;
protected $signInBehaviorDataType = '';
/**
* Inbound SSO behavior.
*
* @var string
*/
public $ssoMode;
/**
* Immutable. Must be of the form `groups/{group}`.
*
* @var string
*/
public $targetGroup;
/**
* Immutable. Must be of the form `orgUnits/{org_unit}`.
*
* @var string
*/
public $targetOrgUnit;
/**
* Immutable. The customer. For example: `customers/C0123abc`.
*
* @param string $customer
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
/**
* Output only. [Resource
* name](https://cloud.google.com/apis/design/resource_names) of the Inbound
* SSO Assignment.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* OpenID Connect SSO details. Must be set if and only if `sso_mode` is set to
* `OIDC_SSO`.
*
* @param OidcSsoInfo $oidcSsoInfo
*/
public function setOidcSsoInfo(OidcSsoInfo $oidcSsoInfo)
{
$this->oidcSsoInfo = $oidcSsoInfo;
}
/**
* @return OidcSsoInfo
*/
public function getOidcSsoInfo()
{
return $this->oidcSsoInfo;
}
/**
* Must be zero (which is the default value so it can be omitted) for
* assignments with `target_org_unit` set and must be greater-than-or-equal-to
* one for assignments with `target_group` set.
*
* @param int $rank
*/
public function setRank($rank)
{
$this->rank = $rank;
}
/**
* @return int
*/
public function getRank()
{
return $this->rank;
}
/**
* SAML SSO details. Must be set if and only if `sso_mode` is set to
* `SAML_SSO`.
*
* @param SamlSsoInfo $samlSsoInfo
*/
public function setSamlSsoInfo(SamlSsoInfo $samlSsoInfo)
{
$this->samlSsoInfo = $samlSsoInfo;
}
/**
* @return SamlSsoInfo
*/
public function getSamlSsoInfo()
{
return $this->samlSsoInfo;
}
/**
* Assertions about users assigned to an IdP will always be accepted from that
* IdP. This controls whether/when Google should redirect a user to the IdP.
* Unset (defaults) is the recommended configuration.
*
* @param SignInBehavior $signInBehavior
*/
public function setSignInBehavior(SignInBehavior $signInBehavior)
{
$this->signInBehavior = $signInBehavior;
}
/**
* @return SignInBehavior
*/
public function getSignInBehavior()
{
return $this->signInBehavior;
}
/**
* Inbound SSO behavior.
*
* Accepted values: SSO_MODE_UNSPECIFIED, SSO_OFF, SAML_SSO, OIDC_SSO,
* DOMAIN_WIDE_SAML_IF_ENABLED
*
* @param self::SSO_MODE_* $ssoMode
*/
public function setSsoMode($ssoMode)
{
$this->ssoMode = $ssoMode;
}
/**
* @return self::SSO_MODE_*
*/
public function getSsoMode()
{
return $this->ssoMode;
}
/**
* Immutable. Must be of the form `groups/{group}`.
*
* @param string $targetGroup
*/
public function setTargetGroup($targetGroup)
{
$this->targetGroup = $targetGroup;
}
/**
* @return string
*/
public function getTargetGroup()
{
return $this->targetGroup;
}
/**
* Immutable. Must be of the form `orgUnits/{org_unit}`.
*
* @param string $targetOrgUnit
*/
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');
@@ -0,0 +1,48 @@
<?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
{
/**
* Returns true if the email address is invitable.
*
* @var bool
*/
public $isInvitableUser;
/**
* Returns true if the email address is invitable.
*
* @param bool $isInvitableUser
*/
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');
@@ -0,0 +1,69 @@
<?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';
/**
* Token to retrieve the next page of results, or empty if there are no more
* results available for listing.
*
* @var string
*/
public $nextPageToken;
/**
* Groups returned in response to list request. The results are not sorted.
*
* @param Group[] $groups
*/
public function setGroups($groups)
{
$this->groups = $groups;
}
/**
* @return Group[]
*/
public function getGroups()
{
return $this->groups;
}
/**
* Token to retrieve the next page of results, or empty if there are no more
* results available for listing.
*
* @param string $nextPageToken
*/
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');
@@ -0,0 +1,69 @@
<?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';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The IdpCredentials from the specified InboundSamlSsoProfile.
*
* @param IdpCredential[] $idpCredentials
*/
public function setIdpCredentials($idpCredentials)
{
$this->idpCredentials = $idpCredentials;
}
/**
* @return IdpCredential[]
*/
public function getIdpCredentials()
{
return $this->idpCredentials;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
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');
@@ -0,0 +1,69 @@
<?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 ListInboundOidcSsoProfilesResponse extends \Google\Collection
{
protected $collection_key = 'inboundOidcSsoProfiles';
protected $inboundOidcSsoProfilesType = InboundOidcSsoProfile::class;
protected $inboundOidcSsoProfilesDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* List of InboundOidcSsoProfiles.
*
* @param InboundOidcSsoProfile[] $inboundOidcSsoProfiles
*/
public function setInboundOidcSsoProfiles($inboundOidcSsoProfiles)
{
$this->inboundOidcSsoProfiles = $inboundOidcSsoProfiles;
}
/**
* @return InboundOidcSsoProfile[]
*/
public function getInboundOidcSsoProfiles()
{
return $this->inboundOidcSsoProfiles;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
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(ListInboundOidcSsoProfilesResponse::class, 'Google_Service_CloudIdentity_ListInboundOidcSsoProfilesResponse');
@@ -0,0 +1,69 @@
<?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';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* List of InboundSamlSsoProfiles.
*
* @param InboundSamlSsoProfile[] $inboundSamlSsoProfiles
*/
public function setInboundSamlSsoProfiles($inboundSamlSsoProfiles)
{
$this->inboundSamlSsoProfiles = $inboundSamlSsoProfiles;
}
/**
* @return InboundSamlSsoProfile[]
*/
public function getInboundSamlSsoProfiles()
{
return $this->inboundSamlSsoProfiles;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
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');
@@ -0,0 +1,69 @@
<?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';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The assignments.
*
* @param InboundSsoAssignment[] $inboundSsoAssignments
*/
public function setInboundSsoAssignments($inboundSsoAssignments)
{
$this->inboundSsoAssignments = $inboundSsoAssignments;
}
/**
* @return InboundSsoAssignment[]
*/
public function getInboundSsoAssignments()
{
return $this->inboundSsoAssignments;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
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');
@@ -0,0 +1,69 @@
<?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';
/**
* A continuation token to retrieve the next page of results, or empty if
* there are no more results available.
*
* @var string
*/
public $nextPageToken;
/**
* The `Membership`s under the specified `parent`.
*
* @param Membership[] $memberships
*/
public function setMemberships($memberships)
{
$this->memberships = $memberships;
}
/**
* @return Membership[]
*/
public function getMemberships()
{
return $this->memberships;
}
/**
* A continuation token to retrieve the next page of results, or empty if
* there are no more results available.
*
* @param string $nextPageToken
*/
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');
@@ -0,0 +1,69 @@
<?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';
/**
* The pagination token to retrieve the next page of results. If this field is
* empty, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
protected $policiesType = Policy::class;
protected $policiesDataType = 'array';
/**
* The pagination token to retrieve the next page of results. If this field is
* empty, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The results
*
* @param Policy[] $policies
*/
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');
@@ -0,0 +1,73 @@
<?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';
/**
* The token for the next page. If not empty, indicates that there may be more
* `UserInvitation` resources that match the listing request; this value can
* be used in a subsequent ListUserInvitationsRequest to get continued results
* with the current list call.
*
* @var string
*/
public $nextPageToken;
protected $userInvitationsType = UserInvitation::class;
protected $userInvitationsDataType = 'array';
/**
* The token for the next page. If not empty, indicates that there may be more
* `UserInvitation` resources that match the listing request; this value can
* be used in a subsequent ListUserInvitationsRequest to get continued results
* with the current list call.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The list of UserInvitation resources.
*
* @param UserInvitation[] $userInvitations
*/
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');
@@ -0,0 +1,50 @@
<?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
{
/**
* The [resource name](https://cloud.google.com/apis/design/resource_names) of
* the looked-up `Group`.
*
* @var string
*/
public $name;
/**
* The [resource name](https://cloud.google.com/apis/design/resource_names) of
* the looked-up `Group`.
*
* @param string $name
*/
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');
@@ -0,0 +1,52 @@
<?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
{
/**
* The [resource name](https://cloud.google.com/apis/design/resource_names) of
* the looked-up `Membership`. Must be of the form
* `groups/{group}/memberships/{membership}`.
*
* @var string
*/
public $name;
/**
* The [resource name](https://cloud.google.com/apis/design/resource_names) of
* the looked-up `Membership`. Must be of the form
* `groups/{group}/memberships/{membership}`.
*
* @param string $name
*/
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');
@@ -0,0 +1,128 @@
<?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
{
/**
* The relation type is undefined or undetermined.
*/
public const RELATION_TYPE_RELATION_TYPE_UNSPECIFIED = 'RELATION_TYPE_UNSPECIFIED';
/**
* The two entities have only a direct membership with each other.
*/
public const RELATION_TYPE_DIRECT = 'DIRECT';
/**
* The two entities have only an indirect membership with each other.
*/
public const RELATION_TYPE_INDIRECT = 'INDIRECT';
/**
* The two entities have both a direct and an indirect membership with each
* other.
*/
public const RELATION_TYPE_DIRECT_AND_INDIRECT = 'DIRECT_AND_INDIRECT';
protected $collection_key = 'roles';
/**
* Resource name for this member.
*
* @var string
*/
public $member;
protected $preferredMemberKeyType = EntityKey::class;
protected $preferredMemberKeyDataType = 'array';
/**
* The relation between the group and the transitive member.
*
* @var string
*/
public $relationType;
protected $rolesType = TransitiveMembershipRole::class;
protected $rolesDataType = 'array';
/**
* Resource name for this member.
*
* @param string $member
*/
public function setMember($member)
{
$this->member = $member;
}
/**
* @return string
*/
public function getMember()
{
return $this->member;
}
/**
* Entity key has an id and a namespace. In case of discussion forums, the id
* will be an email address without a namespace.
*
* @param EntityKey[] $preferredMemberKey
*/
public function setPreferredMemberKey($preferredMemberKey)
{
$this->preferredMemberKey = $preferredMemberKey;
}
/**
* @return EntityKey[]
*/
public function getPreferredMemberKey()
{
return $this->preferredMemberKey;
}
/**
* The relation between the group and the transitive member.
*
* Accepted values: RELATION_TYPE_UNSPECIFIED, DIRECT, INDIRECT,
* DIRECT_AND_INDIRECT
*
* @param self::RELATION_TYPE_* $relationType
*/
public function setRelationType($relationType)
{
$this->relationType = $relationType;
}
/**
* @return self::RELATION_TYPE_*
*/
public function getRelationType()
{
return $this->relationType;
}
/**
* The membership role details (i.e name of role and expiry time).
*
* @param TransitiveMembershipRole[] $roles
*/
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');
@@ -0,0 +1,84 @@
<?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 = '';
/**
* Member Restriction as defined by CEL expression. Supported restrictions
* are: `member.customer_id` and `member.type`. Valid values for `member.type`
* are `1`, `2` and `3`. They correspond to USER, SERVICE_ACCOUNT, and GROUP
* respectively. The value for `member.customer_id` only supports
* `groupCustomerId()` currently which means the customer id of the group will
* be used for restriction. Supported operators are `&&`, `||` and `==`,
* corresponding to AND, OR, and EQUAL. Examples: Allow only service accounts
* of given customer to be members. `member.type == 2 && member.customer_id ==
* groupCustomerId()` Allow only users or groups to be members. `member.type
* == 1 || member.type == 3`
*
* @var string
*/
public $query;
/**
* The evaluated state of this restriction on a group.
*
* @param RestrictionEvaluation $evaluation
*/
public function setEvaluation(RestrictionEvaluation $evaluation)
{
$this->evaluation = $evaluation;
}
/**
* @return RestrictionEvaluation
*/
public function getEvaluation()
{
return $this->evaluation;
}
/**
* Member Restriction as defined by CEL expression. Supported restrictions
* are: `member.customer_id` and `member.type`. Valid values for `member.type`
* are `1`, `2` and `3`. They correspond to USER, SERVICE_ACCOUNT, and GROUP
* respectively. The value for `member.customer_id` only supports
* `groupCustomerId()` currently which means the customer id of the group will
* be used for restriction. Supported operators are `&&`, `||` and `==`,
* corresponding to AND, OR, and EQUAL. Examples: Allow only service accounts
* of given customer to be members. `member.type == 2 && member.customer_id ==
* groupCustomerId()` Allow only users or groups to be members. `member.type
* == 1 || member.type == 3`
*
* @param string $query
*/
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');
@@ -0,0 +1,239 @@
<?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
{
/**
* Default. Should not be used.
*/
public const DELIVERY_SETTING_DELIVERY_SETTING_UNSPECIFIED = 'DELIVERY_SETTING_UNSPECIFIED';
/**
* Represents each mail should be delivered
*/
public const DELIVERY_SETTING_ALL_MAIL = 'ALL_MAIL';
/**
* Represents 1 email for every 25 messages.
*/
public const DELIVERY_SETTING_DIGEST = 'DIGEST';
/**
* Represents daily summary of messages.
*/
public const DELIVERY_SETTING_DAILY = 'DAILY';
/**
* Represents no delivery.
*/
public const DELIVERY_SETTING_NONE = 'NONE';
/**
* Represents disabled state.
*/
public const DELIVERY_SETTING_DISABLED = 'DISABLED';
/**
* Default. Should not be used.
*/
public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* Represents user type.
*/
public const TYPE_USER = 'USER';
/**
* Represents service account type.
*/
public const TYPE_SERVICE_ACCOUNT = 'SERVICE_ACCOUNT';
/**
* Represents group type.
*/
public const TYPE_GROUP = 'GROUP';
/**
* Represents Shared drive.
*/
public const TYPE_SHARED_DRIVE = 'SHARED_DRIVE';
/**
* Represents a CBCM-managed Chrome Browser type.
*/
public const TYPE_CBCM_BROWSER = 'CBCM_BROWSER';
/**
* Represents other type.
*/
public const TYPE_OTHER = 'OTHER';
protected $collection_key = 'roles';
/**
* Output only. The time when the `Membership` was created.
*
* @var string
*/
public $createTime;
/**
* Output only. Delivery setting associated with the membership.
*
* @var string
*/
public $deliverySetting;
/**
* Output only. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the
* `Membership`. Shall be of the form
* `groups/{group}/memberships/{membership}`.
*
* @var string
*/
public $name;
protected $preferredMemberKeyType = EntityKey::class;
protected $preferredMemberKeyDataType = '';
protected $rolesType = MembershipRole::class;
protected $rolesDataType = 'array';
/**
* Output only. The type of the membership.
*
* @var string
*/
public $type;
/**
* Output only. The time when the `Membership` was last updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. The time when the `Membership` was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. Delivery setting associated with the membership.
*
* Accepted values: DELIVERY_SETTING_UNSPECIFIED, ALL_MAIL, DIGEST, DAILY,
* NONE, DISABLED
*
* @param self::DELIVERY_SETTING_* $deliverySetting
*/
public function setDeliverySetting($deliverySetting)
{
$this->deliverySetting = $deliverySetting;
}
/**
* @return self::DELIVERY_SETTING_*
*/
public function getDeliverySetting()
{
return $this->deliverySetting;
}
/**
* Output only. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the
* `Membership`. Shall be of the form
* `groups/{group}/memberships/{membership}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. Immutable. The `EntityKey` of the member.
*
* @param EntityKey $preferredMemberKey
*/
public function setPreferredMemberKey(EntityKey $preferredMemberKey)
{
$this->preferredMemberKey = $preferredMemberKey;
}
/**
* @return EntityKey
*/
public function getPreferredMemberKey()
{
return $this->preferredMemberKey;
}
/**
* The `MembershipRole`s that apply to the `Membership`. If unspecified,
* defaults to a single `MembershipRole` with `name` `MEMBER`. Must not
* contain duplicate `MembershipRole`s with the same `name`.
*
* @param MembershipRole[] $roles
*/
public function setRoles($roles)
{
$this->roles = $roles;
}
/**
* @return MembershipRole[]
*/
public function getRoles()
{
return $this->roles;
}
/**
* Output only. The type of the membership.
*
* Accepted values: TYPE_UNSPECIFIED, USER, SERVICE_ACCOUNT, GROUP,
* SHARED_DRIVE, CBCM_BROWSER, OTHER
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* Output only. The time when the `Membership` was last updated.
*
* @param string $updateTime
*/
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');
@@ -0,0 +1,70 @@
<?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';
/**
* Resource name of the group that the members belong to.
*
* @var string
*/
public $group;
/**
* Each edge contains information about the member that belongs to this group.
* Note: Fields returned here will help identify the specific Membership
* resource (e.g `name`, `preferred_member_key` and `role`), but may not be a
* comprehensive list of all fields.
*
* @param Membership[] $edges
*/
public function setEdges($edges)
{
$this->edges = $edges;
}
/**
* @return Membership[]
*/
public function getEdges()
{
return $this->edges;
}
/**
* Resource name of the group that the members belong to.
*
* @param string $group
*/
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');
@@ -0,0 +1,181 @@
<?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';
/**
* An extended description to help users determine the purpose of a `Group`.
*
* @var string
*/
public $description;
/**
* The display name of the `Group`.
*
* @var string
*/
public $displayName;
/**
* The [resource name](https://cloud.google.com/apis/design/resource_names) of
* the `Group`. Shall be of the form `groups/{group_id}`.
*
* @var string
*/
public $group;
protected $groupKeyType = EntityKey::class;
protected $groupKeyDataType = '';
/**
* One or more label entries that apply to the Group. Currently supported
* labels contain a key with an empty value.
*
* @var string[]
*/
public $labels;
/**
* The [resource name](https://cloud.google.com/apis/design/resource_names) of
* the `Membership`. Shall be of the form
* `groups/{group_id}/memberships/{membership_id}`.
*
* @var string
*/
public $membership;
protected $rolesType = MembershipRole::class;
protected $rolesDataType = 'array';
/**
* An extended description to help users determine the purpose of a `Group`.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* The display name of the `Group`.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* The [resource name](https://cloud.google.com/apis/design/resource_names) of
* the `Group`. Shall be of the form `groups/{group_id}`.
*
* @param string $group
*/
public function setGroup($group)
{
$this->group = $group;
}
/**
* @return string
*/
public function getGroup()
{
return $this->group;
}
/**
* The `EntityKey` of the `Group`.
*
* @param EntityKey $groupKey
*/
public function setGroupKey(EntityKey $groupKey)
{
$this->groupKey = $groupKey;
}
/**
* @return EntityKey
*/
public function getGroupKey()
{
return $this->groupKey;
}
/**
* One or more label entries that apply to the Group. Currently supported
* labels contain a key with an empty value.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* The [resource name](https://cloud.google.com/apis/design/resource_names) of
* the `Membership`. Shall be of the form
* `groups/{group_id}/memberships/{membership_id}`.
*
* @param string $membership
*/
public function setMembership($membership)
{
$this->membership = $membership;
}
/**
* @return string
*/
public function getMembership()
{
return $this->membership;
}
/**
* The `MembershipRole`s that apply to the `Membership`.
*
* @param MembershipRole[] $roles
*/
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');
@@ -0,0 +1,88 @@
<?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 = '';
/**
* The name of the `MembershipRole`. Must be one of `OWNER`, `MANAGER`,
* `MEMBER`.
*
* @var string
*/
public $name;
protected $restrictionEvaluationsType = RestrictionEvaluations::class;
protected $restrictionEvaluationsDataType = '';
/**
* The expiry details of the `MembershipRole`. Expiry details are only
* supported for `MEMBER` `MembershipRoles`. May be set if `name` is `MEMBER`.
* Must not be set if `name` is any other value.
*
* @param ExpiryDetail $expiryDetail
*/
public function setExpiryDetail(ExpiryDetail $expiryDetail)
{
$this->expiryDetail = $expiryDetail;
}
/**
* @return ExpiryDetail
*/
public function getExpiryDetail()
{
return $this->expiryDetail;
}
/**
* The name of the `MembershipRole`. Must be one of `OWNER`, `MANAGER`,
* `MEMBER`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Evaluations of restrictions applied to parent group on this membership.
*
* @param RestrictionEvaluations $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');
@@ -0,0 +1,73 @@
<?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
{
/**
* Default. Should not be used.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The member adheres to the parent group's restriction.
*/
public const STATE_COMPLIANT = 'COMPLIANT';
/**
* The group-group membership might be currently violating some parent group's
* restriction but in future, it will never allow any new member in the child
* group which can violate parent group's restriction.
*/
public const STATE_FORWARD_COMPLIANT = 'FORWARD_COMPLIANT';
/**
* The member violates the parent group's restriction.
*/
public const STATE_NON_COMPLIANT = 'NON_COMPLIANT';
/**
* The state of the membership is under evaluation.
*/
public const STATE_EVALUATING = 'EVALUATING';
/**
* Output only. The current state of the restriction
*
* @var string
*/
public $state;
/**
* Output only. The current state of the restriction
*
* Accepted values: STATE_UNSPECIFIED, COMPLIANT, FORWARD_COMPLIANT,
* NON_COMPLIANT, EVALUATING
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
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');
@@ -0,0 +1,97 @@
<?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';
/**
* The `name`s of the `MembershipRole`s to be removed. Adding or removing
* roles in the same request as updating roles is not supported. It is not
* possible to remove the `MEMBER` `MembershipRole`. If you wish to delete a
* `Membership`, call MembershipsService.DeleteMembership instead. Must not
* contain `MEMBER`. Must not be set if `update_roles_params` is set.
*
* @var string[]
*/
public $removeRoles;
protected $updateRolesParamsType = UpdateMembershipRolesParams::class;
protected $updateRolesParamsDataType = 'array';
/**
* The `MembershipRole`s to be added. Adding or removing roles in the same
* request as updating roles is not supported. Must not be set if
* `update_roles_params` is set.
*
* @param MembershipRole[] $addRoles
*/
public function setAddRoles($addRoles)
{
$this->addRoles = $addRoles;
}
/**
* @return MembershipRole[]
*/
public function getAddRoles()
{
return $this->addRoles;
}
/**
* The `name`s of the `MembershipRole`s to be removed. Adding or removing
* roles in the same request as updating roles is not supported. It is not
* possible to remove the `MEMBER` `MembershipRole`. If you wish to delete a
* `Membership`, call MembershipsService.DeleteMembership instead. Must not
* contain `MEMBER`. Must not be set if `update_roles_params` is set.
*
* @param string[] $removeRoles
*/
public function setRemoveRoles($removeRoles)
{
$this->removeRoles = $removeRoles;
}
/**
* @return string[]
*/
public function getRemoveRoles()
{
return $this->removeRoles;
}
/**
* The `MembershipRole`s to be updated. Updating roles in the same request as
* adding or removing roles is not supported. Must not be set if either
* `add_roles` or `remove_roles` is set.
*
* @param UpdateMembershipRolesParams[] $updateRolesParams
*/
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');
@@ -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 ModifyMembershipRolesResponse extends \Google\Model
{
protected $membershipType = Membership::class;
protected $membershipDataType = '';
/**
* The `Membership` resource after modifying its `MembershipRole`s.
*
* @param Membership $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');
@@ -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 OidcIdpConfig extends \Google\Model
{
/**
* The **Change Password URL** of the identity provider. Users will be sent to
* this URL when changing their passwords at `myaccount.google.com`. This
* takes precedence over the change password URL configured at customer-level.
* Must use `HTTPS`.
*
* @var string
*/
public $changePasswordUri;
/**
* Required. The Issuer identifier for the IdP. Must be a URL. The discovery
* URL will be derived from this as described in Section 4 of [the OIDC
* specification](https://openid.net/specs/openid-connect-discovery-1_0.html).
*
* @var string
*/
public $issuerUri;
/**
* The **Change Password URL** of the identity provider. Users will be sent to
* this URL when changing their passwords at `myaccount.google.com`. This
* takes precedence over the change password URL configured at customer-level.
* Must use `HTTPS`.
*
* @param string $changePasswordUri
*/
public function setChangePasswordUri($changePasswordUri)
{
$this->changePasswordUri = $changePasswordUri;
}
/**
* @return string
*/
public function getChangePasswordUri()
{
return $this->changePasswordUri;
}
/**
* Required. The Issuer identifier for the IdP. Must be a URL. The discovery
* URL will be derived from this as described in Section 4 of [the OIDC
* specification](https://openid.net/specs/openid-connect-discovery-1_0.html).
*
* @param string $issuerUri
*/
public function setIssuerUri($issuerUri)
{
$this->issuerUri = $issuerUri;
}
/**
* @return string
*/
public function getIssuerUri()
{
return $this->issuerUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OidcIdpConfig::class, 'Google_Service_CloudIdentity_OidcIdpConfig');
@@ -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 OidcRpConfig extends \Google\Collection
{
protected $collection_key = 'redirectUris';
/**
* OAuth2 client ID for OIDC.
*
* @var string
*/
public $clientId;
/**
* Input only. OAuth2 client secret for OIDC.
*
* @var string
*/
public $clientSecret;
/**
* Output only. The URL(s) that this client may use in authentication
* requests.
*
* @var string[]
*/
public $redirectUris;
/**
* OAuth2 client ID for OIDC.
*
* @param string $clientId
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* Input only. OAuth2 client secret for OIDC.
*
* @param string $clientSecret
*/
public function setClientSecret($clientSecret)
{
$this->clientSecret = $clientSecret;
}
/**
* @return string
*/
public function getClientSecret()
{
return $this->clientSecret;
}
/**
* Output only. The URL(s) that this client may use in authentication
* requests.
*
* @param string[] $redirectUris
*/
public function setRedirectUris($redirectUris)
{
$this->redirectUris = $redirectUris;
}
/**
* @return string[]
*/
public function getRedirectUris()
{
return $this->redirectUris;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OidcRpConfig::class, 'Google_Service_CloudIdentity_OidcRpConfig');
@@ -0,0 +1,50 @@
<?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 OidcSsoInfo extends \Google\Model
{
/**
* Required. Name of the `InboundOidcSsoProfile` to use. Must be of the form
* `inboundOidcSsoProfiles/{inbound_oidc_sso_profile}`.
*
* @var string
*/
public $inboundOidcSsoProfile;
/**
* Required. Name of the `InboundOidcSsoProfile` to use. Must be of the form
* `inboundOidcSsoProfiles/{inbound_oidc_sso_profile}`.
*
* @param string $inboundOidcSsoProfile
*/
public function setInboundOidcSsoProfile($inboundOidcSsoProfile)
{
$this->inboundOidcSsoProfile = $inboundOidcSsoProfile;
}
/**
* @return string
*/
public function getInboundOidcSsoProfile()
{
return $this->inboundOidcSsoProfile;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OidcSsoInfo::class, 'Google_Service_CloudIdentity_OidcSsoInfo');
@@ -0,0 +1,158 @@
<?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
{
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @var array[]
*/
public $metadata;
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @var string
*/
public $name;
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @var array[]
*/
public $response;
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @param bool $done
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* The error result of the operation in case of failure or cancellation.
*
* @param Status $error
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* Service-specific metadata associated with the operation. It typically
* contains progress information and common metadata such as create time. Some
* services might not provide such metadata. Any method that returns a long-
* running operation should document the metadata type, if any.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @param array[] $response
*/
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');
@@ -0,0 +1,152 @@
<?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
{
/**
* Unspecified policy type.
*/
public const TYPE_POLICY_TYPE_UNSPECIFIED = 'POLICY_TYPE_UNSPECIFIED';
/**
* Policy type denoting the system-configured policies.
*/
public const TYPE_SYSTEM = 'SYSTEM';
/**
* Policy type denoting the admin-configurable policies.
*/
public const TYPE_ADMIN = 'ADMIN';
/**
* Immutable. Customer that the Policy belongs to. The value is in the format
* 'customers/{customerId}'. The `customerId` must begin with "C" To find your
* customer ID in Admin Console see
* https://support.google.com/a/answer/10070793.
*
* @var string
*/
public $customer;
/**
* Output only. Identifier. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the Policy.
* Format: policies/{policy}.
*
* @var string
*/
public $name;
protected $policyQueryType = PolicyQuery::class;
protected $policyQueryDataType = '';
protected $settingType = Setting::class;
protected $settingDataType = '';
/**
* Output only. The type of the policy.
*
* @var string
*/
public $type;
/**
* Immutable. Customer that the Policy belongs to. The value is in the format
* 'customers/{customerId}'. The `customerId` must begin with "C" To find your
* customer ID in Admin Console see
* https://support.google.com/a/answer/10070793.
*
* @param string $customer
*/
public function setCustomer($customer)
{
$this->customer = $customer;
}
/**
* @return string
*/
public function getCustomer()
{
return $this->customer;
}
/**
* Output only. Identifier. The [resource
* name](https://cloud.google.com/apis/design/resource_names) of the Policy.
* Format: policies/{policy}.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. The PolicyQuery the Setting applies to.
*
* @param PolicyQuery $policyQuery
*/
public function setPolicyQuery(PolicyQuery $policyQuery)
{
$this->policyQuery = $policyQuery;
}
/**
* @return PolicyQuery
*/
public function getPolicyQuery()
{
return $this->policyQuery;
}
/**
* Required. The Setting configured by this Policy.
*
* @param Setting $setting
*/
public function setSetting(Setting $setting)
{
$this->setting = $setting;
}
/**
* @return Setting
*/
public function getSetting()
{
return $this->setting;
}
/**
* Output only. The type of the policy.
*
* Accepted values: POLICY_TYPE_UNSPECIFIED, SYSTEM, ADMIN
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
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');
@@ -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;
class PolicyQuery extends \Google\Model
{
/**
* Immutable. The group that the query applies to. This field is only set if
* there is a single value for group that satisfies all clauses of the query.
* If no group applies, this will be the empty string.
*
* @var string
*/
public $group;
/**
* Required. Immutable. Non-empty default. The OrgUnit the query applies to.
* This field is only set if there is a single value for org_unit that
* satisfies all clauses of the query.
*
* @var string
*/
public $orgUnit;
/**
* Immutable. The CEL query that defines which entities the Policy applies to
* (ex. a User entity). For details about CEL see
* https://opensource.google.com/projects/cel. The OrgUnits the Policy applies
* to are represented by a clause like so: entity.org_units.exists(org_unit,
* org_unit.org_unit_id == orgUnitId('{orgUnitId}')) The Group the Policy
* applies to are represented by a clause like so: entity.groups.exists(group,
* group.group_id == groupId('{groupId}')) The Licenses the Policy applies to
* are represented by a clause like so: entity.licenses.exists(license,
* license in ['/product/{productId}/sku/{skuId}']) The above clauses can be
* present in any combination, and used in conjunction with the &&, || and !
* operators. The org_unit and group fields below are helper fields that
* contain the corresponding value(s) as the query to make the query easier to
* use.
*
* @var string
*/
public $query;
/**
* Output only. The decimal sort order of this PolicyQuery. The value is
* relative to all other policies with the same setting type for the customer.
* (There are no duplicates within this set).
*
* @var
*/
public $sortOrder;
/**
* Immutable. The group that the query applies to. This field is only set if
* there is a single value for group that satisfies all clauses of the query.
* If no group applies, this will be the empty string.
*
* @param string $group
*/
public function setGroup($group)
{
$this->group = $group;
}
/**
* @return string
*/
public function getGroup()
{
return $this->group;
}
/**
* Required. Immutable. Non-empty default. The OrgUnit the query applies to.
* This field is only set if there is a single value for org_unit that
* satisfies all clauses of the query.
*
* @param string $orgUnit
*/
public function setOrgUnit($orgUnit)
{
$this->orgUnit = $orgUnit;
}
/**
* @return string
*/
public function getOrgUnit()
{
return $this->orgUnit;
}
/**
* Immutable. The CEL query that defines which entities the Policy applies to
* (ex. a User entity). For details about CEL see
* https://opensource.google.com/projects/cel. The OrgUnits the Policy applies
* to are represented by a clause like so: entity.org_units.exists(org_unit,
* org_unit.org_unit_id == orgUnitId('{orgUnitId}')) The Group the Policy
* applies to are represented by a clause like so: entity.groups.exists(group,
* group.group_id == groupId('{groupId}')) The Licenses the Policy applies to
* are represented by a clause like so: entity.licenses.exists(license,
* license in ['/product/{productId}/sku/{skuId}']) The above clauses can be
* present in any combination, and used in conjunction with the &&, || and !
* operators. The org_unit and group fields below are helper fields that
* contain the corresponding value(s) as the query to make the query easier to
* use.
*
* @param string $query
*/
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');
@@ -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');
@@ -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');
@@ -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');
@@ -0,0 +1,265 @@
<?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: If either the `partner` or
* `ios_device_id` field is provided, then both fields are required. - 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 string iosDeviceId Optional. The partner-specified device
* identifier assigned to the iOS device that initiated the Lookup API call.
* This string must match the value of the iosDeviceId key in the app config
* dictionary provided to Google Workspace apps.
* @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 partner Optional. The partner ID of the calling iOS app.
* This string must match the value of the partner key within the app
* configuration dictionary provided to Google Workspace apps.
* @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. Mac: ~/.secureConnect/context_aware_config.json Windows:
* C:\Users\%USERPROFILE%\.secureConnect\context_aware_config.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');
@@ -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');
@@ -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');

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