📂 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: GoogleCloudApihubV1PluginInstanceAction.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 GoogleCloudApihubV1PluginInstanceAction extends \Google\Model
{
  /**
   * Default unspecified state.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The action is enabled in the plugin instance i.e., executions can be
   * triggered for this action.
   */
  public const STATE_ENABLED = 'ENABLED';
  /**
   * The action is disabled in the plugin instance i.e., no executions can be
   * triggered for this action. This state indicates that the user explicitly
   * disabled the instance, and no further action is needed unless the user
   * wants to re-enable it.
   */
  public const STATE_DISABLED = 'DISABLED';
  /**
   * The action in the plugin instance is being enabled.
   */
  public const STATE_ENABLING = 'ENABLING';
  /**
   * The action in the plugin instance is being disabled.
   */
  public const STATE_DISABLING = 'DISABLING';
  /**
   * The ERROR state can come while enabling/disabling plugin instance action.
   * Users can retrigger enable, disable via EnablePluginInstanceAction and
   * DisablePluginInstanceAction to restore the action back to enabled/disabled
   * state. Note enable/disable on actions can only be triggered if plugin
   * instance is in Active state.
   */
  public const STATE_ERROR = 'ERROR';
  /**
   * Required. This should map to one of the action id specified in
   * actions_config in the plugin.
   *
   * @var string
   */
  public $actionId;
  protected $curationConfigType = GoogleCloudApihubV1CurationConfig::class;
  protected $curationConfigDataType = '';
  protected $hubInstanceActionType = GoogleCloudApihubV1ExecutionStatus::class;
  protected $hubInstanceActionDataType = '';
  protected $resourceConfigType = GoogleCloudApihubV1ResourceConfig::class;
  protected $resourceConfigDataType = '';
  /**
   * Optional. The schedule for this plugin instance action. This can only be
   * set if the plugin supports API_HUB_SCHEDULE_TRIGGER mode for this action.
   *
   * @var string
   */
  public $scheduleCronExpression;
  /**
   * Optional. The time zone for the schedule cron expression. If not provided,
   * UTC will be used.
   *
   * @var string
   */
  public $scheduleTimeZone;
  /**
   * Optional. The service account used to publish data. Note, the service
   * account will only be accepted for non-Google Cloud plugins like OPDK.
   *
   * @var string
   */
  public $serviceAccount;
  /**
   * Output only. The current state of the plugin action in the plugin instance.
   *
   * @var string
   */
  public $state;

  /**
   * Required. This should map to one of the action id specified in
   * actions_config in the plugin.
   *
   * @param string $actionId
   */
  public function setActionId($actionId)
  {
    $this->actionId = $actionId;
  }
  /**
   * @return string
   */
  public function getActionId()
  {
    return $this->actionId;
  }
  /**
   * Optional. This configuration should be provided if the plugin action is
   * publishing data to API hub curate layer.
   *
   * @param GoogleCloudApihubV1CurationConfig $curationConfig
   */
  public function setCurationConfig(GoogleCloudApihubV1CurationConfig $curationConfig)
  {
    $this->curationConfig = $curationConfig;
  }
  /**
   * @return GoogleCloudApihubV1CurationConfig
   */
  public function getCurationConfig()
  {
    return $this->curationConfig;
  }
  /**
   * Optional. The execution information for the plugin instance action done
   * corresponding to an API hub instance.
   *
   * @param GoogleCloudApihubV1ExecutionStatus $hubInstanceAction
   */
  public function setHubInstanceAction(GoogleCloudApihubV1ExecutionStatus $hubInstanceAction)
  {
    $this->hubInstanceAction = $hubInstanceAction;
  }
  /**
   * @return GoogleCloudApihubV1ExecutionStatus
   */
  public function getHubInstanceAction()
  {
    return $this->hubInstanceAction;
  }
  /**
   * Output only. The configuration of resources created for a given plugin
   * instance action. Note these will be returned only in case of non-Google
   * Cloud plugins like OPDK.
   *
   * @param GoogleCloudApihubV1ResourceConfig $resourceConfig
   */
  public function setResourceConfig(GoogleCloudApihubV1ResourceConfig $resourceConfig)
  {
    $this->resourceConfig = $resourceConfig;
  }
  /**
   * @return GoogleCloudApihubV1ResourceConfig
   */
  public function getResourceConfig()
  {
    return $this->resourceConfig;
  }
  /**
   * Optional. The schedule for this plugin instance action. This can only be
   * set if the plugin supports API_HUB_SCHEDULE_TRIGGER mode for this action.
   *
   * @param string $scheduleCronExpression
   */
  public function setScheduleCronExpression($scheduleCronExpression)
  {
    $this->scheduleCronExpression = $scheduleCronExpression;
  }
  /**
   * @return string
   */
  public function getScheduleCronExpression()
  {
    return $this->scheduleCronExpression;
  }
  /**
   * Optional. The time zone for the schedule cron expression. If not provided,
   * UTC will be used.
   *
   * @param string $scheduleTimeZone
   */
  public function setScheduleTimeZone($scheduleTimeZone)
  {
    $this->scheduleTimeZone = $scheduleTimeZone;
  }
  /**
   * @return string
   */
  public function getScheduleTimeZone()
  {
    return $this->scheduleTimeZone;
  }
  /**
   * Optional. The service account used to publish data. Note, the service
   * account will only be accepted for non-Google Cloud plugins like OPDK.
   *
   * @param string $serviceAccount
   */
  public function setServiceAccount($serviceAccount)
  {
    $this->serviceAccount = $serviceAccount;
  }
  /**
   * @return string
   */
  public function getServiceAccount()
  {
    return $this->serviceAccount;
  }
  /**
   * Output only. The current state of the plugin action in the plugin instance.
   *
   * Accepted values: STATE_UNSPECIFIED, ENABLED, DISABLED, ENABLING, DISABLING,
   * ERROR
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
}

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