📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AptArtifact.php
▶ Open 📄 View Source
🐘 AptRepository.php
▶ Open 📄 View Source
🐘 ArtifactregistryEmpty.php
▶ Open 📄 View Source
🐘 Attachment.php
▶ Open 📄 View Source
🐘 BatchDeleteVersionsMetadata.php
▶ Open 📄 View Source
🐘 BatchDeleteVersionsRequest.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CleanupPolicy.php
▶ Open 📄 View Source
🐘 CleanupPolicyCondition.php
▶ Open 📄 View Source
🐘 CleanupPolicyMostRecentVersions.php
▶ Open 📄 View Source
🐘 CommonRemoteRepository.php
▶ Open 📄 View Source
🐘 DockerImage.php
▶ Open 📄 View Source
🐘 DockerRepository.php
▶ Open 📄 View Source
🐘 DockerRepositoryConfig.php
▶ Open 📄 View Source
🐘 DownloadFileResponse.php
▶ Open 📄 View Source
🐘 ExportArtifactMetadata.php
▶ Open 📄 View Source
🐘 ExportArtifactRequest.php
▶ Open 📄 View Source
🐘 ExportArtifactResponse.php
▶ Open 📄 View Source
🐘 ExportedFile.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 GenericArtifact.php
▶ Open 📄 View Source
🐘 GoModule.php
▶ Open 📄 View Source
🐘 GoogetArtifact.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsArtifactregistryV1File.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository.php
▶ Open 📄 View Source
🐘 GoogleDevtoolsArtifactregistryV1Rule.php
▶ Open 📄 View Source
🐘 Hash.php
▶ Open 📄 View Source
🐘 ImageManifest.php
▶ Open 📄 View Source
🐘 ImportAptArtifactsErrorInfo.php
▶ Open 📄 View Source
🐘 ImportAptArtifactsGcsSource.php
▶ Open 📄 View Source
🐘 ImportAptArtifactsMetadata.php
▶ Open 📄 View Source
🐘 ImportAptArtifactsRequest.php
▶ Open 📄 View Source
🐘 ImportAptArtifactsResponse.php
▶ Open 📄 View Source
🐘 ImportGoogetArtifactsErrorInfo.php
▶ Open 📄 View Source
🐘 ImportGoogetArtifactsGcsSource.php
▶ Open 📄 View Source
🐘 ImportGoogetArtifactsMetadata.php
▶ Open 📄 View Source
🐘 ImportGoogetArtifactsRequest.php
▶ Open 📄 View Source
🐘 ImportGoogetArtifactsResponse.php
▶ Open 📄 View Source
🐘 ImportYumArtifactsErrorInfo.php
▶ Open 📄 View Source
🐘 ImportYumArtifactsGcsSource.php
▶ Open 📄 View Source
🐘 ImportYumArtifactsMetadata.php
▶ Open 📄 View Source
🐘 ImportYumArtifactsRequest.php
▶ Open 📄 View Source
🐘 ImportYumArtifactsResponse.php
▶ Open 📄 View Source
🐘 KfpArtifact.php
▶ Open 📄 View Source
🐘 ListAttachmentsResponse.php
▶ Open 📄 View Source
🐘 ListDockerImagesResponse.php
▶ Open 📄 View Source
🐘 ListFilesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListMavenArtifactsResponse.php
▶ Open 📄 View Source
🐘 ListNpmPackagesResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListPackagesResponse.php
▶ Open 📄 View Source
🐘 ListPythonPackagesResponse.php
▶ Open 📄 View Source
🐘 ListRepositoriesResponse.php
▶ Open 📄 View Source
🐘 ListRulesResponse.php
▶ Open 📄 View Source
🐘 ListTagsResponse.php
▶ Open 📄 View Source
🐘 ListVersionsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 MavenArtifact.php
▶ Open 📄 View Source
🐘 MavenRepository.php
▶ Open 📄 View Source
🐘 MavenRepositoryConfig.php
▶ Open 📄 View Source
🐘 NpmPackage.php
▶ Open 📄 View Source
🐘 NpmRepository.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Package.php
▶ Open 📄 View Source
🐘 PlatformLogsConfig.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 ProjectConfig.php
▶ Open 📄 View Source
🐘 ProjectSettings.php
▶ Open 📄 View Source
🐘 PromoteArtifactMetadata.php
▶ Open 📄 View Source
🐘 PythonPackage.php
▶ Open 📄 View Source
🐘 PythonRepository.php
▶ Open 📄 View Source
🐘 RemoteRepositoryConfig.php
▶ Open 📄 View Source
🐘 Repository.php
▶ Open 📄 View Source
🐘 SbomConfig.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Tag.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 UploadAptArtifactMediaResponse.php
▶ Open 📄 View Source
🐘 UploadAptArtifactMetadata.php
▶ Open 📄 View Source
🐘 UploadAptArtifactRequest.php
▶ Open 📄 View Source
🐘 UploadAptArtifactResponse.php
▶ Open 📄 View Source
🐘 UploadFileMediaResponse.php
▶ Open 📄 View Source
🐘 UploadFileRequest.php
▶ Open 📄 View Source
🐘 UploadGenericArtifactMediaResponse.php
▶ Open 📄 View Source
🐘 UploadGenericArtifactMetadata.php
▶ Open 📄 View Source
🐘 UploadGenericArtifactRequest.php
▶ Open 📄 View Source
🐘 UploadGoModuleMediaResponse.php
▶ Open 📄 View Source
🐘 UploadGoModuleMetadata.php
▶ Open 📄 View Source
🐘 UploadGoModuleRequest.php
▶ Open 📄 View Source
🐘 UploadGoogetArtifactMediaResponse.php
▶ Open 📄 View Source
🐘 UploadGoogetArtifactMetadata.php
▶ Open 📄 View Source
🐘 UploadGoogetArtifactRequest.php
▶ Open 📄 View Source
🐘 UploadGoogetArtifactResponse.php
▶ Open 📄 View Source
🐘 UploadKfpArtifactMediaResponse.php
▶ Open 📄 View Source
🐘 UploadKfpArtifactMetadata.php
▶ Open 📄 View Source
🐘 UploadKfpArtifactRequest.php
▶ Open 📄 View Source
🐘 UploadYumArtifactMediaResponse.php
▶ Open 📄 View Source
🐘 UploadYumArtifactMetadata.php
▶ Open 📄 View Source
🐘 UploadYumArtifactRequest.php
▶ Open 📄 View Source
🐘 UploadYumArtifactResponse.php
▶ Open 📄 View Source
🐘 UpstreamCredentials.php
▶ Open 📄 View Source
🐘 UpstreamPolicy.php
▶ Open 📄 View Source
🐘 UsernamePasswordCredentials.php
▶ Open 📄 View Source
🐘 VPCSCConfig.php
▶ Open 📄 View Source
🐘 Version.php
▶ Open 📄 View Source
🐘 VirtualRepositoryConfig.php
▶ Open 📄 View Source
🐘 VulnerabilityScanningConfig.php
▶ Open 📄 View Source
🐘 YumArtifact.php
▶ Open 📄 View Source
🐘 YumRepository.php
▶ Open 📄 View Source

📄 Source: ProjectSettings.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\ArtifactRegistry;

class ProjectSettings extends \Google\Model
{
  /**
   * No redirection status has been set.
   */
  public const LEGACY_REDIRECTION_STATE_REDIRECTION_STATE_UNSPECIFIED = 'REDIRECTION_STATE_UNSPECIFIED';
  /**
   * Redirection is disabled.
   */
  public const LEGACY_REDIRECTION_STATE_REDIRECTION_FROM_GCR_IO_DISABLED = 'REDIRECTION_FROM_GCR_IO_DISABLED';
  /**
   * Redirection is enabled.
   */
  public const LEGACY_REDIRECTION_STATE_REDIRECTION_FROM_GCR_IO_ENABLED = 'REDIRECTION_FROM_GCR_IO_ENABLED';
  /**
   * Redirection is enabled, and has been finalized so cannot be reverted.
   *
   * @deprecated
   */
  public const LEGACY_REDIRECTION_STATE_REDIRECTION_FROM_GCR_IO_FINALIZED = 'REDIRECTION_FROM_GCR_IO_FINALIZED';
  /**
   * Redirection is enabled and missing images are copied from GCR
   */
  public const LEGACY_REDIRECTION_STATE_REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING = 'REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING';
  /**
   * Redirection is partially enabled and missing images are copied from GCR
   */
  public const LEGACY_REDIRECTION_STATE_REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING = 'REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING';
  /**
   * The redirection state of the legacy repositories in this project.
   *
   * @var string
   */
  public $legacyRedirectionState;
  /**
   * The name of the project's settings. Always of the form: projects/{project-
   * id}/projectSettings In update request: never set In response: always set
   *
   * @var string
   */
  public $name;
  /**
   * The percentage of pull traffic to redirect from GCR to AR when using
   * partial redirection.
   *
   * @var int
   */
  public $pullPercent;

  /**
   * The redirection state of the legacy repositories in this project.
   *
   * Accepted values: REDIRECTION_STATE_UNSPECIFIED,
   * REDIRECTION_FROM_GCR_IO_DISABLED, REDIRECTION_FROM_GCR_IO_ENABLED,
   * REDIRECTION_FROM_GCR_IO_FINALIZED,
   * REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING,
   * REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING
   *
   * @param self::LEGACY_REDIRECTION_STATE_* $legacyRedirectionState
   */
  public function setLegacyRedirectionState($legacyRedirectionState)
  {
    $this->legacyRedirectionState = $legacyRedirectionState;
  }
  /**
   * @return self::LEGACY_REDIRECTION_STATE_*
   */
  public function getLegacyRedirectionState()
  {
    return $this->legacyRedirectionState;
  }
  /**
   * The name of the project's settings. Always of the form: projects/{project-
   * id}/projectSettings In update request: never set In response: always set
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * The percentage of pull traffic to redirect from GCR to AR when using
   * partial redirection.
   *
   * @param int $pullPercent
   */
  public function setPullPercent($pullPercent)
  {
    $this->pullPercent = $pullPercent;
  }
  /**
   * @return int
   */
  public function getPullPercent()
  {
    return $this->pullPercent;
  }
}

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