📂 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: GoogleCloudSaasacceleratorManagementProvidersV1Instance.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 GoogleCloudSaasacceleratorManagementProvidersV1Instance extends \Google\Collection
{
  /**
   * Unspecified state.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * Instance is being created.
   */
  public const STATE_CREATING = 'CREATING';
  /**
   * Instance has been created and is ready to use.
   */
  public const STATE_READY = 'READY';
  /**
   * Instance is being updated.
   */
  public const STATE_UPDATING = 'UPDATING';
  /**
   * Instance is unheathy and under repair.
   */
  public const STATE_REPAIRING = 'REPAIRING';
  /**
   * Instance is being deleted.
   */
  public const STATE_DELETING = 'DELETING';
  /**
   * Instance encountered an error and is in indeterministic state.
   */
  public const STATE_ERROR = 'ERROR';
  protected $collection_key = 'provisionedResources';
  /**
   * consumer_defined_name is the name of the instance set by the service
   * consumers. Generally this is different from the `name` field which
   * reperesents the system-assigned id of the instance which the service
   * consumers do not recognize. This is a required field for tenants onboarding
   * to Maintenance Window notifications (go/slm-rollout-maintenance-
   * policies#prerequisites).
   *
   * @var string
   */
  public $consumerDefinedName;
  /**
   * Optional. The consumer_project_number associated with this Apigee instance.
   * This field is added specifically to support Apigee integration with SLM
   * Rollout and UMM. It represents the numerical project ID of the GCP project
   * that consumes this Apigee instance. It is used for SLM rollout
   * notifications and UMM integration, enabling proper mapping to customer
   * projects and log delivery for Apigee instances. This field complements
   * consumer_project_id and may be used for specific Apigee scenarios where the
   * numerical ID is required.
   *
   * @var string
   */
  public $consumerProjectNumber;
  /**
   * Output only. Timestamp when the resource was created.
   *
   * @var string
   */
  public $createTime;
  /**
   * Optional. The instance_type of this instance of format: projects/{project_n
   * umber}/locations/{location_id}/instanceTypes/{instance_type_id}. Instance
   * Type represents a high-level tier or SKU of the service that this instance
   * belong to. When enabled(eg: Maintenance Rollout), Rollout uses
   * 'instance_type' along with 'software_versions' to determine whether
   * instance needs an update or not.
   *
   * @var string
   */
  public $instanceType;
  /**
   * Optional. Resource labels to represent user provided metadata. Each label
   * is a key-value pair, where both the key and the value are arbitrary strings
   * provided by the user.
   *
   * @var string[]
   */
  public $labels;
  /**
   * Optional. The MaintenancePolicies that have been attached to the instance.
   * The key must be of the type name of the oneof policy name defined in
   * MaintenancePolicy, and the referenced policy must define the same policy
   * type. For details, please refer to go/mr-user-guide. Should not be set if
   * maintenance_settings.maintenance_policies is set.
   *
   * @var string[]
   */
  public $maintenancePolicyNames;
  protected $maintenanceSchedulesType = GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::class;
  protected $maintenanceSchedulesDataType = 'map';
  protected $maintenanceSettingsType = GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::class;
  protected $maintenanceSettingsDataType = '';
  /**
   * Unique name of the resource. It uses the form:
   * `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
   * Note: This name is passed, stored and logged across the rollout system. So
   * use of consumer project_id or any other consumer PII in the name is
   * strongly discouraged for wipeout (go/wipeout) compliance. See
   * go/elysium/project_ids#storage-guidance for more details.
   *
   * @var string
   */
  public $name;
  protected $notificationParametersType = GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter::class;
  protected $notificationParametersDataType = 'map';
  /**
   * Output only. Custom string attributes used primarily to expose producer-
   * specific information in monitoring dashboards. See go/get-instance-
   * metadata.
   *
   * @var string[]
   */
  public $producerMetadata;
  protected $provisionedResourcesType = GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::class;
  protected $provisionedResourcesDataType = 'array';
  /**
   * Link to the SLM instance template. Only populated when updating SLM
   * instances via SSA's Actuation service adaptor. Service producers with
   * custom control plane (e.g. Cloud SQL) doesn't need to populate this field.
   * Instead they should use software_versions.
   *
   * @var string
   */
  public $slmInstanceTemplate;
  protected $sloMetadataType = GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::class;
  protected $sloMetadataDataType = '';
  /**
   * Software versions that are used to deploy this instance. This can be
   * mutated by rollout services.
   *
   * @var string[]
   */
  public $softwareVersions;
  /**
   * Output only. Current lifecycle state of the resource (e.g. if it's being
   * created or ready to use).
   *
   * @var string
   */
  public $state;
  /**
   * Output only. ID of the associated GCP tenant project. See go/get-instance-
   * metadata.
   *
   * @var string
   */
  public $tenantProjectId;
  /**
   * Output only. Timestamp when the resource was last modified.
   *
   * @var string
   */
  public $updateTime;

  /**
   * consumer_defined_name is the name of the instance set by the service
   * consumers. Generally this is different from the `name` field which
   * reperesents the system-assigned id of the instance which the service
   * consumers do not recognize. This is a required field for tenants onboarding
   * to Maintenance Window notifications (go/slm-rollout-maintenance-
   * policies#prerequisites).
   *
   * @param string $consumerDefinedName
   */
  public function setConsumerDefinedName($consumerDefinedName)
  {
    $this->consumerDefinedName = $consumerDefinedName;
  }
  /**
   * @return string
   */
  public function getConsumerDefinedName()
  {
    return $this->consumerDefinedName;
  }
  /**
   * Optional. The consumer_project_number associated with this Apigee instance.
   * This field is added specifically to support Apigee integration with SLM
   * Rollout and UMM. It represents the numerical project ID of the GCP project
   * that consumes this Apigee instance. It is used for SLM rollout
   * notifications and UMM integration, enabling proper mapping to customer
   * projects and log delivery for Apigee instances. This field complements
   * consumer_project_id and may be used for specific Apigee scenarios where the
   * numerical ID is required.
   *
   * @param string $consumerProjectNumber
   */
  public function setConsumerProjectNumber($consumerProjectNumber)
  {
    $this->consumerProjectNumber = $consumerProjectNumber;
  }
  /**
   * @return string
   */
  public function getConsumerProjectNumber()
  {
    return $this->consumerProjectNumber;
  }
  /**
   * Output only. Timestamp when the resource was created.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Optional. The instance_type of this instance of format: projects/{project_n
   * umber}/locations/{location_id}/instanceTypes/{instance_type_id}. Instance
   * Type represents a high-level tier or SKU of the service that this instance
   * belong to. When enabled(eg: Maintenance Rollout), Rollout uses
   * 'instance_type' along with 'software_versions' to determine whether
   * instance needs an update or not.
   *
   * @param string $instanceType
   */
  public function setInstanceType($instanceType)
  {
    $this->instanceType = $instanceType;
  }
  /**
   * @return string
   */
  public function getInstanceType()
  {
    return $this->instanceType;
  }
  /**
   * Optional. Resource labels to represent user provided metadata. Each label
   * is a key-value pair, where both the key and the value are arbitrary strings
   * provided by the user.
   *
   * @param string[] $labels
   */
  public function setLabels($labels)
  {
    $this->labels = $labels;
  }
  /**
   * @return string[]
   */
  public function getLabels()
  {
    return $this->labels;
  }
  /**
   * Optional. The MaintenancePolicies that have been attached to the instance.
   * The key must be of the type name of the oneof policy name defined in
   * MaintenancePolicy, and the referenced policy must define the same policy
   * type. For details, please refer to go/mr-user-guide. Should not be set if
   * maintenance_settings.maintenance_policies is set.
   *
   * @param string[] $maintenancePolicyNames
   */
  public function setMaintenancePolicyNames($maintenancePolicyNames)
  {
    $this->maintenancePolicyNames = $maintenancePolicyNames;
  }
  /**
   * @return string[]
   */
  public function getMaintenancePolicyNames()
  {
    return $this->maintenancePolicyNames;
  }
  /**
   * The MaintenanceSchedule contains the scheduling information of published
   * maintenance schedule with same key as software_versions.
   *
   * @param GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule[] $maintenanceSchedules
   */
  public function setMaintenanceSchedules($maintenanceSchedules)
  {
    $this->maintenanceSchedules = $maintenanceSchedules;
  }
  /**
   * @return GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule[]
   */
  public function getMaintenanceSchedules()
  {
    return $this->maintenanceSchedules;
  }
  /**
   * Optional. The MaintenanceSettings associated with instance.
   *
   * @param GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings $maintenanceSettings
   */
  public function setMaintenanceSettings(GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings $maintenanceSettings)
  {
    $this->maintenanceSettings = $maintenanceSettings;
  }
  /**
   * @return GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
   */
  public function getMaintenanceSettings()
  {
    return $this->maintenanceSettings;
  }
  /**
   * Unique name of the resource. It uses the form:
   * `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
   * Note: This name is passed, stored and logged across the rollout system. So
   * use of consumer project_id or any other consumer PII in the name is
   * strongly discouraged for wipeout (go/wipeout) compliance. See
   * go/elysium/project_ids#storage-guidance for more details.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Optional. notification_parameter are information that service producers may
   * like to include that is not relevant to Rollout. This parameter will only
   * be passed to Gamma and Cloud Logging for notification/logging purpose.
   *
   * @param GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter[] $notificationParameters
   */
  public function setNotificationParameters($notificationParameters)
  {
    $this->notificationParameters = $notificationParameters;
  }
  /**
   * @return GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter[]
   */
  public function getNotificationParameters()
  {
    return $this->notificationParameters;
  }
  /**
   * Output only. Custom string attributes used primarily to expose producer-
   * specific information in monitoring dashboards. See go/get-instance-
   * metadata.
   *
   * @param string[] $producerMetadata
   */
  public function setProducerMetadata($producerMetadata)
  {
    $this->producerMetadata = $producerMetadata;
  }
  /**
   * @return string[]
   */
  public function getProducerMetadata()
  {
    return $this->producerMetadata;
  }
  /**
   * Output only. The list of data plane resources provisioned for this
   * instance, e.g. compute VMs. See go/get-instance-metadata.
   *
   * @param GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource[] $provisionedResources
   */
  public function setProvisionedResources($provisionedResources)
  {
    $this->provisionedResources = $provisionedResources;
  }
  /**
   * @return GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource[]
   */
  public function getProvisionedResources()
  {
    return $this->provisionedResources;
  }
  /**
   * Link to the SLM instance template. Only populated when updating SLM
   * instances via SSA's Actuation service adaptor. Service producers with
   * custom control plane (e.g. Cloud SQL) doesn't need to populate this field.
   * Instead they should use software_versions.
   *
   * @param string $slmInstanceTemplate
   */
  public function setSlmInstanceTemplate($slmInstanceTemplate)
  {
    $this->slmInstanceTemplate = $slmInstanceTemplate;
  }
  /**
   * @return string
   */
  public function getSlmInstanceTemplate()
  {
    return $this->slmInstanceTemplate;
  }
  /**
   * Output only. SLO metadata for instance classification in the Standardized
   * dataplane SLO platform. See go/cloud-ssa-standard-slo for feature
   * description.
   *
   * @param GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata $sloMetadata
   */
  public function setSloMetadata(GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata $sloMetadata)
  {
    $this->sloMetadata = $sloMetadata;
  }
  /**
   * @return GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
   */
  public function getSloMetadata()
  {
    return $this->sloMetadata;
  }
  /**
   * Software versions that are used to deploy this instance. This can be
   * mutated by rollout services.
   *
   * @param string[] $softwareVersions
   */
  public function setSoftwareVersions($softwareVersions)
  {
    $this->softwareVersions = $softwareVersions;
  }
  /**
   * @return string[]
   */
  public function getSoftwareVersions()
  {
    return $this->softwareVersions;
  }
  /**
   * Output only. Current lifecycle state of the resource (e.g. if it's being
   * created or ready to use).
   *
   * Accepted values: STATE_UNSPECIFIED, CREATING, READY, UPDATING, REPAIRING,
   * DELETING, ERROR
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. ID of the associated GCP tenant project. See go/get-instance-
   * metadata.
   *
   * @param string $tenantProjectId
   */
  public function setTenantProjectId($tenantProjectId)
  {
    $this->tenantProjectId = $tenantProjectId;
  }
  /**
   * @return string
   */
  public function getTenantProjectId()
  {
    return $this->tenantProjectId;
  }
  /**
   * Output only. Timestamp when the resource was last modified.
   *
   * @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(GoogleCloudSaasacceleratorManagementProvidersV1Instance::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_GoogleCloudSaasacceleratorManagementProvidersV1Instance');
← Back