📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AddEnableRulesMetadata.php
▶ Open 📄 View Source
🐘 AddEnableRulesResponse.php
▶ Open 📄 View Source
🐘 AdminQuotaPolicy.php
▶ Open 📄 View Source
🐘 Analysis.php
▶ Open 📄 View Source
🐘 AnalysisResult.php
▶ Open 📄 View Source
🐘 AnalyzeConsumerPolicyMetadata.php
▶ Open 📄 View Source
🐘 AnalyzeConsumerPolicyResponse.php
▶ Open 📄 View Source
🐘 Api.php
▶ Open 📄 View Source
🐘 Aspect.php
▶ Open 📄 View Source
🐘 AspectRule.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
🐘 BatchCreateAdminOverridesResponse.php
▶ Open 📄 View Source
🐘 BatchCreateConsumerOverridesResponse.php
▶ Open 📄 View Source
🐘 BatchEnableServicesRequest.php
▶ Open 📄 View Source
🐘 BatchEnableServicesResponse.php
▶ Open 📄 View Source
🐘 BatchGetServicesResponse.php
▶ Open 📄 View Source
🐘 BatchingConfigProto.php
▶ Open 📄 View Source
🐘 BatchingDescriptorProto.php
▶ Open 📄 View Source
🐘 BatchingSettingsProto.php
▶ Open 📄 View Source
🐘 Billing.php
▶ Open 📄 View Source
🐘 BillingDestination.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 ClientLibrarySettings.php
▶ Open 📄 View Source
🐘 CommonLanguageSettings.php
▶ Open 📄 View Source
🐘 ConsumerPolicy.php
▶ Open 📄 View Source
🐘 ContentSecurity.php
▶ Open 📄 View Source
🐘 ContentSecurityPolicy.php
▶ Open 📄 View Source
🐘 ContentSecurityProvider.php
▶ Open 📄 View Source
🐘 Context.php
▶ Open 📄 View Source
🐘 ContextRule.php
▶ Open 📄 View Source
🐘 Control.php
▶ Open 📄 View Source
🐘 CppSettings.php
▶ Open 📄 View Source
🐘 CreateAdminQuotaPolicyMetadata.php
▶ Open 📄 View Source
🐘 CustomError.php
▶ Open 📄 View Source
🐘 CustomErrorRule.php
▶ Open 📄 View Source
🐘 CustomHttpPattern.php
▶ Open 📄 View Source
🐘 DeleteAdminQuotaPolicyMetadata.php
▶ Open 📄 View Source
🐘 DisableServiceRequest.php
▶ Open 📄 View Source
🐘 DisableServiceResponse.php
▶ Open 📄 View Source
🐘 Documentation.php
▶ Open 📄 View Source
🐘 DocumentationRule.php
▶ Open 📄 View Source
🐘 DotnetSettings.php
▶ Open 📄 View Source
🐘 EnableFailure.php
▶ Open 📄 View Source
🐘 EnableRule.php
▶ Open 📄 View Source
🐘 EnableServiceRequest.php
▶ Open 📄 View Source
🐘 EnableServiceResponse.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
🐘 GetServiceIdentityMetadata.php
▶ Open 📄 View Source
🐘 GetServiceIdentityResponse.php
▶ Open 📄 View Source
🐘 GoSettings.php
▶ Open 📄 View Source
🐘 GoogleApiService.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV1OperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV1Service.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV1ServiceConfig.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV1beta1GetServiceIdentityResponse.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV1beta1ServiceIdentity.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV2alphaConsumerPolicy.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV2alphaEnableRule.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV2alphaUpdateConsumerPolicyMetadata.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV2betaAnalysis.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV2betaAnalysisResult.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV2betaConsumerPolicy.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV2betaEnableRule.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV2betaImpact.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV2betaMcpEnableRule.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV2betaMcpPolicy.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV2betaMcpService.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata.php
▶ Open 📄 View Source
🐘 GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata.php
▶ Open 📄 View Source
🐘 GroupValue.php
▶ Open 📄 View Source
🐘 Http.php
▶ Open 📄 View Source
🐘 HttpRule.php
▶ Open 📄 View Source
🐘 Impact.php
▶ Open 📄 View Source
🐘 ImportAdminOverridesMetadata.php
▶ Open 📄 View Source
🐘 ImportAdminOverridesResponse.php
▶ Open 📄 View Source
🐘 ImportAdminQuotaPoliciesMetadata.php
▶ Open 📄 View Source
🐘 ImportAdminQuotaPoliciesResponse.php
▶ Open 📄 View Source
🐘 ImportConsumerOverridesMetadata.php
▶ Open 📄 View Source
🐘 ImportConsumerOverridesResponse.php
▶ Open 📄 View Source
🐘 JavaSettings.php
▶ Open 📄 View Source
🐘 JwtLocation.php
▶ Open 📄 View Source
🐘 LabelDescriptor.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListServicesResponse.php
▶ Open 📄 View Source
🐘 LogDescriptor.php
▶ Open 📄 View Source
🐘 Logging.php
▶ Open 📄 View Source
🐘 LoggingDestination.php
▶ Open 📄 View Source
🐘 LongRunning.php
▶ Open 📄 View Source
🐘 McpEnableRule.php
▶ Open 📄 View Source
🐘 McpPolicy.php
▶ Open 📄 View Source
🐘 McpService.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
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Option.php
▶ Open 📄 View Source
🐘 Page.php
▶ Open 📄 View Source
🐘 PhpSettings.php
▶ Open 📄 View Source
🐘 Publishing.php
▶ Open 📄 View Source
🐘 PythonSettings.php
▶ Open 📄 View Source
🐘 Quota.php
▶ Open 📄 View Source
🐘 QuotaLimit.php
▶ Open 📄 View Source
🐘 QuotaOverride.php
▶ Open 📄 View Source
🐘 RemoveEnableRulesMetadata.php
▶ Open 📄 View Source
🐘 RemoveEnableRulesResponse.php
▶ Open 📄 View Source
🐘 RubySettings.php
▶ Open 📄 View Source
🐘 SelectiveGapicGeneration.php
▶ Open 📄 View Source
🐘 ServiceIdentity.php
▶ Open 📄 View Source
🐘 ServiceValue.php
▶ Open 📄 View Source
🐘 ServiceusageEmpty.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
🐘 TermsOfService.php
▶ Open 📄 View Source
🐘 Type.php
▶ Open 📄 View Source
🐘 UpdateAdminQuotaPolicyMetadata.php
▶ Open 📄 View Source
🐘 UpdateConsumerPolicyLROMetadata.php
▶ Open 📄 View Source
🐘 UpdateConsumerPolicyMetadata.php
▶ Open 📄 View Source
🐘 UpdateContentSecurityPolicyMetadata.php
▶ Open 📄 View Source
🐘 UpdateMcpPolicyMetadata.php
▶ Open 📄 View Source
🐘 Usage.php
▶ Open 📄 View Source
🐘 UsageRule.php
▶ Open 📄 View Source
🐘 ValueInfo.php
▶ Open 📄 View Source

📄 Source: Publishing.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\ServiceUsage;

class Publishing extends \Google\Collection
{
  /**
   * Not useful.
   */
  public const ORGANIZATION_CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED';
  /**
   * Google Cloud Platform Org.
   */
  public const ORGANIZATION_CLOUD = 'CLOUD';
  /**
   * Ads (Advertising) Org.
   */
  public const ORGANIZATION_ADS = 'ADS';
  /**
   * Photos Org.
   */
  public const ORGANIZATION_PHOTOS = 'PHOTOS';
  /**
   * Street View Org.
   */
  public const ORGANIZATION_STREET_VIEW = 'STREET_VIEW';
  /**
   * Shopping Org.
   */
  public const ORGANIZATION_SHOPPING = 'SHOPPING';
  /**
   * Geo Org.
   */
  public const ORGANIZATION_GEO = 'GEO';
  /**
   * Generative AI - https://developers.generativeai.google
   */
  public const ORGANIZATION_GENERATIVE_AI = 'GENERATIVE_AI';
  protected $collection_key = 'methodSettings';
  /**
   * Used as a tracking tag when collecting data about the APIs developer
   * relations artifacts like docs, packages delivered to package managers, etc.
   * Example: "speech".
   *
   * @var string
   */
  public $apiShortName;
  /**
   * GitHub teams to be added to CODEOWNERS in the directory in GitHub
   * containing source code for the client libraries for this API.
   *
   * @var string[]
   */
  public $codeownerGithubTeams;
  /**
   * A prefix used in sample code when demarking regions to be included in
   * documentation.
   *
   * @var string
   */
  public $docTagPrefix;
  /**
   * Link to product home page. Example: https://cloud.google.com/asset-
   * inventory/docs/overview
   *
   * @var string
   */
  public $documentationUri;
  /**
   * GitHub label to apply to issues and pull requests opened for this API.
   *
   * @var string
   */
  public $githubLabel;
  protected $librarySettingsType = ClientLibrarySettings::class;
  protected $librarySettingsDataType = 'array';
  protected $methodSettingsType = MethodSettings::class;
  protected $methodSettingsDataType = 'array';
  /**
   * @var string
   */
  public $newIssueUri;
  /**
   * For whom the client library is being published.
   *
   * @var string
   */
  public $organization;
  /**
   * Optional link to proto reference documentation. Example:
   * https://cloud.google.com/pubsub/lite/docs/reference/rpc
   *
   * @var string
   */
  public $protoReferenceDocumentationUri;
  /**
   * Optional link to REST reference documentation. Example:
   * https://cloud.google.com/pubsub/lite/docs/reference/rest
   *
   * @var string
   */
  public $restReferenceDocumentationUri;

  /**
   * Used as a tracking tag when collecting data about the APIs developer
   * relations artifacts like docs, packages delivered to package managers, etc.
   * Example: "speech".
   *
   * @param string $apiShortName
   */
  public function setApiShortName($apiShortName)
  {
    $this->apiShortName = $apiShortName;
  }
  /**
   * @return string
   */
  public function getApiShortName()
  {
    return $this->apiShortName;
  }
  /**
   * GitHub teams to be added to CODEOWNERS in the directory in GitHub
   * containing source code for the client libraries for this API.
   *
   * @param string[] $codeownerGithubTeams
   */
  public function setCodeownerGithubTeams($codeownerGithubTeams)
  {
    $this->codeownerGithubTeams = $codeownerGithubTeams;
  }
  /**
   * @return string[]
   */
  public function getCodeownerGithubTeams()
  {
    return $this->codeownerGithubTeams;
  }
  /**
   * A prefix used in sample code when demarking regions to be included in
   * documentation.
   *
   * @param string $docTagPrefix
   */
  public function setDocTagPrefix($docTagPrefix)
  {
    $this->docTagPrefix = $docTagPrefix;
  }
  /**
   * @return string
   */
  public function getDocTagPrefix()
  {
    return $this->docTagPrefix;
  }
  /**
   * Link to product home page. Example: https://cloud.google.com/asset-
   * inventory/docs/overview
   *
   * @param string $documentationUri
   */
  public function setDocumentationUri($documentationUri)
  {
    $this->documentationUri = $documentationUri;
  }
  /**
   * @return string
   */
  public function getDocumentationUri()
  {
    return $this->documentationUri;
  }
  /**
   * GitHub label to apply to issues and pull requests opened for this API.
   *
   * @param string $githubLabel
   */
  public function setGithubLabel($githubLabel)
  {
    $this->githubLabel = $githubLabel;
  }
  /**
   * @return string
   */
  public function getGithubLabel()
  {
    return $this->githubLabel;
  }
  /**
   * Client library settings. If the same version string appears multiple times
   * in this list, then the last one wins. Settings from earlier settings with
   * the same version string are discarded.
   *
   * @param ClientLibrarySettings[] $librarySettings
   */
  public function setLibrarySettings($librarySettings)
  {
    $this->librarySettings = $librarySettings;
  }
  /**
   * @return ClientLibrarySettings[]
   */
  public function getLibrarySettings()
  {
    return $this->librarySettings;
  }
  /**
   * A list of API method settings, e.g. the behavior for methods that use the
   * long-running operation pattern.
   *
   * @param MethodSettings[] $methodSettings
   */
  public function setMethodSettings($methodSettings)
  {
    $this->methodSettings = $methodSettings;
  }
  /**
   * @return MethodSettings[]
   */
  public function getMethodSettings()
  {
    return $this->methodSettings;
  }
  /**
   * @param string $newIssueUri
   */
  public function setNewIssueUri($newIssueUri)
  {
    $this->newIssueUri = $newIssueUri;
  }
  /**
   * @return string
   */
  public function getNewIssueUri()
  {
    return $this->newIssueUri;
  }
  /**
   * For whom the client library is being published.
   *
   * Accepted values: CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED, CLOUD, ADS,
   * PHOTOS, STREET_VIEW, SHOPPING, GEO, GENERATIVE_AI
   *
   * @param self::ORGANIZATION_* $organization
   */
  public function setOrganization($organization)
  {
    $this->organization = $organization;
  }
  /**
   * @return self::ORGANIZATION_*
   */
  public function getOrganization()
  {
    return $this->organization;
  }
  /**
   * Optional link to proto reference documentation. Example:
   * https://cloud.google.com/pubsub/lite/docs/reference/rpc
   *
   * @param string $protoReferenceDocumentationUri
   */
  public function setProtoReferenceDocumentationUri($protoReferenceDocumentationUri)
  {
    $this->protoReferenceDocumentationUri = $protoReferenceDocumentationUri;
  }
  /**
   * @return string
   */
  public function getProtoReferenceDocumentationUri()
  {
    return $this->protoReferenceDocumentationUri;
  }
  /**
   * Optional link to REST reference documentation. Example:
   * https://cloud.google.com/pubsub/lite/docs/reference/rest
   *
   * @param string $restReferenceDocumentationUri
   */
  public function setRestReferenceDocumentationUri($restReferenceDocumentationUri)
  {
    $this->restReferenceDocumentationUri = $restReferenceDocumentationUri;
  }
  /**
   * @return string
   */
  public function getRestReferenceDocumentationUri()
  {
    return $this->restReferenceDocumentationUri;
  }
}

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