📂 File Browser

AgentAI/vendor/google/apiclient-services/src/APIhub
☀️ Light 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: GoogleCloudApihubV1Plugin.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 GoogleCloudApihubV1Plugin extends \Google\Collection
{
  /**
   * The gateway type is not specified.
   */
  public const GATEWAY_TYPE_GATEWAY_TYPE_UNSPECIFIED = 'GATEWAY_TYPE_UNSPECIFIED';
  /**
   * The gateway type is Apigee X and Hybrid.
   */
  public const GATEWAY_TYPE_APIGEE_X_AND_HYBRID = 'APIGEE_X_AND_HYBRID';
  /**
   * The gateway type is Apigee Edge Public Cloud.
   */
  public const GATEWAY_TYPE_APIGEE_EDGE_PUBLIC_CLOUD = 'APIGEE_EDGE_PUBLIC_CLOUD';
  /**
   * The gateway type is Apigee Edge Private Cloud.
   */
  public const GATEWAY_TYPE_APIGEE_EDGE_PRIVATE_CLOUD = 'APIGEE_EDGE_PRIVATE_CLOUD';
  /**
   * The gateway type is Cloud API Gateway.
   */
  public const GATEWAY_TYPE_CLOUD_API_GATEWAY = 'CLOUD_API_GATEWAY';
  /**
   * The gateway type is Cloud Endpoints.
   */
  public const GATEWAY_TYPE_CLOUD_ENDPOINTS = 'CLOUD_ENDPOINTS';
  /**
   * The gateway type is API Discovery.
   */
  public const GATEWAY_TYPE_API_DISCOVERY = 'API_DISCOVERY';
  /**
   * The gateway type for any other types of gateways.
   */
  public const GATEWAY_TYPE_OTHERS = 'OTHERS';
  /**
   * Default unspecified type.
   */
  public const OWNERSHIP_TYPE_OWNERSHIP_TYPE_UNSPECIFIED = 'OWNERSHIP_TYPE_UNSPECIFIED';
  /**
   * System owned plugins are defined by API hub and are available out of the
   * box in API hub.
   */
  public const OWNERSHIP_TYPE_SYSTEM_OWNED = 'SYSTEM_OWNED';
  /**
   * User owned plugins are defined by the user and need to be explicitly added
   * to API hub via CreatePlugin method.
   */
  public const OWNERSHIP_TYPE_USER_OWNED = 'USER_OWNED';
  /**
   * Default unspecified plugin type.
   */
  public const PLUGIN_CATEGORY_PLUGIN_CATEGORY_UNSPECIFIED = 'PLUGIN_CATEGORY_UNSPECIFIED';
  /**
   * API_GATEWAY plugins represent plugins built for API Gateways like Apigee.
   */
  public const PLUGIN_CATEGORY_API_GATEWAY = 'API_GATEWAY';
  /**
   * API_PRODUCER plugins represent plugins built for API Producers like Cloud
   * Run, Application Integration etc.
   */
  public const PLUGIN_CATEGORY_API_PRODUCER = 'API_PRODUCER';
  /**
   * The default value. This value is used if the state is omitted.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The plugin is enabled.
   */
  public const STATE_ENABLED = 'ENABLED';
  /**
   * The plugin is disabled.
   */
  public const STATE_DISABLED = 'DISABLED';
  protected $collection_key = 'actionsConfig';
  protected $actionsConfigType = GoogleCloudApihubV1PluginActionConfig::class;
  protected $actionsConfigDataType = 'array';
  protected $configTemplateType = GoogleCloudApihubV1ConfigTemplate::class;
  protected $configTemplateDataType = '';
  /**
   * Output only. Timestamp indicating when the plugin was created.
   *
   * @var string
   */
  public $createTime;
  /**
   * Optional. The plugin description. Max length is 2000 characters (Unicode
   * code points).
   *
   * @var string
   */
  public $description;
  /**
   * Required. The display name of the plugin. Max length is 50 characters
   * (Unicode code points).
   *
   * @var string
   */
  public $displayName;
  protected $documentationType = GoogleCloudApihubV1Documentation::class;
  protected $documentationDataType = '';
  /**
   * Optional. The type of the gateway.
   *
   * @var string
   */
  public $gatewayType;
  protected $hostingServiceType = GoogleCloudApihubV1HostingService::class;
  protected $hostingServiceDataType = '';
  /**
   * Identifier. The name of the plugin. Format:
   * `projects/{project}/locations/{location}/plugins/{plugin}`
   *
   * @var string
   */
  public $name;
  /**
   * Output only. The type of the plugin, indicating whether it is
   * 'SYSTEM_OWNED' or 'USER_OWNED'.
   *
   * @var string
   */
  public $ownershipType;
  /**
   * Optional. The category of the plugin, identifying its primary category or
   * purpose. This field is required for all plugins.
   *
   * @var string
   */
  public $pluginCategory;
  /**
   * Output only. Represents the state of the plugin. Note this field will not
   * be set for plugins developed via plugin framework as the state will be
   * managed at plugin instance level.
   *
   * @var string
   */
  public $state;
  protected $typeType = GoogleCloudApihubV1AttributeValues::class;
  protected $typeDataType = '';
  /**
   * Output only. Timestamp indicating when the plugin was last updated.
   *
   * @var string
   */
  public $updateTime;

  /**
   * Optional. The configuration of actions supported by the plugin.
   * **REQUIRED**: This field must be provided when creating or updating a
   * Plugin. The server will reject requests if this field is missing.
   *
   * @param GoogleCloudApihubV1PluginActionConfig[] $actionsConfig
   */
  public function setActionsConfig($actionsConfig)
  {
    $this->actionsConfig = $actionsConfig;
  }
  /**
   * @return GoogleCloudApihubV1PluginActionConfig[]
   */
  public function getActionsConfig()
  {
    return $this->actionsConfig;
  }
  /**
   * Optional. The configuration template for the plugin.
   *
   * @param GoogleCloudApihubV1ConfigTemplate $configTemplate
   */
  public function setConfigTemplate(GoogleCloudApihubV1ConfigTemplate $configTemplate)
  {
    $this->configTemplate = $configTemplate;
  }
  /**
   * @return GoogleCloudApihubV1ConfigTemplate
   */
  public function getConfigTemplate()
  {
    return $this->configTemplate;
  }
  /**
   * Output only. Timestamp indicating when the plugin was created.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Optional. The plugin description. Max length is 2000 characters (Unicode
   * code points).
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * Required. The display name of the plugin. Max length is 50 characters
   * (Unicode code points).
   *
   * @param string $displayName
   */
  public function setDisplayName($displayName)
  {
    $this->displayName = $displayName;
  }
  /**
   * @return string
   */
  public function getDisplayName()
  {
    return $this->displayName;
  }
  /**
   * Optional. The documentation of the plugin, that explains how to set up and
   * use the plugin.
   *
   * @param GoogleCloudApihubV1Documentation $documentation
   */
  public function setDocumentation(GoogleCloudApihubV1Documentation $documentation)
  {
    $this->documentation = $documentation;
  }
  /**
   * @return GoogleCloudApihubV1Documentation
   */
  public function getDocumentation()
  {
    return $this->documentation;
  }
  /**
   * Optional. The type of the gateway.
   *
   * Accepted values: GATEWAY_TYPE_UNSPECIFIED, APIGEE_X_AND_HYBRID,
   * APIGEE_EDGE_PUBLIC_CLOUD, APIGEE_EDGE_PRIVATE_CLOUD, CLOUD_API_GATEWAY,
   * CLOUD_ENDPOINTS, API_DISCOVERY, OTHERS
   *
   * @param self::GATEWAY_TYPE_* $gatewayType
   */
  public function setGatewayType($gatewayType)
  {
    $this->gatewayType = $gatewayType;
  }
  /**
   * @return self::GATEWAY_TYPE_*
   */
  public function getGatewayType()
  {
    return $this->gatewayType;
  }
  /**
   * Optional. This field is optional. It is used to notify the plugin hosting
   * service for any lifecycle changes of the plugin instance and trigger
   * execution of plugin instance actions in case of API hub managed actions.
   * This field should be provided if the plugin instance lifecycle of the
   * developed plugin needs to be managed from API hub. Also, in this case the
   * plugin hosting service interface needs to be implemented. This field should
   * not be provided if the plugin wants to manage plugin instance lifecycle
   * events outside of hub interface and use plugin framework for only
   * registering of plugin and plugin instances to capture the source of data
   * into hub. Note, in this case the plugin hosting service interface is not
   * required to be implemented. Also, the plugin instance lifecycle actions
   * will be disabled from API hub's UI.
   *
   * @param GoogleCloudApihubV1HostingService $hostingService
   */
  public function setHostingService(GoogleCloudApihubV1HostingService $hostingService)
  {
    $this->hostingService = $hostingService;
  }
  /**
   * @return GoogleCloudApihubV1HostingService
   */
  public function getHostingService()
  {
    return $this->hostingService;
  }
  /**
   * Identifier. The name of the plugin. Format:
   * `projects/{project}/locations/{location}/plugins/{plugin}`
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Output only. The type of the plugin, indicating whether it is
   * 'SYSTEM_OWNED' or 'USER_OWNED'.
   *
   * Accepted values: OWNERSHIP_TYPE_UNSPECIFIED, SYSTEM_OWNED, USER_OWNED
   *
   * @param self::OWNERSHIP_TYPE_* $ownershipType
   */
  public function setOwnershipType($ownershipType)
  {
    $this->ownershipType = $ownershipType;
  }
  /**
   * @return self::OWNERSHIP_TYPE_*
   */
  public function getOwnershipType()
  {
    return $this->ownershipType;
  }
  /**
   * Optional. The category of the plugin, identifying its primary category or
   * purpose. This field is required for all plugins.
   *
   * Accepted values: PLUGIN_CATEGORY_UNSPECIFIED, API_GATEWAY, API_PRODUCER
   *
   * @param self::PLUGIN_CATEGORY_* $pluginCategory
   */
  public function setPluginCategory($pluginCategory)
  {
    $this->pluginCategory = $pluginCategory;
  }
  /**
   * @return self::PLUGIN_CATEGORY_*
   */
  public function getPluginCategory()
  {
    return $this->pluginCategory;
  }
  /**
   * Output only. Represents the state of the plugin. Note this field will not
   * be set for plugins developed via plugin framework as the state will be
   * managed at plugin instance level.
   *
   * Accepted values: STATE_UNSPECIFIED, ENABLED, DISABLED
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Optional. The type of the API. This maps to the following system defined
   * attribute: `projects/{project}/locations/{location}/attributes/system-
   * plugin-type` attribute. The number of allowed values for this attribute
   * will be based on the cardinality of the attribute. The same can be
   * retrieved via GetAttribute API. All values should be from the list of
   * allowed values defined for the attribute. Note this field is not required
   * for plugins developed via plugin framework.
   *
   * @param GoogleCloudApihubV1AttributeValues $type
   */
  public function setType(GoogleCloudApihubV1AttributeValues $type)
  {
    $this->type = $type;
  }
  /**
   * @return GoogleCloudApihubV1AttributeValues
   */
  public function getType()
  {
    return $this->type;
  }
  /**
   * Output only. Timestamp indicating when the plugin 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(GoogleCloudApihubV1Plugin::class, 'Google_Service_APIhub_GoogleCloudApihubV1Plugin');
← Back