📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AddTenantProjectRequest.php
▶ Open 📄 View Source
🐘 Api.php
▶ Open 📄 View Source
🐘 ApplyTenantProjectConfigRequest.php
▶ Open 📄 View Source
🐘 Aspect.php
▶ Open 📄 View Source
🐘 AspectRule.php
▶ Open 📄 View Source
🐘 AttachTenantProjectRequest.php
▶ Open 📄 View Source
🐘 AuthProvider.php
▶ Open 📄 View Source
🐘 AuthRequirement.php
▶ Open 📄 View Source
🐘 Authentication.php
▶ Open 📄 View Source
🐘 AuthenticationRule.php
▶ Open 📄 View Source
🐘 Backend.php
▶ Open 📄 View Source
🐘 BackendRule.php
▶ Open 📄 View Source
🐘 BatchingConfigProto.php
▶ Open 📄 View Source
🐘 BatchingDescriptorProto.php
▶ Open 📄 View Source
🐘 BatchingSettingsProto.php
▶ Open 📄 View Source
🐘 Billing.php
▶ Open 📄 View Source
🐘 BillingConfig.php
▶ Open 📄 View Source
🐘 BillingDestination.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 ClientLibrarySettings.php
▶ Open 📄 View Source
🐘 CommonLanguageSettings.php
▶ Open 📄 View Source
🐘 Context.php
▶ Open 📄 View Source
🐘 ContextRule.php
▶ Open 📄 View Source
🐘 Control.php
▶ Open 📄 View Source
🐘 CppSettings.php
▶ Open 📄 View Source
🐘 CreateTenancyUnitRequest.php
▶ Open 📄 View Source
🐘 CustomError.php
▶ Open 📄 View Source
🐘 CustomErrorRule.php
▶ Open 📄 View Source
🐘 CustomHttpPattern.php
▶ Open 📄 View Source
🐘 DeleteTenantProjectRequest.php
▶ Open 📄 View Source
🐘 Documentation.php
▶ Open 📄 View Source
🐘 DocumentationRule.php
▶ Open 📄 View Source
🐘 DotnetSettings.php
▶ Open 📄 View Source
🐘 Endpoint.php
▶ Open 📄 View Source
🐘 Enum.php
▶ Open 📄 View Source
🐘 EnumValue.php
▶ Open 📄 View Source
🐘 ExperimentalFeatures.php
▶ Open 📄 View Source
🐘 Field.php
▶ Open 📄 View Source
🐘 FieldPolicy.php
▶ Open 📄 View Source
🐘 GoSettings.php
▶ Open 📄 View Source
🐘 Http.php
▶ Open 📄 View Source
🐘 HttpRule.php
▶ Open 📄 View Source
🐘 JavaSettings.php
▶ Open 📄 View Source
🐘 JwtLocation.php
▶ Open 📄 View Source
🐘 LabelDescriptor.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListTenancyUnitsResponse.php
▶ Open 📄 View Source
🐘 LogDescriptor.php
▶ Open 📄 View Source
🐘 Logging.php
▶ Open 📄 View Source
🐘 LoggingDestination.php
▶ Open 📄 View Source
🐘 LongRunning.php
▶ Open 📄 View Source
🐘 Method.php
▶ Open 📄 View Source
🐘 MethodPolicy.php
▶ Open 📄 View Source
🐘 MethodSettings.php
▶ Open 📄 View Source
🐘 MetricDescriptor.php
▶ Open 📄 View Source
🐘 MetricDescriptorMetadata.php
▶ Open 📄 View Source
🐘 MetricRule.php
▶ Open 📄 View Source
🐘 Mixin.php
▶ Open 📄 View Source
🐘 MonitoredResourceDescriptor.php
▶ Open 📄 View Source
🐘 Monitoring.php
▶ Open 📄 View Source
🐘 MonitoringDestination.php
▶ Open 📄 View Source
🐘 NodeSettings.php
▶ Open 📄 View Source
🐘 OAuthRequirements.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 Option.php
▶ Open 📄 View Source
🐘 Page.php
▶ Open 📄 View Source
🐘 PhpSettings.php
▶ Open 📄 View Source
🐘 PolicyBinding.php
▶ Open 📄 View Source
🐘 Publishing.php
▶ Open 📄 View Source
🐘 PythonSettings.php
▶ Open 📄 View Source
🐘 Quota.php
▶ Open 📄 View Source
🐘 QuotaLimit.php
▶ Open 📄 View Source
🐘 RemoveTenantProjectRequest.php
▶ Open 📄 View Source
🐘 RubySettings.php
▶ Open 📄 View Source
🐘 SearchTenancyUnitsResponse.php
▶ Open 📄 View Source
🐘 SelectiveGapicGeneration.php
▶ Open 📄 View Source
🐘 Service.php
▶ Open 📄 View Source
🐘 ServiceAccountConfig.php
▶ Open 📄 View Source
🐘 ServiceconsumermanagementEmpty.php
▶ Open 📄 View Source
🐘 SourceContext.php
▶ Open 📄 View Source
🐘 SourceInfo.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 SystemParameter.php
▶ Open 📄 View Source
🐘 SystemParameterRule.php
▶ Open 📄 View Source
🐘 SystemParameters.php
▶ Open 📄 View Source
🐘 TenancyUnit.php
▶ Open 📄 View Source
🐘 TenantProjectConfig.php
▶ Open 📄 View Source
🐘 TenantProjectPolicy.php
▶ Open 📄 View Source
🐘 TenantResource.php
▶ Open 📄 View Source
🐘 Type.php
▶ Open 📄 View Source
🐘 UndeleteTenantProjectRequest.php
▶ Open 📄 View Source
🐘 Usage.php
▶ Open 📄 View Source
🐘 UsageRule.php
▶ Open 📄 View Source
🐘 V1AddVisibilityLabelsResponse.php
▶ Open 📄 View Source
🐘 V1Beta1BatchCreateProducerOverridesResponse.php
▶ Open 📄 View Source
🐘 V1Beta1DisableConsumerResponse.php
▶ Open 📄 View Source
🐘 V1Beta1EnableConsumerResponse.php
▶ Open 📄 View Source
🐘 V1Beta1GenerateServiceIdentityResponse.php
▶ Open 📄 View Source
🐘 V1Beta1ImportProducerOverridesResponse.php
▶ Open 📄 View Source
🐘 V1Beta1ImportProducerQuotaPoliciesResponse.php
▶ Open 📄 View Source
🐘 V1Beta1ProducerQuotaPolicy.php
▶ Open 📄 View Source
🐘 V1Beta1QuotaOverride.php
▶ Open 📄 View Source
🐘 V1Beta1RefreshConsumerResponse.php
▶ Open 📄 View Source
🐘 V1Beta1ServiceIdentity.php
▶ Open 📄 View Source
🐘 V1DefaultIdentity.php
▶ Open 📄 View Source
🐘 V1DisableConsumerResponse.php
▶ Open 📄 View Source
🐘 V1EnableConsumerResponse.php
▶ Open 📄 View Source
🐘 V1GenerateDefaultIdentityResponse.php
▶ Open 📄 View Source
🐘 V1GenerateServiceAccountResponse.php
▶ Open 📄 View Source
🐘 V1RefreshConsumerResponse.php
▶ Open 📄 View Source
🐘 V1RemoveVisibilityLabelsResponse.php
▶ Open 📄 View Source
🐘 V1ServiceAccount.php
▶ Open 📄 View Source

📄 Source: MonitoredResourceDescriptor.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\ServiceConsumerManagement;

class MonitoredResourceDescriptor extends \Google\Collection
{
  /**
   * Do not use this default value.
   */
  public const LAUNCH_STAGE_LAUNCH_STAGE_UNSPECIFIED = 'LAUNCH_STAGE_UNSPECIFIED';
  /**
   * The feature is not yet implemented. Users can not use it.
   */
  public const LAUNCH_STAGE_UNIMPLEMENTED = 'UNIMPLEMENTED';
  /**
   * Prelaunch features are hidden from users and are only visible internally.
   */
  public const LAUNCH_STAGE_PRELAUNCH = 'PRELAUNCH';
  /**
   * Early Access features are limited to a closed group of testers. To use
   * these features, you must sign up in advance and sign a Trusted Tester
   * agreement (which includes confidentiality provisions). These features may
   * be unstable, changed in backward-incompatible ways, and are not guaranteed
   * to be released.
   */
  public const LAUNCH_STAGE_EARLY_ACCESS = 'EARLY_ACCESS';
  /**
   * Alpha is a limited availability test for releases before they are cleared
   * for widespread use. By Alpha, all significant design issues are resolved
   * and we are in the process of verifying functionality. Alpha customers need
   * to apply for access, agree to applicable terms, and have their projects
   * allowlisted. Alpha releases don't have to be feature complete, no SLAs are
   * provided, and there are no technical support obligations, but they will be
   * far enough along that customers can actually use them in test environments
   * or for limited-use tests -- just like they would in normal production
   * cases.
   */
  public const LAUNCH_STAGE_ALPHA = 'ALPHA';
  /**
   * Beta is the point at which we are ready to open a release for any customer
   * to use. There are no SLA or technical support obligations in a Beta
   * release. Products will be complete from a feature perspective, but may have
   * some open outstanding issues. Beta releases are suitable for limited
   * production use cases.
   */
  public const LAUNCH_STAGE_BETA = 'BETA';
  /**
   * GA features are open to all developers and are considered stable and fully
   * qualified for production use.
   */
  public const LAUNCH_STAGE_GA = 'GA';
  /**
   * Deprecated features are scheduled to be shut down and removed. For more
   * information, see the "Deprecation Policy" section of our [Terms of
   * Service](https://cloud.google.com/terms/) and the [Google Cloud Platform
   * Subject to the Deprecation
   * Policy](https://cloud.google.com/terms/deprecation) documentation.
   */
  public const LAUNCH_STAGE_DEPRECATED = 'DEPRECATED';
  protected $collection_key = 'labels';
  /**
   * Optional. A detailed description of the monitored resource type that might
   * be used in documentation.
   *
   * @var string
   */
  public $description;
  /**
   * Optional. A concise name for the monitored resource type that might be
   * displayed in user interfaces. It should be a Title Cased Noun Phrase,
   * without any article or other determiners. For example, `"Google Cloud SQL
   * Database"`.
   *
   * @var string
   */
  public $displayName;
  protected $labelsType = LabelDescriptor::class;
  protected $labelsDataType = 'array';
  /**
   * Optional. The launch stage of the monitored resource definition.
   *
   * @var string
   */
  public $launchStage;
  /**
   * Optional. The resource name of the monitored resource descriptor:
   * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where {type}
   * is the value of the `type` field in this object and {project_id} is a
   * project ID that provides API-specific context for accessing the type. APIs
   * that do not use project information can use the resource name format
   * `"monitoredResourceDescriptors/{type}"`.
   *
   * @var string
   */
  public $name;
  /**
   * Required. The monitored resource type. For example, the type
   * `"cloudsql_database"` represents databases in Google Cloud SQL. For a list
   * of types, see [Monitored resource
   * types](https://cloud.google.com/monitoring/api/resources) and [Logging
   * resource types](https://cloud.google.com/logging/docs/api/v2/resource-
   * list).
   *
   * @var string
   */
  public $type;

  /**
   * Optional. A detailed description of the monitored resource type that might
   * be used in documentation.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * Optional. A concise name for the monitored resource type that might be
   * displayed in user interfaces. It should be a Title Cased Noun Phrase,
   * without any article or other determiners. For example, `"Google Cloud SQL
   * Database"`.
   *
   * @param string $displayName
   */
  public function setDisplayName($displayName)
  {
    $this->displayName = $displayName;
  }
  /**
   * @return string
   */
  public function getDisplayName()
  {
    return $this->displayName;
  }
  /**
   * Required. A set of labels used to describe instances of this monitored
   * resource type. For example, an individual Google Cloud SQL database is
   * identified by values for the labels `"database_id"` and `"zone"`.
   *
   * @param LabelDescriptor[] $labels
   */
  public function setLabels($labels)
  {
    $this->labels = $labels;
  }
  /**
   * @return LabelDescriptor[]
   */
  public function getLabels()
  {
    return $this->labels;
  }
  /**
   * Optional. The launch stage of the monitored resource definition.
   *
   * Accepted values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH,
   * EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED
   *
   * @param self::LAUNCH_STAGE_* $launchStage
   */
  public function setLaunchStage($launchStage)
  {
    $this->launchStage = $launchStage;
  }
  /**
   * @return self::LAUNCH_STAGE_*
   */
  public function getLaunchStage()
  {
    return $this->launchStage;
  }
  /**
   * Optional. The resource name of the monitored resource descriptor:
   * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where {type}
   * is the value of the `type` field in this object and {project_id} is a
   * project ID that provides API-specific context for accessing the type. APIs
   * that do not use project information can use the resource name format
   * `"monitoredResourceDescriptors/{type}"`.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Required. The monitored resource type. For example, the type
   * `"cloudsql_database"` represents databases in Google Cloud SQL. For a list
   * of types, see [Monitored resource
   * types](https://cloud.google.com/monitoring/api/resources) and [Logging
   * resource types](https://cloud.google.com/logging/docs/api/v2/resource-
   * list).
   *
   * @param string $type
   */
  public function setType($type)
  {
    $this->type = $type;
  }
  /**
   * @return string
   */
  public function getType()
  {
    return $this->type;
  }
}

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