📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AttachTrustRequest.php
▶ Open 📄 View Source
🐘 Backup.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 Certificate.php
▶ Open 📄 View Source
🐘 CheckMigrationPermissionRequest.php
▶ Open 📄 View Source
🐘 CheckMigrationPermissionResponse.php
▶ Open 📄 View Source
🐘 DailyCycle.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 DenyMaintenancePeriod.php
▶ Open 📄 View Source
🐘 DetachTrustRequest.php
▶ Open 📄 View Source
🐘 DisableMigrationRequest.php
▶ Open 📄 View Source
🐘 Domain.php
▶ Open 📄 View Source
🐘 DomainJoinMachineRequest.php
▶ Open 📄 View Source
🐘 DomainJoinMachineResponse.php
▶ Open 📄 View Source
🐘 EnableMigrationRequest.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 ExtendSchemaRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudManagedidentitiesV1OpMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudManagedidentitiesV1alpha1OpMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudManagedidentitiesV1beta1OpMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1Instance.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata.php
▶ Open 📄 View Source
🐘 LDAPSSettings.php
▶ Open 📄 View Source
🐘 ListBackupsResponse.php
▶ Open 📄 View Source
🐘 ListDomainsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListPeeringsResponse.php
▶ Open 📄 View Source
🐘 ListSqlIntegrationsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 MaintenancePolicy.php
▶ Open 📄 View Source
🐘 MaintenanceWindow.php
▶ Open 📄 View Source
🐘 ManagedidentitiesEmpty.php
▶ Open 📄 View Source
🐘 OnPremDomainDetails.php
▶ Open 📄 View Source
🐘 OnPremDomainSIDDetails.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Peering.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 ReconfigureTrustRequest.php
▶ Open 📄 View Source
🐘 ResetAdminPasswordRequest.php
▶ Open 📄 View Source
🐘 ResetAdminPasswordResponse.php
▶ Open 📄 View Source
🐘 RestoreDomainRequest.php
▶ Open 📄 View Source
🐘 Schedule.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 SqlIntegration.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 TimeOfDay.php
▶ Open 📄 View Source
🐘 Trust.php
▶ Open 📄 View Source
🐘 UpdatePolicy.php
▶ Open 📄 View Source
🐘 ValidateTrustRequest.php
▶ Open 📄 View Source
🐘 WeeklyCycle.php
▶ Open 📄 View Source

📄 Source: LDAPSSettings.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\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI;

class LDAPSSettings extends \Google\Model
{
  /**
   * Not Set
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The LDAPS setting is being updated.
   */
  public const STATE_UPDATING = 'UPDATING';
  /**
   * The LDAPS setting is ready.
   */
  public const STATE_ACTIVE = 'ACTIVE';
  /**
   * The LDAPS setting is not applied correctly.
   */
  public const STATE_FAILED = 'FAILED';
  protected $certificateType = Certificate::class;
  protected $certificateDataType = '';
  /**
   * Input only. The password used to encrypt the uploaded PFX certificate.
   *
   * @var string
   */
  public $certificatePassword;
  /**
   * Input only. The uploaded PKCS12-formatted certificate to configure LDAPS
   * with. It will enable the domain controllers in this domain to accept LDAPS
   * connections (either LDAP over SSL/TLS or the StartTLS operation). A valid
   * certificate chain must form a valid x.509 certificate chain (or be
   * comprised of a single self-signed certificate. It must be encrypted with
   * either: 1) PBES2 + PBKDF2 + AES256 encryption and SHA256 PRF; or 2)
   * pbeWithSHA1And3-KeyTripleDES-CBC Private key must be included for the leaf
   * / single self-signed certificate. Note: For a fqdn your-example-domain.com,
   * the wildcard fqdn is *.your-example-domain.com. Specifically the leaf
   * certificate must have: - Either a blank subject or a subject with CN
   * matching the wildcard fqdn. - Exactly two SANs - the fqdn and wildcard
   * fqdn. - Encipherment and digital key signature key usages. - Server
   * authentication extended key usage (OID=1.3.6.1.5.5.7.3.1) - Private key
   * must be in one of the following formats: RSA, ECDSA, ED25519. - Private key
   * must have appropriate key length: 2048 for RSA, 256 for ECDSA - Signature
   * algorithm of the leaf certificate cannot be MD2, MD5 or SHA1.
   *
   * @var string
   */
  public $certificatePfx;
  /**
   * The resource name of the LDAPS settings. Uses the form:
   * `projects/{project}/locations/{location}/domains/{domain}`.
   *
   * @var string
   */
  public $name;
  /**
   * Output only. The current state of this LDAPS settings.
   *
   * @var string
   */
  public $state;
  /**
   * Output only. Last update time.
   *
   * @var string
   */
  public $updateTime;

  /**
   * Output only. The certificate used to configure LDAPS. Certificates can be
   * chained with a maximum length of 15.
   *
   * @param Certificate $certificate
   */
  public function setCertificate(Certificate $certificate)
  {
    $this->certificate = $certificate;
  }
  /**
   * @return Certificate
   */
  public function getCertificate()
  {
    return $this->certificate;
  }
  /**
   * Input only. The password used to encrypt the uploaded PFX certificate.
   *
   * @param string $certificatePassword
   */
  public function setCertificatePassword($certificatePassword)
  {
    $this->certificatePassword = $certificatePassword;
  }
  /**
   * @return string
   */
  public function getCertificatePassword()
  {
    return $this->certificatePassword;
  }
  /**
   * Input only. The uploaded PKCS12-formatted certificate to configure LDAPS
   * with. It will enable the domain controllers in this domain to accept LDAPS
   * connections (either LDAP over SSL/TLS or the StartTLS operation). A valid
   * certificate chain must form a valid x.509 certificate chain (or be
   * comprised of a single self-signed certificate. It must be encrypted with
   * either: 1) PBES2 + PBKDF2 + AES256 encryption and SHA256 PRF; or 2)
   * pbeWithSHA1And3-KeyTripleDES-CBC Private key must be included for the leaf
   * / single self-signed certificate. Note: For a fqdn your-example-domain.com,
   * the wildcard fqdn is *.your-example-domain.com. Specifically the leaf
   * certificate must have: - Either a blank subject or a subject with CN
   * matching the wildcard fqdn. - Exactly two SANs - the fqdn and wildcard
   * fqdn. - Encipherment and digital key signature key usages. - Server
   * authentication extended key usage (OID=1.3.6.1.5.5.7.3.1) - Private key
   * must be in one of the following formats: RSA, ECDSA, ED25519. - Private key
   * must have appropriate key length: 2048 for RSA, 256 for ECDSA - Signature
   * algorithm of the leaf certificate cannot be MD2, MD5 or SHA1.
   *
   * @param string $certificatePfx
   */
  public function setCertificatePfx($certificatePfx)
  {
    $this->certificatePfx = $certificatePfx;
  }
  /**
   * @return string
   */
  public function getCertificatePfx()
  {
    return $this->certificatePfx;
  }
  /**
   * The resource name of the LDAPS settings. Uses the form:
   * `projects/{project}/locations/{location}/domains/{domain}`.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Output only. The current state of this LDAPS settings.
   *
   * Accepted values: STATE_UNSPECIFIED, UPDATING, ACTIVE, FAILED
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. Last update time.
   *
   * @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(LDAPSSettings::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_LDAPSSettings');
← Back