📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 APILayerServer.php
▶ Open 📄 View Source
🐘 ActiveDirectory.php
▶ Open 📄 View Source
🐘 Actuation.php
▶ Open 📄 View Source
🐘 ActuationOutput.php
▶ Open 📄 View Source
🐘 AgentCommand.php
▶ Open 📄 View Source
🐘 AgentStates.php
▶ Open 📄 View Source
🐘 AgentStatus.php
▶ Open 📄 View Source
🐘 AgentStatusConfigValue.php
▶ Open 📄 View Source
🐘 AgentStatusIAMPermission.php
▶ Open 📄 View Source
🐘 AgentStatusReference.php
▶ Open 📄 View Source
🐘 AgentStatusServiceStatus.php
▶ Open 📄 View Source
🐘 AppDetails.php
▶ Open 📄 View Source
🐘 AssetLocation.php
▶ Open 📄 View Source
🐘 AvailabilityGroup.php
▶ Open 📄 View Source
🐘 BackendServer.php
▶ Open 📄 View Source
🐘 BackupProperties.php
▶ Open 📄 View Source
🐘 BigQueryDestination.php
▶ Open 📄 View Source
🐘 BlobstoreLocation.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CloudAsset.php
▶ Open 📄 View Source
🐘 CloudAssetComposition.php
▶ Open 📄 View Source
🐘 CloudResource.php
▶ Open 📄 View Source
🐘 Cluster.php
▶ Open 📄 View Source
🐘 Command.php
▶ Open 📄 View Source
🐘 ComponentHealth.php
▶ Open 📄 View Source
🐘 Database.php
▶ Open 📄 View Source
🐘 DatabaseDetails.php
▶ Open 📄 View Source
🐘 DatabaseProperties.php
▶ Open 📄 View Source
🐘 Deployment.php
▶ Open 📄 View Source
🐘 DeploymentOutput.php
▶ Open 📄 View Source
🐘 DirectLocationAssignment.php
▶ Open 📄 View Source
🐘 Evaluation.php
▶ Open 📄 View Source
🐘 Execution.php
▶ Open 📄 View Source
🐘 ExecutionResult.php
▶ Open 📄 View Source
🐘 ExternalDataSources.php
▶ Open 📄 View Source
🐘 ExtraParameter.php
▶ Open 📄 View Source
🐘 FrontEndServer.php
▶ Open 📄 View Source
🐘 GceInstanceFilter.php
▶ Open 📄 View Source
🐘 HealthCheck.php
▶ Open 📄 View Source
🐘 IAMPermission.php
▶ Open 📄 View Source
🐘 Insight.php
▶ Open 📄 View Source
🐘 Instance.php
▶ Open 📄 View Source
🐘 InstanceProperties.php
▶ Open 📄 View Source
🐘 InvalidRule.php
▶ Open 📄 View Source
🐘 InvalidRulesWrapper.php
▶ Open 📄 View Source
🐘 IsolationExpectations.php
▶ Open 📄 View Source
🐘 Layer.php
▶ Open 📄 View Source
🐘 ListActuationsResponse.php
▶ Open 📄 View Source
🐘 ListDeploymentsResponse.php
▶ Open 📄 View Source
🐘 ListDiscoveredProfilesResponse.php
▶ Open 📄 View Source
🐘 ListEvaluationsResponse.php
▶ Open 📄 View Source
🐘 ListExecutionResultsResponse.php
▶ Open 📄 View Source
🐘 ListExecutionsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListRulesResponse.php
▶ Open 📄 View Source
🐘 ListScannedResourcesResponse.php
▶ Open 📄 View Source
🐘 ListWorkloadProfilesResponse.php
▶ Open 📄 View Source
🐘 LoadBalancerServer.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LocationAssignment.php
▶ Open 📄 View Source
🐘 LocationData.php
▶ Open 📄 View Source
🐘 LocationDetails.php
▶ Open 📄 View Source
🐘 Notice.php
▶ Open 📄 View Source
🐘 OpenShiftValidation.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Pacemaker.php
▶ Open 📄 View Source
🐘 PlacerLocation.php
▶ Open 📄 View Source
🐘 Product.php
▶ Open 📄 View Source
🐘 RegionalMigDistributionPolicy.php
▶ Open 📄 View Source
🐘 RequirementOverride.php
▶ Open 📄 View Source
🐘 ResourceFilter.php
▶ Open 📄 View Source
🐘 ResourceStatus.php
▶ Open 📄 View Source
🐘 Rule.php
▶ Open 📄 View Source
🐘 RuleExecutionResult.php
▶ Open 📄 View Source
🐘 RuleOutput.php
▶ Open 📄 View Source
🐘 RunEvaluationRequest.php
▶ Open 📄 View Source
🐘 SapComponent.php
▶ Open 📄 View Source
🐘 SapDiscovery.php
▶ Open 📄 View Source
🐘 SapDiscoveryComponent.php
▶ Open 📄 View Source
🐘 SapDiscoveryComponentApplicationProperties.php
▶ Open 📄 View Source
🐘 SapDiscoveryComponentDatabaseProperties.php
▶ Open 📄 View Source
🐘 SapDiscoveryComponentReplicationSite.php
▶ Open 📄 View Source
🐘 SapDiscoveryMetadata.php
▶ Open 📄 View Source
🐘 SapDiscoveryResource.php
▶ Open 📄 View Source
🐘 SapDiscoveryResourceInstanceProperties.php
▶ Open 📄 View Source
🐘 SapDiscoveryResourceInstancePropertiesAppInstance.php
▶ Open 📄 View Source
🐘 SapDiscoveryResourceInstancePropertiesDiskMount.php
▶ Open 📄 View Source
🐘 SapDiscoveryResourceInstancePropertiesKernelVersion.php
▶ Open 📄 View Source
🐘 SapDiscoveryResourceInstancePropertiesKernelVersionVersion.php
▶ Open 📄 View Source
🐘 SapDiscoveryWorkloadProperties.php
▶ Open 📄 View Source
🐘 SapDiscoveryWorkloadPropertiesProductVersion.php
▶ Open 📄 View Source
🐘 SapDiscoveryWorkloadPropertiesSoftwareComponentProperties.php
▶ Open 📄 View Source
🐘 SapInstanceProperties.php
▶ Open 📄 View Source
🐘 SapSystemS4Config.php
▶ Open 📄 View Source
🐘 SapValidation.php
▶ Open 📄 View Source
🐘 SapValidationValidationDetail.php
▶ Open 📄 View Source
🐘 SapWorkload.php
▶ Open 📄 View Source
🐘 SapWorkloadOverview.php
▶ Open 📄 View Source
🐘 ScannedResource.php
▶ Open 📄 View Source
🐘 ServiceStates.php
▶ Open 📄 View Source
🐘 ShellCommand.php
▶ Open 📄 View Source
🐘 SpannerLocation.php
▶ Open 📄 View Source
🐘 SqlLocationDetails.php
▶ Open 📄 View Source
🐘 SqlServerWorkload.php
▶ Open 📄 View Source
🐘 SqlserverValidation.php
▶ Open 📄 View Source
🐘 SqlserverValidationDetails.php
▶ Open 📄 View Source
🐘 SqlserverValidationValidationDetail.php
▶ Open 📄 View Source
🐘 SqlserverWorkloadOverview.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Summary.php
▶ Open 📄 View Source
🐘 TenantProjectProxy.php
▶ Open 📄 View Source
🐘 TerraformVariable.php
▶ Open 📄 View Source
🐘 ThreeTierWorkload.php
▶ Open 📄 View Source
🐘 ThreeTierWorkloadOverview.php
▶ Open 📄 View Source
🐘 TorsoValidation.php
▶ Open 📄 View Source
🐘 UpcomingMaintenanceEvent.php
▶ Open 📄 View Source
🐘 ViolationDetails.php
▶ Open 📄 View Source
🐘 WorkloadProfile.php
▶ Open 📄 View Source
🐘 WorkloadProfileHealth.php
▶ Open 📄 View Source
🐘 WorkloadProfileOverview.php
▶ Open 📄 View Source
🐘 WorkloadmanagerEmpty.php
▶ Open 📄 View Source
🐘 WorkloadmanagerResource.php
▶ Open 📄 View Source
🐘 WriteInsightRequest.php
▶ Open 📄 View Source
🐘 WriteInsightResponse.php
▶ Open 📄 View Source
🐘 ZoneConfiguration.php
▶ Open 📄 View Source

📄 Source: SapDiscoveryResourceInstanceProperties.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\WorkloadManager;

class SapDiscoveryResourceInstanceProperties extends \Google\Collection
{
  /**
   * Unspecified instance role.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_UNSPECIFIED = 'INSTANCE_ROLE_UNSPECIFIED';
  /**
   * Application central services.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_ASCS = 'INSTANCE_ROLE_ASCS';
  /**
   * Enqueue replication server.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_ERS = 'INSTANCE_ROLE_ERS';
  /**
   * Application server.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_APP_SERVER = 'INSTANCE_ROLE_APP_SERVER';
  /**
   * Database node.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_DATABASE = 'INSTANCE_ROLE_DATABASE';
  /**
   * Combinations of roles. Application central services and enqueue replication
   * server.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_ASCS_ERS = 'INSTANCE_ROLE_ASCS_ERS';
  /**
   * Application central services and application server.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_ASCS_APP_SERVER = 'INSTANCE_ROLE_ASCS_APP_SERVER';
  /**
   * Application central services and database.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_ASCS_DATABASE = 'INSTANCE_ROLE_ASCS_DATABASE';
  /**
   * Enqueue replication server and application server.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_ERS_APP_SERVER = 'INSTANCE_ROLE_ERS_APP_SERVER';
  /**
   * Enqueue replication server and database.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_ERS_DATABASE = 'INSTANCE_ROLE_ERS_DATABASE';
  /**
   * Application server and database.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_APP_SERVER_DATABASE = 'INSTANCE_ROLE_APP_SERVER_DATABASE';
  /**
   * Application central services, enqueue replication server and application
   * server.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_ASCS_ERS_APP_SERVER = 'INSTANCE_ROLE_ASCS_ERS_APP_SERVER';
  /**
   * Application central services, enqueue replication server and database.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_ASCS_ERS_DATABASE = 'INSTANCE_ROLE_ASCS_ERS_DATABASE';
  /**
   * Application central services, application server and database.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_ASCS_APP_SERVER_DATABASE = 'INSTANCE_ROLE_ASCS_APP_SERVER_DATABASE';
  /**
   * Enqueue replication server, application server and database.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_ERS_APP_SERVER_DATABASE = 'INSTANCE_ROLE_ERS_APP_SERVER_DATABASE';
  /**
   * Application central services, enqueue replication server, application
   * server and database.
   */
  public const INSTANCE_ROLE_INSTANCE_ROLE_ASCS_ERS_APP_SERVER_DATABASE = 'INSTANCE_ROLE_ASCS_ERS_APP_SERVER_DATABASE';
  protected $collection_key = 'diskMounts';
  protected $appInstancesType = SapDiscoveryResourceInstancePropertiesAppInstance::class;
  protected $appInstancesDataType = 'array';
  /**
   * Optional. A list of instance URIs that are part of a cluster with this one.
   *
   * @var string[]
   */
  public $clusterInstances;
  protected $diskMountsType = SapDiscoveryResourceInstancePropertiesDiskMount::class;
  protected $diskMountsDataType = 'array';
  /**
   * Optional. The VM's instance number.
   *
   * @deprecated
   * @var string
   */
  public $instanceNumber;
  /**
   * Optional. Bitmask of instance role, a resource may have multiple roles at
   * once.
   *
   * @var string
   */
  public $instanceRole;
  /**
   * Optional. Instance is part of a DR site.
   *
   * @var bool
   */
  public $isDrSite;
  protected $osKernelVersionType = SapDiscoveryResourceInstancePropertiesKernelVersion::class;
  protected $osKernelVersionDataType = '';
  /**
   * Optional. A virtual hostname of the instance if it has one.
   *
   * @var string
   */
  public $virtualHostname;

  /**
   * Optional. App server instances on the host
   *
   * @param SapDiscoveryResourceInstancePropertiesAppInstance[] $appInstances
   */
  public function setAppInstances($appInstances)
  {
    $this->appInstances = $appInstances;
  }
  /**
   * @return SapDiscoveryResourceInstancePropertiesAppInstance[]
   */
  public function getAppInstances()
  {
    return $this->appInstances;
  }
  /**
   * Optional. A list of instance URIs that are part of a cluster with this one.
   *
   * @param string[] $clusterInstances
   */
  public function setClusterInstances($clusterInstances)
  {
    $this->clusterInstances = $clusterInstances;
  }
  /**
   * @return string[]
   */
  public function getClusterInstances()
  {
    return $this->clusterInstances;
  }
  /**
   * Optional. Disk mounts on the instance.
   *
   * @param SapDiscoveryResourceInstancePropertiesDiskMount[] $diskMounts
   */
  public function setDiskMounts($diskMounts)
  {
    $this->diskMounts = $diskMounts;
  }
  /**
   * @return SapDiscoveryResourceInstancePropertiesDiskMount[]
   */
  public function getDiskMounts()
  {
    return $this->diskMounts;
  }
  /**
   * Optional. The VM's instance number.
   *
   * @deprecated
   * @param string $instanceNumber
   */
  public function setInstanceNumber($instanceNumber)
  {
    $this->instanceNumber = $instanceNumber;
  }
  /**
   * @deprecated
   * @return string
   */
  public function getInstanceNumber()
  {
    return $this->instanceNumber;
  }
  /**
   * Optional. Bitmask of instance role, a resource may have multiple roles at
   * once.
   *
   * Accepted values: INSTANCE_ROLE_UNSPECIFIED, INSTANCE_ROLE_ASCS,
   * INSTANCE_ROLE_ERS, INSTANCE_ROLE_APP_SERVER, INSTANCE_ROLE_DATABASE,
   * INSTANCE_ROLE_ASCS_ERS, INSTANCE_ROLE_ASCS_APP_SERVER,
   * INSTANCE_ROLE_ASCS_DATABASE, INSTANCE_ROLE_ERS_APP_SERVER,
   * INSTANCE_ROLE_ERS_DATABASE, INSTANCE_ROLE_APP_SERVER_DATABASE,
   * INSTANCE_ROLE_ASCS_ERS_APP_SERVER, INSTANCE_ROLE_ASCS_ERS_DATABASE,
   * INSTANCE_ROLE_ASCS_APP_SERVER_DATABASE,
   * INSTANCE_ROLE_ERS_APP_SERVER_DATABASE,
   * INSTANCE_ROLE_ASCS_ERS_APP_SERVER_DATABASE
   *
   * @param self::INSTANCE_ROLE_* $instanceRole
   */
  public function setInstanceRole($instanceRole)
  {
    $this->instanceRole = $instanceRole;
  }
  /**
   * @return self::INSTANCE_ROLE_*
   */
  public function getInstanceRole()
  {
    return $this->instanceRole;
  }
  /**
   * Optional. Instance is part of a DR site.
   *
   * @param bool $isDrSite
   */
  public function setIsDrSite($isDrSite)
  {
    $this->isDrSite = $isDrSite;
  }
  /**
   * @return bool
   */
  public function getIsDrSite()
  {
    return $this->isDrSite;
  }
  /**
   * Optional. The kernel version of the instance.
   *
   * @param SapDiscoveryResourceInstancePropertiesKernelVersion $osKernelVersion
   */
  public function setOsKernelVersion(SapDiscoveryResourceInstancePropertiesKernelVersion $osKernelVersion)
  {
    $this->osKernelVersion = $osKernelVersion;
  }
  /**
   * @return SapDiscoveryResourceInstancePropertiesKernelVersion
   */
  public function getOsKernelVersion()
  {
    return $this->osKernelVersion;
  }
  /**
   * Optional. A virtual hostname of the instance if it has one.
   *
   * @param string $virtualHostname
   */
  public function setVirtualHostname($virtualHostname)
  {
    $this->virtualHostname = $virtualHostname;
  }
  /**
   * @return string
   */
  public function getVirtualHostname()
  {
    return $this->virtualHostname;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SapDiscoveryResourceInstanceProperties::class, 'Google_Service_WorkloadManager_SapDiscoveryResourceInstanceProperties');
← Back