📂 File Browser

AgentAI/vendor/google/apiclient-services/src/CloudIdentity
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AddIdpCredentialOperationMetadata.php
▶ Open 📄 View Source
🐘 AddIdpCredentialRequest.php
▶ Open 📄 View Source
🐘 CancelUserInvitationRequest.php
▶ Open 📄 View Source
🐘 CheckTransitiveMembershipResponse.php
▶ Open 📄 View Source
🐘 CreateGroupMetadata.php
▶ Open 📄 View Source
🐘 CreateInboundOidcSsoProfileOperationMetadata.php
▶ Open 📄 View Source
🐘 CreateInboundSamlSsoProfileOperationMetadata.php
▶ Open 📄 View Source
🐘 CreateInboundSsoAssignmentOperationMetadata.php
▶ Open 📄 View Source
🐘 CreateMembershipMetadata.php
▶ Open 📄 View Source
🐘 DeleteGroupMetadata.php
▶ Open 📄 View Source
🐘 DeleteIdpCredentialOperationMetadata.php
▶ Open 📄 View Source
🐘 DeleteInboundOidcSsoProfileOperationMetadata.php
▶ Open 📄 View Source
🐘 DeleteInboundSamlSsoProfileOperationMetadata.php
▶ Open 📄 View Source
🐘 DeleteInboundSsoAssignmentOperationMetadata.php
▶ Open 📄 View Source
🐘 DeleteMembershipMetadata.php
▶ Open 📄 View Source
🐘 DsaPublicKeyInfo.php
▶ Open 📄 View Source
🐘 DynamicGroupMetadata.php
▶ Open 📄 View Source
🐘 DynamicGroupQuery.php
▶ Open 📄 View Source
🐘 DynamicGroupStatus.php
▶ Open 📄 View Source
🐘 EntityKey.php
▶ Open 📄 View Source
🐘 ExpiryDetail.php
▶ Open 📄 View Source
🐘 GetMembershipGraphMetadata.php
▶ Open 📄 View Source
🐘 GetMembershipGraphResponse.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1AndroidAttributes.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1BrowserAttributes.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1BrowserInfo.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1CertificateAttributes.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1CertificateTemplate.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1ClientState.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1CustomAttributeValue.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1Device.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1DeviceUser.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1ListClientStatesResponse.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1ListDevicesResponse.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1WipeDeviceRequest.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1WipeDeviceResponse.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest.php
▶ Open 📄 View Source
🐘 GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse.php
▶ Open 📄 View Source
🐘 Group.php
▶ Open 📄 View Source
🐘 GroupRelation.php
▶ Open 📄 View Source
🐘 IdpCredential.php
▶ Open 📄 View Source
🐘 InboundOidcSsoProfile.php
▶ Open 📄 View Source
🐘 InboundSamlSsoProfile.php
▶ Open 📄 View Source
🐘 InboundSsoAssignment.php
▶ Open 📄 View Source
🐘 IsInvitableUserResponse.php
▶ Open 📄 View Source
🐘 ListGroupsResponse.php
▶ Open 📄 View Source
🐘 ListIdpCredentialsResponse.php
▶ Open 📄 View Source
🐘 ListInboundOidcSsoProfilesResponse.php
▶ Open 📄 View Source
🐘 ListInboundSamlSsoProfilesResponse.php
▶ Open 📄 View Source
🐘 ListInboundSsoAssignmentsResponse.php
▶ Open 📄 View Source
🐘 ListMembershipsResponse.php
▶ Open 📄 View Source
🐘 ListPoliciesResponse.php
▶ Open 📄 View Source
🐘 ListUserInvitationsResponse.php
▶ Open 📄 View Source
🐘 LookupGroupNameResponse.php
▶ Open 📄 View Source
🐘 LookupMembershipNameResponse.php
▶ Open 📄 View Source
🐘 MemberRelation.php
▶ Open 📄 View Source
🐘 MemberRestriction.php
▶ Open 📄 View Source
🐘 Membership.php
▶ Open 📄 View Source
🐘 MembershipAdjacencyList.php
▶ Open 📄 View Source
🐘 MembershipRelation.php
▶ Open 📄 View Source
🐘 MembershipRole.php
▶ Open 📄 View Source
🐘 MembershipRoleRestrictionEvaluation.php
▶ Open 📄 View Source
🐘 ModifyMembershipRolesRequest.php
▶ Open 📄 View Source
🐘 ModifyMembershipRolesResponse.php
▶ Open 📄 View Source
🐘 OidcIdpConfig.php
▶ Open 📄 View Source
🐘 OidcRpConfig.php
▶ Open 📄 View Source
🐘 OidcSsoInfo.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 PolicyQuery.php
▶ Open 📄 View Source
🐘 RestrictionEvaluation.php
▶ Open 📄 View Source
🐘 RestrictionEvaluations.php
▶ Open 📄 View Source
🐘 RsaPublicKeyInfo.php
▶ Open 📄 View Source
🐘 SamlIdpConfig.php
▶ Open 📄 View Source
🐘 SamlSpConfig.php
▶ Open 📄 View Source
🐘 SamlSsoInfo.php
▶ Open 📄 View Source
🐘 SearchDirectGroupsResponse.php
▶ Open 📄 View Source
🐘 SearchGroupsResponse.php
▶ Open 📄 View Source
🐘 SearchTransitiveGroupsResponse.php
▶ Open 📄 View Source
🐘 SearchTransitiveMembershipsResponse.php
▶ Open 📄 View Source
🐘 SecuritySettings.php
▶ Open 📄 View Source
🐘 SendUserInvitationRequest.php
▶ Open 📄 View Source
🐘 Setting.php
▶ Open 📄 View Source
🐘 SignInBehavior.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 TransitiveMembershipRole.php
▶ Open 📄 View Source
🐘 UpdateGroupMetadata.php
▶ Open 📄 View Source
🐘 UpdateInboundOidcSsoProfileOperationMetadata.php
▶ Open 📄 View Source
🐘 UpdateInboundSamlSsoProfileOperationMetadata.php
▶ Open 📄 View Source
🐘 UpdateInboundSsoAssignmentOperationMetadata.php
▶ Open 📄 View Source
🐘 UpdateMembershipMetadata.php
▶ Open 📄 View Source
🐘 UpdateMembershipRolesParams.php
▶ Open 📄 View Source
🐘 UserInvitation.php
▶ Open 📄 View Source

📄 Source: Membership.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\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');
← Back