gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,25 @@
<?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 ApihubEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApihubEmpty::class, 'Google_Service_APIhub_ApihubEmpty');
@@ -0,0 +1,133 @@
<?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 GoogleCloudApihubV1APIMetadata extends \Google\Collection
{
protected $collection_key = 'versions';
protected $apiType = GoogleCloudApihubV1Api::class;
protected $apiDataType = '';
/**
* Optional. Timestamp indicating when the API was created at the source.
*
* @var string
*/
public $originalCreateTime;
/**
* Optional. The unique identifier of the API in the system where it was
* originally created.
*
* @var string
*/
public $originalId;
/**
* Required. Timestamp indicating when the API was last updated at the source.
*
* @var string
*/
public $originalUpdateTime;
protected $versionsType = GoogleCloudApihubV1VersionMetadata::class;
protected $versionsDataType = 'array';
/**
* Required. The API resource to be pushed to Hub's collect layer. The ID of
* the API resource will be generated by Hub to ensure uniqueness across all
* APIs across systems.
*
* @param GoogleCloudApihubV1Api $api
*/
public function setApi(GoogleCloudApihubV1Api $api)
{
$this->api = $api;
}
/**
* @return GoogleCloudApihubV1Api
*/
public function getApi()
{
return $this->api;
}
/**
* Optional. Timestamp indicating when the API was created at the source.
*
* @param string $originalCreateTime
*/
public function setOriginalCreateTime($originalCreateTime)
{
$this->originalCreateTime = $originalCreateTime;
}
/**
* @return string
*/
public function getOriginalCreateTime()
{
return $this->originalCreateTime;
}
/**
* Optional. The unique identifier of the API in the system where it was
* originally created.
*
* @param string $originalId
*/
public function setOriginalId($originalId)
{
$this->originalId = $originalId;
}
/**
* @return string
*/
public function getOriginalId()
{
return $this->originalId;
}
/**
* Required. Timestamp indicating when the API was last updated at the source.
*
* @param string $originalUpdateTime
*/
public function setOriginalUpdateTime($originalUpdateTime)
{
$this->originalUpdateTime = $originalUpdateTime;
}
/**
* @return string
*/
public function getOriginalUpdateTime()
{
return $this->originalUpdateTime;
}
/**
* Optional. The list of versions present in an API resource.
*
* @param GoogleCloudApihubV1VersionMetadata[] $versions
*/
public function setVersions($versions)
{
$this->versions = $versions;
}
/**
* @return GoogleCloudApihubV1VersionMetadata[]
*/
public function getVersions()
{
return $this->versions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1APIMetadata::class, 'Google_Service_APIhub_GoogleCloudApihubV1APIMetadata');
@@ -0,0 +1,48 @@
<?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 GoogleCloudApihubV1ActionExecutionDetail extends \Google\Model
{
/**
* Required. The action id of the plugin to execute.
*
* @var string
*/
public $actionId;
/**
* Required. The action id of the plugin to execute.
*
* @param string $actionId
*/
public function setActionId($actionId)
{
$this->actionId = $actionId;
}
/**
* @return string
*/
public function getActionId()
{
return $this->actionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ActionExecutionDetail::class, 'Google_Service_APIhub_GoogleCloudApihubV1ActionExecutionDetail');
@@ -0,0 +1,149 @@
<?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 GoogleCloudApihubV1AdditionalSpecContent extends \Google\Model
{
/**
* Unspecified spec content type. Defaults to spec content uploaded by the
* user.
*/
public const SPEC_CONTENT_TYPE_SPEC_CONTENT_TYPE_UNSPECIFIED = 'SPEC_CONTENT_TYPE_UNSPECIFIED';
/**
* The spec content type for boosted spec.
*/
public const SPEC_CONTENT_TYPE_BOOSTED_SPEC_CONTENT = 'BOOSTED_SPEC_CONTENT';
/**
* The spec content type for OpenAPI spec. This enum is used for OpenAPI specs
* ingested via APIGEE X Gateway.
*/
public const SPEC_CONTENT_TYPE_GATEWAY_OPEN_API_SPEC = 'GATEWAY_OPEN_API_SPEC';
/**
* Output only. The time at which the spec content was created.
*
* @var string
*/
public $createTime;
/**
* Optional. The labels of the spec content e.g. specboost addon version.
*
* @var string[]
*/
public $labels;
/**
* Required. The type of the spec content.
*
* @var string
*/
public $specContentType;
protected $specContentsType = GoogleCloudApihubV1SpecContents::class;
protected $specContentsDataType = '';
/**
* Output only. The time at which the spec content was last updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. The time at which the spec content was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. The labels of the spec content e.g. specboost addon version.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Required. The type of the spec content.
*
* Accepted values: SPEC_CONTENT_TYPE_UNSPECIFIED, BOOSTED_SPEC_CONTENT,
* GATEWAY_OPEN_API_SPEC
*
* @param self::SPEC_CONTENT_TYPE_* $specContentType
*/
public function setSpecContentType($specContentType)
{
$this->specContentType = $specContentType;
}
/**
* @return self::SPEC_CONTENT_TYPE_*
*/
public function getSpecContentType()
{
return $this->specContentType;
}
/**
* Optional. The additional spec contents.
*
* @param GoogleCloudApihubV1SpecContents $specContents
*/
public function setSpecContents(GoogleCloudApihubV1SpecContents $specContents)
{
$this->specContents = $specContents;
}
/**
* @return GoogleCloudApihubV1SpecContents
*/
public function getSpecContents()
{
return $this->specContents;
}
/**
* Output only. The time at which the spec content 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(GoogleCloudApihubV1AdditionalSpecContent::class, 'Google_Service_APIhub_GoogleCloudApihubV1AdditionalSpecContent');
@@ -0,0 +1,238 @@
<?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 GoogleCloudApihubV1Addon extends \Google\Model
{
/**
* The data source of the addon is not specified.
*/
public const DATA_SOURCE_DATA_SOURCE_UNSPECIFIED = 'DATA_SOURCE_UNSPECIFIED';
/**
* Addon operates on data collected from specific plugin instances.
*/
public const DATA_SOURCE_PLUGIN_INSTANCE = 'PLUGIN_INSTANCE';
/**
* Addon operates on all data in the API hub.
*/
public const DATA_SOURCE_ALL_DATA = 'ALL_DATA';
/**
* The addon state is not specified.
*/
public const STATE_ADDON_STATE_UNSPECIFIED = 'ADDON_STATE_UNSPECIFIED';
/**
* The addon is active.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* The addon is being updated.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* The addon is in error state.
*/
public const STATE_ERROR = 'ERROR';
/**
* The addon is inactive.
*/
public const STATE_INACTIVE = 'INACTIVE';
protected $configType = GoogleCloudApihubV1AddonConfig::class;
protected $configDataType = '';
/**
* Output only. The time at which the addon was created.
*
* @var string
*/
public $createTime;
/**
* Required. The data source on which the addon operates. This determines
* which field in the `config` oneof is used.
*
* @var string
*/
public $dataSource;
/**
* Optional. The description of the addon.
*
* @var string
*/
public $description;
/**
* Required. The display name of the addon.
*
* @var string
*/
public $displayName;
/**
* Identifier. The name of the addon to enable. Format:
* `projects/{project}/locations/{location}/addons/{addon}`.
*
* @var string
*/
public $name;
/**
* Output only. The state of the addon.
*
* @var string
*/
public $state;
/**
* Output only. The time at which the addon was last updated.
*
* @var string
*/
public $updateTime;
/**
* Required. The configuration of the addon.
*
* @param GoogleCloudApihubV1AddonConfig $config
*/
public function setConfig(GoogleCloudApihubV1AddonConfig $config)
{
$this->config = $config;
}
/**
* @return GoogleCloudApihubV1AddonConfig
*/
public function getConfig()
{
return $this->config;
}
/**
* Output only. The time at which the addon was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Required. The data source on which the addon operates. This determines
* which field in the `config` oneof is used.
*
* Accepted values: DATA_SOURCE_UNSPECIFIED, PLUGIN_INSTANCE, ALL_DATA
*
* @param self::DATA_SOURCE_* $dataSource
*/
public function setDataSource($dataSource)
{
$this->dataSource = $dataSource;
}
/**
* @return self::DATA_SOURCE_*
*/
public function getDataSource()
{
return $this->dataSource;
}
/**
* Optional. The description of the addon.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. The display name of the addon.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Identifier. The name of the addon to enable. Format:
* `projects/{project}/locations/{location}/addons/{addon}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The state of the addon.
*
* Accepted values: ADDON_STATE_UNSPECIFIED, ACTIVE, UPDATING, ERROR, INACTIVE
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. The time at which the addon 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(GoogleCloudApihubV1Addon::class, 'Google_Service_APIhub_GoogleCloudApihubV1Addon');
@@ -0,0 +1,62 @@
<?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 GoogleCloudApihubV1AddonConfig extends \Google\Model
{
protected $allDataAddonConfigType = GoogleCloudApihubV1AllDataAddonConfig::class;
protected $allDataAddonConfigDataType = '';
protected $gatewayPluginAddonConfigType = GoogleCloudApihubV1GatewayPluginAddonConfig::class;
protected $gatewayPluginAddonConfigDataType = '';
/**
* Configuration for addons which act on all data in the API hub.
*
* @param GoogleCloudApihubV1AllDataAddonConfig $allDataAddonConfig
*/
public function setAllDataAddonConfig(GoogleCloudApihubV1AllDataAddonConfig $allDataAddonConfig)
{
$this->allDataAddonConfig = $allDataAddonConfig;
}
/**
* @return GoogleCloudApihubV1AllDataAddonConfig
*/
public function getAllDataAddonConfig()
{
return $this->allDataAddonConfig;
}
/**
* Configuration for gateway plugin addons.
*
* @param GoogleCloudApihubV1GatewayPluginAddonConfig $gatewayPluginAddonConfig
*/
public function setGatewayPluginAddonConfig(GoogleCloudApihubV1GatewayPluginAddonConfig $gatewayPluginAddonConfig)
{
$this->gatewayPluginAddonConfig = $gatewayPluginAddonConfig;
}
/**
* @return GoogleCloudApihubV1GatewayPluginAddonConfig
*/
public function getGatewayPluginAddonConfig()
{
return $this->gatewayPluginAddonConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1AddonConfig::class, 'Google_Service_APIhub_GoogleCloudApihubV1AddonConfig');
@@ -0,0 +1,50 @@
<?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 GoogleCloudApihubV1AgentRegistrySyncConfig extends \Google\Model
{
/**
* Optional. If true, the MCP data sync to the Agent Registry will be
* disabled. The default value is false.
*
* @var bool
*/
public $disabled;
/**
* Optional. If true, the MCP data sync to the Agent Registry will be
* disabled. The default value is false.
*
* @param bool $disabled
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1AgentRegistrySyncConfig::class, 'Google_Service_APIhub_GoogleCloudApihubV1AgentRegistrySyncConfig');
@@ -0,0 +1,48 @@
<?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 GoogleCloudApihubV1AllDataAddonConfig extends \Google\Model
{
/**
* Required. If true, the addon is enabled for all data in the API hub.
*
* @var bool
*/
public $enabled;
/**
* Required. If true, the addon is enabled for all data in the API hub.
*
* @param bool $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1AllDataAddonConfig::class, 'Google_Service_APIhub_GoogleCloudApihubV1AllDataAddonConfig');
@@ -0,0 +1,128 @@
<?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 GoogleCloudApihubV1AllowedValue extends \Google\Model
{
/**
* Optional. The detailed description of the allowed value.
*
* @var string
*/
public $description;
/**
* Required. The display name of the allowed value.
*
* @var string
*/
public $displayName;
/**
* Required. The ID of the allowed value. * If provided, the same will be
* used. The service will throw an error if the specified id is already used
* by another allowed value in the same attribute resource. * If not provided,
* a system generated id derived from the display name will be used. In this
* case, the service will handle conflict resolution by adding a system
* generated suffix in case of duplicates. This value should be 4-63
* characters, and valid characters are /a-z-/.
*
* @var string
*/
public $id;
/**
* Optional. When set to true, the allowed value cannot be updated or deleted
* by the user. It can only be true for System defined attributes.
*
* @var bool
*/
public $immutable;
/**
* Optional. The detailed description of the allowed value.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. The display name of the allowed value.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Required. The ID of the allowed value. * If provided, the same will be
* used. The service will throw an error if the specified id is already used
* by another allowed value in the same attribute resource. * If not provided,
* a system generated id derived from the display name will be used. In this
* case, the service will handle conflict resolution by adding a system
* generated suffix in case of duplicates. This value should be 4-63
* characters, and valid characters are /a-z-/.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Optional. When set to true, the allowed value cannot be updated or deleted
* by the user. It can only be true for System defined attributes.
*
* @param bool $immutable
*/
public function setImmutable($immutable)
{
$this->immutable = $immutable;
}
/**
* @return bool
*/
public function getImmutable()
{
return $this->immutable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1AllowedValue::class, 'Google_Service_APIhub_GoogleCloudApihubV1AllowedValue');
@@ -0,0 +1,485 @@
<?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 GoogleCloudApihubV1Api extends \Google\Collection
{
protected $collection_key = 'versions';
protected $apiFunctionalRequirementsType = GoogleCloudApihubV1AttributeValues::class;
protected $apiFunctionalRequirementsDataType = '';
protected $apiRequirementsType = GoogleCloudApihubV1AttributeValues::class;
protected $apiRequirementsDataType = '';
protected $apiStyleType = GoogleCloudApihubV1AttributeValues::class;
protected $apiStyleDataType = '';
protected $apiTechnicalRequirementsType = GoogleCloudApihubV1AttributeValues::class;
protected $apiTechnicalRequirementsDataType = '';
protected $attributesType = GoogleCloudApihubV1AttributeValues::class;
protected $attributesDataType = 'map';
protected $businessUnitType = GoogleCloudApihubV1AttributeValues::class;
protected $businessUnitDataType = '';
/**
* Output only. The time at which the API resource was created.
*
* @var string
*/
public $createTime;
/**
* Optional. The description of the API resource.
*
* @var string
*/
public $description;
/**
* Required. The display name of the API resource.
*
* @var string
*/
public $displayName;
protected $documentationType = GoogleCloudApihubV1Documentation::class;
protected $documentationDataType = '';
/**
* Optional. Fingerprint of the API resource. This must be unique for each API
* resource. It can neither be unset nor be updated to an existing fingerprint
* of another API resource.
*
* @var string
*/
public $fingerprint;
protected $maturityLevelType = GoogleCloudApihubV1AttributeValues::class;
protected $maturityLevelDataType = '';
/**
* Identifier. The name of the API resource in the API Hub. Format:
* `projects/{project}/locations/{location}/apis/{api}`
*
* @var string
*/
public $name;
protected $ownerType = GoogleCloudApihubV1Owner::class;
protected $ownerDataType = '';
/**
* Optional. The selected version for an API resource. This can be used when
* special handling is needed on client side for particular version of the
* API. Format is
* `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
*
* @var string
*/
public $selectedVersion;
protected $sourceMetadataType = GoogleCloudApihubV1SourceMetadata::class;
protected $sourceMetadataDataType = 'array';
protected $targetUserType = GoogleCloudApihubV1AttributeValues::class;
protected $targetUserDataType = '';
protected $teamType = GoogleCloudApihubV1AttributeValues::class;
protected $teamDataType = '';
/**
* Output only. The time at which the API resource was last updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. The list of versions present in an API resource. Note: An API
* resource can be associated with more than 1 version. Format is
* `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
*
* @var string[]
*/
public $versions;
/**
* Optional. The api functional requirements associated with the API resource.
* Carinality is 1 for this attribute. This maps to the following system
* defined attribute:
* `projects/{project}/locations/{location}/attributes/system-api-functional-
* requirements` attribute. The value of the attribute should be a proper URI,
* and in case of Cloud Storage URI, it should point to a Cloud Storage
* object, not a directory.
*
* @param GoogleCloudApihubV1AttributeValues $apiFunctionalRequirements
*/
public function setApiFunctionalRequirements(GoogleCloudApihubV1AttributeValues $apiFunctionalRequirements)
{
$this->apiFunctionalRequirements = $apiFunctionalRequirements;
}
/**
* @return GoogleCloudApihubV1AttributeValues
*/
public function getApiFunctionalRequirements()
{
return $this->apiFunctionalRequirements;
}
/**
* Optional. The api requirement doc associated with the API resource.
* Carinality is 1 for this attribute. This maps to the following system
* defined attribute:
* `projects/{project}/locations/{location}/attributes/system-api-
* requirements` attribute. The value of the attribute should be a proper URI,
* and in case of Cloud Storage URI, it should point to a Cloud Storage
* object, not a directory.
*
* @param GoogleCloudApihubV1AttributeValues $apiRequirements
*/
public function setApiRequirements(GoogleCloudApihubV1AttributeValues $apiRequirements)
{
$this->apiRequirements = $apiRequirements;
}
/**
* @return GoogleCloudApihubV1AttributeValues
*/
public function getApiRequirements()
{
return $this->apiRequirements;
}
/**
* Optional. The style of the API. This maps to the following system defined
* attribute: `projects/{project}/locations/{location}/attributes/system-api-
* style` attribute. The number of 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.
*
* @param GoogleCloudApihubV1AttributeValues $apiStyle
*/
public function setApiStyle(GoogleCloudApihubV1AttributeValues $apiStyle)
{
$this->apiStyle = $apiStyle;
}
/**
* @return GoogleCloudApihubV1AttributeValues
*/
public function getApiStyle()
{
return $this->apiStyle;
}
/**
* Optional. The api technical requirements associated with the API resource.
* Carinality is 1 for this attribute. This maps to the following system
* defined attribute:
* `projects/{project}/locations/{location}/attributes/system-api-technical-
* requirements` attribute. The value of the attribute should be a proper URI,
* and in case of Cloud Storage URI, it should point to a Cloud Storage
* object, not a directory.
*
* @param GoogleCloudApihubV1AttributeValues $apiTechnicalRequirements
*/
public function setApiTechnicalRequirements(GoogleCloudApihubV1AttributeValues $apiTechnicalRequirements)
{
$this->apiTechnicalRequirements = $apiTechnicalRequirements;
}
/**
* @return GoogleCloudApihubV1AttributeValues
*/
public function getApiTechnicalRequirements()
{
return $this->apiTechnicalRequirements;
}
/**
* Optional. The list of user defined attributes associated with the API
* resource. The key is the attribute name. It will be of the format:
* `projects/{project}/locations/{location}/attributes/{attribute}`. The value
* is the attribute values associated with the resource.
*
* @param GoogleCloudApihubV1AttributeValues[] $attributes
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return GoogleCloudApihubV1AttributeValues[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* Optional. The business unit owning the API. This maps to the following
* system defined attribute:
* `projects/{project}/locations/{location}/attributes/system-business-unit`
* attribute. The number of 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.
*
* @param GoogleCloudApihubV1AttributeValues $businessUnit
*/
public function setBusinessUnit(GoogleCloudApihubV1AttributeValues $businessUnit)
{
$this->businessUnit = $businessUnit;
}
/**
* @return GoogleCloudApihubV1AttributeValues
*/
public function getBusinessUnit()
{
return $this->businessUnit;
}
/**
* Output only. The time at which the API resource was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. The description of the API resource.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. The display name of the API resource.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. The documentation for the API resource.
*
* @param GoogleCloudApihubV1Documentation $documentation
*/
public function setDocumentation(GoogleCloudApihubV1Documentation $documentation)
{
$this->documentation = $documentation;
}
/**
* @return GoogleCloudApihubV1Documentation
*/
public function getDocumentation()
{
return $this->documentation;
}
/**
* Optional. Fingerprint of the API resource. This must be unique for each API
* resource. It can neither be unset nor be updated to an existing fingerprint
* of another API resource.
*
* @param string $fingerprint
*/
public function setFingerprint($fingerprint)
{
$this->fingerprint = $fingerprint;
}
/**
* @return string
*/
public function getFingerprint()
{
return $this->fingerprint;
}
/**
* Optional. The maturity level of the API. This maps to the following system
* defined attribute:
* `projects/{project}/locations/{location}/attributes/system-maturity-level`
* attribute. The number of 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.
*
* @param GoogleCloudApihubV1AttributeValues $maturityLevel
*/
public function setMaturityLevel(GoogleCloudApihubV1AttributeValues $maturityLevel)
{
$this->maturityLevel = $maturityLevel;
}
/**
* @return GoogleCloudApihubV1AttributeValues
*/
public function getMaturityLevel()
{
return $this->maturityLevel;
}
/**
* Identifier. The name of the API resource in the API Hub. Format:
* `projects/{project}/locations/{location}/apis/{api}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Owner details for the API resource.
*
* @param GoogleCloudApihubV1Owner $owner
*/
public function setOwner(GoogleCloudApihubV1Owner $owner)
{
$this->owner = $owner;
}
/**
* @return GoogleCloudApihubV1Owner
*/
public function getOwner()
{
return $this->owner;
}
/**
* Optional. The selected version for an API resource. This can be used when
* special handling is needed on client side for particular version of the
* API. Format is
* `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
*
* @param string $selectedVersion
*/
public function setSelectedVersion($selectedVersion)
{
$this->selectedVersion = $selectedVersion;
}
/**
* @return string
*/
public function getSelectedVersion()
{
return $this->selectedVersion;
}
/**
* Output only. The list of sources and metadata from the sources of the API
* resource.
*
* @param GoogleCloudApihubV1SourceMetadata[] $sourceMetadata
*/
public function setSourceMetadata($sourceMetadata)
{
$this->sourceMetadata = $sourceMetadata;
}
/**
* @return GoogleCloudApihubV1SourceMetadata[]
*/
public function getSourceMetadata()
{
return $this->sourceMetadata;
}
/**
* Optional. The target users for the API. This maps to the following system
* defined attribute:
* `projects/{project}/locations/{location}/attributes/system-target-user`
* attribute. The number of 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.
*
* @param GoogleCloudApihubV1AttributeValues $targetUser
*/
public function setTargetUser(GoogleCloudApihubV1AttributeValues $targetUser)
{
$this->targetUser = $targetUser;
}
/**
* @return GoogleCloudApihubV1AttributeValues
*/
public function getTargetUser()
{
return $this->targetUser;
}
/**
* Optional. The team owning the API. This maps to the following system
* defined attribute:
* `projects/{project}/locations/{location}/attributes/system-team` attribute.
* The number of 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.
*
* @param GoogleCloudApihubV1AttributeValues $team
*/
public function setTeam(GoogleCloudApihubV1AttributeValues $team)
{
$this->team = $team;
}
/**
* @return GoogleCloudApihubV1AttributeValues
*/
public function getTeam()
{
return $this->team;
}
/**
* Output only. The time at which the API resource was last updated.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* Output only. The list of versions present in an API resource. Note: An API
* resource can be associated with more than 1 version. Format is
* `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
*
* @param string[] $versions
*/
public function setVersions($versions)
{
$this->versions = $versions;
}
/**
* @return string[]
*/
public function getVersions()
{
return $this->versions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1Api::class, 'Google_Service_APIhub_GoogleCloudApihubV1Api');
@@ -0,0 +1,44 @@
<?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 GoogleCloudApihubV1ApiData extends \Google\Model
{
protected $apiMetadataListType = GoogleCloudApihubV1ApiMetadataList::class;
protected $apiMetadataListDataType = '';
/**
* Optional. The list of API metadata.
*
* @param GoogleCloudApihubV1ApiMetadataList $apiMetadataList
*/
public function setApiMetadataList(GoogleCloudApihubV1ApiMetadataList $apiMetadataList)
{
$this->apiMetadataList = $apiMetadataList;
}
/**
* @return GoogleCloudApihubV1ApiMetadataList
*/
public function getApiMetadataList()
{
return $this->apiMetadataList;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ApiData::class, 'Google_Service_APIhub_GoogleCloudApihubV1ApiData');
@@ -0,0 +1,237 @@
<?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 GoogleCloudApihubV1ApiHubInstance extends \Google\Model
{
/**
* The default value. This value is used if the state is omitted.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The ApiHub instance has not been initialized or has been deleted.
*/
public const STATE_INACTIVE = 'INACTIVE';
/**
* The ApiHub instance is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* The ApiHub instance has been created and is ready for use.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* The ApiHub instance is being updated.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* The ApiHub instance is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* The ApiHub instance encountered an error during a state change.
*/
public const STATE_FAILED = 'FAILED';
protected $configType = GoogleCloudApihubV1Config::class;
protected $configDataType = '';
/**
* Output only. Creation timestamp.
*
* @var string
*/
public $createTime;
/**
* Optional. Description of the ApiHub instance.
*
* @var string
*/
public $description;
/**
* Optional. Instance labels to represent user-provided metadata. Refer to
* cloud documentation on labels for more details.
* https://cloud.google.com/compute/docs/labeling-resources
*
* @var string[]
*/
public $labels;
/**
* Identifier. Format:
* `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`.
*
* @var string
*/
public $name;
/**
* Output only. The current state of the ApiHub instance.
*
* @var string
*/
public $state;
/**
* Output only. Extra information about ApiHub instance state. Currently the
* message would be populated when state is `FAILED`.
*
* @var string
*/
public $stateMessage;
/**
* Output only. Last update timestamp.
*
* @var string
*/
public $updateTime;
/**
* Required. Config of the ApiHub instance.
*
* @param GoogleCloudApihubV1Config $config
*/
public function setConfig(GoogleCloudApihubV1Config $config)
{
$this->config = $config;
}
/**
* @return GoogleCloudApihubV1Config
*/
public function getConfig()
{
return $this->config;
}
/**
* Output only. Creation timestamp.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. Description of the ApiHub instance.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Optional. Instance labels to represent user-provided metadata. Refer to
* cloud documentation on labels for more details.
* https://cloud.google.com/compute/docs/labeling-resources
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Identifier. Format:
* `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The current state of the ApiHub instance.
*
* Accepted values: STATE_UNSPECIFIED, INACTIVE, CREATING, ACTIVE, UPDATING,
* DELETING, FAILED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. Extra information about ApiHub instance state. Currently the
* message would be populated when state is `FAILED`.
*
* @param string $stateMessage
*/
public function setStateMessage($stateMessage)
{
$this->stateMessage = $stateMessage;
}
/**
* @return string
*/
public function getStateMessage()
{
return $this->stateMessage;
}
/**
* Output only. Last 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(GoogleCloudApihubV1ApiHubInstance::class, 'Google_Service_APIhub_GoogleCloudApihubV1ApiHubInstance');
@@ -0,0 +1,143 @@
<?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 GoogleCloudApihubV1ApiHubResource extends \Google\Model
{
protected $apiType = GoogleCloudApihubV1Api::class;
protected $apiDataType = '';
protected $definitionType = GoogleCloudApihubV1Definition::class;
protected $definitionDataType = '';
protected $deploymentType = GoogleCloudApihubV1Deployment::class;
protected $deploymentDataType = '';
protected $operationType = GoogleCloudApihubV1ApiOperation::class;
protected $operationDataType = '';
protected $specType = GoogleCloudApihubV1Spec::class;
protected $specDataType = '';
protected $versionType = GoogleCloudApihubV1Version::class;
protected $versionDataType = '';
/**
* This represents Api resource in search results. Only name, display_name,
* description and owner fields are populated in search results.
*
* @param GoogleCloudApihubV1Api $api
*/
public function setApi(GoogleCloudApihubV1Api $api)
{
$this->api = $api;
}
/**
* @return GoogleCloudApihubV1Api
*/
public function getApi()
{
return $this->api;
}
/**
* This represents Definition resource in search results. Only name field is
* populated in search results.
*
* @param GoogleCloudApihubV1Definition $definition
*/
public function setDefinition(GoogleCloudApihubV1Definition $definition)
{
$this->definition = $definition;
}
/**
* @return GoogleCloudApihubV1Definition
*/
public function getDefinition()
{
return $this->definition;
}
/**
* This represents Deployment resource in search results. Only name,
* display_name, description, deployment_type and api_versions fields are
* populated in search results.
*
* @param GoogleCloudApihubV1Deployment $deployment
*/
public function setDeployment(GoogleCloudApihubV1Deployment $deployment)
{
$this->deployment = $deployment;
}
/**
* @return GoogleCloudApihubV1Deployment
*/
public function getDeployment()
{
return $this->deployment;
}
/**
* This represents ApiOperation resource in search results. Only name,
* description, spec and details fields are populated in search results.
*
* @param GoogleCloudApihubV1ApiOperation $operation
*/
public function setOperation(GoogleCloudApihubV1ApiOperation $operation)
{
$this->operation = $operation;
}
/**
* @return GoogleCloudApihubV1ApiOperation
*/
public function getOperation()
{
return $this->operation;
}
/**
* This represents Spec resource in search results. Only name, display_name,
* description, spec_type and documentation fields are populated in search
* results.
*
* @param GoogleCloudApihubV1Spec $spec
*/
public function setSpec(GoogleCloudApihubV1Spec $spec)
{
$this->spec = $spec;
}
/**
* @return GoogleCloudApihubV1Spec
*/
public function getSpec()
{
return $this->spec;
}
/**
* This represents Version resource in search results. Only name,
* display_name, description, lifecycle, compliance and accreditation fields
* are populated in search results.
*
* @param GoogleCloudApihubV1Version $version
*/
public function setVersion(GoogleCloudApihubV1Version $version)
{
$this->version = $version;
}
/**
* @return GoogleCloudApihubV1Version
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ApiHubResource::class, 'Google_Service_APIhub_GoogleCloudApihubV1ApiHubResource');
@@ -0,0 +1,120 @@
<?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 GoogleCloudApihubV1ApiKeyConfig extends \Google\Model
{
/**
* HTTP element location not specified.
*/
public const HTTP_ELEMENT_LOCATION_HTTP_ELEMENT_LOCATION_UNSPECIFIED = 'HTTP_ELEMENT_LOCATION_UNSPECIFIED';
/**
* Element is in the HTTP request query.
*/
public const HTTP_ELEMENT_LOCATION_QUERY = 'QUERY';
/**
* Element is in the HTTP request header.
*/
public const HTTP_ELEMENT_LOCATION_HEADER = 'HEADER';
/**
* Element is in the HTTP request path.
*/
public const HTTP_ELEMENT_LOCATION_PATH = 'PATH';
/**
* Element is in the HTTP request body.
*/
public const HTTP_ELEMENT_LOCATION_BODY = 'BODY';
/**
* Element is in the HTTP request cookie.
*/
public const HTTP_ELEMENT_LOCATION_COOKIE = 'COOKIE';
protected $apiKeyType = GoogleCloudApihubV1Secret::class;
protected $apiKeyDataType = '';
/**
* Required. The location of the API key. The default value is QUERY.
*
* @var string
*/
public $httpElementLocation;
/**
* Required. The parameter name of the API key. E.g. If the API request is
* "https://example.com/act?api_key=", "api_key" would be the parameter name.
*
* @var string
*/
public $name;
/**
* Required. The name of the SecretManager secret version resource storing the
* API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}`.
* The `secretmanager.versions.access` permission should be granted to the
* service account accessing the secret.
*
* @param GoogleCloudApihubV1Secret $apiKey
*/
public function setApiKey(GoogleCloudApihubV1Secret $apiKey)
{
$this->apiKey = $apiKey;
}
/**
* @return GoogleCloudApihubV1Secret
*/
public function getApiKey()
{
return $this->apiKey;
}
/**
* Required. The location of the API key. The default value is QUERY.
*
* Accepted values: HTTP_ELEMENT_LOCATION_UNSPECIFIED, QUERY, HEADER, PATH,
* BODY, COOKIE
*
* @param self::HTTP_ELEMENT_LOCATION_* $httpElementLocation
*/
public function setHttpElementLocation($httpElementLocation)
{
$this->httpElementLocation = $httpElementLocation;
}
/**
* @return self::HTTP_ELEMENT_LOCATION_*
*/
public function getHttpElementLocation()
{
return $this->httpElementLocation;
}
/**
* Required. The parameter name of the API key. E.g. If the API request is
* "https://example.com/act?api_key=", "api_key" would be the parameter name.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ApiKeyConfig::class, 'Google_Service_APIhub_GoogleCloudApihubV1ApiKeyConfig');
@@ -0,0 +1,45 @@
<?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 GoogleCloudApihubV1ApiMetadataList extends \Google\Collection
{
protected $collection_key = 'apiMetadata';
protected $apiMetadataType = GoogleCloudApihubV1APIMetadata::class;
protected $apiMetadataDataType = 'array';
/**
* Required. The list of API metadata.
*
* @param GoogleCloudApihubV1APIMetadata[] $apiMetadata
*/
public function setApiMetadata($apiMetadata)
{
$this->apiMetadata = $apiMetadata;
}
/**
* @return GoogleCloudApihubV1APIMetadata[]
*/
public function getApiMetadata()
{
return $this->apiMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ApiMetadataList::class, 'Google_Service_APIhub_GoogleCloudApihubV1ApiMetadataList');
@@ -0,0 +1,183 @@
<?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 GoogleCloudApihubV1ApiOperation extends \Google\Collection
{
protected $collection_key = 'sourceMetadata';
protected $attributesType = GoogleCloudApihubV1AttributeValues::class;
protected $attributesDataType = 'map';
/**
* Output only. The time at which the operation was created.
*
* @var string
*/
public $createTime;
protected $detailsType = GoogleCloudApihubV1OperationDetails::class;
protected $detailsDataType = '';
/**
* Identifier. The name of the operation. Format: `projects/{project}/location
* s/{location}/apis/{api}/versions/{version}/operations/{operation}`
*
* @var string
*/
public $name;
protected $sourceMetadataType = GoogleCloudApihubV1SourceMetadata::class;
protected $sourceMetadataDataType = 'array';
/**
* Output only. The name of the spec will be of the format: `projects/{project
* }/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` Note:The
* name of the spec will be empty if the operation is created via
* CreateApiOperation API.
*
* @var string
*/
public $spec;
/**
* Output only. The time at which the operation was last updated.
*
* @var string
*/
public $updateTime;
/**
* Optional. The list of user defined attributes associated with the API
* operation resource. The key is the attribute name. It will be of the
* format: `projects/{project}/locations/{location}/attributes/{attribute}`.
* The value is the attribute values associated with the resource.
*
* @param GoogleCloudApihubV1AttributeValues[] $attributes
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return GoogleCloudApihubV1AttributeValues[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* Output only. The time at which the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. Operation details. Note: Even though this field is optional, it
* is required for CreateApiOperation API and we will fail the request if not
* provided.
*
* @param GoogleCloudApihubV1OperationDetails $details
*/
public function setDetails(GoogleCloudApihubV1OperationDetails $details)
{
$this->details = $details;
}
/**
* @return GoogleCloudApihubV1OperationDetails
*/
public function getDetails()
{
return $this->details;
}
/**
* Identifier. The name of the operation. Format: `projects/{project}/location
* s/{location}/apis/{api}/versions/{version}/operations/{operation}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The list of sources and metadata from the sources of the API
* operation.
*
* @param GoogleCloudApihubV1SourceMetadata[] $sourceMetadata
*/
public function setSourceMetadata($sourceMetadata)
{
$this->sourceMetadata = $sourceMetadata;
}
/**
* @return GoogleCloudApihubV1SourceMetadata[]
*/
public function getSourceMetadata()
{
return $this->sourceMetadata;
}
/**
* Output only. The name of the spec will be of the format: `projects/{project
* }/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` Note:The
* name of the spec will be empty if the operation is created via
* CreateApiOperation API.
*
* @param string $spec
*/
public function setSpec($spec)
{
$this->spec = $spec;
}
/**
* @return string
*/
public function getSpec()
{
return $this->spec;
}
/**
* Output only. The time at which the operation 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(GoogleCloudApihubV1ApiOperation::class, 'Google_Service_APIhub_GoogleCloudApihubV1ApiOperation');
@@ -0,0 +1,62 @@
<?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 GoogleCloudApihubV1ApiView extends \Google\Model
{
protected $mcpServerViewType = GoogleCloudApihubV1FlattenedApiVersionDeploymentView::class;
protected $mcpServerViewDataType = '';
protected $mcpToolViewType = GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView::class;
protected $mcpToolViewDataType = '';
/**
* MCP server view.
*
* @param GoogleCloudApihubV1FlattenedApiVersionDeploymentView $mcpServerView
*/
public function setMcpServerView(GoogleCloudApihubV1FlattenedApiVersionDeploymentView $mcpServerView)
{
$this->mcpServerView = $mcpServerView;
}
/**
* @return GoogleCloudApihubV1FlattenedApiVersionDeploymentView
*/
public function getMcpServerView()
{
return $this->mcpServerView;
}
/**
* MCP tools view.
*
* @param GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView $mcpToolView
*/
public function setMcpToolView(GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView $mcpToolView)
{
$this->mcpToolView = $mcpToolView;
}
/**
* @return GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView
*/
public function getMcpToolView()
{
return $this->mcpToolView;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ApiView::class, 'Google_Service_APIhub_GoogleCloudApihubV1ApiView');
@@ -0,0 +1,46 @@
<?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 GoogleCloudApihubV1ApigeeEdgeConfig extends \Google\Model
{
protected $environmentFilterType = GoogleCloudApihubV1EnvironmentFilter::class;
protected $environmentFilterDataType = '';
/**
* Optional. The filter to apply on the resources managed by the gateway
* plugin instance. If provided this filter applies environment specific
* filtering.
*
* @param GoogleCloudApihubV1EnvironmentFilter $environmentFilter
*/
public function setEnvironmentFilter(GoogleCloudApihubV1EnvironmentFilter $environmentFilter)
{
$this->environmentFilter = $environmentFilter;
}
/**
* @return GoogleCloudApihubV1EnvironmentFilter
*/
public function getEnvironmentFilter()
{
return $this->environmentFilter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ApigeeEdgeConfig::class, 'Google_Service_APIhub_GoogleCloudApihubV1ApigeeEdgeConfig');
@@ -0,0 +1,46 @@
<?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 GoogleCloudApihubV1ApigeeOPDKConfig extends \Google\Model
{
protected $environmentFilterType = GoogleCloudApihubV1EnvironmentFilter::class;
protected $environmentFilterDataType = '';
/**
* Optional. The filter to apply on the resources managed by the gateway
* plugin instance. If provided this filter applies environment specific
* filtering.
*
* @param GoogleCloudApihubV1EnvironmentFilter $environmentFilter
*/
public function setEnvironmentFilter(GoogleCloudApihubV1EnvironmentFilter $environmentFilter)
{
$this->environmentFilter = $environmentFilter;
}
/**
* @return GoogleCloudApihubV1EnvironmentFilter
*/
public function getEnvironmentFilter()
{
return $this->environmentFilter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ApigeeOPDKConfig::class, 'Google_Service_APIhub_GoogleCloudApihubV1ApigeeOPDKConfig');
@@ -0,0 +1,46 @@
<?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 GoogleCloudApihubV1ApigeeXHybridConfig extends \Google\Model
{
protected $environmentFilterType = GoogleCloudApihubV1EnvironmentFilter::class;
protected $environmentFilterDataType = '';
/**
* Optional. The filter to apply on the resources managed by the gateway
* plugin instance. If provided this filter applies environment specific
* filtering.
*
* @param GoogleCloudApihubV1EnvironmentFilter $environmentFilter
*/
public function setEnvironmentFilter(GoogleCloudApihubV1EnvironmentFilter $environmentFilter)
{
$this->environmentFilter = $environmentFilter;
}
/**
* @return GoogleCloudApihubV1EnvironmentFilter
*/
public function getEnvironmentFilter()
{
return $this->environmentFilter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ApigeeXHybridConfig::class, 'Google_Service_APIhub_GoogleCloudApihubV1ApigeeXHybridConfig');
@@ -0,0 +1,78 @@
<?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 GoogleCloudApihubV1ApplicationIntegrationEndpointDetails extends \Google\Model
{
/**
* Required. The API trigger ID of the Application Integration workflow.
*
* @var string
*/
public $triggerId;
/**
* Required. The endpoint URI should be a valid REST URI for triggering an
* Application Integration. Format: `https://integrations.googleapis.com/v1/{n
* ame=projects/locations/integrations}:execute` or `https://{location}-
* integrations.googleapis.com/v1/{name=projects/locations/integrations}:execu
* te`
*
* @var string
*/
public $uri;
/**
* Required. The API trigger ID of the Application Integration workflow.
*
* @param string $triggerId
*/
public function setTriggerId($triggerId)
{
$this->triggerId = $triggerId;
}
/**
* @return string
*/
public function getTriggerId()
{
return $this->triggerId;
}
/**
* Required. The endpoint URI should be a valid REST URI for triggering an
* Application Integration. Format: `https://integrations.googleapis.com/v1/{n
* ame=projects/locations/integrations}:execute` or `https://{location}-
* integrations.googleapis.com/v1/{name=projects/locations/integrations}:execu
* te`
*
* @param string $uri
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ApplicationIntegrationEndpointDetails::class, 'Google_Service_APIhub_GoogleCloudApihubV1ApplicationIntegrationEndpointDetails');
@@ -0,0 +1,363 @@
<?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 GoogleCloudApihubV1Attribute extends \Google\Collection
{
/**
* Attribute data type unspecified.
*/
public const DATA_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
/**
* Attribute's value is of type enum.
*/
public const DATA_TYPE_ENUM = 'ENUM';
/**
* Attribute's value is of type json.
*/
public const DATA_TYPE_JSON = 'JSON';
/**
* Attribute's value is of type string.
*/
public const DATA_TYPE_STRING = 'STRING';
/**
* Attribute's value is of type uri.
*/
public const DATA_TYPE_URI = 'URI';
/**
* Attribute definition type unspecified.
*/
public const DEFINITION_TYPE_DEFINITION_TYPE_UNSPECIFIED = 'DEFINITION_TYPE_UNSPECIFIED';
/**
* The attribute is predefined by the API Hub. Note that only the list of
* allowed values can be updated in this case via UpdateAttribute method.
*/
public const DEFINITION_TYPE_SYSTEM_DEFINED = 'SYSTEM_DEFINED';
/**
* The attribute is defined by the user.
*/
public const DEFINITION_TYPE_USER_DEFINED = 'USER_DEFINED';
/**
* Scope Unspecified.
*/
public const SCOPE_SCOPE_UNSPECIFIED = 'SCOPE_UNSPECIFIED';
/**
* Attribute can be linked to an API.
*/
public const SCOPE_API = 'API';
/**
* Attribute can be linked to an API version.
*/
public const SCOPE_VERSION = 'VERSION';
/**
* Attribute can be linked to a Spec.
*/
public const SCOPE_SPEC = 'SPEC';
/**
* Attribute can be linked to an API Operation.
*/
public const SCOPE_API_OPERATION = 'API_OPERATION';
/**
* Attribute can be linked to a Deployment.
*/
public const SCOPE_DEPLOYMENT = 'DEPLOYMENT';
/**
* Attribute can be linked to a Dependency.
*/
public const SCOPE_DEPENDENCY = 'DEPENDENCY';
/**
* Attribute can be linked to a definition.
*/
public const SCOPE_DEFINITION = 'DEFINITION';
/**
* Attribute can be linked to a ExternalAPI.
*/
public const SCOPE_EXTERNAL_API = 'EXTERNAL_API';
/**
* Attribute can be linked to a Plugin.
*/
public const SCOPE_PLUGIN = 'PLUGIN';
protected $collection_key = 'allowedValues';
protected $allowedValuesType = GoogleCloudApihubV1AllowedValue::class;
protected $allowedValuesDataType = 'array';
/**
* Optional. The maximum number of values that the attribute can have when
* associated with an API Hub resource. Cardinality 1 would represent a
* single-valued attribute. It must not be less than 1 or greater than 20. If
* not specified, the cardinality would be set to 1 by default and represent a
* single-valued attribute.
*
* @var int
*/
public $cardinality;
/**
* Output only. The time at which the attribute was created.
*
* @var string
*/
public $createTime;
/**
* Required. The type of the data of the attribute.
*
* @var string
*/
public $dataType;
/**
* Output only. The definition type of the attribute.
*
* @var string
*/
public $definitionType;
/**
* Optional. The description of the attribute.
*
* @var string
*/
public $description;
/**
* Required. The display name of the attribute.
*
* @var string
*/
public $displayName;
/**
* Output only. When mandatory is true, the attribute is mandatory for the
* resource specified in the scope. Only System defined attributes can be
* mandatory.
*
* @var bool
*/
public $mandatory;
/**
* Identifier. The name of the attribute in the API Hub. Format:
* `projects/{project}/locations/{location}/attributes/{attribute}`
*
* @var string
*/
public $name;
/**
* Required. The scope of the attribute. It represents the resource in the API
* Hub to which the attribute can be linked.
*
* @var string
*/
public $scope;
/**
* Output only. The time at which the attribute was last updated.
*
* @var string
*/
public $updateTime;
/**
* Optional. The list of allowed values when the attribute value is of type
* enum. This is required when the data_type of the attribute is ENUM. The
* maximum number of allowed values of an attribute will be 1000.
*
* @param GoogleCloudApihubV1AllowedValue[] $allowedValues
*/
public function setAllowedValues($allowedValues)
{
$this->allowedValues = $allowedValues;
}
/**
* @return GoogleCloudApihubV1AllowedValue[]
*/
public function getAllowedValues()
{
return $this->allowedValues;
}
/**
* Optional. The maximum number of values that the attribute can have when
* associated with an API Hub resource. Cardinality 1 would represent a
* single-valued attribute. It must not be less than 1 or greater than 20. If
* not specified, the cardinality would be set to 1 by default and represent a
* single-valued attribute.
*
* @param int $cardinality
*/
public function setCardinality($cardinality)
{
$this->cardinality = $cardinality;
}
/**
* @return int
*/
public function getCardinality()
{
return $this->cardinality;
}
/**
* Output only. The time at which the attribute was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Required. The type of the data of the attribute.
*
* Accepted values: DATA_TYPE_UNSPECIFIED, ENUM, JSON, STRING, URI
*
* @param self::DATA_TYPE_* $dataType
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return self::DATA_TYPE_*
*/
public function getDataType()
{
return $this->dataType;
}
/**
* Output only. The definition type of the attribute.
*
* Accepted values: DEFINITION_TYPE_UNSPECIFIED, SYSTEM_DEFINED, USER_DEFINED
*
* @param self::DEFINITION_TYPE_* $definitionType
*/
public function setDefinitionType($definitionType)
{
$this->definitionType = $definitionType;
}
/**
* @return self::DEFINITION_TYPE_*
*/
public function getDefinitionType()
{
return $this->definitionType;
}
/**
* Optional. The description of the attribute.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. The display name of the attribute.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. When mandatory is true, the attribute is mandatory for the
* resource specified in the scope. Only System defined attributes can be
* mandatory.
*
* @param bool $mandatory
*/
public function setMandatory($mandatory)
{
$this->mandatory = $mandatory;
}
/**
* @return bool
*/
public function getMandatory()
{
return $this->mandatory;
}
/**
* Identifier. The name of the attribute in the API Hub. Format:
* `projects/{project}/locations/{location}/attributes/{attribute}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. The scope of the attribute. It represents the resource in the API
* Hub to which the attribute can be linked.
*
* Accepted values: SCOPE_UNSPECIFIED, API, VERSION, SPEC, API_OPERATION,
* DEPLOYMENT, DEPENDENCY, DEFINITION, EXTERNAL_API, PLUGIN
*
* @param self::SCOPE_* $scope
*/
public function setScope($scope)
{
$this->scope = $scope;
}
/**
* @return self::SCOPE_*
*/
public function getScope()
{
return $this->scope;
}
/**
* Output only. The time at which the attribute 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(GoogleCloudApihubV1Attribute::class, 'Google_Service_APIhub_GoogleCloudApihubV1Attribute');
@@ -0,0 +1,126 @@
<?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 GoogleCloudApihubV1AttributeValues extends \Google\Model
{
/**
* Output only. The name of the attribute. Format:
* projects/{project}/locations/{location}/attributes/{attribute}
*
* @var string
*/
public $attribute;
protected $enumValuesType = GoogleCloudApihubV1EnumAttributeValues::class;
protected $enumValuesDataType = '';
protected $jsonValuesType = GoogleCloudApihubV1StringAttributeValues::class;
protected $jsonValuesDataType = '';
protected $stringValuesType = GoogleCloudApihubV1StringAttributeValues::class;
protected $stringValuesDataType = '';
protected $uriValuesType = GoogleCloudApihubV1StringAttributeValues::class;
protected $uriValuesDataType = '';
/**
* Output only. The name of the attribute. Format:
* projects/{project}/locations/{location}/attributes/{attribute}
*
* @param string $attribute
*/
public function setAttribute($attribute)
{
$this->attribute = $attribute;
}
/**
* @return string
*/
public function getAttribute()
{
return $this->attribute;
}
/**
* The attribute values associated with a resource in case attribute data type
* is enum.
*
* @param GoogleCloudApihubV1EnumAttributeValues $enumValues
*/
public function setEnumValues(GoogleCloudApihubV1EnumAttributeValues $enumValues)
{
$this->enumValues = $enumValues;
}
/**
* @return GoogleCloudApihubV1EnumAttributeValues
*/
public function getEnumValues()
{
return $this->enumValues;
}
/**
* The attribute values associated with a resource in case attribute data type
* is JSON.
*
* @param GoogleCloudApihubV1StringAttributeValues $jsonValues
*/
public function setJsonValues(GoogleCloudApihubV1StringAttributeValues $jsonValues)
{
$this->jsonValues = $jsonValues;
}
/**
* @return GoogleCloudApihubV1StringAttributeValues
*/
public function getJsonValues()
{
return $this->jsonValues;
}
/**
* The attribute values associated with a resource in case attribute data type
* is string.
*
* @param GoogleCloudApihubV1StringAttributeValues $stringValues
*/
public function setStringValues(GoogleCloudApihubV1StringAttributeValues $stringValues)
{
$this->stringValues = $stringValues;
}
/**
* @return GoogleCloudApihubV1StringAttributeValues
*/
public function getStringValues()
{
return $this->stringValues;
}
/**
* The attribute values associated with a resource in case attribute data type
* is URL, URI or IP, like gs://bucket-name/object-name.
*
* @param GoogleCloudApihubV1StringAttributeValues $uriValues
*/
public function setUriValues(GoogleCloudApihubV1StringAttributeValues $uriValues)
{
$this->uriValues = $uriValues;
}
/**
* @return GoogleCloudApihubV1StringAttributeValues
*/
public function getUriValues()
{
return $this->uriValues;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1AttributeValues::class, 'Google_Service_APIhub_GoogleCloudApihubV1AttributeValues');
@@ -0,0 +1,147 @@
<?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 GoogleCloudApihubV1AuthConfig extends \Google\Model
{
/**
* Authentication type not specified.
*/
public const AUTH_TYPE_AUTH_TYPE_UNSPECIFIED = 'AUTH_TYPE_UNSPECIFIED';
/**
* No authentication.
*/
public const AUTH_TYPE_NO_AUTH = 'NO_AUTH';
/**
* Google service account authentication.
*/
public const AUTH_TYPE_GOOGLE_SERVICE_ACCOUNT = 'GOOGLE_SERVICE_ACCOUNT';
/**
* Username and password authentication.
*/
public const AUTH_TYPE_USER_PASSWORD = 'USER_PASSWORD';
/**
* API Key authentication.
*/
public const AUTH_TYPE_API_KEY = 'API_KEY';
/**
* Oauth 2.0 client credentials grant authentication.
*/
public const AUTH_TYPE_OAUTH2_CLIENT_CREDENTIALS = 'OAUTH2_CLIENT_CREDENTIALS';
protected $apiKeyConfigType = GoogleCloudApihubV1ApiKeyConfig::class;
protected $apiKeyConfigDataType = '';
/**
* Required. The authentication type.
*
* @var string
*/
public $authType;
protected $googleServiceAccountConfigType = GoogleCloudApihubV1GoogleServiceAccountConfig::class;
protected $googleServiceAccountConfigDataType = '';
protected $oauth2ClientCredentialsConfigType = GoogleCloudApihubV1Oauth2ClientCredentialsConfig::class;
protected $oauth2ClientCredentialsConfigDataType = '';
protected $userPasswordConfigType = GoogleCloudApihubV1UserPasswordConfig::class;
protected $userPasswordConfigDataType = '';
/**
* Api Key Config.
*
* @param GoogleCloudApihubV1ApiKeyConfig $apiKeyConfig
*/
public function setApiKeyConfig(GoogleCloudApihubV1ApiKeyConfig $apiKeyConfig)
{
$this->apiKeyConfig = $apiKeyConfig;
}
/**
* @return GoogleCloudApihubV1ApiKeyConfig
*/
public function getApiKeyConfig()
{
return $this->apiKeyConfig;
}
/**
* Required. The authentication type.
*
* Accepted values: AUTH_TYPE_UNSPECIFIED, NO_AUTH, GOOGLE_SERVICE_ACCOUNT,
* USER_PASSWORD, API_KEY, OAUTH2_CLIENT_CREDENTIALS
*
* @param self::AUTH_TYPE_* $authType
*/
public function setAuthType($authType)
{
$this->authType = $authType;
}
/**
* @return self::AUTH_TYPE_*
*/
public function getAuthType()
{
return $this->authType;
}
/**
* Google Service Account.
*
* @param GoogleCloudApihubV1GoogleServiceAccountConfig $googleServiceAccountConfig
*/
public function setGoogleServiceAccountConfig(GoogleCloudApihubV1GoogleServiceAccountConfig $googleServiceAccountConfig)
{
$this->googleServiceAccountConfig = $googleServiceAccountConfig;
}
/**
* @return GoogleCloudApihubV1GoogleServiceAccountConfig
*/
public function getGoogleServiceAccountConfig()
{
return $this->googleServiceAccountConfig;
}
/**
* Oauth2.0 Client Credentials.
*
* @param GoogleCloudApihubV1Oauth2ClientCredentialsConfig $oauth2ClientCredentialsConfig
*/
public function setOauth2ClientCredentialsConfig(GoogleCloudApihubV1Oauth2ClientCredentialsConfig $oauth2ClientCredentialsConfig)
{
$this->oauth2ClientCredentialsConfig = $oauth2ClientCredentialsConfig;
}
/**
* @return GoogleCloudApihubV1Oauth2ClientCredentialsConfig
*/
public function getOauth2ClientCredentialsConfig()
{
return $this->oauth2ClientCredentialsConfig;
}
/**
* User Password.
*
* @param GoogleCloudApihubV1UserPasswordConfig $userPasswordConfig
*/
public function setUserPasswordConfig(GoogleCloudApihubV1UserPasswordConfig $userPasswordConfig)
{
$this->userPasswordConfig = $userPasswordConfig;
}
/**
* @return GoogleCloudApihubV1UserPasswordConfig
*/
public function getUserPasswordConfig()
{
return $this->userPasswordConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1AuthConfig::class, 'Google_Service_APIhub_GoogleCloudApihubV1AuthConfig');
@@ -0,0 +1,75 @@
<?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 GoogleCloudApihubV1AuthConfigTemplate extends \Google\Collection
{
protected $collection_key = 'supportedAuthTypes';
protected $serviceAccountType = GoogleCloudApihubV1GoogleServiceAccountConfig::class;
protected $serviceAccountDataType = '';
/**
* Required. The list of authentication types supported by the plugin.
*
* @var string[]
*/
public $supportedAuthTypes;
/**
* Optional. The service account of the plugin hosting service. This service
* account should be granted the required permissions on the Auth Config
* parameters provided while creating the plugin instances corresponding to
* this plugin. For example, if the plugin instance auth config requires a
* secret manager secret, the service account should be granted the
* secretmanager.versions.access permission on the corresponding secret, if
* the plugin instance auth config contains a service account, the service
* account should be granted the iam.serviceAccounts.getAccessToken permission
* on the corresponding service account.
*
* @param GoogleCloudApihubV1GoogleServiceAccountConfig $serviceAccount
*/
public function setServiceAccount(GoogleCloudApihubV1GoogleServiceAccountConfig $serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return GoogleCloudApihubV1GoogleServiceAccountConfig
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* Required. The list of authentication types supported by the plugin.
*
* @param string[] $supportedAuthTypes
*/
public function setSupportedAuthTypes($supportedAuthTypes)
{
$this->supportedAuthTypes = $supportedAuthTypes;
}
/**
* @return string[]
*/
public function getSupportedAuthTypes()
{
return $this->supportedAuthTypes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1AuthConfigTemplate::class, 'Google_Service_APIhub_GoogleCloudApihubV1AuthConfigTemplate');
@@ -0,0 +1,131 @@
<?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 GoogleCloudApihubV1CollectApiDataRequest extends \Google\Model
{
/**
* The default value. This value is used if the collection type is omitted.
*/
public const COLLECTION_TYPE_COLLECTION_TYPE_UNSPECIFIED = 'COLLECTION_TYPE_UNSPECIFIED';
/**
* The collection type is upsert. This should be used when an API is created
* or updated at the source.
*/
public const COLLECTION_TYPE_COLLECTION_TYPE_UPSERT = 'COLLECTION_TYPE_UPSERT';
/**
* The collection type is delete. This should be used when an API is deleted
* at the source.
*/
public const COLLECTION_TYPE_COLLECTION_TYPE_DELETE = 'COLLECTION_TYPE_DELETE';
/**
* Required. The action ID to be used for collecting the API data. This should
* map to one of the action IDs specified in action configs in the plugin.
*
* @var string
*/
public $actionId;
protected $apiDataType = GoogleCloudApihubV1ApiData::class;
protected $apiDataDataType = '';
/**
* Required. The type of collection. Applies to all entries in api_data.
*
* @var string
*/
public $collectionType;
/**
* Required. The plugin instance collecting the API data. Format: `projects/{p
* roject}/locations/{location}/plugins/{plugin}/instances/{instance}`.
*
* @var string
*/
public $pluginInstance;
/**
* Required. The action ID to be used for collecting the API data. This should
* map to one of the action IDs specified in action configs in the plugin.
*
* @param string $actionId
*/
public function setActionId($actionId)
{
$this->actionId = $actionId;
}
/**
* @return string
*/
public function getActionId()
{
return $this->actionId;
}
/**
* Required. The API data to be collected.
*
* @param GoogleCloudApihubV1ApiData $apiData
*/
public function setApiData(GoogleCloudApihubV1ApiData $apiData)
{
$this->apiData = $apiData;
}
/**
* @return GoogleCloudApihubV1ApiData
*/
public function getApiData()
{
return $this->apiData;
}
/**
* Required. The type of collection. Applies to all entries in api_data.
*
* Accepted values: COLLECTION_TYPE_UNSPECIFIED, COLLECTION_TYPE_UPSERT,
* COLLECTION_TYPE_DELETE
*
* @param self::COLLECTION_TYPE_* $collectionType
*/
public function setCollectionType($collectionType)
{
$this->collectionType = $collectionType;
}
/**
* @return self::COLLECTION_TYPE_*
*/
public function getCollectionType()
{
return $this->collectionType;
}
/**
* Required. The plugin instance collecting the API data. Format: `projects/{p
* roject}/locations/{location}/plugins/{plugin}/instances/{instance}`.
*
* @param string $pluginInstance
*/
public function setPluginInstance($pluginInstance)
{
$this->pluginInstance = $pluginInstance;
}
/**
* @return string
*/
public function getPluginInstance()
{
return $this->pluginInstance;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1CollectApiDataRequest::class, 'Google_Service_APIhub_GoogleCloudApihubV1CollectApiDataRequest');
@@ -0,0 +1,163 @@
<?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 GoogleCloudApihubV1Config extends \Google\Model
{
/**
* Encryption type unspecified.
*/
public const ENCRYPTION_TYPE_ENCRYPTION_TYPE_UNSPECIFIED = 'ENCRYPTION_TYPE_UNSPECIFIED';
/**
* Default encryption using Google managed encryption key.
*/
public const ENCRYPTION_TYPE_GMEK = 'GMEK';
/**
* Encryption using customer managed encryption key.
*/
public const ENCRYPTION_TYPE_CMEK = 'CMEK';
protected $agentRegistrySyncConfigType = GoogleCloudApihubV1AgentRegistrySyncConfig::class;
protected $agentRegistrySyncConfigDataType = '';
/**
* Optional. The Customer Managed Encryption Key (CMEK) used for data
* encryption. The CMEK name should follow the format of
* `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`,
* where the location must match the instance location. If the CMEK is not
* provided, a GMEK will be created for the instance.
*
* @var string
*/
public $cmekKeyName;
/**
* Optional. If true, the search will be disabled for the instance. The
* default value is false.
*
* @var bool
*/
public $disableSearch;
/**
* Optional. Encryption type for the region. If the encryption type is CMEK,
* the cmek_key_name must be provided. If no encryption type is provided, GMEK
* will be used.
*
* @var string
*/
public $encryptionType;
/**
* Optional. The name of the Vertex AI location where the data store is
* stored.
*
* @var string
*/
public $vertexLocation;
/**
* Optional. The configuration for syncing MCP data in the API Hub instance to
* the Agent Registry.
*
* @param GoogleCloudApihubV1AgentRegistrySyncConfig $agentRegistrySyncConfig
*/
public function setAgentRegistrySyncConfig(GoogleCloudApihubV1AgentRegistrySyncConfig $agentRegistrySyncConfig)
{
$this->agentRegistrySyncConfig = $agentRegistrySyncConfig;
}
/**
* @return GoogleCloudApihubV1AgentRegistrySyncConfig
*/
public function getAgentRegistrySyncConfig()
{
return $this->agentRegistrySyncConfig;
}
/**
* Optional. The Customer Managed Encryption Key (CMEK) used for data
* encryption. The CMEK name should follow the format of
* `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`,
* where the location must match the instance location. If the CMEK is not
* provided, a GMEK will be created for the instance.
*
* @param string $cmekKeyName
*/
public function setCmekKeyName($cmekKeyName)
{
$this->cmekKeyName = $cmekKeyName;
}
/**
* @return string
*/
public function getCmekKeyName()
{
return $this->cmekKeyName;
}
/**
* Optional. If true, the search will be disabled for the instance. The
* default value is false.
*
* @param bool $disableSearch
*/
public function setDisableSearch($disableSearch)
{
$this->disableSearch = $disableSearch;
}
/**
* @return bool
*/
public function getDisableSearch()
{
return $this->disableSearch;
}
/**
* Optional. Encryption type for the region. If the encryption type is CMEK,
* the cmek_key_name must be provided. If no encryption type is provided, GMEK
* will be used.
*
* Accepted values: ENCRYPTION_TYPE_UNSPECIFIED, GMEK, CMEK
*
* @param self::ENCRYPTION_TYPE_* $encryptionType
*/
public function setEncryptionType($encryptionType)
{
$this->encryptionType = $encryptionType;
}
/**
* @return self::ENCRYPTION_TYPE_*
*/
public function getEncryptionType()
{
return $this->encryptionType;
}
/**
* Optional. The name of the Vertex AI location where the data store is
* stored.
*
* @param string $vertexLocation
*/
public function setVertexLocation($vertexLocation)
{
$this->vertexLocation = $vertexLocation;
}
/**
* @return string
*/
public function getVertexLocation()
{
return $this->vertexLocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1Config::class, 'Google_Service_APIhub_GoogleCloudApihubV1Config');
@@ -0,0 +1,64 @@
<?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 GoogleCloudApihubV1ConfigTemplate extends \Google\Collection
{
protected $collection_key = 'additionalConfigTemplate';
protected $additionalConfigTemplateType = GoogleCloudApihubV1ConfigVariableTemplate::class;
protected $additionalConfigTemplateDataType = 'array';
protected $authConfigTemplateType = GoogleCloudApihubV1AuthConfigTemplate::class;
protected $authConfigTemplateDataType = '';
/**
* Optional. The list of additional configuration variables for the plugin's
* configuration.
*
* @param GoogleCloudApihubV1ConfigVariableTemplate[] $additionalConfigTemplate
*/
public function setAdditionalConfigTemplate($additionalConfigTemplate)
{
$this->additionalConfigTemplate = $additionalConfigTemplate;
}
/**
* @return GoogleCloudApihubV1ConfigVariableTemplate[]
*/
public function getAdditionalConfigTemplate()
{
return $this->additionalConfigTemplate;
}
/**
* Optional. The authentication template for the plugin.
*
* @param GoogleCloudApihubV1AuthConfigTemplate $authConfigTemplate
*/
public function setAuthConfigTemplate(GoogleCloudApihubV1AuthConfigTemplate $authConfigTemplate)
{
$this->authConfigTemplate = $authConfigTemplate;
}
/**
* @return GoogleCloudApihubV1AuthConfigTemplate
*/
public function getAuthConfigTemplate()
{
return $this->authConfigTemplate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ConfigTemplate::class, 'Google_Service_APIhub_GoogleCloudApihubV1ConfigTemplate');
@@ -0,0 +1,92 @@
<?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 GoogleCloudApihubV1ConfigValueOption extends \Google\Model
{
/**
* Optional. Description of the option.
*
* @var string
*/
public $description;
/**
* Required. Display name of the option.
*
* @var string
*/
public $displayName;
/**
* Required. Id of the option.
*
* @var string
*/
public $id;
/**
* Optional. Description of the option.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. Display name of the option.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Required. Id of the option.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ConfigValueOption::class, 'Google_Service_APIhub_GoogleCloudApihubV1ConfigValueOption');
@@ -0,0 +1,215 @@
<?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 GoogleCloudApihubV1ConfigVariable extends \Google\Model
{
/**
* Optional. The config variable value in case of config variable of type
* boolean.
*
* @var bool
*/
public $boolValue;
protected $enumValueType = GoogleCloudApihubV1ConfigValueOption::class;
protected $enumValueDataType = '';
/**
* Optional. The config variable value in case of config variable of type
* integer.
*
* @var string
*/
public $intValue;
/**
* Output only. Key will be the id to uniquely identify the config variable.
*
* @var string
*/
public $key;
protected $multiIntValuesType = GoogleCloudApihubV1MultiIntValues::class;
protected $multiIntValuesDataType = '';
protected $multiSelectValuesType = GoogleCloudApihubV1MultiSelectValues::class;
protected $multiSelectValuesDataType = '';
protected $multiStringValuesType = GoogleCloudApihubV1MultiStringValues::class;
protected $multiStringValuesDataType = '';
protected $secretValueType = GoogleCloudApihubV1Secret::class;
protected $secretValueDataType = '';
/**
* Optional. The config variable value in case of config variable of type
* string.
*
* @var string
*/
public $stringValue;
/**
* Optional. The config variable value in case of config variable of type
* boolean.
*
* @param bool $boolValue
*/
public function setBoolValue($boolValue)
{
$this->boolValue = $boolValue;
}
/**
* @return bool
*/
public function getBoolValue()
{
return $this->boolValue;
}
/**
* Optional. The config variable value in case of config variable of type
* enum.
*
* @param GoogleCloudApihubV1ConfigValueOption $enumValue
*/
public function setEnumValue(GoogleCloudApihubV1ConfigValueOption $enumValue)
{
$this->enumValue = $enumValue;
}
/**
* @return GoogleCloudApihubV1ConfigValueOption
*/
public function getEnumValue()
{
return $this->enumValue;
}
/**
* Optional. The config variable value in case of config variable of type
* integer.
*
* @param string $intValue
*/
public function setIntValue($intValue)
{
$this->intValue = $intValue;
}
/**
* @return string
*/
public function getIntValue()
{
return $this->intValue;
}
/**
* Output only. Key will be the id to uniquely identify the config variable.
*
* @param string $key
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* Optional. The config variable value in case of config variable of type
* multi integer.
*
* @param GoogleCloudApihubV1MultiIntValues $multiIntValues
*/
public function setMultiIntValues(GoogleCloudApihubV1MultiIntValues $multiIntValues)
{
$this->multiIntValues = $multiIntValues;
}
/**
* @return GoogleCloudApihubV1MultiIntValues
*/
public function getMultiIntValues()
{
return $this->multiIntValues;
}
/**
* Optional. The config variable value in case of config variable of type
* multi select.
*
* @param GoogleCloudApihubV1MultiSelectValues $multiSelectValues
*/
public function setMultiSelectValues(GoogleCloudApihubV1MultiSelectValues $multiSelectValues)
{
$this->multiSelectValues = $multiSelectValues;
}
/**
* @return GoogleCloudApihubV1MultiSelectValues
*/
public function getMultiSelectValues()
{
return $this->multiSelectValues;
}
/**
* Optional. The config variable value in case of config variable of type
* multi string.
*
* @param GoogleCloudApihubV1MultiStringValues $multiStringValues
*/
public function setMultiStringValues(GoogleCloudApihubV1MultiStringValues $multiStringValues)
{
$this->multiStringValues = $multiStringValues;
}
/**
* @return GoogleCloudApihubV1MultiStringValues
*/
public function getMultiStringValues()
{
return $this->multiStringValues;
}
/**
* Optional. The config variable value in case of config variable of type
* secret.
*
* @param GoogleCloudApihubV1Secret $secretValue
*/
public function setSecretValue(GoogleCloudApihubV1Secret $secretValue)
{
$this->secretValue = $secretValue;
}
/**
* @return GoogleCloudApihubV1Secret
*/
public function getSecretValue()
{
return $this->secretValue;
}
/**
* Optional. The config variable value in case of config variable of type
* string.
*
* @param string $stringValue
*/
public function setStringValue($stringValue)
{
$this->stringValue = $stringValue;
}
/**
* @return string
*/
public function getStringValue()
{
return $this->stringValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ConfigVariable::class, 'Google_Service_APIhub_GoogleCloudApihubV1ConfigVariable');
@@ -0,0 +1,219 @@
<?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 GoogleCloudApihubV1ConfigVariableTemplate extends \Google\Collection
{
/**
* Value type is not specified.
*/
public const VALUE_TYPE_VALUE_TYPE_UNSPECIFIED = 'VALUE_TYPE_UNSPECIFIED';
/**
* Value type is string.
*/
public const VALUE_TYPE_STRING = 'STRING';
/**
* Value type is integer.
*/
public const VALUE_TYPE_INT = 'INT';
/**
* Value type is boolean.
*/
public const VALUE_TYPE_BOOL = 'BOOL';
/**
* Value type is secret.
*/
public const VALUE_TYPE_SECRET = 'SECRET';
/**
* Value type is enum.
*/
public const VALUE_TYPE_ENUM = 'ENUM';
/**
* Value type is multi select.
*/
public const VALUE_TYPE_MULTI_SELECT = 'MULTI_SELECT';
/**
* Value type is multi string.
*/
public const VALUE_TYPE_MULTI_STRING = 'MULTI_STRING';
/**
* Value type is multi int.
*/
public const VALUE_TYPE_MULTI_INT = 'MULTI_INT';
protected $collection_key = 'multiSelectOptions';
/**
* Optional. Description.
*
* @var string
*/
public $description;
protected $enumOptionsType = GoogleCloudApihubV1ConfigValueOption::class;
protected $enumOptionsDataType = 'array';
/**
* Required. ID of the config variable. Must be unique within the
* configuration.
*
* @var string
*/
public $id;
protected $multiSelectOptionsType = GoogleCloudApihubV1ConfigValueOption::class;
protected $multiSelectOptionsDataType = 'array';
/**
* Optional. Flag represents that this `ConfigVariable` must be provided for a
* PluginInstance.
*
* @var bool
*/
public $required;
/**
* Optional. Regular expression in RE2 syntax used for validating the `value`
* of a `ConfigVariable`.
*
* @var string
*/
public $validationRegex;
/**
* Required. Type of the parameter: string, int, bool etc.
*
* @var string
*/
public $valueType;
/**
* Optional. Description.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Optional. Enum options. To be populated if `ValueType` is `ENUM`.
*
* @param GoogleCloudApihubV1ConfigValueOption[] $enumOptions
*/
public function setEnumOptions($enumOptions)
{
$this->enumOptions = $enumOptions;
}
/**
* @return GoogleCloudApihubV1ConfigValueOption[]
*/
public function getEnumOptions()
{
return $this->enumOptions;
}
/**
* Required. ID of the config variable. Must be unique within the
* configuration.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Optional. Multi select options. To be populated if `ValueType` is
* `MULTI_SELECT`.
*
* @param GoogleCloudApihubV1ConfigValueOption[] $multiSelectOptions
*/
public function setMultiSelectOptions($multiSelectOptions)
{
$this->multiSelectOptions = $multiSelectOptions;
}
/**
* @return GoogleCloudApihubV1ConfigValueOption[]
*/
public function getMultiSelectOptions()
{
return $this->multiSelectOptions;
}
/**
* Optional. Flag represents that this `ConfigVariable` must be provided for a
* PluginInstance.
*
* @param bool $required
*/
public function setRequired($required)
{
$this->required = $required;
}
/**
* @return bool
*/
public function getRequired()
{
return $this->required;
}
/**
* Optional. Regular expression in RE2 syntax used for validating the `value`
* of a `ConfigVariable`.
*
* @param string $validationRegex
*/
public function setValidationRegex($validationRegex)
{
$this->validationRegex = $validationRegex;
}
/**
* @return string
*/
public function getValidationRegex()
{
return $this->validationRegex;
}
/**
* Required. Type of the parameter: string, int, bool etc.
*
* Accepted values: VALUE_TYPE_UNSPECIFIED, STRING, INT, BOOL, SECRET, ENUM,
* MULTI_SELECT, MULTI_STRING, MULTI_INT
*
* @param self::VALUE_TYPE_* $valueType
*/
public function setValueType($valueType)
{
$this->valueType = $valueType;
}
/**
* @return self::VALUE_TYPE_*
*/
public function getValueType()
{
return $this->valueType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ConfigVariableTemplate::class, 'Google_Service_APIhub_GoogleCloudApihubV1ConfigVariableTemplate');
@@ -0,0 +1,275 @@
<?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 GoogleCloudApihubV1Curation extends \Google\Collection
{
/**
* Default unspecified error code.
*/
public const LAST_EXECUTION_ERROR_CODE_ERROR_CODE_UNSPECIFIED = 'ERROR_CODE_UNSPECIFIED';
/**
* The execution failed due to an internal error.
*/
public const LAST_EXECUTION_ERROR_CODE_INTERNAL_ERROR = 'INTERNAL_ERROR';
/**
* The curation is not authorized to trigger the endpoint uri.
*/
public const LAST_EXECUTION_ERROR_CODE_UNAUTHORIZED = 'UNAUTHORIZED';
/**
* Default unspecified state.
*/
public const LAST_EXECUTION_STATE_LAST_EXECUTION_STATE_UNSPECIFIED = 'LAST_EXECUTION_STATE_UNSPECIFIED';
/**
* The last curation execution was successful.
*/
public const LAST_EXECUTION_STATE_SUCCEEDED = 'SUCCEEDED';
/**
* The last curation execution failed.
*/
public const LAST_EXECUTION_STATE_FAILED = 'FAILED';
protected $collection_key = 'pluginInstanceActions';
/**
* Output only. The time at which the curation was created.
*
* @var string
*/
public $createTime;
/**
* Optional. The description of the curation.
*
* @var string
*/
public $description;
/**
* Required. The display name of the curation.
*
* @var string
*/
public $displayName;
protected $endpointType = GoogleCloudApihubV1Endpoint::class;
protected $endpointDataType = '';
/**
* Output only. The error code of the last execution of the curation. The
* error code is populated only when the last execution state is failed.
*
* @var string
*/
public $lastExecutionErrorCode;
/**
* Output only. Error message describing the failure, if any, during the last
* execution of the curation.
*
* @var string
*/
public $lastExecutionErrorMessage;
/**
* Output only. The last execution state of the curation.
*
* @var string
*/
public $lastExecutionState;
/**
* Identifier. The name of the curation. Format:
* `projects/{project}/locations/{location}/curations/{curation}`
*
* @var string
*/
public $name;
protected $pluginInstanceActionsType = GoogleCloudApihubV1PluginInstanceActionID::class;
protected $pluginInstanceActionsDataType = 'array';
/**
* Output only. The time at which the curation was last updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. The time at which the curation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. The description of the curation.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. The display name of the curation.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Required. The endpoint to be triggered for curation.
*
* @param GoogleCloudApihubV1Endpoint $endpoint
*/
public function setEndpoint(GoogleCloudApihubV1Endpoint $endpoint)
{
$this->endpoint = $endpoint;
}
/**
* @return GoogleCloudApihubV1Endpoint
*/
public function getEndpoint()
{
return $this->endpoint;
}
/**
* Output only. The error code of the last execution of the curation. The
* error code is populated only when the last execution state is failed.
*
* Accepted values: ERROR_CODE_UNSPECIFIED, INTERNAL_ERROR, UNAUTHORIZED
*
* @param self::LAST_EXECUTION_ERROR_CODE_* $lastExecutionErrorCode
*/
public function setLastExecutionErrorCode($lastExecutionErrorCode)
{
$this->lastExecutionErrorCode = $lastExecutionErrorCode;
}
/**
* @return self::LAST_EXECUTION_ERROR_CODE_*
*/
public function getLastExecutionErrorCode()
{
return $this->lastExecutionErrorCode;
}
/**
* Output only. Error message describing the failure, if any, during the last
* execution of the curation.
*
* @param string $lastExecutionErrorMessage
*/
public function setLastExecutionErrorMessage($lastExecutionErrorMessage)
{
$this->lastExecutionErrorMessage = $lastExecutionErrorMessage;
}
/**
* @return string
*/
public function getLastExecutionErrorMessage()
{
return $this->lastExecutionErrorMessage;
}
/**
* Output only. The last execution state of the curation.
*
* Accepted values: LAST_EXECUTION_STATE_UNSPECIFIED, SUCCEEDED, FAILED
*
* @param self::LAST_EXECUTION_STATE_* $lastExecutionState
*/
public function setLastExecutionState($lastExecutionState)
{
$this->lastExecutionState = $lastExecutionState;
}
/**
* @return self::LAST_EXECUTION_STATE_*
*/
public function getLastExecutionState()
{
return $this->lastExecutionState;
}
/**
* Identifier. The name of the curation. Format:
* `projects/{project}/locations/{location}/curations/{curation}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The plugin instances and associated actions that are using the
* curation. Note: A particular curation could be used by multiple plugin
* instances or multiple actions in a plugin instance.
*
* @param GoogleCloudApihubV1PluginInstanceActionID[] $pluginInstanceActions
*/
public function setPluginInstanceActions($pluginInstanceActions)
{
$this->pluginInstanceActions = $pluginInstanceActions;
}
/**
* @return GoogleCloudApihubV1PluginInstanceActionID[]
*/
public function getPluginInstanceActions()
{
return $this->pluginInstanceActions;
}
/**
* Output only. The time at which the curation 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(GoogleCloudApihubV1Curation::class, 'Google_Service_APIhub_GoogleCloudApihubV1Curation');
@@ -0,0 +1,81 @@
<?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 GoogleCloudApihubV1CurationConfig extends \Google\Model
{
/**
* Default unspecified curation type.
*/
public const CURATION_TYPE_CURATION_TYPE_UNSPECIFIED = 'CURATION_TYPE_UNSPECIFIED';
/**
* Default curation for API metadata will be used.
*/
public const CURATION_TYPE_DEFAULT_CURATION_FOR_API_METADATA = 'DEFAULT_CURATION_FOR_API_METADATA';
/**
* Custom curation for API metadata will be used.
*/
public const CURATION_TYPE_CUSTOM_CURATION_FOR_API_METADATA = 'CUSTOM_CURATION_FOR_API_METADATA';
/**
* Required. The curation type for this plugin instance.
*
* @var string
*/
public $curationType;
protected $customCurationType = GoogleCloudApihubV1CustomCuration::class;
protected $customCurationDataType = '';
/**
* Required. The curation type for this plugin instance.
*
* Accepted values: CURATION_TYPE_UNSPECIFIED,
* DEFAULT_CURATION_FOR_API_METADATA, CUSTOM_CURATION_FOR_API_METADATA
*
* @param self::CURATION_TYPE_* $curationType
*/
public function setCurationType($curationType)
{
$this->curationType = $curationType;
}
/**
* @return self::CURATION_TYPE_*
*/
public function getCurationType()
{
return $this->curationType;
}
/**
* Optional. Custom curation information for this plugin instance.
*
* @param GoogleCloudApihubV1CustomCuration $customCuration
*/
public function setCustomCuration(GoogleCloudApihubV1CustomCuration $customCuration)
{
$this->customCuration = $customCuration;
}
/**
* @return GoogleCloudApihubV1CustomCuration
*/
public function getCustomCuration()
{
return $this->customCuration;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1CurationConfig::class, 'Google_Service_APIhub_GoogleCloudApihubV1CurationConfig');
@@ -0,0 +1,52 @@
<?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 GoogleCloudApihubV1CustomCuration extends \Google\Model
{
/**
* Required. The unique name of the curation resource. This will be the name
* of the curation resource in the format:
* `projects/{project}/locations/{location}/curations/{curation}`
*
* @var string
*/
public $curation;
/**
* Required. The unique name of the curation resource. This will be the name
* of the curation resource in the format:
* `projects/{project}/locations/{location}/curations/{curation}`
*
* @param string $curation
*/
public function setCuration($curation)
{
$this->curation = $curation;
}
/**
* @return string
*/
public function getCuration()
{
return $this->curation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1CustomCuration::class, 'Google_Service_APIhub_GoogleCloudApihubV1CustomCuration');
@@ -0,0 +1,191 @@
<?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 GoogleCloudApihubV1Definition extends \Google\Model
{
/**
* Definition type unspecified.
*/
public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* Definition type schema.
*/
public const TYPE_SCHEMA = 'SCHEMA';
protected $attributesType = GoogleCloudApihubV1AttributeValues::class;
protected $attributesDataType = 'map';
/**
* Output only. The time at which the definition was created.
*
* @var string
*/
public $createTime;
/**
* Identifier. The name of the definition. Format: `projects/{project}/locatio
* ns/{location}/apis/{api}/versions/{version}/definitions/{definition}`
*
* @var string
*/
public $name;
protected $schemaType = GoogleCloudApihubV1Schema::class;
protected $schemaDataType = '';
/**
* Output only. The name of the spec from where the definition was parsed.
* Format is `projects/{project}/locations/{location}/apis/{api}/versions/{ver
* sion}/specs/{spec}`
*
* @var string
*/
public $spec;
/**
* Output only. The type of the definition.
*
* @var string
*/
public $type;
/**
* Output only. The time at which the definition was last updated.
*
* @var string
*/
public $updateTime;
/**
* Optional. The list of user defined attributes associated with the
* definition resource. The key is the attribute name. It will be of the
* format: `projects/{project}/locations/{location}/attributes/{attribute}`.
* The value is the attribute values associated with the resource.
*
* @param GoogleCloudApihubV1AttributeValues[] $attributes
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return GoogleCloudApihubV1AttributeValues[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* Output only. The time at which the definition was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Identifier. The name of the definition. Format: `projects/{project}/locatio
* ns/{location}/apis/{api}/versions/{version}/definitions/{definition}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The value of a schema definition.
*
* @param GoogleCloudApihubV1Schema $schema
*/
public function setSchema(GoogleCloudApihubV1Schema $schema)
{
$this->schema = $schema;
}
/**
* @return GoogleCloudApihubV1Schema
*/
public function getSchema()
{
return $this->schema;
}
/**
* Output only. The name of the spec from where the definition was parsed.
* Format is `projects/{project}/locations/{location}/apis/{api}/versions/{ver
* sion}/specs/{spec}`
*
* @param string $spec
*/
public function setSpec($spec)
{
$this->spec = $spec;
}
/**
* @return string
*/
public function getSpec()
{
return $this->spec;
}
/**
* Output only. The type of the definition.
*
* Accepted values: TYPE_UNSPECIFIED, SCHEMA
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* Output only. The time at which the definition 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(GoogleCloudApihubV1Definition::class, 'Google_Service_APIhub_GoogleCloudApihubV1Definition');
@@ -0,0 +1,262 @@
<?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 GoogleCloudApihubV1Dependency extends \Google\Model
{
/**
* Default value. This value is unused.
*/
public const DISCOVERY_MODE_DISCOVERY_MODE_UNSPECIFIED = 'DISCOVERY_MODE_UNSPECIFIED';
/**
* Manual mode of discovery when the dependency is defined by the user.
*/
public const DISCOVERY_MODE_MANUAL = 'MANUAL';
/**
* Default value. This value is unused.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Dependency will be in a proposed state when it is newly identified by the
* API hub on its own.
*/
public const STATE_PROPOSED = 'PROPOSED';
/**
* Dependency will be in a validated state when it is validated by the admin
* or manually created in the API hub.
*/
public const STATE_VALIDATED = 'VALIDATED';
protected $attributesType = GoogleCloudApihubV1AttributeValues::class;
protected $attributesDataType = 'map';
protected $consumerType = GoogleCloudApihubV1DependencyEntityReference::class;
protected $consumerDataType = '';
/**
* Output only. The time at which the dependency was created.
*
* @var string
*/
public $createTime;
/**
* Optional. Human readable description corresponding of the dependency.
*
* @var string
*/
public $description;
/**
* Output only. Discovery mode of the dependency.
*
* @var string
*/
public $discoveryMode;
protected $errorDetailType = GoogleCloudApihubV1DependencyErrorDetail::class;
protected $errorDetailDataType = '';
/**
* Identifier. The name of the dependency in the API Hub. Format:
* `projects/{project}/locations/{location}/dependencies/{dependency}`
*
* @var string
*/
public $name;
/**
* Output only. State of the dependency.
*
* @var string
*/
public $state;
protected $supplierType = GoogleCloudApihubV1DependencyEntityReference::class;
protected $supplierDataType = '';
/**
* Output only. The time at which the dependency was last updated.
*
* @var string
*/
public $updateTime;
/**
* Optional. The list of user defined attributes associated with the
* dependency resource. The key is the attribute name. It will be of the
* format: `projects/{project}/locations/{location}/attributes/{attribute}`.
* The value is the attribute values associated with the resource.
*
* @param GoogleCloudApihubV1AttributeValues[] $attributes
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return GoogleCloudApihubV1AttributeValues[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* Required. Immutable. The entity acting as the consumer in the dependency.
*
* @param GoogleCloudApihubV1DependencyEntityReference $consumer
*/
public function setConsumer(GoogleCloudApihubV1DependencyEntityReference $consumer)
{
$this->consumer = $consumer;
}
/**
* @return GoogleCloudApihubV1DependencyEntityReference
*/
public function getConsumer()
{
return $this->consumer;
}
/**
* Output only. The time at which the dependency was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. Human readable description corresponding of the dependency.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Output only. Discovery mode of the dependency.
*
* Accepted values: DISCOVERY_MODE_UNSPECIFIED, MANUAL
*
* @param self::DISCOVERY_MODE_* $discoveryMode
*/
public function setDiscoveryMode($discoveryMode)
{
$this->discoveryMode = $discoveryMode;
}
/**
* @return self::DISCOVERY_MODE_*
*/
public function getDiscoveryMode()
{
return $this->discoveryMode;
}
/**
* Output only. Error details of a dependency if the system has detected it
* internally.
*
* @param GoogleCloudApihubV1DependencyErrorDetail $errorDetail
*/
public function setErrorDetail(GoogleCloudApihubV1DependencyErrorDetail $errorDetail)
{
$this->errorDetail = $errorDetail;
}
/**
* @return GoogleCloudApihubV1DependencyErrorDetail
*/
public function getErrorDetail()
{
return $this->errorDetail;
}
/**
* Identifier. The name of the dependency in the API Hub. Format:
* `projects/{project}/locations/{location}/dependencies/{dependency}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. State of the dependency.
*
* Accepted values: STATE_UNSPECIFIED, PROPOSED, VALIDATED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Required. Immutable. The entity acting as the supplier in the dependency.
*
* @param GoogleCloudApihubV1DependencyEntityReference $supplier
*/
public function setSupplier(GoogleCloudApihubV1DependencyEntityReference $supplier)
{
$this->supplier = $supplier;
}
/**
* @return GoogleCloudApihubV1DependencyEntityReference
*/
public function getSupplier()
{
return $this->supplier;
}
/**
* Output only. The time at which the dependency 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(GoogleCloudApihubV1Dependency::class, 'Google_Service_APIhub_GoogleCloudApihubV1Dependency');
@@ -0,0 +1,98 @@
<?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 GoogleCloudApihubV1DependencyEntityReference extends \Google\Model
{
/**
* Output only. Display name of the entity.
*
* @var string
*/
public $displayName;
/**
* The resource name of an external API in the API Hub. Format:
* `projects/{project}/locations/{location}/externalApis/{external_api}`
*
* @var string
*/
public $externalApiResourceName;
/**
* The resource name of an operation in the API Hub. Format: `projects/{projec
* t}/locations/{location}/apis/{api}/versions/{version}/operations/{operation
* }`
*
* @var string
*/
public $operationResourceName;
/**
* Output only. Display name of the entity.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* The resource name of an external API in the API Hub. Format:
* `projects/{project}/locations/{location}/externalApis/{external_api}`
*
* @param string $externalApiResourceName
*/
public function setExternalApiResourceName($externalApiResourceName)
{
$this->externalApiResourceName = $externalApiResourceName;
}
/**
* @return string
*/
public function getExternalApiResourceName()
{
return $this->externalApiResourceName;
}
/**
* The resource name of an operation in the API Hub. Format: `projects/{projec
* t}/locations/{location}/apis/{api}/versions/{version}/operations/{operation
* }`
*
* @param string $operationResourceName
*/
public function setOperationResourceName($operationResourceName)
{
$this->operationResourceName = $operationResourceName;
}
/**
* @return string
*/
public function getOperationResourceName()
{
return $this->operationResourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1DependencyEntityReference::class, 'Google_Service_APIhub_GoogleCloudApihubV1DependencyEntityReference');
@@ -0,0 +1,84 @@
<?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 GoogleCloudApihubV1DependencyErrorDetail extends \Google\Model
{
/**
* Default value used for no error in the dependency.
*/
public const ERROR_ERROR_UNSPECIFIED = 'ERROR_UNSPECIFIED';
/**
* Supplier entity has been deleted.
*/
public const ERROR_SUPPLIER_NOT_FOUND = 'SUPPLIER_NOT_FOUND';
/**
* Supplier entity has been recreated.
*/
public const ERROR_SUPPLIER_RECREATED = 'SUPPLIER_RECREATED';
/**
* Optional. Error in the dependency.
*
* @var string
*/
public $error;
/**
* Optional. Timestamp at which the error was found.
*
* @var string
*/
public $errorTime;
/**
* Optional. Error in the dependency.
*
* Accepted values: ERROR_UNSPECIFIED, SUPPLIER_NOT_FOUND, SUPPLIER_RECREATED
*
* @param self::ERROR_* $error
*/
public function setError($error)
{
$this->error = $error;
}
/**
* @return self::ERROR_*
*/
public function getError()
{
return $this->error;
}
/**
* Optional. Timestamp at which the error was found.
*
* @param string $errorTime
*/
public function setErrorTime($errorTime)
{
$this->errorTime = $errorTime;
}
/**
* @return string
*/
public function getErrorTime()
{
return $this->errorTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1DependencyErrorDetail::class, 'Google_Service_APIhub_GoogleCloudApihubV1DependencyErrorDetail');
@@ -0,0 +1,448 @@
<?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 GoogleCloudApihubV1Deployment extends \Google\Collection
{
protected $collection_key = 'sourceMetadata';
/**
* Output only. The API versions linked to this deployment. Note: A particular
* deployment could be linked to multiple different API versions (of same or
* different APIs).
*
* @var string[]
*/
public $apiVersions;
protected $attributesType = GoogleCloudApihubV1AttributeValues::class;
protected $attributesDataType = 'map';
/**
* Output only. The time at which the deployment was created.
*
* @var string
*/
public $createTime;
protected $deploymentTypeType = GoogleCloudApihubV1AttributeValues::class;
protected $deploymentTypeDataType = '';
/**
* Optional. The description of the deployment.
*
* @var string
*/
public $description;
/**
* Required. The display name of the deployment.
*
* @var string
*/
public $displayName;
protected $documentationType = GoogleCloudApihubV1Documentation::class;
protected $documentationDataType = '';
/**
* Required. The endpoints at which this deployment resource is listening for
* API requests. This could be a list of complete URIs, hostnames or an IP
* addresses.
*
* @var string[]
*/
public $endpoints;
protected $environmentType = GoogleCloudApihubV1AttributeValues::class;
protected $environmentDataType = '';
protected $managementUrlType = GoogleCloudApihubV1AttributeValues::class;
protected $managementUrlDataType = '';
/**
* Identifier. The name of the deployment. Format:
* `projects/{project}/locations/{location}/deployments/{deployment}`
*
* @var string
*/
public $name;
/**
* Required. The resource URI identifies the deployment within its gateway.
* For Apigee gateways, its recommended to use the format:
* organizations/{org}/environments/{env}/apis/{api}. For ex: if a proxy with
* name `orders` is deployed in `staging` environment of `cymbal`
* organization, the resource URI would be:
* `organizations/cymbal/environments/staging/apis/orders`.
*
* @var string
*/
public $resourceUri;
protected $sloType = GoogleCloudApihubV1AttributeValues::class;
protected $sloDataType = '';
/**
* Optional. The environment at source for the deployment. For example: prod,
* dev, staging, etc.
*
* @var string
*/
public $sourceEnvironment;
protected $sourceMetadataType = GoogleCloudApihubV1SourceMetadata::class;
protected $sourceMetadataDataType = 'array';
/**
* Optional. The project to which the deployment belongs. For Google Cloud
* gateways, this will refer to the project identifier. For others like
* Edge/OPDK, this will refer to the org identifier.
*
* @var string
*/
public $sourceProject;
protected $sourceUriType = GoogleCloudApihubV1AttributeValues::class;
protected $sourceUriDataType = '';
/**
* Output only. The time at which the deployment was last updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. The API versions linked to this deployment. Note: A particular
* deployment could be linked to multiple different API versions (of same or
* different APIs).
*
* @param string[] $apiVersions
*/
public function setApiVersions($apiVersions)
{
$this->apiVersions = $apiVersions;
}
/**
* @return string[]
*/
public function getApiVersions()
{
return $this->apiVersions;
}
/**
* Optional. The list of user defined attributes associated with the
* deployment resource. The key is the attribute name. It will be of the
* format: `projects/{project}/locations/{location}/attributes/{attribute}`.
* The value is the attribute values associated with the resource.
*
* @param GoogleCloudApihubV1AttributeValues[] $attributes
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return GoogleCloudApihubV1AttributeValues[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* Output only. The time at which the deployment was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Required. The type of deployment. This maps to the following system defined
* attribute: `projects/{project}/locations/{location}/attributes/system-
* deployment-type` attribute. The number of 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.
*
* @param GoogleCloudApihubV1AttributeValues $deploymentType
*/
public function setDeploymentType(GoogleCloudApihubV1AttributeValues $deploymentType)
{
$this->deploymentType = $deploymentType;
}
/**
* @return GoogleCloudApihubV1AttributeValues
*/
public function getDeploymentType()
{
return $this->deploymentType;
}
/**
* Optional. The description of the deployment.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Required. The display name of the deployment.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. The documentation of the deployment.
*
* @param GoogleCloudApihubV1Documentation $documentation
*/
public function setDocumentation(GoogleCloudApihubV1Documentation $documentation)
{
$this->documentation = $documentation;
}
/**
* @return GoogleCloudApihubV1Documentation
*/
public function getDocumentation()
{
return $this->documentation;
}
/**
* Required. The endpoints at which this deployment resource is listening for
* API requests. This could be a list of complete URIs, hostnames or an IP
* addresses.
*
* @param string[] $endpoints
*/
public function setEndpoints($endpoints)
{
$this->endpoints = $endpoints;
}
/**
* @return string[]
*/
public function getEndpoints()
{
return $this->endpoints;
}
/**
* Optional. The environment mapping to this deployment. This maps to the
* following system defined attribute:
* `projects/{project}/locations/{location}/attributes/system-environment`
* attribute. The number of 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.
*
* @param GoogleCloudApihubV1AttributeValues $environment
*/
public function setEnvironment(GoogleCloudApihubV1AttributeValues $environment)
{
$this->environment = $environment;
}
/**
* @return GoogleCloudApihubV1AttributeValues
*/
public function getEnvironment()
{
return $this->environment;
}
/**
* Optional. The uri where users can navigate to for the management of the
* deployment. This maps to the following system defined attribute:
* `projects/{project}/locations/{location}/attributes/system-management-url`
* The number of values for this attribute will be based on the cardinality of
* the attribute. The same can be retrieved via GetAttribute API. The value of
* the attribute should be a valid URL.
*
* @param GoogleCloudApihubV1AttributeValues $managementUrl
*/
public function setManagementUrl(GoogleCloudApihubV1AttributeValues $managementUrl)
{
$this->managementUrl = $managementUrl;
}
/**
* @return GoogleCloudApihubV1AttributeValues
*/
public function getManagementUrl()
{
return $this->managementUrl;
}
/**
* Identifier. The name of the deployment. Format:
* `projects/{project}/locations/{location}/deployments/{deployment}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. The resource URI identifies the deployment within its gateway.
* For Apigee gateways, its recommended to use the format:
* organizations/{org}/environments/{env}/apis/{api}. For ex: if a proxy with
* name `orders` is deployed in `staging` environment of `cymbal`
* organization, the resource URI would be:
* `organizations/cymbal/environments/staging/apis/orders`.
*
* @param string $resourceUri
*/
public function setResourceUri($resourceUri)
{
$this->resourceUri = $resourceUri;
}
/**
* @return string
*/
public function getResourceUri()
{
return $this->resourceUri;
}
/**
* Optional. The SLO for this deployment. This maps to the following system
* defined attribute:
* `projects/{project}/locations/{location}/attributes/system-slo` attribute.
* The number of 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.
*
* @param GoogleCloudApihubV1AttributeValues $slo
*/
public function setSlo(GoogleCloudApihubV1AttributeValues $slo)
{
$this->slo = $slo;
}
/**
* @return GoogleCloudApihubV1AttributeValues
*/
public function getSlo()
{
return $this->slo;
}
/**
* Optional. The environment at source for the deployment. For example: prod,
* dev, staging, etc.
*
* @param string $sourceEnvironment
*/
public function setSourceEnvironment($sourceEnvironment)
{
$this->sourceEnvironment = $sourceEnvironment;
}
/**
* @return string
*/
public function getSourceEnvironment()
{
return $this->sourceEnvironment;
}
/**
* Output only. The list of sources and metadata from the sources of the
* deployment.
*
* @param GoogleCloudApihubV1SourceMetadata[] $sourceMetadata
*/
public function setSourceMetadata($sourceMetadata)
{
$this->sourceMetadata = $sourceMetadata;
}
/**
* @return GoogleCloudApihubV1SourceMetadata[]
*/
public function getSourceMetadata()
{
return $this->sourceMetadata;
}
/**
* Optional. The project to which the deployment belongs. For Google Cloud
* gateways, this will refer to the project identifier. For others like
* Edge/OPDK, this will refer to the org identifier.
*
* @param string $sourceProject
*/
public function setSourceProject($sourceProject)
{
$this->sourceProject = $sourceProject;
}
/**
* @return string
*/
public function getSourceProject()
{
return $this->sourceProject;
}
/**
* Optional. The uri where additional source specific information for this
* deployment can be found. This maps to the following system defined
* attribute: `projects/{project}/locations/{location}/attributes/system-
* source-uri` The number of values for this attribute will be based on the
* cardinality of the attribute. The same can be retrieved via GetAttribute
* API. The value of the attribute should be a valid URI, and in case of Cloud
* Storage URI, it should point to a Cloud Storage object, not a directory.
*
* @param GoogleCloudApihubV1AttributeValues $sourceUri
*/
public function setSourceUri(GoogleCloudApihubV1AttributeValues $sourceUri)
{
$this->sourceUri = $sourceUri;
}
/**
* @return GoogleCloudApihubV1AttributeValues
*/
public function getSourceUri()
{
return $this->sourceUri;
}
/**
* Output only. The time at which the deployment 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(GoogleCloudApihubV1Deployment::class, 'Google_Service_APIhub_GoogleCloudApihubV1Deployment');
@@ -0,0 +1,117 @@
<?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 GoogleCloudApihubV1DeploymentMetadata extends \Google\Model
{
protected $deploymentType = GoogleCloudApihubV1Deployment::class;
protected $deploymentDataType = '';
/**
* Optional. Timestamp indicating when the deployment was created at the
* source.
*
* @var string
*/
public $originalCreateTime;
/**
* Optional. The unique identifier of the deployment in the system where it
* was originally created.
*
* @var string
*/
public $originalId;
/**
* Required. Timestamp indicating when the deployment was last updated at the
* source.
*
* @var string
*/
public $originalUpdateTime;
/**
* Required. The deployment resource to be pushed to Hub's collect layer. The
* ID of the deployment will be generated by Hub.
*
* @param GoogleCloudApihubV1Deployment $deployment
*/
public function setDeployment(GoogleCloudApihubV1Deployment $deployment)
{
$this->deployment = $deployment;
}
/**
* @return GoogleCloudApihubV1Deployment
*/
public function getDeployment()
{
return $this->deployment;
}
/**
* Optional. Timestamp indicating when the deployment was created at the
* source.
*
* @param string $originalCreateTime
*/
public function setOriginalCreateTime($originalCreateTime)
{
$this->originalCreateTime = $originalCreateTime;
}
/**
* @return string
*/
public function getOriginalCreateTime()
{
return $this->originalCreateTime;
}
/**
* Optional. The unique identifier of the deployment in the system where it
* was originally created.
*
* @param string $originalId
*/
public function setOriginalId($originalId)
{
$this->originalId = $originalId;
}
/**
* @return string
*/
public function getOriginalId()
{
return $this->originalId;
}
/**
* Required. Timestamp indicating when the deployment was last updated at the
* source.
*
* @param string $originalUpdateTime
*/
public function setOriginalUpdateTime($originalUpdateTime)
{
$this->originalUpdateTime = $originalUpdateTime;
}
/**
* @return string
*/
public function getOriginalUpdateTime()
{
return $this->originalUpdateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1DeploymentMetadata::class, 'Google_Service_APIhub_GoogleCloudApihubV1DeploymentMetadata');
@@ -0,0 +1,48 @@
<?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 GoogleCloudApihubV1DisablePluginInstanceActionRequest extends \Google\Model
{
/**
* Required. The action id to disable.
*
* @var string
*/
public $actionId;
/**
* Required. The action id to disable.
*
* @param string $actionId
*/
public function setActionId($actionId)
{
$this->actionId = $actionId;
}
/**
* @return string
*/
public function getActionId()
{
return $this->actionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1DisablePluginInstanceActionRequest::class, 'Google_Service_APIhub_GoogleCloudApihubV1DisablePluginInstanceActionRequest');
@@ -0,0 +1,25 @@
<?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 GoogleCloudApihubV1DisablePluginRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1DisablePluginRequest::class, 'Google_Service_APIhub_GoogleCloudApihubV1DisablePluginRequest');
@@ -0,0 +1,360 @@
<?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 GoogleCloudApihubV1DiscoveredApiObservation extends \Google\Collection
{
/**
* Unknown style
*/
public const STYLE_STYLE_UNSPECIFIED = 'STYLE_UNSPECIFIED';
/**
* Style is Rest API
*/
public const STYLE_REST = 'REST';
/**
* Style is Grpc API
*/
public const STYLE_GRPC = 'GRPC';
/**
* Style is GraphQL API
*/
public const STYLE_GRAPHQL = 'GRAPHQL';
protected $collection_key = 'sourceTypes';
/**
* Optional. The number of observed API Operations.
*
* @var string
*/
public $apiOperationCount;
/**
* Output only. Create time stamp of the observation in API Hub.
*
* @var string
*/
public $createTime;
/**
* Optional. The hostname of requests processed for this Observation.
*
* @var string
*/
public $hostname;
/**
* Output only. The number of known API Operations.
*
* @var string
*/
public $knownOperationsCount;
/**
* Optional. Last event detected time stamp
*
* @var string
*/
public $lastEventDetectedTime;
/**
* Identifier. The name of the discovered API Observation. Format: `projects/{
* project}/locations/{location}/discoveredApiObservations/{discovered_api_obs
* ervation}`
*
* @var string
*/
public $name;
/**
* Optional. For an observation pushed from a Google Cloud resource, this
* would be the Google Cloud project id.
*
* @var string
*/
public $origin;
/**
* Optional. The IP address (IPv4 or IPv6) of the origin server that the
* request was sent to. This field can include port information. Examples:
* `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
*
* @var string[]
*/
public $serverIps;
/**
* Optional. The location of the observation source.
*
* @var string[]
*/
public $sourceLocations;
protected $sourceMetadataType = GoogleCloudApihubV1SourceMetadata::class;
protected $sourceMetadataDataType = '';
/**
* Optional. The type of the source from which the observation was collected.
*
* @var string[]
*/
public $sourceTypes;
/**
* Optional. Style of ApiObservation
*
* @var string
*/
public $style;
/**
* Output only. The number of unknown API Operations.
*
* @var string
*/
public $unknownOperationsCount;
/**
* Output only. Update time stamp of the observation in API Hub.
*
* @var string
*/
public $updateTime;
/**
* Optional. The number of observed API Operations.
*
* @param string $apiOperationCount
*/
public function setApiOperationCount($apiOperationCount)
{
$this->apiOperationCount = $apiOperationCount;
}
/**
* @return string
*/
public function getApiOperationCount()
{
return $this->apiOperationCount;
}
/**
* Output only. Create time stamp of the observation in API Hub.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. The hostname of requests processed for this Observation.
*
* @param string $hostname
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* Output only. The number of known API Operations.
*
* @param string $knownOperationsCount
*/
public function setKnownOperationsCount($knownOperationsCount)
{
$this->knownOperationsCount = $knownOperationsCount;
}
/**
* @return string
*/
public function getKnownOperationsCount()
{
return $this->knownOperationsCount;
}
/**
* Optional. Last event detected time stamp
*
* @param string $lastEventDetectedTime
*/
public function setLastEventDetectedTime($lastEventDetectedTime)
{
$this->lastEventDetectedTime = $lastEventDetectedTime;
}
/**
* @return string
*/
public function getLastEventDetectedTime()
{
return $this->lastEventDetectedTime;
}
/**
* Identifier. The name of the discovered API Observation. Format: `projects/{
* project}/locations/{location}/discoveredApiObservations/{discovered_api_obs
* ervation}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. For an observation pushed from a Google Cloud resource, this
* would be the Google Cloud project id.
*
* @param string $origin
*/
public function setOrigin($origin)
{
$this->origin = $origin;
}
/**
* @return string
*/
public function getOrigin()
{
return $this->origin;
}
/**
* Optional. The IP address (IPv4 or IPv6) of the origin server that the
* request was sent to. This field can include port information. Examples:
* `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
*
* @param string[] $serverIps
*/
public function setServerIps($serverIps)
{
$this->serverIps = $serverIps;
}
/**
* @return string[]
*/
public function getServerIps()
{
return $this->serverIps;
}
/**
* Optional. The location of the observation source.
*
* @param string[] $sourceLocations
*/
public function setSourceLocations($sourceLocations)
{
$this->sourceLocations = $sourceLocations;
}
/**
* @return string[]
*/
public function getSourceLocations()
{
return $this->sourceLocations;
}
/**
* Output only. The metadata of the source from which the observation was
* collected.
*
* @param GoogleCloudApihubV1SourceMetadata $sourceMetadata
*/
public function setSourceMetadata(GoogleCloudApihubV1SourceMetadata $sourceMetadata)
{
$this->sourceMetadata = $sourceMetadata;
}
/**
* @return GoogleCloudApihubV1SourceMetadata
*/
public function getSourceMetadata()
{
return $this->sourceMetadata;
}
/**
* Optional. The type of the source from which the observation was collected.
*
* @param string[] $sourceTypes
*/
public function setSourceTypes($sourceTypes)
{
$this->sourceTypes = $sourceTypes;
}
/**
* @return string[]
*/
public function getSourceTypes()
{
return $this->sourceTypes;
}
/**
* Optional. Style of ApiObservation
*
* Accepted values: STYLE_UNSPECIFIED, REST, GRPC, GRAPHQL
*
* @param self::STYLE_* $style
*/
public function setStyle($style)
{
$this->style = $style;
}
/**
* @return self::STYLE_*
*/
public function getStyle()
{
return $this->style;
}
/**
* Output only. The number of unknown API Operations.
*
* @param string $unknownOperationsCount
*/
public function setUnknownOperationsCount($unknownOperationsCount)
{
$this->unknownOperationsCount = $unknownOperationsCount;
}
/**
* @return string
*/
public function getUnknownOperationsCount()
{
return $this->unknownOperationsCount;
}
/**
* Output only. Update time stamp of the observation in API Hub.
*
* @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(GoogleCloudApihubV1DiscoveredApiObservation::class, 'Google_Service_APIhub_GoogleCloudApihubV1DiscoveredApiObservation');
@@ -0,0 +1,257 @@
<?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 GoogleCloudApihubV1DiscoveredApiOperation extends \Google\Collection
{
/**
* Operation is not classified as known or unknown.
*/
public const CLASSIFICATION_CLASSIFICATION_UNSPECIFIED = 'CLASSIFICATION_UNSPECIFIED';
/**
* Operation has a matched catalog operation.
*/
public const CLASSIFICATION_KNOWN = 'KNOWN';
/**
* Operation does not have a matched catalog operation.
*/
public const CLASSIFICATION_UNKNOWN = 'UNKNOWN';
protected $collection_key = 'matchResults';
/**
* Output only. The classification of the discovered API operation.
*
* @var string
*/
public $classification;
/**
* Optional. The number of occurrences of this API Operation.
*
* @var string
*/
public $count;
/**
* Output only. Create time stamp of the discovered API operation in API Hub.
*
* @var string
*/
public $createTime;
/**
* Optional. First seen time stamp
*
* @var string
*/
public $firstSeenTime;
protected $httpOperationType = GoogleCloudApihubV1HttpOperationDetails::class;
protected $httpOperationDataType = '';
/**
* Optional. Last seen time stamp
*
* @var string
*/
public $lastSeenTime;
protected $matchResultsType = GoogleCloudApihubV1MatchResult::class;
protected $matchResultsDataType = 'array';
/**
* Identifier. The name of the discovered API Operation. Format: `projects/{pr
* oject}/locations/{location}/discoveredApiObservations/{discovered_api_obser
* vation}/discoveredApiOperations/{discovered_api_operation}`
*
* @var string
*/
public $name;
protected $sourceMetadataType = GoogleCloudApihubV1SourceMetadata::class;
protected $sourceMetadataDataType = '';
/**
* Output only. Update time stamp of the discovered API operation in API Hub.
*
* @var string
*/
public $updateTime;
/**
* Output only. The classification of the discovered API operation.
*
* Accepted values: CLASSIFICATION_UNSPECIFIED, KNOWN, UNKNOWN
*
* @param self::CLASSIFICATION_* $classification
*/
public function setClassification($classification)
{
$this->classification = $classification;
}
/**
* @return self::CLASSIFICATION_*
*/
public function getClassification()
{
return $this->classification;
}
/**
* Optional. The number of occurrences of this API Operation.
*
* @param string $count
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return string
*/
public function getCount()
{
return $this->count;
}
/**
* Output only. Create time stamp of the discovered API operation in API Hub.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. First seen time stamp
*
* @param string $firstSeenTime
*/
public function setFirstSeenTime($firstSeenTime)
{
$this->firstSeenTime = $firstSeenTime;
}
/**
* @return string
*/
public function getFirstSeenTime()
{
return $this->firstSeenTime;
}
/**
* Optional. An HTTP Operation.
*
* @param GoogleCloudApihubV1HttpOperationDetails $httpOperation
*/
public function setHttpOperation(GoogleCloudApihubV1HttpOperationDetails $httpOperation)
{
$this->httpOperation = $httpOperation;
}
/**
* @return GoogleCloudApihubV1HttpOperationDetails
*/
public function getHttpOperation()
{
return $this->httpOperation;
}
/**
* Optional. Last seen time stamp
*
* @param string $lastSeenTime
*/
public function setLastSeenTime($lastSeenTime)
{
$this->lastSeenTime = $lastSeenTime;
}
/**
* @return string
*/
public function getLastSeenTime()
{
return $this->lastSeenTime;
}
/**
* Output only. The list of matched results for the discovered API operation.
* This will be populated only if the classification is known. The current
* usecase is for a single match. Keeping it repeated to support multiple
* matches in future.
*
* @param GoogleCloudApihubV1MatchResult[] $matchResults
*/
public function setMatchResults($matchResults)
{
$this->matchResults = $matchResults;
}
/**
* @return GoogleCloudApihubV1MatchResult[]
*/
public function getMatchResults()
{
return $this->matchResults;
}
/**
* Identifier. The name of the discovered API Operation. Format: `projects/{pr
* oject}/locations/{location}/discoveredApiObservations/{discovered_api_obser
* vation}/discoveredApiOperations/{discovered_api_operation}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The metadata of the source from which the api operation was
* collected.
*
* @param GoogleCloudApihubV1SourceMetadata $sourceMetadata
*/
public function setSourceMetadata(GoogleCloudApihubV1SourceMetadata $sourceMetadata)
{
$this->sourceMetadata = $sourceMetadata;
}
/**
* @return GoogleCloudApihubV1SourceMetadata
*/
public function getSourceMetadata()
{
return $this->sourceMetadata;
}
/**
* Output only. Update time stamp of the discovered API operation in API Hub.
*
* @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(GoogleCloudApihubV1DiscoveredApiOperation::class, 'Google_Service_APIhub_GoogleCloudApihubV1DiscoveredApiOperation');
@@ -0,0 +1,48 @@
<?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 GoogleCloudApihubV1Documentation extends \Google\Model
{
/**
* Optional. The uri of the externally hosted documentation.
*
* @var string
*/
public $externalUri;
/**
* Optional. The uri of the externally hosted documentation.
*
* @param string $externalUri
*/
public function setExternalUri($externalUri)
{
$this->externalUri = $externalUri;
}
/**
* @return string
*/
public function getExternalUri()
{
return $this->externalUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1Documentation::class, 'Google_Service_APIhub_GoogleCloudApihubV1Documentation');
@@ -0,0 +1,48 @@
<?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 GoogleCloudApihubV1EnablePluginInstanceActionRequest extends \Google\Model
{
/**
* Required. The action id to enable.
*
* @var string
*/
public $actionId;
/**
* Required. The action id to enable.
*
* @param string $actionId
*/
public function setActionId($actionId)
{
$this->actionId = $actionId;
}
/**
* @return string
*/
public function getActionId()
{
return $this->actionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1EnablePluginInstanceActionRequest::class, 'Google_Service_APIhub_GoogleCloudApihubV1EnablePluginInstanceActionRequest');
@@ -0,0 +1,25 @@
<?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 GoogleCloudApihubV1EnablePluginRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1EnablePluginRequest::class, 'Google_Service_APIhub_GoogleCloudApihubV1EnablePluginRequest');
@@ -0,0 +1,45 @@
<?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 GoogleCloudApihubV1Endpoint extends \Google\Model
{
protected $applicationIntegrationEndpointDetailsType = GoogleCloudApihubV1ApplicationIntegrationEndpointDetails::class;
protected $applicationIntegrationEndpointDetailsDataType = '';
/**
* Required. The details of the Application Integration endpoint to be
* triggered for curation.
*
* @param GoogleCloudApihubV1ApplicationIntegrationEndpointDetails $applicationIntegrationEndpointDetails
*/
public function setApplicationIntegrationEndpointDetails(GoogleCloudApihubV1ApplicationIntegrationEndpointDetails $applicationIntegrationEndpointDetails)
{
$this->applicationIntegrationEndpointDetails = $applicationIntegrationEndpointDetails;
}
/**
* @return GoogleCloudApihubV1ApplicationIntegrationEndpointDetails
*/
public function getApplicationIntegrationEndpointDetails()
{
return $this->applicationIntegrationEndpointDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1Endpoint::class, 'Google_Service_APIhub_GoogleCloudApihubV1Endpoint');
@@ -0,0 +1,45 @@
<?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 GoogleCloudApihubV1EnumAttributeValues extends \Google\Collection
{
protected $collection_key = 'values';
protected $valuesType = GoogleCloudApihubV1AllowedValue::class;
protected $valuesDataType = 'array';
/**
* Required. The attribute values in case attribute data type is enum.
*
* @param GoogleCloudApihubV1AllowedValue[] $values
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return GoogleCloudApihubV1AllowedValue[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1EnumAttributeValues::class, 'Google_Service_APIhub_GoogleCloudApihubV1EnumAttributeValues');
@@ -0,0 +1,75 @@
<?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 GoogleCloudApihubV1EnvironmentFilter extends \Google\Collection
{
protected $collection_key = 'environments';
/**
* Optional. Indicates if this filter should match all environments or only a
* subset of environments. If set to true, all environments are matched.
*
* @var bool
*/
public $allEnvironments;
/**
* Optional. If provided, only environments in this list are matched. This
* field is ignored if `all_environments` is true.
*
* @var string[]
*/
public $environments;
/**
* Optional. Indicates if this filter should match all environments or only a
* subset of environments. If set to true, all environments are matched.
*
* @param bool $allEnvironments
*/
public function setAllEnvironments($allEnvironments)
{
$this->allEnvironments = $allEnvironments;
}
/**
* @return bool
*/
public function getAllEnvironments()
{
return $this->allEnvironments;
}
/**
* Optional. If provided, only environments in this list are matched. This
* field is ignored if `all_environments` is true.
*
* @param string[] $environments
*/
public function setEnvironments($environments)
{
$this->environments = $environments;
}
/**
* @return string[]
*/
public function getEnvironments()
{
return $this->environments;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1EnvironmentFilter::class, 'Google_Service_APIhub_GoogleCloudApihubV1EnvironmentFilter');
@@ -0,0 +1,44 @@
<?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 GoogleCloudApihubV1ExecutePluginInstanceActionRequest extends \Google\Model
{
protected $actionExecutionDetailType = GoogleCloudApihubV1ActionExecutionDetail::class;
protected $actionExecutionDetailDataType = '';
/**
* Required. The execution details for the action to execute.
*
* @param GoogleCloudApihubV1ActionExecutionDetail $actionExecutionDetail
*/
public function setActionExecutionDetail(GoogleCloudApihubV1ActionExecutionDetail $actionExecutionDetail)
{
$this->actionExecutionDetail = $actionExecutionDetail;
}
/**
* @return GoogleCloudApihubV1ActionExecutionDetail
*/
public function getActionExecutionDetail()
{
return $this->actionExecutionDetail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ExecutePluginInstanceActionRequest::class, 'Google_Service_APIhub_GoogleCloudApihubV1ExecutePluginInstanceActionRequest');
@@ -0,0 +1,80 @@
<?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 GoogleCloudApihubV1ExecutionStatus extends \Google\Model
{
/**
* Default unspecified execution state.
*/
public const CURRENT_EXECUTION_STATE_CURRENT_EXECUTION_STATE_UNSPECIFIED = 'CURRENT_EXECUTION_STATE_UNSPECIFIED';
/**
* The plugin instance is executing.
*/
public const CURRENT_EXECUTION_STATE_RUNNING = 'RUNNING';
/**
* The plugin instance is not running an execution.
*/
public const CURRENT_EXECUTION_STATE_NOT_RUNNING = 'NOT_RUNNING';
/**
* Output only. The current state of the execution.
*
* @var string
*/
public $currentExecutionState;
protected $lastExecutionType = GoogleCloudApihubV1LastExecution::class;
protected $lastExecutionDataType = '';
/**
* Output only. The current state of the execution.
*
* Accepted values: CURRENT_EXECUTION_STATE_UNSPECIFIED, RUNNING, NOT_RUNNING
*
* @param self::CURRENT_EXECUTION_STATE_* $currentExecutionState
*/
public function setCurrentExecutionState($currentExecutionState)
{
$this->currentExecutionState = $currentExecutionState;
}
/**
* @return self::CURRENT_EXECUTION_STATE_*
*/
public function getCurrentExecutionState()
{
return $this->currentExecutionState;
}
/**
* Output only. The last execution of the plugin instance.
*
* @param GoogleCloudApihubV1LastExecution $lastExecution
*/
public function setLastExecution(GoogleCloudApihubV1LastExecution $lastExecution)
{
$this->lastExecution = $lastExecution;
}
/**
* @return GoogleCloudApihubV1LastExecution
*/
public function getLastExecution()
{
return $this->lastExecution;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ExecutionStatus::class, 'Google_Service_APIhub_GoogleCloudApihubV1ExecutionStatus');
@@ -0,0 +1,226 @@
<?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 GoogleCloudApihubV1ExternalApi extends \Google\Collection
{
protected $collection_key = 'paths';
protected $attributesType = GoogleCloudApihubV1AttributeValues::class;
protected $attributesDataType = 'map';
/**
* Output only. Creation timestamp.
*
* @var string
*/
public $createTime;
/**
* Optional. Description of the external API. Max length is 2000 characters
* (Unicode Code Points).
*
* @var string
*/
public $description;
/**
* Required. Display name of the external API. Max length is 63 characters
* (Unicode Code Points).
*
* @var string
*/
public $displayName;
protected $documentationType = GoogleCloudApihubV1Documentation::class;
protected $documentationDataType = '';
/**
* Optional. List of endpoints on which this API is accessible.
*
* @var string[]
*/
public $endpoints;
/**
* Identifier. Format:
* `projects/{project}/locations/{location}/externalApi/{externalApi}`.
*
* @var string
*/
public $name;
/**
* Optional. List of paths served by this API.
*
* @var string[]
*/
public $paths;
/**
* Output only. Last update timestamp.
*
* @var string
*/
public $updateTime;
/**
* Optional. The list of user defined attributes associated with the Version
* resource. The key is the attribute name. It will be of the format:
* `projects/{project}/locations/{location}/attributes/{attribute}`. The value
* is the attribute values associated with the resource.
*
* @param GoogleCloudApihubV1AttributeValues[] $attributes
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return GoogleCloudApihubV1AttributeValues[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* Output only. Creation timestamp.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. Description of the external API. 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. Display name of the external API. Max length is 63 characters
* (Unicode Code Points).
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. Documentation of the external API.
*
* @param GoogleCloudApihubV1Documentation $documentation
*/
public function setDocumentation(GoogleCloudApihubV1Documentation $documentation)
{
$this->documentation = $documentation;
}
/**
* @return GoogleCloudApihubV1Documentation
*/
public function getDocumentation()
{
return $this->documentation;
}
/**
* Optional. List of endpoints on which this API is accessible.
*
* @param string[] $endpoints
*/
public function setEndpoints($endpoints)
{
$this->endpoints = $endpoints;
}
/**
* @return string[]
*/
public function getEndpoints()
{
return $this->endpoints;
}
/**
* Identifier. Format:
* `projects/{project}/locations/{location}/externalApi/{externalApi}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. List of paths served by this API.
*
* @param string[] $paths
*/
public function setPaths($paths)
{
$this->paths = $paths;
}
/**
* @return string[]
*/
public function getPaths()
{
return $this->paths;
}
/**
* Output only. Last 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(GoogleCloudApihubV1ExternalApi::class, 'Google_Service_APIhub_GoogleCloudApihubV1ExternalApi');
@@ -0,0 +1,44 @@
<?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 GoogleCloudApihubV1FetchAdditionalSpecContentResponse extends \Google\Model
{
protected $additionalSpecContentType = GoogleCloudApihubV1AdditionalSpecContent::class;
protected $additionalSpecContentDataType = '';
/**
* The additional spec content.
*
* @param GoogleCloudApihubV1AdditionalSpecContent $additionalSpecContent
*/
public function setAdditionalSpecContent(GoogleCloudApihubV1AdditionalSpecContent $additionalSpecContent)
{
$this->additionalSpecContent = $additionalSpecContent;
}
/**
* @return GoogleCloudApihubV1AdditionalSpecContent
*/
public function getAdditionalSpecContent()
{
return $this->additionalSpecContent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1FetchAdditionalSpecContentResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1FetchAdditionalSpecContentResponse');
@@ -0,0 +1,80 @@
<?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 GoogleCloudApihubV1FlattenedApiVersionDeploymentView extends \Google\Model
{
protected $apiType = GoogleCloudApihubV1Api::class;
protected $apiDataType = '';
protected $deploymentType = GoogleCloudApihubV1Deployment::class;
protected $deploymentDataType = '';
protected $versionType = GoogleCloudApihubV1Version::class;
protected $versionDataType = '';
/**
* Optional. The API.
*
* @param GoogleCloudApihubV1Api $api
*/
public function setApi(GoogleCloudApihubV1Api $api)
{
$this->api = $api;
}
/**
* @return GoogleCloudApihubV1Api
*/
public function getApi()
{
return $this->api;
}
/**
* Optional. The deployment.
*
* @param GoogleCloudApihubV1Deployment $deployment
*/
public function setDeployment(GoogleCloudApihubV1Deployment $deployment)
{
$this->deployment = $deployment;
}
/**
* @return GoogleCloudApihubV1Deployment
*/
public function getDeployment()
{
return $this->deployment;
}
/**
* Optional. The version.
*
* @param GoogleCloudApihubV1Version $version
*/
public function setVersion(GoogleCloudApihubV1Version $version)
{
$this->version = $version;
}
/**
* @return GoogleCloudApihubV1Version
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1FlattenedApiVersionDeploymentView::class, 'Google_Service_APIhub_GoogleCloudApihubV1FlattenedApiVersionDeploymentView');
@@ -0,0 +1,98 @@
<?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 GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView extends \Google\Model
{
protected $apiType = GoogleCloudApihubV1Api::class;
protected $apiDataType = '';
protected $apiOperationType = GoogleCloudApihubV1ApiOperation::class;
protected $apiOperationDataType = '';
protected $deploymentType = GoogleCloudApihubV1Deployment::class;
protected $deploymentDataType = '';
protected $versionType = GoogleCloudApihubV1Version::class;
protected $versionDataType = '';
/**
* Optional. The API.
*
* @param GoogleCloudApihubV1Api $api
*/
public function setApi(GoogleCloudApihubV1Api $api)
{
$this->api = $api;
}
/**
* @return GoogleCloudApihubV1Api
*/
public function getApi()
{
return $this->api;
}
/**
* Optional. The API operation.
*
* @param GoogleCloudApihubV1ApiOperation $apiOperation
*/
public function setApiOperation(GoogleCloudApihubV1ApiOperation $apiOperation)
{
$this->apiOperation = $apiOperation;
}
/**
* @return GoogleCloudApihubV1ApiOperation
*/
public function getApiOperation()
{
return $this->apiOperation;
}
/**
* Optional. The deployment.
*
* @param GoogleCloudApihubV1Deployment $deployment
*/
public function setDeployment(GoogleCloudApihubV1Deployment $deployment)
{
$this->deployment = $deployment;
}
/**
* @return GoogleCloudApihubV1Deployment
*/
public function getDeployment()
{
return $this->deployment;
}
/**
* Optional. The version.
*
* @param GoogleCloudApihubV1Version $version
*/
public function setVersion(GoogleCloudApihubV1Version $version)
{
$this->version = $version;
}
/**
* @return GoogleCloudApihubV1Version
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView::class, 'Google_Service_APIhub_GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView');
@@ -0,0 +1,46 @@
<?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 GoogleCloudApihubV1GatewayPluginAddonConfig extends \Google\Collection
{
protected $collection_key = 'gatewayPluginConfigs';
protected $gatewayPluginConfigsType = GoogleCloudApihubV1GatewayPluginConfig::class;
protected $gatewayPluginConfigsDataType = 'array';
/**
* Required. The list of gateway plugin configs for which the addon is
* enabled. Each gateway plugin config should have a unique plugin instance.
*
* @param GoogleCloudApihubV1GatewayPluginConfig[] $gatewayPluginConfigs
*/
public function setGatewayPluginConfigs($gatewayPluginConfigs)
{
$this->gatewayPluginConfigs = $gatewayPluginConfigs;
}
/**
* @return GoogleCloudApihubV1GatewayPluginConfig[]
*/
public function getGatewayPluginConfigs()
{
return $this->gatewayPluginConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1GatewayPluginAddonConfig::class, 'Google_Service_APIhub_GoogleCloudApihubV1GatewayPluginAddonConfig');
@@ -0,0 +1,106 @@
<?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 GoogleCloudApihubV1GatewayPluginConfig extends \Google\Model
{
protected $apigeeEdgeConfigType = GoogleCloudApihubV1ApigeeEdgeConfig::class;
protected $apigeeEdgeConfigDataType = '';
protected $apigeeOpdkConfigType = GoogleCloudApihubV1ApigeeOPDKConfig::class;
protected $apigeeOpdkConfigDataType = '';
protected $apigeeXHybridConfigType = GoogleCloudApihubV1ApigeeXHybridConfig::class;
protected $apigeeXHybridConfigDataType = '';
/**
* Required. The name of the gateway plugin instance for which the config is
* to be specified. Format: projects/{project}/locations/{location}/plugins/{p
* lugin}/pluginInstances/{plugin_instance}
*
* @var string
*/
public $pluginInstance;
/**
* Configuration for Apigee Edge gateways.
*
* @param GoogleCloudApihubV1ApigeeEdgeConfig $apigeeEdgeConfig
*/
public function setApigeeEdgeConfig(GoogleCloudApihubV1ApigeeEdgeConfig $apigeeEdgeConfig)
{
$this->apigeeEdgeConfig = $apigeeEdgeConfig;
}
/**
* @return GoogleCloudApihubV1ApigeeEdgeConfig
*/
public function getApigeeEdgeConfig()
{
return $this->apigeeEdgeConfig;
}
/**
* Configuration for Apigee OPDK gateways.
*
* @param GoogleCloudApihubV1ApigeeOPDKConfig $apigeeOpdkConfig
*/
public function setApigeeOpdkConfig(GoogleCloudApihubV1ApigeeOPDKConfig $apigeeOpdkConfig)
{
$this->apigeeOpdkConfig = $apigeeOpdkConfig;
}
/**
* @return GoogleCloudApihubV1ApigeeOPDKConfig
*/
public function getApigeeOpdkConfig()
{
return $this->apigeeOpdkConfig;
}
/**
* Configuration for Apigee X and Apigee Hybrid gateways.
*
* @param GoogleCloudApihubV1ApigeeXHybridConfig $apigeeXHybridConfig
*/
public function setApigeeXHybridConfig(GoogleCloudApihubV1ApigeeXHybridConfig $apigeeXHybridConfig)
{
$this->apigeeXHybridConfig = $apigeeXHybridConfig;
}
/**
* @return GoogleCloudApihubV1ApigeeXHybridConfig
*/
public function getApigeeXHybridConfig()
{
return $this->apigeeXHybridConfig;
}
/**
* Required. The name of the gateway plugin instance for which the config is
* to be specified. Format: projects/{project}/locations/{location}/plugins/{p
* lugin}/pluginInstances/{plugin_instance}
*
* @param string $pluginInstance
*/
public function setPluginInstance($pluginInstance)
{
$this->pluginInstance = $pluginInstance;
}
/**
* @return string
*/
public function getPluginInstance()
{
return $this->pluginInstance;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1GatewayPluginConfig::class, 'Google_Service_APIhub_GoogleCloudApihubV1GatewayPluginConfig');
@@ -0,0 +1,52 @@
<?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 GoogleCloudApihubV1GoogleServiceAccountConfig extends \Google\Model
{
/**
* Required. The service account to be used for authenticating request. The
* `iam.serviceAccounts.getAccessToken` permission should be granted on this
* service account to the impersonator service account.
*
* @var string
*/
public $serviceAccount;
/**
* Required. The service account to be used for authenticating request. The
* `iam.serviceAccounts.getAccessToken` permission should be granted on this
* service account to the impersonator service account.
*
* @param string $serviceAccount
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1GoogleServiceAccountConfig::class, 'Google_Service_APIhub_GoogleCloudApihubV1GoogleServiceAccountConfig');
@@ -0,0 +1,118 @@
<?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 GoogleCloudApihubV1Header extends \Google\Model
{
/**
* Unspecified data type
*/
public const DATA_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
/**
* Boolean data type
*/
public const DATA_TYPE_BOOL = 'BOOL';
/**
* Integer data type
*/
public const DATA_TYPE_INTEGER = 'INTEGER';
/**
* Float data type
*/
public const DATA_TYPE_FLOAT = 'FLOAT';
/**
* String data type
*/
public const DATA_TYPE_STRING = 'STRING';
/**
* UUID data type
*/
public const DATA_TYPE_UUID = 'UUID';
/**
* The number of occurrences of this Header across transactions.
*
* @var string
*/
public $count;
/**
* Data type of header
*
* @var string
*/
public $dataType;
/**
* Header name.
*
* @var string
*/
public $name;
/**
* The number of occurrences of this Header across transactions.
*
* @param string $count
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return string
*/
public function getCount()
{
return $this->count;
}
/**
* Data type of header
*
* Accepted values: DATA_TYPE_UNSPECIFIED, BOOL, INTEGER, FLOAT, STRING, UUID
*
* @param self::DATA_TYPE_* $dataType
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return self::DATA_TYPE_*
*/
public function getDataType()
{
return $this->dataType;
}
/**
* Header name.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1Header::class, 'Google_Service_APIhub_GoogleCloudApihubV1Header');
@@ -0,0 +1,102 @@
<?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 GoogleCloudApihubV1HostProjectRegistration extends \Google\Model
{
/**
* Output only. The time at which the host project registration was created.
*
* @var string
*/
public $createTime;
/**
* Required. Immutable. Google cloud project name in the format:
* "projects/abc" or "projects/123". As input, project name with either
* project id or number are accepted. As output, this field will contain
* project number.
*
* @var string
*/
public $gcpProject;
/**
* Identifier. The name of the host project registration. Format: "projects/{p
* roject}/locations/{location}/hostProjectRegistrations/{host_project_registr
* ation}".
*
* @var string
*/
public $name;
/**
* Output only. The time at which the host project registration was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Required. Immutable. Google cloud project name in the format:
* "projects/abc" or "projects/123". As input, project name with either
* project id or number are accepted. As output, this field will contain
* project number.
*
* @param string $gcpProject
*/
public function setGcpProject($gcpProject)
{
$this->gcpProject = $gcpProject;
}
/**
* @return string
*/
public function getGcpProject()
{
return $this->gcpProject;
}
/**
* Identifier. The name of the host project registration. Format: "projects/{p
* roject}/locations/{location}/hostProjectRegistrations/{host_project_registr
* ation}".
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1HostProjectRegistration::class, 'Google_Service_APIhub_GoogleCloudApihubV1HostProjectRegistration');
@@ -0,0 +1,52 @@
<?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 GoogleCloudApihubV1HostingService extends \Google\Model
{
/**
* Optional. The URI of the service implemented by the plugin developer, used
* to invoke the plugin's functionality. This information is only required for
* user defined plugins.
*
* @var string
*/
public $serviceUri;
/**
* Optional. The URI of the service implemented by the plugin developer, used
* to invoke the plugin's functionality. This information is only required for
* user defined plugins.
*
* @param string $serviceUri
*/
public function setServiceUri($serviceUri)
{
$this->serviceUri = $serviceUri;
}
/**
* @return string
*/
public function getServiceUri()
{
return $this->serviceUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1HostingService::class, 'Google_Service_APIhub_GoogleCloudApihubV1HostingService');
@@ -0,0 +1,111 @@
<?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 GoogleCloudApihubV1HttpOperation extends \Google\Model
{
/**
* Method unspecified.
*/
public const METHOD_METHOD_UNSPECIFIED = 'METHOD_UNSPECIFIED';
/**
* Get Operation type.
*/
public const METHOD_GET = 'GET';
/**
* Put Operation type.
*/
public const METHOD_PUT = 'PUT';
/**
* Post Operation type.
*/
public const METHOD_POST = 'POST';
/**
* Delete Operation type.
*/
public const METHOD_DELETE = 'DELETE';
/**
* Options Operation type.
*/
public const METHOD_OPTIONS = 'OPTIONS';
/**
* Head Operation type.
*/
public const METHOD_HEAD = 'HEAD';
/**
* Patch Operation type.
*/
public const METHOD_PATCH = 'PATCH';
/**
* Trace Operation type.
*/
public const METHOD_TRACE = 'TRACE';
/**
* Optional. Operation method Note: Even though this field is optional, it is
* required for CreateApiOperation API and we will fail the request if not
* provided.
*
* @var string
*/
public $method;
protected $pathType = GoogleCloudApihubV1Path::class;
protected $pathDataType = '';
/**
* Optional. Operation method Note: Even though this field is optional, it is
* required for CreateApiOperation API and we will fail the request if not
* provided.
*
* Accepted values: METHOD_UNSPECIFIED, GET, PUT, POST, DELETE, OPTIONS, HEAD,
* PATCH, TRACE
*
* @param self::METHOD_* $method
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return self::METHOD_*
*/
public function getMethod()
{
return $this->method;
}
/**
* Optional. The path details for the Operation. Note: Even though this field
* is optional, it is required for CreateApiOperation API and we will fail the
* request if not provided.
*
* @param GoogleCloudApihubV1Path $path
*/
public function setPath(GoogleCloudApihubV1Path $path)
{
$this->path = $path;
}
/**
* @return GoogleCloudApihubV1Path
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1HttpOperation::class, 'Google_Service_APIhub_GoogleCloudApihubV1HttpOperation');
@@ -0,0 +1,117 @@
<?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 GoogleCloudApihubV1HttpOperationDetails extends \Google\Collection
{
protected $collection_key = 'pathParams';
protected $httpOperationType = GoogleCloudApihubV1HttpOperation::class;
protected $httpOperationDataType = '';
protected $pathParamsType = GoogleCloudApihubV1PathParam::class;
protected $pathParamsDataType = 'array';
protected $queryParamsType = GoogleCloudApihubV1QueryParam::class;
protected $queryParamsDataType = 'map';
protected $requestType = GoogleCloudApihubV1HttpRequest::class;
protected $requestDataType = '';
protected $responseType = GoogleCloudApihubV1HttpResponse::class;
protected $responseDataType = '';
/**
* Required. An HTTP Operation.
*
* @param GoogleCloudApihubV1HttpOperation $httpOperation
*/
public function setHttpOperation(GoogleCloudApihubV1HttpOperation $httpOperation)
{
$this->httpOperation = $httpOperation;
}
/**
* @return GoogleCloudApihubV1HttpOperation
*/
public function getHttpOperation()
{
return $this->httpOperation;
}
/**
* Optional. Path params of HttpOperation
*
* @param GoogleCloudApihubV1PathParam[] $pathParams
*/
public function setPathParams($pathParams)
{
$this->pathParams = $pathParams;
}
/**
* @return GoogleCloudApihubV1PathParam[]
*/
public function getPathParams()
{
return $this->pathParams;
}
/**
* Optional. Query params of HttpOperation
*
* @param GoogleCloudApihubV1QueryParam[] $queryParams
*/
public function setQueryParams($queryParams)
{
$this->queryParams = $queryParams;
}
/**
* @return GoogleCloudApihubV1QueryParam[]
*/
public function getQueryParams()
{
return $this->queryParams;
}
/**
* Optional. Request metadata.
*
* @param GoogleCloudApihubV1HttpRequest $request
*/
public function setRequest(GoogleCloudApihubV1HttpRequest $request)
{
$this->request = $request;
}
/**
* @return GoogleCloudApihubV1HttpRequest
*/
public function getRequest()
{
return $this->request;
}
/**
* Optional. Response metadata.
*
* @param GoogleCloudApihubV1HttpResponse $response
*/
public function setResponse(GoogleCloudApihubV1HttpResponse $response)
{
$this->response = $response;
}
/**
* @return GoogleCloudApihubV1HttpResponse
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1HttpOperationDetails::class, 'Google_Service_APIhub_GoogleCloudApihubV1HttpOperationDetails');
@@ -0,0 +1,44 @@
<?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 GoogleCloudApihubV1HttpRequest extends \Google\Model
{
protected $headersType = GoogleCloudApihubV1Header::class;
protected $headersDataType = 'map';
/**
* Optional. Unordered map from header name to header metadata
*
* @param GoogleCloudApihubV1Header[] $headers
*/
public function setHeaders($headers)
{
$this->headers = $headers;
}
/**
* @return GoogleCloudApihubV1Header[]
*/
public function getHeaders()
{
return $this->headers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1HttpRequest::class, 'Google_Service_APIhub_GoogleCloudApihubV1HttpRequest');
@@ -0,0 +1,66 @@
<?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 GoogleCloudApihubV1HttpResponse extends \Google\Model
{
protected $headersType = GoogleCloudApihubV1Header::class;
protected $headersDataType = 'map';
/**
* Optional. Map of status code to observed count
*
* @var string[]
*/
public $responseCodes;
/**
* Optional. Unordered map from header name to header metadata
*
* @param GoogleCloudApihubV1Header[] $headers
*/
public function setHeaders($headers)
{
$this->headers = $headers;
}
/**
* @return GoogleCloudApihubV1Header[]
*/
public function getHeaders()
{
return $this->headers;
}
/**
* Optional. Map of status code to observed count
*
* @param string[] $responseCodes
*/
public function setResponseCodes($responseCodes)
{
$this->responseCodes = $responseCodes;
}
/**
* @return string[]
*/
public function getResponseCodes()
{
return $this->responseCodes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1HttpResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1HttpResponse');
@@ -0,0 +1,158 @@
<?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 GoogleCloudApihubV1Issue extends \Google\Collection
{
/**
* Severity unspecified.
*/
public const SEVERITY_SEVERITY_UNSPECIFIED = 'SEVERITY_UNSPECIFIED';
/**
* Severity error.
*/
public const SEVERITY_SEVERITY_ERROR = 'SEVERITY_ERROR';
/**
* Severity warning.
*/
public const SEVERITY_SEVERITY_WARNING = 'SEVERITY_WARNING';
/**
* Severity info.
*/
public const SEVERITY_SEVERITY_INFO = 'SEVERITY_INFO';
/**
* Severity hint.
*/
public const SEVERITY_SEVERITY_HINT = 'SEVERITY_HINT';
protected $collection_key = 'path';
/**
* Required. Rule code unique to each rule defined in linter.
*
* @var string
*/
public $code;
/**
* Required. Human-readable message describing the issue found by the linter.
*
* @var string
*/
public $message;
/**
* Required. An array of strings indicating the location in the analyzed
* document where the rule was triggered.
*
* @var string[]
*/
public $path;
protected $rangeType = GoogleCloudApihubV1Range::class;
protected $rangeDataType = '';
/**
* Required. Severity level of the rule violation.
*
* @var string
*/
public $severity;
/**
* Required. Rule code unique to each rule defined in linter.
*
* @param string $code
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* Required. Human-readable message describing the issue found by the linter.
*
* @param string $message
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* Required. An array of strings indicating the location in the analyzed
* document where the rule was triggered.
*
* @param string[] $path
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string[]
*/
public function getPath()
{
return $this->path;
}
/**
* Required. Object describing where in the file the issue was found.
*
* @param GoogleCloudApihubV1Range $range
*/
public function setRange(GoogleCloudApihubV1Range $range)
{
$this->range = $range;
}
/**
* @return GoogleCloudApihubV1Range
*/
public function getRange()
{
return $this->range;
}
/**
* Required. Severity level of the rule violation.
*
* Accepted values: SEVERITY_UNSPECIFIED, SEVERITY_ERROR, SEVERITY_WARNING,
* SEVERITY_INFO, SEVERITY_HINT
*
* @param self::SEVERITY_* $severity
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return self::SEVERITY_*
*/
public function getSeverity()
{
return $this->severity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1Issue::class, 'Google_Service_APIhub_GoogleCloudApihubV1Issue');
@@ -0,0 +1,156 @@
<?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 GoogleCloudApihubV1LastExecution extends \Google\Model
{
/**
* Default unspecified execution result.
*/
public const RESULT_RESULT_UNSPECIFIED = 'RESULT_UNSPECIFIED';
/**
* The plugin instance executed successfully.
*/
public const RESULT_SUCCEEDED = 'SUCCEEDED';
/**
* The plugin instance execution failed.
*/
public const RESULT_FAILED = 'FAILED';
/**
* Output only. The last execution end time of the plugin instance.
*
* @var string
*/
public $endTime;
/**
* Output only. Error message describing the failure, if any, during the last
* execution.
*
* @var string
*/
public $errorMessage;
/**
* Output only. The result of the last execution of the plugin instance.
*
* @var string
*/
public $result;
/**
* Output only. The result metadata of the last execution of the plugin
* instance. This will be a string representation of a JSON object and will be
* available on successful execution.
*
* @var string
*/
public $resultMetadata;
/**
* Output only. The last execution start time of the plugin instance.
*
* @var string
*/
public $startTime;
/**
* Output only. The last execution end time of the plugin instance.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Error message describing the failure, if any, during the last
* execution.
*
* @param string $errorMessage
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
/**
* Output only. The result of the last execution of the plugin instance.
*
* Accepted values: RESULT_UNSPECIFIED, SUCCEEDED, FAILED
*
* @param self::RESULT_* $result
*/
public function setResult($result)
{
$this->result = $result;
}
/**
* @return self::RESULT_*
*/
public function getResult()
{
return $this->result;
}
/**
* Output only. The result metadata of the last execution of the plugin
* instance. This will be a string representation of a JSON object and will be
* available on successful execution.
*
* @param string $resultMetadata
*/
public function setResultMetadata($resultMetadata)
{
$this->resultMetadata = $resultMetadata;
}
/**
* @return string
*/
public function getResultMetadata()
{
return $this->resultMetadata;
}
/**
* Output only. The last execution start time of the plugin instance.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1LastExecution::class, 'Google_Service_APIhub_GoogleCloudApihubV1LastExecution');
@@ -0,0 +1,180 @@
<?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 GoogleCloudApihubV1LintResponse extends \Google\Collection
{
/**
* Linter type unspecified.
*/
public const LINTER_LINTER_UNSPECIFIED = 'LINTER_UNSPECIFIED';
/**
* Linter type spectral.
*/
public const LINTER_SPECTRAL = 'SPECTRAL';
/**
* Linter type other.
*/
public const LINTER_OTHER = 'OTHER';
/**
* Lint state unspecified.
*/
public const STATE_LINT_STATE_UNSPECIFIED = 'LINT_STATE_UNSPECIFIED';
/**
* Linting was completed successfully.
*/
public const STATE_LINT_STATE_SUCCESS = 'LINT_STATE_SUCCESS';
/**
* Linting encountered errors.
*/
public const STATE_LINT_STATE_ERROR = 'LINT_STATE_ERROR';
protected $collection_key = 'summary';
/**
* Required. Timestamp when the linting response was generated.
*
* @var string
*/
public $createTime;
protected $issuesType = GoogleCloudApihubV1Issue::class;
protected $issuesDataType = 'array';
/**
* Required. Name of the linter used.
*
* @var string
*/
public $linter;
/**
* Required. Name of the linting application.
*
* @var string
*/
public $source;
/**
* Required. Lint state represents success or failure for linting.
*
* @var string
*/
public $state;
protected $summaryType = GoogleCloudApihubV1SummaryEntry::class;
protected $summaryDataType = 'array';
/**
* Required. Timestamp when the linting response was generated.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. Array of issues found in the analyzed document.
*
* @param GoogleCloudApihubV1Issue[] $issues
*/
public function setIssues($issues)
{
$this->issues = $issues;
}
/**
* @return GoogleCloudApihubV1Issue[]
*/
public function getIssues()
{
return $this->issues;
}
/**
* Required. Name of the linter used.
*
* Accepted values: LINTER_UNSPECIFIED, SPECTRAL, OTHER
*
* @param self::LINTER_* $linter
*/
public function setLinter($linter)
{
$this->linter = $linter;
}
/**
* @return self::LINTER_*
*/
public function getLinter()
{
return $this->linter;
}
/**
* Required. Name of the linting application.
*
* @param string $source
*/
public function setSource($source)
{
$this->source = $source;
}
/**
* @return string
*/
public function getSource()
{
return $this->source;
}
/**
* Required. Lint state represents success or failure for linting.
*
* Accepted values: LINT_STATE_UNSPECIFIED, LINT_STATE_SUCCESS,
* LINT_STATE_ERROR
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Optional. Summary of all issue types and counts for each severity level.
*
* @param GoogleCloudApihubV1SummaryEntry[] $summary
*/
public function setSummary($summary)
{
$this->summary = $summary;
}
/**
* @return GoogleCloudApihubV1SummaryEntry[]
*/
public function getSummary()
{
return $this->summary;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1LintResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1LintResponse');
@@ -0,0 +1,25 @@
<?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 GoogleCloudApihubV1LintSpecRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1LintSpecRequest::class, 'Google_Service_APIhub_GoogleCloudApihubV1LintSpecRequest');
@@ -0,0 +1,69 @@
<?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 GoogleCloudApihubV1ListAddonsResponse extends \Google\Collection
{
protected $collection_key = 'addons';
protected $addonsType = GoogleCloudApihubV1Addon::class;
protected $addonsDataType = 'array';
/**
* A token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
/**
* The list of addons.
*
* @param GoogleCloudApihubV1Addon[] $addons
*/
public function setAddons($addons)
{
$this->addons = $addons;
}
/**
* @return GoogleCloudApihubV1Addon[]
*/
public function getAddons()
{
return $this->addons;
}
/**
* A token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListAddonsResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListAddonsResponse');
@@ -0,0 +1,69 @@
<?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 GoogleCloudApihubV1ListApiOperationsResponse extends \Google\Collection
{
protected $collection_key = 'apiOperations';
protected $apiOperationsType = GoogleCloudApihubV1ApiOperation::class;
protected $apiOperationsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The operations corresponding to an API version.
*
* @param GoogleCloudApihubV1ApiOperation[] $apiOperations
*/
public function setApiOperations($apiOperations)
{
$this->apiOperations = $apiOperations;
}
/**
* @return GoogleCloudApihubV1ApiOperation[]
*/
public function getApiOperations()
{
return $this->apiOperations;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListApiOperationsResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListApiOperationsResponse');
@@ -0,0 +1,69 @@
<?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 GoogleCloudApihubV1ListApisResponse extends \Google\Collection
{
protected $collection_key = 'apis';
protected $apisType = GoogleCloudApihubV1Api::class;
protected $apisDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The API resources present in the API hub.
*
* @param GoogleCloudApihubV1Api[] $apis
*/
public function setApis($apis)
{
$this->apis = $apis;
}
/**
* @return GoogleCloudApihubV1Api[]
*/
public function getApis()
{
return $this->apis;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListApisResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListApisResponse');
@@ -0,0 +1,69 @@
<?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 GoogleCloudApihubV1ListAttributesResponse extends \Google\Collection
{
protected $collection_key = 'attributes';
protected $attributesType = GoogleCloudApihubV1Attribute::class;
protected $attributesDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The list of all attributes.
*
* @param GoogleCloudApihubV1Attribute[] $attributes
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return GoogleCloudApihubV1Attribute[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListAttributesResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListAttributesResponse');
@@ -0,0 +1,69 @@
<?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 GoogleCloudApihubV1ListCurationsResponse extends \Google\Collection
{
protected $collection_key = 'curations';
protected $curationsType = GoogleCloudApihubV1Curation::class;
protected $curationsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The curation resources present in the API hub.
*
* @param GoogleCloudApihubV1Curation[] $curations
*/
public function setCurations($curations)
{
$this->curations = $curations;
}
/**
* @return GoogleCloudApihubV1Curation[]
*/
public function getCurations()
{
return $this->curations;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListCurationsResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListCurationsResponse');
@@ -0,0 +1,69 @@
<?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 GoogleCloudApihubV1ListDependenciesResponse extends \Google\Collection
{
protected $collection_key = 'dependencies';
protected $dependenciesType = GoogleCloudApihubV1Dependency::class;
protected $dependenciesDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The dependency resources present in the API hub.
*
* @param GoogleCloudApihubV1Dependency[] $dependencies
*/
public function setDependencies($dependencies)
{
$this->dependencies = $dependencies;
}
/**
* @return GoogleCloudApihubV1Dependency[]
*/
public function getDependencies()
{
return $this->dependencies;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListDependenciesResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListDependenciesResponse');
@@ -0,0 +1,69 @@
<?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 GoogleCloudApihubV1ListDeploymentsResponse extends \Google\Collection
{
protected $collection_key = 'deployments';
protected $deploymentsType = GoogleCloudApihubV1Deployment::class;
protected $deploymentsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The deployment resources present in the API hub.
*
* @param GoogleCloudApihubV1Deployment[] $deployments
*/
public function setDeployments($deployments)
{
$this->deployments = $deployments;
}
/**
* @return GoogleCloudApihubV1Deployment[]
*/
public function getDeployments()
{
return $this->deployments;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListDeploymentsResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListDeploymentsResponse');
@@ -0,0 +1,69 @@
<?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 GoogleCloudApihubV1ListDiscoveredApiObservationsResponse extends \Google\Collection
{
protected $collection_key = 'discoveredApiObservations';
protected $discoveredApiObservationsType = GoogleCloudApihubV1DiscoveredApiObservation::class;
protected $discoveredApiObservationsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The DiscoveredApiObservation from the specified project and location.
*
* @param GoogleCloudApihubV1DiscoveredApiObservation[] $discoveredApiObservations
*/
public function setDiscoveredApiObservations($discoveredApiObservations)
{
$this->discoveredApiObservations = $discoveredApiObservations;
}
/**
* @return GoogleCloudApihubV1DiscoveredApiObservation[]
*/
public function getDiscoveredApiObservations()
{
return $this->discoveredApiObservations;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListDiscoveredApiObservationsResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListDiscoveredApiObservationsResponse');
@@ -0,0 +1,70 @@
<?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 GoogleCloudApihubV1ListDiscoveredApiOperationsResponse extends \Google\Collection
{
protected $collection_key = 'discoveredApiOperations';
protected $discoveredApiOperationsType = GoogleCloudApihubV1DiscoveredApiOperation::class;
protected $discoveredApiOperationsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The DiscoveredApiOperations from the specified project, location and
* DiscoveredApiObservation.
*
* @param GoogleCloudApihubV1DiscoveredApiOperation[] $discoveredApiOperations
*/
public function setDiscoveredApiOperations($discoveredApiOperations)
{
$this->discoveredApiOperations = $discoveredApiOperations;
}
/**
* @return GoogleCloudApihubV1DiscoveredApiOperation[]
*/
public function getDiscoveredApiOperations()
{
return $this->discoveredApiOperations;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListDiscoveredApiOperationsResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListDiscoveredApiOperationsResponse');
@@ -0,0 +1,69 @@
<?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 GoogleCloudApihubV1ListExternalApisResponse extends \Google\Collection
{
protected $collection_key = 'externalApis';
protected $externalApisType = GoogleCloudApihubV1ExternalApi::class;
protected $externalApisDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The External API resources present in the API hub.
*
* @param GoogleCloudApihubV1ExternalApi[] $externalApis
*/
public function setExternalApis($externalApis)
{
$this->externalApis = $externalApis;
}
/**
* @return GoogleCloudApihubV1ExternalApi[]
*/
public function getExternalApis()
{
return $this->externalApis;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListExternalApisResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListExternalApisResponse');
@@ -0,0 +1,69 @@
<?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 GoogleCloudApihubV1ListHostProjectRegistrationsResponse extends \Google\Collection
{
protected $collection_key = 'hostProjectRegistrations';
protected $hostProjectRegistrationsType = GoogleCloudApihubV1HostProjectRegistration::class;
protected $hostProjectRegistrationsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
/**
* The list of host project registrations.
*
* @param GoogleCloudApihubV1HostProjectRegistration[] $hostProjectRegistrations
*/
public function setHostProjectRegistrations($hostProjectRegistrations)
{
$this->hostProjectRegistrations = $hostProjectRegistrations;
}
/**
* @return GoogleCloudApihubV1HostProjectRegistration[]
*/
public function getHostProjectRegistrations()
{
return $this->hostProjectRegistrations;
}
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListHostProjectRegistrationsResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListHostProjectRegistrationsResponse');
@@ -0,0 +1,69 @@
<?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 GoogleCloudApihubV1ListPluginInstancesResponse extends \Google\Collection
{
protected $collection_key = 'pluginInstances';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
protected $pluginInstancesType = GoogleCloudApihubV1PluginInstance::class;
protected $pluginInstancesDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The plugin instances from the specified parent resource.
*
* @param GoogleCloudApihubV1PluginInstance[] $pluginInstances
*/
public function setPluginInstances($pluginInstances)
{
$this->pluginInstances = $pluginInstances;
}
/**
* @return GoogleCloudApihubV1PluginInstance[]
*/
public function getPluginInstances()
{
return $this->pluginInstances;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListPluginInstancesResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListPluginInstancesResponse');
@@ -0,0 +1,69 @@
<?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 GoogleCloudApihubV1ListPluginsResponse extends \Google\Collection
{
protected $collection_key = 'plugins';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
protected $pluginsType = GoogleCloudApihubV1Plugin::class;
protected $pluginsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The plugins from the specified parent resource.
*
* @param GoogleCloudApihubV1Plugin[] $plugins
*/
public function setPlugins($plugins)
{
$this->plugins = $plugins;
}
/**
* @return GoogleCloudApihubV1Plugin[]
*/
public function getPlugins()
{
return $this->plugins;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListPluginsResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListPluginsResponse');
@@ -0,0 +1,69 @@
<?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 GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse extends \Google\Collection
{
protected $collection_key = 'runtimeProjectAttachments';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
protected $runtimeProjectAttachmentsType = GoogleCloudApihubV1RuntimeProjectAttachment::class;
protected $runtimeProjectAttachmentsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* List of runtime project attachments.
*
* @param GoogleCloudApihubV1RuntimeProjectAttachment[] $runtimeProjectAttachments
*/
public function setRuntimeProjectAttachments($runtimeProjectAttachments)
{
$this->runtimeProjectAttachments = $runtimeProjectAttachments;
}
/**
* @return GoogleCloudApihubV1RuntimeProjectAttachment[]
*/
public function getRuntimeProjectAttachments()
{
return $this->runtimeProjectAttachments;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse');
@@ -0,0 +1,69 @@
<?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 GoogleCloudApihubV1ListSpecsResponse extends \Google\Collection
{
protected $collection_key = 'specs';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
protected $specsType = GoogleCloudApihubV1Spec::class;
protected $specsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The specs corresponding to an API Version.
*
* @param GoogleCloudApihubV1Spec[] $specs
*/
public function setSpecs($specs)
{
$this->specs = $specs;
}
/**
* @return GoogleCloudApihubV1Spec[]
*/
public function getSpecs()
{
return $this->specs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListSpecsResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListSpecsResponse');
@@ -0,0 +1,69 @@
<?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 GoogleCloudApihubV1ListVersionsResponse extends \Google\Collection
{
protected $collection_key = 'versions';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @var string
*/
public $nextPageToken;
protected $versionsType = GoogleCloudApihubV1Version::class;
protected $versionsDataType = 'array';
/**
* A token, which can be sent as `page_token` to retrieve the next page. If
* this field is omitted, there are no subsequent pages.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* The versions corresponding to an API.
*
* @param GoogleCloudApihubV1Version[] $versions
*/
public function setVersions($versions)
{
$this->versions = $versions;
}
/**
* @return GoogleCloudApihubV1Version[]
*/
public function getVersions()
{
return $this->versions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ListVersionsResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ListVersionsResponse');
@@ -0,0 +1,44 @@
<?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 GoogleCloudApihubV1LookupApiHubInstanceResponse extends \Google\Model
{
protected $apiHubInstanceType = GoogleCloudApihubV1ApiHubInstance::class;
protected $apiHubInstanceDataType = '';
/**
* API Hub instance for a project if it exists, empty otherwise.
*
* @param GoogleCloudApihubV1ApiHubInstance $apiHubInstance
*/
public function setApiHubInstance(GoogleCloudApihubV1ApiHubInstance $apiHubInstance)
{
$this->apiHubInstance = $apiHubInstance;
}
/**
* @return GoogleCloudApihubV1ApiHubInstance
*/
public function getApiHubInstance()
{
return $this->apiHubInstance;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1LookupApiHubInstanceResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1LookupApiHubInstanceResponse');
@@ -0,0 +1,44 @@
<?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 GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse extends \Google\Model
{
protected $runtimeProjectAttachmentType = GoogleCloudApihubV1RuntimeProjectAttachment::class;
protected $runtimeProjectAttachmentDataType = '';
/**
* Runtime project attachment for a project if exists, empty otherwise.
*
* @param GoogleCloudApihubV1RuntimeProjectAttachment $runtimeProjectAttachment
*/
public function setRuntimeProjectAttachment(GoogleCloudApihubV1RuntimeProjectAttachment $runtimeProjectAttachment)
{
$this->runtimeProjectAttachment = $runtimeProjectAttachment;
}
/**
* @return GoogleCloudApihubV1RuntimeProjectAttachment
*/
public function getRuntimeProjectAttachment()
{
return $this->runtimeProjectAttachment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse');
@@ -0,0 +1,46 @@
<?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 GoogleCloudApihubV1ManageAddonConfigRequest extends \Google\Model
{
protected $configType = GoogleCloudApihubV1AddonConfig::class;
protected $configDataType = '';
/**
* Required. The config of the addon to be managed. This config will replace
* the config present in the addon. The type of the config should match the
* config type already present in the addon.
*
* @param GoogleCloudApihubV1AddonConfig $config
*/
public function setConfig(GoogleCloudApihubV1AddonConfig $config)
{
$this->config = $config;
}
/**
* @return GoogleCloudApihubV1AddonConfig
*/
public function getConfig()
{
return $this->config;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ManageAddonConfigRequest::class, 'Google_Service_APIhub_GoogleCloudApihubV1ManageAddonConfigRequest');
@@ -0,0 +1,151 @@
<?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 GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest extends \Google\Model
{
/**
* Default unspecified action.
*/
public const ACTION_ACTION_UNSPECIFIED = 'ACTION_UNSPECIFIED';
/**
* Upload or upsert data.
*/
public const ACTION_UPLOAD = 'UPLOAD';
/**
* Delete data.
*/
public const ACTION_DELETE = 'DELETE';
/**
* Default unspecified type.
*/
public const DATA_TYPE_DATA_TYPE_UNSPECIFIED = 'DATA_TYPE_UNSPECIFIED';
/**
* Proxy deployment manifest.
*/
public const DATA_TYPE_PROXY_DEPLOYMENT_MANIFEST = 'PROXY_DEPLOYMENT_MANIFEST';
/**
* Environment manifest.
*/
public const DATA_TYPE_ENVIRONMENT_MANIFEST = 'ENVIRONMENT_MANIFEST';
/**
* Proxy bundle.
*/
public const DATA_TYPE_PROXY_BUNDLE = 'PROXY_BUNDLE';
/**
* Shared flow bundle.
*/
public const DATA_TYPE_SHARED_FLOW_BUNDLE = 'SHARED_FLOW_BUNDLE';
/**
* Required. Action to be performed.
*
* @var string
*/
public $action;
/**
* Required. Data to be managed.
*
* @var string
*/
public $data;
/**
* Required. Type of data to be managed.
*
* @var string
*/
public $dataType;
/**
* Required. Relative path of data being managed for a given plugin instance.
*
* @var string
*/
public $relativePath;
/**
* Required. Action to be performed.
*
* Accepted values: ACTION_UNSPECIFIED, UPLOAD, DELETE
*
* @param self::ACTION_* $action
*/
public function setAction($action)
{
$this->action = $action;
}
/**
* @return self::ACTION_*
*/
public function getAction()
{
return $this->action;
}
/**
* Required. Data to be managed.
*
* @param string $data
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* Required. Type of data to be managed.
*
* Accepted values: DATA_TYPE_UNSPECIFIED, PROXY_DEPLOYMENT_MANIFEST,
* ENVIRONMENT_MANIFEST, PROXY_BUNDLE, SHARED_FLOW_BUNDLE
*
* @param self::DATA_TYPE_* $dataType
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return self::DATA_TYPE_*
*/
public function getDataType()
{
return $this->dataType;
}
/**
* Required. Relative path of data being managed for a given plugin instance.
*
* @param string $relativePath
*/
public function setRelativePath($relativePath)
{
$this->relativePath = $relativePath;
}
/**
* @return string
*/
public function getRelativePath()
{
return $this->relativePath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest::class, 'Google_Service_APIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest');
@@ -0,0 +1,25 @@
<?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 GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse::class, 'Google_Service_APIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse');
@@ -0,0 +1,52 @@
<?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 GoogleCloudApihubV1MatchResult extends \Google\Model
{
/**
* Output only. The name of the matched API Operation. Format: `projects/{proj
* ect}/locations/{location}/apis/{api}/versions/{version}/operations/{operati
* on}`
*
* @var string
*/
public $name;
/**
* Output only. The name of the matched API Operation. Format: `projects/{proj
* ect}/locations/{location}/apis/{api}/versions/{version}/operations/{operati
* on}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1MatchResult::class, 'Google_Service_APIhub_GoogleCloudApihubV1MatchResult');
@@ -0,0 +1,148 @@
<?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 GoogleCloudApihubV1McpTool extends \Google\Model
{
protected $annotationsType = GoogleCloudApihubV1ToolAnnotations::class;
protected $annotationsDataType = '';
/**
* Optional. Description of what the tool does.
*
* @var string
*/
public $description;
protected $inputSchemaType = GoogleCloudApihubV1OperationSchema::class;
protected $inputSchemaDataType = '';
/**
* Required. The name of the tool, unique within its parent scope (version).
*
* @var string
*/
public $name;
protected $outputSchemaType = GoogleCloudApihubV1OperationSchema::class;
protected $outputSchemaDataType = '';
/**
* Optional. Optional title for the tool.
*
* @var string
*/
public $title;
/**
* Optional. Optional annotations for the tool.
*
* @param GoogleCloudApihubV1ToolAnnotations $annotations
*/
public function setAnnotations(GoogleCloudApihubV1ToolAnnotations $annotations)
{
$this->annotations = $annotations;
}
/**
* @return GoogleCloudApihubV1ToolAnnotations
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* Optional. Description of what the tool does.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Optional. Input schema for the operation. This can be parsed only from MCP
* schema type.
*
* @param GoogleCloudApihubV1OperationSchema $inputSchema
*/
public function setInputSchema(GoogleCloudApihubV1OperationSchema $inputSchema)
{
$this->inputSchema = $inputSchema;
}
/**
* @return GoogleCloudApihubV1OperationSchema
*/
public function getInputSchema()
{
return $this->inputSchema;
}
/**
* Required. The name of the tool, unique within its parent scope (version).
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Optional. Output schema for the operation. This can be parsed only from MCP
* schema type.
*
* @param GoogleCloudApihubV1OperationSchema $outputSchema
*/
public function setOutputSchema(GoogleCloudApihubV1OperationSchema $outputSchema)
{
$this->outputSchema = $outputSchema;
}
/**
* @return GoogleCloudApihubV1OperationSchema
*/
public function getOutputSchema()
{
return $this->outputSchema;
}
/**
* Optional. Optional title for the tool.
*
* @param string $title
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1McpTool::class, 'Google_Service_APIhub_GoogleCloudApihubV1McpTool');
@@ -0,0 +1,49 @@
<?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 GoogleCloudApihubV1MultiIntValues extends \Google\Collection
{
protected $collection_key = 'values';
/**
* Optional. The config variable value of data type multi int.
*
* @var int[]
*/
public $values;
/**
* Optional. The config variable value of data type multi int.
*
* @param int[] $values
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return int[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1MultiIntValues::class, 'Google_Service_APIhub_GoogleCloudApihubV1MultiIntValues');
@@ -0,0 +1,45 @@
<?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 GoogleCloudApihubV1MultiSelectValues extends \Google\Collection
{
protected $collection_key = 'values';
protected $valuesType = GoogleCloudApihubV1ConfigValueOption::class;
protected $valuesDataType = 'array';
/**
* Optional. The config variable value of data type multi select.
*
* @param GoogleCloudApihubV1ConfigValueOption[] $values
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return GoogleCloudApihubV1ConfigValueOption[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1MultiSelectValues::class, 'Google_Service_APIhub_GoogleCloudApihubV1MultiSelectValues');
@@ -0,0 +1,49 @@
<?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 GoogleCloudApihubV1MultiStringValues extends \Google\Collection
{
protected $collection_key = 'values';
/**
* Optional. The config variable value of data type multi string.
*
* @var string[]
*/
public $values;
/**
* Optional. The config variable value of data type multi string.
*
* @param string[] $values
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1MultiStringValues::class, 'Google_Service_APIhub_GoogleCloudApihubV1MultiStringValues');
@@ -0,0 +1,68 @@
<?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 GoogleCloudApihubV1Oauth2ClientCredentialsConfig extends \Google\Model
{
/**
* Required. The client identifier.
*
* @var string
*/
public $clientId;
protected $clientSecretType = GoogleCloudApihubV1Secret::class;
protected $clientSecretDataType = '';
/**
* Required. The client identifier.
*
* @param string $clientId
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* Required. Secret version reference containing the client secret. The
* `secretmanager.versions.access` permission should be granted to the service
* account accessing the secret.
*
* @param GoogleCloudApihubV1Secret $clientSecret
*/
public function setClientSecret(GoogleCloudApihubV1Secret $clientSecret)
{
$this->clientSecret = $clientSecret;
}
/**
* @return GoogleCloudApihubV1Secret
*/
public function getClientSecret()
{
return $this->clientSecret;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1Oauth2ClientCredentialsConfig::class, 'Google_Service_APIhub_GoogleCloudApihubV1Oauth2ClientCredentialsConfig');
@@ -0,0 +1,110 @@
<?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 GoogleCloudApihubV1OpenApiSpecDetails extends \Google\Model
{
/**
* SpecFile type unspecified.
*/
public const FORMAT_FORMAT_UNSPECIFIED = 'FORMAT_UNSPECIFIED';
/**
* OpenAPI Spec v2.0.
*/
public const FORMAT_OPEN_API_SPEC_2_0 = 'OPEN_API_SPEC_2_0';
/**
* OpenAPI Spec v3.0.
*/
public const FORMAT_OPEN_API_SPEC_3_0 = 'OPEN_API_SPEC_3_0';
/**
* OpenAPI Spec v3.1.
*/
public const FORMAT_OPEN_API_SPEC_3_1 = 'OPEN_API_SPEC_3_1';
/**
* Output only. The format of the spec.
*
* @var string
*/
public $format;
protected $ownerType = GoogleCloudApihubV1Owner::class;
protected $ownerDataType = '';
/**
* Output only. The version in the spec. This maps to `info.version` in
* OpenAPI spec.
*
* @var string
*/
public $version;
/**
* Output only. The format of the spec.
*
* Accepted values: FORMAT_UNSPECIFIED, OPEN_API_SPEC_2_0, OPEN_API_SPEC_3_0,
* OPEN_API_SPEC_3_1
*
* @param self::FORMAT_* $format
*/
public function setFormat($format)
{
$this->format = $format;
}
/**
* @return self::FORMAT_*
*/
public function getFormat()
{
return $this->format;
}
/**
* Output only. Owner details for the spec. This maps to `info.contact` in
* OpenAPI spec.
*
* @param GoogleCloudApihubV1Owner $owner
*/
public function setOwner(GoogleCloudApihubV1Owner $owner)
{
$this->owner = $owner;
}
/**
* @return GoogleCloudApihubV1Owner
*/
public function getOwner()
{
return $this->owner;
}
/**
* Output only. The version in the spec. This maps to `info.version` in
* OpenAPI spec.
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1OpenApiSpecDetails::class, 'Google_Service_APIhub_GoogleCloudApihubV1OpenApiSpecDetails');
@@ -0,0 +1,131 @@
<?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 GoogleCloudApihubV1OperationDetails extends \Google\Model
{
/**
* Optional. For OpenAPI spec, this will be set if `operation.deprecated`is
* marked as `true` in the spec.
*
* @var bool
*/
public $deprecated;
/**
* Optional. Description of the operation behavior. For OpenAPI spec, this
* will map to `operation.description` in the spec, in case description is
* empty, `operation.summary` will be used.
*
* @var string
*/
public $description;
protected $documentationType = GoogleCloudApihubV1Documentation::class;
protected $documentationDataType = '';
protected $httpOperationType = GoogleCloudApihubV1HttpOperation::class;
protected $httpOperationDataType = '';
protected $mcpToolType = GoogleCloudApihubV1McpTool::class;
protected $mcpToolDataType = '';
/**
* Optional. For OpenAPI spec, this will be set if `operation.deprecated`is
* marked as `true` in the spec.
*
* @param bool $deprecated
*/
public function setDeprecated($deprecated)
{
$this->deprecated = $deprecated;
}
/**
* @return bool
*/
public function getDeprecated()
{
return $this->deprecated;
}
/**
* Optional. Description of the operation behavior. For OpenAPI spec, this
* will map to `operation.description` in the spec, in case description is
* empty, `operation.summary` will be used.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Optional. Additional external documentation for this operation. For OpenAPI
* spec, this will map to `operation.documentation` in the spec.
*
* @param GoogleCloudApihubV1Documentation $documentation
*/
public function setDocumentation(GoogleCloudApihubV1Documentation $documentation)
{
$this->documentation = $documentation;
}
/**
* @return GoogleCloudApihubV1Documentation
*/
public function getDocumentation()
{
return $this->documentation;
}
/**
* The HTTP Operation.
*
* @param GoogleCloudApihubV1HttpOperation $httpOperation
*/
public function setHttpOperation(GoogleCloudApihubV1HttpOperation $httpOperation)
{
$this->httpOperation = $httpOperation;
}
/**
* @return GoogleCloudApihubV1HttpOperation
*/
public function getHttpOperation()
{
return $this->httpOperation;
}
/**
* The MCP Tool Operation.
*
* @param GoogleCloudApihubV1McpTool $mcpTool
*/
public function setMcpTool(GoogleCloudApihubV1McpTool $mcpTool)
{
$this->mcpTool = $mcpTool;
}
/**
* @return GoogleCloudApihubV1McpTool
*/
public function getMcpTool()
{
return $this->mcpTool;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1OperationDetails::class, 'Google_Service_APIhub_GoogleCloudApihubV1OperationDetails');
@@ -0,0 +1,186 @@
<?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 GoogleCloudApihubV1OperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have been cancelled successfully have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have been cancelled successfully have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudApihubV1OperationMetadata::class, 'Google_Service_APIhub_GoogleCloudApihubV1OperationMetadata');

Some files were not shown because too many files have changed in this diff Show More