📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AlloydbEmpty.php
▶ Open 📄 View Source
🐘 AuthorizedNetwork.php
▶ Open 📄 View Source
🐘 AutoScalingConfig.php
▶ Open 📄 View Source
🐘 AutomatedBackupPolicy.php
▶ Open 📄 View Source
🐘 Backup.php
▶ Open 📄 View Source
🐘 BackupDrBackupSource.php
▶ Open 📄 View Source
🐘 BackupDrEnabledWindow.php
▶ Open 📄 View Source
🐘 BackupDrInfo.php
▶ Open 📄 View Source
🐘 BackupDrPitrSource.php
▶ Open 📄 View Source
🐘 BackupSource.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 ClientConnectionConfig.php
▶ Open 📄 View Source
🐘 CloudControl2SharedOperationsReconciliationOperationMetadata.php
▶ Open 📄 View Source
🐘 CloudSQLBackupRunSource.php
▶ Open 📄 View Source
🐘 Cluster.php
▶ Open 📄 View Source
🐘 ClusterUpgradeDetails.php
▶ Open 📄 View Source
🐘 ConnectionInfo.php
▶ Open 📄 View Source
🐘 ConnectionPoolConfig.php
▶ Open 📄 View Source
🐘 ContinuousBackupConfig.php
▶ Open 📄 View Source
🐘 ContinuousBackupInfo.php
▶ Open 📄 View Source
🐘 ContinuousBackupSource.php
▶ Open 📄 View Source
🐘 CpuUtilization.php
▶ Open 📄 View Source
🐘 CsvExportOptions.php
▶ Open 📄 View Source
🐘 CsvImportOptions.php
▶ Open 📄 View Source
🐘 DataplexConfig.php
▶ Open 📄 View Source
🐘 DenyMaintenancePeriod.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 EncryptionInfo.php
▶ Open 📄 View Source
🐘 ExportClusterRequest.php
▶ Open 📄 View Source
🐘 ExportClusterResponse.php
▶ Open 📄 View Source
🐘 FailoverInstanceRequest.php
▶ Open 📄 View Source
🐘 GcsDestination.php
▶ Open 📄 View Source
🐘 GenerateClientCertificateRequest.php
▶ Open 📄 View Source
🐘 GenerateClientCertificateResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudLocationListLocationsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudLocationLocation.php
▶ Open 📄 View Source
🐘 GoogleTypeDate.php
▶ Open 📄 View Source
🐘 GoogleTypeTimeOfDay.php
▶ Open 📄 View Source
🐘 ImportClusterRequest.php
▶ Open 📄 View Source
🐘 ImportClusterResponse.php
▶ Open 📄 View Source
🐘 InjectFaultRequest.php
▶ Open 📄 View Source
🐘 Instance.php
▶ Open 📄 View Source
🐘 InstanceNetworkConfig.php
▶ Open 📄 View Source
🐘 InstanceUpgradeDetails.php
▶ Open 📄 View Source
🐘 IntegerRestrictions.php
▶ Open 📄 View Source
🐘 ListBackupsResponse.php
▶ Open 📄 View Source
🐘 ListClustersResponse.php
▶ Open 📄 View Source
🐘 ListInstancesResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListSupportedDatabaseFlagsResponse.php
▶ Open 📄 View Source
🐘 ListUsersResponse.php
▶ Open 📄 View Source
🐘 MachineConfig.php
▶ Open 📄 View Source
🐘 MaintenanceSchedule.php
▶ Open 📄 View Source
🐘 MaintenanceUpdatePolicy.php
▶ Open 📄 View Source
🐘 MaintenanceWindow.php
▶ Open 📄 View Source
🐘 MigrationSource.php
▶ Open 📄 View Source
🐘 NetworkConfig.php
▶ Open 📄 View Source
🐘 Node.php
▶ Open 📄 View Source
🐘 ObservabilityInstanceConfig.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 PrimaryConfig.php
▶ Open 📄 View Source
🐘 PromoteClusterRequest.php
▶ Open 📄 View Source
🐘 PscAutoConnectionConfig.php
▶ Open 📄 View Source
🐘 PscConfig.php
▶ Open 📄 View Source
🐘 PscInstanceConfig.php
▶ Open 📄 View Source
🐘 PscInterfaceConfig.php
▶ Open 📄 View Source
🐘 QuantityBasedExpiry.php
▶ Open 📄 View Source
🐘 QuantityBasedRetention.php
▶ Open 📄 View Source
🐘 QueryInsightsInstanceConfig.php
▶ Open 📄 View Source
🐘 ReadPoolConfig.php
▶ Open 📄 View Source
🐘 ReadPoolInstancesUpgradeStageStatus.php
▶ Open 📄 View Source
🐘 RestartInstanceRequest.php
▶ Open 📄 View Source
🐘 RestoreClusterRequest.php
▶ Open 📄 View Source
🐘 RestoreFromCloudSQLRequest.php
▶ Open 📄 View Source
🐘 Schedule.php
▶ Open 📄 View Source
🐘 SecondaryConfig.php
▶ Open 📄 View Source
🐘 SqlExportOptions.php
▶ Open 📄 View Source
🐘 SqlImportOptions.php
▶ Open 📄 View Source
🐘 SslConfig.php
▶ Open 📄 View Source
🐘 StageInfo.php
▶ Open 📄 View Source
🐘 StageSchedule.php
▶ Open 📄 View Source
🐘 StageStatus.php
▶ Open 📄 View Source
🐘 Stats.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainBackupConfiguration.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainBackupRun.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainCompliance.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainCustomMetadataData.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainDatabaseMetadata.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainDatabaseResourceId.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainEntitlement.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainMachineConfiguration.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainOperationError.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainResourceFlags.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainRetentionSettings.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainSignalMetadata.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainTags.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainUserLabels.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterProtoCommonProduct.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterProtoCommonTypedValue.php
▶ Open 📄 View Source
🐘 StringRestrictions.php
▶ Open 📄 View Source
🐘 SupportedDatabaseFlag.php
▶ Open 📄 View Source
🐘 SwitchoverClusterRequest.php
▶ Open 📄 View Source
🐘 TimeBasedRetention.php
▶ Open 📄 View Source
🐘 TrialMetadata.php
▶ Open 📄 View Source
🐘 UpgradeClusterRequest.php
▶ Open 📄 View Source
🐘 UpgradeClusterResponse.php
▶ Open 📄 View Source
🐘 UpgradeClusterStatus.php
▶ Open 📄 View Source
🐘 User.php
▶ Open 📄 View Source
🐘 UserPassword.php
▶ Open 📄 View Source
🐘 WeeklySchedule.php
▶ Open 📄 View Source

📄 Source: StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.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\CloudAlloyDBAdmin;

class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData extends \Google\Model
{
  /**
   * Unspecified aggregation type.
   */
  public const AGGREGATION_TYPE_AGGREGATION_TYPE_UNSPECIFIED = 'AGGREGATION_TYPE_UNSPECIFIED';
  /**
   * PEAK aggregation type.
   */
  public const AGGREGATION_TYPE_PEAK = 'PEAK';
  /**
   * P99 aggregation type.
   */
  public const AGGREGATION_TYPE_P99 = 'P99';
  /**
   * P95 aggregation type.
   */
  public const AGGREGATION_TYPE_P95 = 'P95';
  /**
   * current aggregation type.
   */
  public const AGGREGATION_TYPE_CURRENT = 'CURRENT';
  /**
   * Unspecified metric type.
   */
  public const METRIC_TYPE_METRIC_TYPE_UNSPECIFIED = 'METRIC_TYPE_UNSPECIFIED';
  /**
   * CPU utilization for a resource. The value is a fraction between 0.0 and 1.0
   * (may momentarily exceed 1.0 in some cases).
   */
  public const METRIC_TYPE_CPU_UTILIZATION = 'CPU_UTILIZATION';
  /**
   * Memory utilization for a resource. The value is a fraction between 0.0 and
   * 1.0 (may momentarily exceed 1.0 in some cases).
   */
  public const METRIC_TYPE_MEMORY_UTILIZATION = 'MEMORY_UTILIZATION';
  /**
   * Number of network connections for a resource.
   */
  public const METRIC_TYPE_NETWORK_CONNECTIONS = 'NETWORK_CONNECTIONS';
  /**
   * Storage utilization for a resource. The value is a fraction between 0.0 and
   * 1.0 (may momentarily exceed 1.0 in some cases).
   */
  public const METRIC_TYPE_STORAGE_UTILIZATION = 'STORAGE_UTILIZATION';
  /**
   * Sotrage used by a resource.
   */
  public const METRIC_TYPE_STORAGE_USED_BYTES = 'STORAGE_USED_BYTES';
  /**
   * Node count for a resource. It represents the number of node units in a
   * bigtable/spanner instance.
   */
  public const METRIC_TYPE_NODE_COUNT = 'NODE_COUNT';
  /**
   * Memory used by a resource (in bytes).
   */
  public const METRIC_TYPE_MEMORY_USED_BYTES = 'MEMORY_USED_BYTES';
  /**
   * Processing units used by a resource. It represents the number of processing
   * units in a spanner instance.
   */
  public const METRIC_TYPE_PROCESSING_UNIT_COUNT = 'PROCESSING_UNIT_COUNT';
  /**
   * Required. Type of aggregation performed on the metric.
   *
   * @var string
   */
  public $aggregationType;
  /**
   * Required. Type of metric like CPU, Memory, etc.
   *
   * @var string
   */
  public $metricType;
  /**
   * Required. The time the metric value was observed.
   *
   * @var string
   */
  public $observationTime;
  /**
   * Required. Database resource name associated with the signal. Resource name
   * to follow CAIS resource_name format as noted here go/condor-common-
   * datamodel
   *
   * @var string
   */
  public $resourceName;
  protected $valueType = StorageDatabasecenterProtoCommonTypedValue::class;
  protected $valueDataType = '';

  /**
   * Required. Type of aggregation performed on the metric.
   *
   * Accepted values: AGGREGATION_TYPE_UNSPECIFIED, PEAK, P99, P95, CURRENT
   *
   * @param self::AGGREGATION_TYPE_* $aggregationType
   */
  public function setAggregationType($aggregationType)
  {
    $this->aggregationType = $aggregationType;
  }
  /**
   * @return self::AGGREGATION_TYPE_*
   */
  public function getAggregationType()
  {
    return $this->aggregationType;
  }
  /**
   * Required. Type of metric like CPU, Memory, etc.
   *
   * Accepted values: METRIC_TYPE_UNSPECIFIED, CPU_UTILIZATION,
   * MEMORY_UTILIZATION, NETWORK_CONNECTIONS, STORAGE_UTILIZATION,
   * STORAGE_USED_BYTES, NODE_COUNT, MEMORY_USED_BYTES, PROCESSING_UNIT_COUNT
   *
   * @param self::METRIC_TYPE_* $metricType
   */
  public function setMetricType($metricType)
  {
    $this->metricType = $metricType;
  }
  /**
   * @return self::METRIC_TYPE_*
   */
  public function getMetricType()
  {
    return $this->metricType;
  }
  /**
   * Required. The time the metric value was observed.
   *
   * @param string $observationTime
   */
  public function setObservationTime($observationTime)
  {
    $this->observationTime = $observationTime;
  }
  /**
   * @return string
   */
  public function getObservationTime()
  {
    return $this->observationTime;
  }
  /**
   * Required. Database resource name associated with the signal. Resource name
   * to follow CAIS resource_name format as noted here go/condor-common-
   * datamodel
   *
   * @param string $resourceName
   */
  public function setResourceName($resourceName)
  {
    $this->resourceName = $resourceName;
  }
  /**
   * @return string
   */
  public function getResourceName()
  {
    return $this->resourceName;
  }
  /**
   * Required. Value of the metric type.
   *
   * @param StorageDatabasecenterProtoCommonTypedValue $value
   */
  public function setValue(StorageDatabasecenterProtoCommonTypedValue $value)
  {
    $this->value = $value;
  }
  /**
   * @return StorageDatabasecenterProtoCommonTypedValue
   */
  public function getValue()
  {
    return $this->value;
  }
}

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