📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AccountConnector.php
▶ Open 📄 View Source
🐘 AppHubService.php
▶ Open 📄 View Source
🐘 AppHubWorkload.php
▶ Open 📄 View Source
🐘 ArtifactConfig.php
▶ Open 📄 View Source
🐘 ArtifactDeployment.php
▶ Open 📄 View Source
🐘 BasicAuthentication.php
▶ Open 📄 View Source
🐘 BearerTokenAuthentication.php
▶ Open 📄 View Source
🐘 BitbucketCloudConfig.php
▶ Open 📄 View Source
🐘 BitbucketDataCenterConfig.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 Connection.php
▶ Open 📄 View Source
🐘 CryptoKeyConfig.php
▶ Open 📄 View Source
🐘 CustomOAuthConfig.php
▶ Open 📄 View Source
🐘 DeploymentEvent.php
▶ Open 📄 View Source
🐘 DeveloperconnectEmpty.php
▶ Open 📄 View Source
🐘 ExchangeError.php
▶ Open 📄 View Source
🐘 FetchAccessTokenRequest.php
▶ Open 📄 View Source
🐘 FetchAccessTokenResponse.php
▶ Open 📄 View Source
🐘 FetchGitHubInstallationsResponse.php
▶ Open 📄 View Source
🐘 FetchGitRefsResponse.php
▶ Open 📄 View Source
🐘 FetchLinkableGitRepositoriesResponse.php
▶ Open 📄 View Source
🐘 FetchReadTokenRequest.php
▶ Open 📄 View Source
🐘 FetchReadTokenResponse.php
▶ Open 📄 View Source
🐘 FetchReadWriteTokenRequest.php
▶ Open 📄 View Source
🐘 FetchReadWriteTokenResponse.php
▶ Open 📄 View Source
🐘 FetchUserRepositoriesResponse.php
▶ Open 📄 View Source
🐘 FinishOAuthResponse.php
▶ Open 📄 View Source
🐘 GKEWorkload.php
▶ Open 📄 View Source
🐘 GenericHTTPEndpointConfig.php
▶ Open 📄 View Source
🐘 GitHubConfig.php
▶ Open 📄 View Source
🐘 GitHubEnterpriseConfig.php
▶ Open 📄 View Source
🐘 GitLabConfig.php
▶ Open 📄 View Source
🐘 GitLabEnterpriseConfig.php
▶ Open 📄 View Source
🐘 GitProxyConfig.php
▶ Open 📄 View Source
🐘 GitRepositoryLink.php
▶ Open 📄 View Source
🐘 GoogleArtifactAnalysis.php
▶ Open 📄 View Source
🐘 GoogleArtifactRegistry.php
▶ Open 📄 View Source
🐘 GoogleCloudRun.php
▶ Open 📄 View Source
🐘 HttpBody.php
▶ Open 📄 View Source
🐘 InsightsConfig.php
▶ Open 📄 View Source
🐘 Installation.php
▶ Open 📄 View Source
🐘 InstallationState.php
▶ Open 📄 View Source
🐘 LinkableGitRepository.php
▶ Open 📄 View Source
🐘 ListAccountConnectorsResponse.php
▶ Open 📄 View Source
🐘 ListConnectionsResponse.php
▶ Open 📄 View Source
🐘 ListDeploymentEventsResponse.php
▶ Open 📄 View Source
🐘 ListGitRepositoryLinksResponse.php
▶ Open 📄 View Source
🐘 ListInsightsConfigsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListUsersResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 OAuthCredential.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 ProcessBitbucketCloudWebhookRequest.php
▶ Open 📄 View Source
🐘 ProcessBitbucketDataCenterWebhookRequest.php
▶ Open 📄 View Source
🐘 ProcessGitHubEnterpriseWebhookRequest.php
▶ Open 📄 View Source
🐘 ProcessGitLabEnterpriseWebhookRequest.php
▶ Open 📄 View Source
🐘 ProcessGitLabWebhookRequest.php
▶ Open 📄 View Source
🐘 Projects.php
▶ Open 📄 View Source
🐘 ProviderOAuthConfig.php
▶ Open 📄 View Source
🐘 ProxyConfig.php
▶ Open 📄 View Source
🐘 RuntimeConfig.php
▶ Open 📄 View Source
🐘 SecureSourceManagerInstanceConfig.php
▶ Open 📄 View Source
🐘 ServiceDirectoryConfig.php
▶ Open 📄 View Source
🐘 StartOAuthResponse.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 User.php
▶ Open 📄 View Source
🐘 UserCredential.php
▶ Open 📄 View Source
🐘 UserRepository.php
▶ Open 📄 View Source

📄 Source: InsightsConfig.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\DeveloperConnect;

class InsightsConfig extends \Google\Collection
{
  /**
   * No state specified.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The InsightsConfig is pending application discovery/runtime discovery.
   */
  public const STATE_PENDING = 'PENDING';
  /**
   * The initial discovery process is complete.
   */
  public const STATE_COMPLETE = 'COMPLETE';
  /**
   * The InsightsConfig is in an error state.
   */
  public const STATE_ERROR = 'ERROR';
  protected $collection_key = 'runtimeConfigs';
  /**
   * Optional. User specified annotations. See
   * https://google.aip.dev/148#annotations for more details such as format and
   * size limitations.
   *
   * @var string[]
   */
  public $annotations;
  /**
   * Optional. The name of the App Hub Application. Format:
   * projects/{project}/locations/{location}/applications/{application}
   *
   * @var string
   */
  public $appHubApplication;
  protected $artifactConfigsType = ArtifactConfig::class;
  protected $artifactConfigsDataType = 'array';
  /**
   * Output only. Create timestamp.
   *
   * @var string
   */
  public $createTime;
  protected $errorsType = Status::class;
  protected $errorsDataType = 'array';
  /**
   * Optional. Set of labels associated with an InsightsConfig.
   *
   * @var string[]
   */
  public $labels;
  /**
   * Identifier. The name of the InsightsConfig. Format:
   * projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
   *
   * @var string
   */
  public $name;
  protected $projectsType = Projects::class;
  protected $projectsDataType = '';
  /**
   * Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set
   * to true if the current state of InsightsConfig does not match the user's
   * intended state, and the service is actively updating the resource to
   * reconcile them. This can happen due to user-triggered updates or system
   * actions like failover or maintenance.
   *
   * @var bool
   */
  public $reconciling;
  protected $runtimeConfigsType = RuntimeConfig::class;
  protected $runtimeConfigsDataType = 'array';
  /**
   * Optional. Output only. The state of the InsightsConfig.
   *
   * @var string
   */
  public $state;
  /**
   * Output only. Update timestamp.
   *
   * @var string
   */
  public $updateTime;

  /**
   * Optional. User specified annotations. See
   * https://google.aip.dev/148#annotations for more details such as format and
   * size limitations.
   *
   * @param string[] $annotations
   */
  public function setAnnotations($annotations)
  {
    $this->annotations = $annotations;
  }
  /**
   * @return string[]
   */
  public function getAnnotations()
  {
    return $this->annotations;
  }
  /**
   * Optional. The name of the App Hub Application. Format:
   * projects/{project}/locations/{location}/applications/{application}
   *
   * @param string $appHubApplication
   */
  public function setAppHubApplication($appHubApplication)
  {
    $this->appHubApplication = $appHubApplication;
  }
  /**
   * @return string
   */
  public function getAppHubApplication()
  {
    return $this->appHubApplication;
  }
  /**
   * Optional. The artifact configurations of the artifacts that are deployed.
   *
   * @param ArtifactConfig[] $artifactConfigs
   */
  public function setArtifactConfigs($artifactConfigs)
  {
    $this->artifactConfigs = $artifactConfigs;
  }
  /**
   * @return ArtifactConfig[]
   */
  public function getArtifactConfigs()
  {
    return $this->artifactConfigs;
  }
  /**
   * Output only. Create timestamp.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Output only. Any errors that occurred while setting up the InsightsConfig.
   * Each error will be in the format: `field_name: error_message`, e.g.
   * GetAppHubApplication: Permission denied while getting App Hub application.
   * Please grant permissions to the P4SA.
   *
   * @param Status[] $errors
   */
  public function setErrors($errors)
  {
    $this->errors = $errors;
  }
  /**
   * @return Status[]
   */
  public function getErrors()
  {
    return $this->errors;
  }
  /**
   * Optional. Set of labels associated with an InsightsConfig.
   *
   * @param string[] $labels
   */
  public function setLabels($labels)
  {
    $this->labels = $labels;
  }
  /**
   * @return string[]
   */
  public function getLabels()
  {
    return $this->labels;
  }
  /**
   * Identifier. The name of the InsightsConfig. Format:
   * projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Optional. The projects to track with the InsightsConfig.
   *
   * @param Projects $projects
   */
  public function setProjects(Projects $projects)
  {
    $this->projects = $projects;
  }
  /**
   * @return Projects
   */
  public function getProjects()
  {
    return $this->projects;
  }
  /**
   * Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set
   * to true if the current state of InsightsConfig does not match the user's
   * intended state, and the service is actively updating the resource to
   * reconcile them. This can happen due to user-triggered updates or system
   * actions like failover or maintenance.
   *
   * @param bool $reconciling
   */
  public function setReconciling($reconciling)
  {
    $this->reconciling = $reconciling;
  }
  /**
   * @return bool
   */
  public function getReconciling()
  {
    return $this->reconciling;
  }
  /**
   * Output only. The runtime configurations where the application is deployed.
   *
   * @param RuntimeConfig[] $runtimeConfigs
   */
  public function setRuntimeConfigs($runtimeConfigs)
  {
    $this->runtimeConfigs = $runtimeConfigs;
  }
  /**
   * @return RuntimeConfig[]
   */
  public function getRuntimeConfigs()
  {
    return $this->runtimeConfigs;
  }
  /**
   * Optional. Output only. The state of the InsightsConfig.
   *
   * Accepted values: STATE_UNSPECIFIED, PENDING, COMPLETE, ERROR
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. Update timestamp.
   *
   * @param string $updateTime
   */
  public function setUpdateTime($updateTime)
  {
    $this->updateTime = $updateTime;
  }
  /**
   * @return string
   */
  public function getUpdateTime()
  {
    return $this->updateTime;
  }
}

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