📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 ApihubEmpty.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1APIMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ActionExecutionDetail.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1AdditionalSpecContent.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Addon.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1AddonConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1AgentRegistrySyncConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1AllDataAddonConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1AllowedValue.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Api.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ApiData.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ApiHubInstance.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ApiHubResource.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ApiKeyConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ApiMetadataList.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ApiOperation.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ApiView.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ApigeeEdgeConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ApigeeOPDKConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ApigeeXHybridConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ApplicationIntegrationEndpointDetails.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Attribute.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1AttributeValues.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1AuthConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1AuthConfigTemplate.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1CollectApiDataRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Config.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ConfigTemplate.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ConfigValueOption.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ConfigVariable.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ConfigVariableTemplate.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Curation.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1CurationConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1CustomCuration.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Definition.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Dependency.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1DependencyEntityReference.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1DependencyErrorDetail.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Deployment.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1DeploymentMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1DisablePluginInstanceActionRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1DisablePluginRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1DiscoveredApiObservation.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1DiscoveredApiOperation.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Documentation.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1EnablePluginInstanceActionRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1EnablePluginRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Endpoint.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1EnumAttributeValues.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1EnvironmentFilter.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ExecutePluginInstanceActionRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ExecutionStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ExternalApi.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1FetchAdditionalSpecContentResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1FlattenedApiVersionDeploymentView.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1GatewayPluginAddonConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1GatewayPluginConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1GoogleServiceAccountConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Header.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1HostProjectRegistration.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1HostingService.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1HttpOperation.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1HttpOperationDetails.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1HttpRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1HttpResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Issue.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1LastExecution.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1LintResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1LintSpecRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListAddonsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListApiOperationsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListApisResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListAttributesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListCurationsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListDependenciesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListDeploymentsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListDiscoveredApiObservationsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListDiscoveredApiOperationsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListExternalApisResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListHostProjectRegistrationsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListPluginInstancesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListPluginsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListSpecsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ListVersionsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1LookupApiHubInstanceResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ManageAddonConfigRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1MatchResult.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1McpTool.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1MultiIntValues.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1MultiSelectValues.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1MultiStringValues.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Oauth2ClientCredentialsConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1OpenApiSpecDetails.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1OperationDetails.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1OperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1OperationSchema.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Owner.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Path.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1PathParam.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Plugin.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1PluginActionConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1PluginInstance.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1PluginInstanceAction.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1PluginInstanceActionID.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1PluginInstanceActionSource.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Point.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1QueryParam.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Range.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ResourceConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1RetrieveApiViewsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1RuntimeProjectAttachment.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Schema.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1SearchResourcesRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1SearchResourcesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1SearchResult.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Secret.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1SourceEnvironment.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1SourceMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Spec.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1SpecContents.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1SpecDetails.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1SpecMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1StringAttributeValues.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1StyleGuide.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1StyleGuideContents.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1SummaryEntry.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1ToolAnnotations.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1UserPasswordConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1Version.php
▶ Open 📄 View Source
🐘 GoogleCloudApihubV1VersionMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudCommonOperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudLocationListLocationsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudLocationLocation.php
▶ Open 📄 View Source
🐘 GoogleLongrunningCancelOperationRequest.php
▶ Open 📄 View Source
🐘 GoogleLongrunningListOperationsResponse.php
▶ Open 📄 View Source
🐘 GoogleLongrunningOperation.php
▶ Open 📄 View Source
🐘 GoogleRpcStatus.php
▶ Open 📄 View Source

📄 Source: GoogleCloudApihubV1PluginInstance.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\APIhub;

class GoogleCloudApihubV1PluginInstance extends \Google\Collection
{
  /**
   * Default unspecified state.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The plugin instance is being created.
   */
  public const STATE_CREATING = 'CREATING';
  /**
   * The plugin instance is active and ready for executions. This is the only
   * state where executions can run on the plugin instance.
   */
  public const STATE_ACTIVE = 'ACTIVE';
  /**
   * The updated config that contains additional_config and auth_config is being
   * applied.
   */
  public const STATE_APPLYING_CONFIG = 'APPLYING_CONFIG';
  /**
   * The ERROR state can come while applying config. Users can retrigger
   * ApplyPluginInstanceConfig to restore the plugin instance back to active
   * state. Note, In case the ERROR state happens while applying config
   * (auth_config, additional_config), the plugin instance will reflect the
   * config which was trying to be applied while error happened. In order to
   * overwrite, trigger ApplyConfig with a new config.
   */
  public const STATE_ERROR = 'ERROR';
  /**
   * The plugin instance is in a failed state. This indicates that an
   * unrecoverable error occurred during a previous operation (Create, Delete).
   */
  public const STATE_FAILED = 'FAILED';
  /**
   * The plugin instance is being deleted. Delete is only possible if there is
   * no other operation running on the plugin instance and plugin instance
   * action.
   */
  public const STATE_DELETING = 'DELETING';
  protected $collection_key = 'actions';
  protected $actionsType = GoogleCloudApihubV1PluginInstanceAction::class;
  protected $actionsDataType = 'array';
  protected $additionalConfigType = GoogleCloudApihubV1ConfigVariable::class;
  protected $additionalConfigDataType = 'map';
  protected $authConfigType = GoogleCloudApihubV1AuthConfig::class;
  protected $authConfigDataType = '';
  /**
   * Output only. Timestamp indicating when the plugin instance was created.
   *
   * @var string
   */
  public $createTime;
  /**
   * Required. The display name for this plugin instance. Max length is 255
   * characters.
   *
   * @var string
   */
  public $displayName;
  /**
   * Output only. Error message describing the failure, if any, during Create,
   * Delete or ApplyConfig operation corresponding to the plugin instance.This
   * field will only be populated if the plugin instance is in the ERROR or
   * FAILED state.
   *
   * @var string
   */
  public $errorMessage;
  /**
   * Identifier. The unique name of the plugin instance resource. Format: `proje
   * cts/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
   *
   * @var string
   */
  public $name;
  protected $sourceEnvironmentsConfigType = GoogleCloudApihubV1SourceEnvironment::class;
  protected $sourceEnvironmentsConfigDataType = 'map';
  /**
   * Optional. The source project id of the plugin instance. This will be the id
   * of runtime project in case of Google Cloud based plugins and org id in case
   * of non-Google Cloud based plugins. This field will be a required field for
   * Google provided on-ramp plugins.
   *
   * @var string
   */
  public $sourceProjectId;
  /**
   * Output only. The current state of the plugin instance (e.g., enabled,
   * disabled, provisioning).
   *
   * @var string
   */
  public $state;
  /**
   * Output only. Timestamp indicating when the plugin instance was last
   * updated.
   *
   * @var string
   */
  public $updateTime;

  /**
   * Required. The action status for the plugin instance.
   *
   * @param GoogleCloudApihubV1PluginInstanceAction[] $actions
   */
  public function setActions($actions)
  {
    $this->actions = $actions;
  }
  /**
   * @return GoogleCloudApihubV1PluginInstanceAction[]
   */
  public function getActions()
  {
    return $this->actions;
  }
  /**
   * Optional. The additional information for this plugin instance corresponding
   * to the additional config template of the plugin. This information will be
   * sent to plugin hosting service on each call to plugin hosted service. The
   * key will be the config_variable_template.display_name to uniquely identify
   * the config variable.
   *
   * @param GoogleCloudApihubV1ConfigVariable[] $additionalConfig
   */
  public function setAdditionalConfig($additionalConfig)
  {
    $this->additionalConfig = $additionalConfig;
  }
  /**
   * @return GoogleCloudApihubV1ConfigVariable[]
   */
  public function getAdditionalConfig()
  {
    return $this->additionalConfig;
  }
  /**
   * Optional. The authentication information for this plugin instance.
   *
   * @param GoogleCloudApihubV1AuthConfig $authConfig
   */
  public function setAuthConfig(GoogleCloudApihubV1AuthConfig $authConfig)
  {
    $this->authConfig = $authConfig;
  }
  /**
   * @return GoogleCloudApihubV1AuthConfig
   */
  public function getAuthConfig()
  {
    return $this->authConfig;
  }
  /**
   * Output only. Timestamp indicating when the plugin instance was created.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Required. The display name for this plugin instance. Max length is 255
   * characters.
   *
   * @param string $displayName
   */
  public function setDisplayName($displayName)
  {
    $this->displayName = $displayName;
  }
  /**
   * @return string
   */
  public function getDisplayName()
  {
    return $this->displayName;
  }
  /**
   * Output only. Error message describing the failure, if any, during Create,
   * Delete or ApplyConfig operation corresponding to the plugin instance.This
   * field will only be populated if the plugin instance is in the ERROR or
   * FAILED state.
   *
   * @param string $errorMessage
   */
  public function setErrorMessage($errorMessage)
  {
    $this->errorMessage = $errorMessage;
  }
  /**
   * @return string
   */
  public function getErrorMessage()
  {
    return $this->errorMessage;
  }
  /**
   * Identifier. The unique name of the plugin instance resource. Format: `proje
   * cts/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Optional. The source environment's config present in the gateway instance
   * linked to the plugin instance. The key is the `source_environment` name
   * from the SourceEnvironment message.
   *
   * @param GoogleCloudApihubV1SourceEnvironment[] $sourceEnvironmentsConfig
   */
  public function setSourceEnvironmentsConfig($sourceEnvironmentsConfig)
  {
    $this->sourceEnvironmentsConfig = $sourceEnvironmentsConfig;
  }
  /**
   * @return GoogleCloudApihubV1SourceEnvironment[]
   */
  public function getSourceEnvironmentsConfig()
  {
    return $this->sourceEnvironmentsConfig;
  }
  /**
   * Optional. The source project id of the plugin instance. This will be the id
   * of runtime project in case of Google Cloud based plugins and org id in case
   * of non-Google Cloud based plugins. This field will be a required field for
   * Google provided on-ramp plugins.
   *
   * @param string $sourceProjectId
   */
  public function setSourceProjectId($sourceProjectId)
  {
    $this->sourceProjectId = $sourceProjectId;
  }
  /**
   * @return string
   */
  public function getSourceProjectId()
  {
    return $this->sourceProjectId;
  }
  /**
   * Output only. The current state of the plugin instance (e.g., enabled,
   * disabled, provisioning).
   *
   * Accepted values: STATE_UNSPECIFIED, CREATING, ACTIVE, APPLYING_CONFIG,
   * ERROR, FAILED, DELETING
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. Timestamp indicating when the plugin instance was last
   * updated.
   *
   * @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(GoogleCloudApihubV1PluginInstance::class, 'Google_Service_APIhub_GoogleCloudApihubV1PluginInstance');
← Back