Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
<?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\ServiceConsumerManagement;
class AddTenantProjectRequest extends \Google\Model
{
protected $projectConfigType = TenantProjectConfig::class;
protected $projectConfigDataType = '';
/**
* @var string
*/
public $tag;
/**
* @param TenantProjectConfig
*/
public function setProjectConfig(TenantProjectConfig $projectConfig)
{
$this->projectConfig = $projectConfig;
}
/**
* @return TenantProjectConfig
*/
public function getProjectConfig()
{
return $this->projectConfig;
}
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddTenantProjectRequest::class, 'Google_Service_ServiceConsumerManagement_AddTenantProjectRequest');

View File

@@ -0,0 +1,145 @@
<?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\ServiceConsumerManagement;
class Api extends \Google\Collection
{
protected $collection_key = 'options';
protected $methodsType = Method::class;
protected $methodsDataType = 'array';
protected $mixinsType = Mixin::class;
protected $mixinsDataType = 'array';
/**
* @var string
*/
public $name;
protected $optionsType = Option::class;
protected $optionsDataType = 'array';
protected $sourceContextType = SourceContext::class;
protected $sourceContextDataType = '';
/**
* @var string
*/
public $syntax;
/**
* @var string
*/
public $version;
/**
* @param Method[]
*/
public function setMethods($methods)
{
$this->methods = $methods;
}
/**
* @return Method[]
*/
public function getMethods()
{
return $this->methods;
}
/**
* @param Mixin[]
*/
public function setMixins($mixins)
{
$this->mixins = $mixins;
}
/**
* @return Mixin[]
*/
public function getMixins()
{
return $this->mixins;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Option[]
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Option[]
*/
public function getOptions()
{
return $this->options;
}
/**
* @param SourceContext
*/
public function setSourceContext(SourceContext $sourceContext)
{
$this->sourceContext = $sourceContext;
}
/**
* @return SourceContext
*/
public function getSourceContext()
{
return $this->sourceContext;
}
/**
* @param string
*/
public function setSyntax($syntax)
{
$this->syntax = $syntax;
}
/**
* @return string
*/
public function getSyntax()
{
return $this->syntax;
}
/**
* @param string
*/
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(Api::class, 'Google_Service_ServiceConsumerManagement_Api');

View File

@@ -0,0 +1,60 @@
<?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\ServiceConsumerManagement;
class ApplyTenantProjectConfigRequest extends \Google\Model
{
protected $projectConfigType = TenantProjectConfig::class;
protected $projectConfigDataType = '';
/**
* @var string
*/
public $tag;
/**
* @param TenantProjectConfig
*/
public function setProjectConfig(TenantProjectConfig $projectConfig)
{
$this->projectConfig = $projectConfig;
}
/**
* @return TenantProjectConfig
*/
public function getProjectConfig()
{
return $this->projectConfig;
}
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApplyTenantProjectConfigRequest::class, 'Google_Service_ServiceConsumerManagement_ApplyTenantProjectConfigRequest');

View File

@@ -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\ServiceConsumerManagement;
class AttachTenantProjectRequest extends \Google\Model
{
/**
* @var string
*/
public $externalResource;
/**
* @var string
*/
public $reservedResource;
/**
* @var string
*/
public $tag;
/**
* @param string
*/
public function setExternalResource($externalResource)
{
$this->externalResource = $externalResource;
}
/**
* @return string
*/
public function getExternalResource()
{
return $this->externalResource;
}
/**
* @param string
*/
public function setReservedResource($reservedResource)
{
$this->reservedResource = $reservedResource;
}
/**
* @return string
*/
public function getReservedResource()
{
return $this->reservedResource;
}
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AttachTenantProjectRequest::class, 'Google_Service_ServiceConsumerManagement_AttachTenantProjectRequest');

View File

@@ -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\ServiceConsumerManagement;
class AuthProvider extends \Google\Collection
{
protected $collection_key = 'jwtLocations';
/**
* @var string
*/
public $audiences;
/**
* @var string
*/
public $authorizationUrl;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $issuer;
/**
* @var string
*/
public $jwksUri;
protected $jwtLocationsType = JwtLocation::class;
protected $jwtLocationsDataType = 'array';
/**
* @param string
*/
public function setAudiences($audiences)
{
$this->audiences = $audiences;
}
/**
* @return string
*/
public function getAudiences()
{
return $this->audiences;
}
/**
* @param string
*/
public function setAuthorizationUrl($authorizationUrl)
{
$this->authorizationUrl = $authorizationUrl;
}
/**
* @return string
*/
public function getAuthorizationUrl()
{
return $this->authorizationUrl;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setIssuer($issuer)
{
$this->issuer = $issuer;
}
/**
* @return string
*/
public function getIssuer()
{
return $this->issuer;
}
/**
* @param string
*/
public function setJwksUri($jwksUri)
{
$this->jwksUri = $jwksUri;
}
/**
* @return string
*/
public function getJwksUri()
{
return $this->jwksUri;
}
/**
* @param JwtLocation[]
*/
public function setJwtLocations($jwtLocations)
{
$this->jwtLocations = $jwtLocations;
}
/**
* @return JwtLocation[]
*/
public function getJwtLocations()
{
return $this->jwtLocations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthProvider::class, 'Google_Service_ServiceConsumerManagement_AuthProvider');

View File

@@ -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\ServiceConsumerManagement;
class AuthRequirement extends \Google\Model
{
/**
* @var string
*/
public $audiences;
/**
* @var string
*/
public $providerId;
/**
* @param string
*/
public function setAudiences($audiences)
{
$this->audiences = $audiences;
}
/**
* @return string
*/
public function getAudiences()
{
return $this->audiences;
}
/**
* @param string
*/
public function setProviderId($providerId)
{
$this->providerId = $providerId;
}
/**
* @return string
*/
public function getProviderId()
{
return $this->providerId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthRequirement::class, 'Google_Service_ServiceConsumerManagement_AuthRequirement');

View File

@@ -0,0 +1,59 @@
<?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\ServiceConsumerManagement;
class Authentication extends \Google\Collection
{
protected $collection_key = 'rules';
protected $providersType = AuthProvider::class;
protected $providersDataType = 'array';
protected $rulesType = AuthenticationRule::class;
protected $rulesDataType = 'array';
/**
* @param AuthProvider[]
*/
public function setProviders($providers)
{
$this->providers = $providers;
}
/**
* @return AuthProvider[]
*/
public function getProviders()
{
return $this->providers;
}
/**
* @param AuthenticationRule[]
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return AuthenticationRule[]
*/
public function getRules()
{
return $this->rules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Authentication::class, 'Google_Service_ServiceConsumerManagement_Authentication');

View File

@@ -0,0 +1,95 @@
<?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\ServiceConsumerManagement;
class AuthenticationRule extends \Google\Collection
{
protected $collection_key = 'requirements';
/**
* @var bool
*/
public $allowWithoutCredential;
protected $oauthType = OAuthRequirements::class;
protected $oauthDataType = '';
protected $requirementsType = AuthRequirement::class;
protected $requirementsDataType = 'array';
/**
* @var string
*/
public $selector;
/**
* @param bool
*/
public function setAllowWithoutCredential($allowWithoutCredential)
{
$this->allowWithoutCredential = $allowWithoutCredential;
}
/**
* @return bool
*/
public function getAllowWithoutCredential()
{
return $this->allowWithoutCredential;
}
/**
* @param OAuthRequirements
*/
public function setOauth(OAuthRequirements $oauth)
{
$this->oauth = $oauth;
}
/**
* @return OAuthRequirements
*/
public function getOauth()
{
return $this->oauth;
}
/**
* @param AuthRequirement[]
*/
public function setRequirements($requirements)
{
$this->requirements = $requirements;
}
/**
* @return AuthRequirement[]
*/
public function getRequirements()
{
return $this->requirements;
}
/**
* @param string
*/
public function setSelector($selector)
{
$this->selector = $selector;
}
/**
* @return string
*/
public function getSelector()
{
return $this->selector;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthenticationRule::class, 'Google_Service_ServiceConsumerManagement_AuthenticationRule');

View File

@@ -0,0 +1,43 @@
<?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\ServiceConsumerManagement;
class Backend extends \Google\Collection
{
protected $collection_key = 'rules';
protected $rulesType = BackendRule::class;
protected $rulesDataType = 'array';
/**
* @param BackendRule[]
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return BackendRule[]
*/
public function getRules()
{
return $this->rules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Backend::class, 'Google_Service_ServiceConsumerManagement_Backend');

View File

@@ -0,0 +1,177 @@
<?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\ServiceConsumerManagement;
class BackendRule extends \Google\Model
{
/**
* @var string
*/
public $address;
public $deadline;
/**
* @var bool
*/
public $disableAuth;
/**
* @var string
*/
public $jwtAudience;
public $minDeadline;
public $operationDeadline;
protected $overridesByRequestProtocolType = BackendRule::class;
protected $overridesByRequestProtocolDataType = 'map';
/**
* @var string
*/
public $pathTranslation;
/**
* @var string
*/
public $protocol;
/**
* @var string
*/
public $selector;
/**
* @param string
*/
public function setAddress($address)
{
$this->address = $address;
}
/**
* @return string
*/
public function getAddress()
{
return $this->address;
}
public function setDeadline($deadline)
{
$this->deadline = $deadline;
}
public function getDeadline()
{
return $this->deadline;
}
/**
* @param bool
*/
public function setDisableAuth($disableAuth)
{
$this->disableAuth = $disableAuth;
}
/**
* @return bool
*/
public function getDisableAuth()
{
return $this->disableAuth;
}
/**
* @param string
*/
public function setJwtAudience($jwtAudience)
{
$this->jwtAudience = $jwtAudience;
}
/**
* @return string
*/
public function getJwtAudience()
{
return $this->jwtAudience;
}
public function setMinDeadline($minDeadline)
{
$this->minDeadline = $minDeadline;
}
public function getMinDeadline()
{
return $this->minDeadline;
}
public function setOperationDeadline($operationDeadline)
{
$this->operationDeadline = $operationDeadline;
}
public function getOperationDeadline()
{
return $this->operationDeadline;
}
/**
* @param BackendRule[]
*/
public function setOverridesByRequestProtocol($overridesByRequestProtocol)
{
$this->overridesByRequestProtocol = $overridesByRequestProtocol;
}
/**
* @return BackendRule[]
*/
public function getOverridesByRequestProtocol()
{
return $this->overridesByRequestProtocol;
}
/**
* @param string
*/
public function setPathTranslation($pathTranslation)
{
$this->pathTranslation = $pathTranslation;
}
/**
* @return string
*/
public function getPathTranslation()
{
return $this->pathTranslation;
}
/**
* @param string
*/
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
/**
* @return string
*/
public function getProtocol()
{
return $this->protocol;
}
/**
* @param string
*/
public function setSelector($selector)
{
$this->selector = $selector;
}
/**
* @return string
*/
public function getSelector()
{
return $this->selector;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendRule::class, 'Google_Service_ServiceConsumerManagement_BackendRule');

View File

@@ -0,0 +1,43 @@
<?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\ServiceConsumerManagement;
class Billing extends \Google\Collection
{
protected $collection_key = 'consumerDestinations';
protected $consumerDestinationsType = BillingDestination::class;
protected $consumerDestinationsDataType = 'array';
/**
* @param BillingDestination[]
*/
public function setConsumerDestinations($consumerDestinations)
{
$this->consumerDestinations = $consumerDestinations;
}
/**
* @return BillingDestination[]
*/
public function getConsumerDestinations()
{
return $this->consumerDestinations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Billing::class, 'Google_Service_ServiceConsumerManagement_Billing');

View File

@@ -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\ServiceConsumerManagement;
class BillingConfig extends \Google\Model
{
/**
* @var string
*/
public $billingAccount;
/**
* @param string
*/
public function setBillingAccount($billingAccount)
{
$this->billingAccount = $billingAccount;
}
/**
* @return string
*/
public function getBillingAccount()
{
return $this->billingAccount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BillingConfig::class, 'Google_Service_ServiceConsumerManagement_BillingConfig');

View File

@@ -0,0 +1,63 @@
<?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\ServiceConsumerManagement;
class BillingDestination extends \Google\Collection
{
protected $collection_key = 'metrics';
/**
* @var string[]
*/
public $metrics;
/**
* @var string
*/
public $monitoredResource;
/**
* @param string[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param string
*/
public function setMonitoredResource($monitoredResource)
{
$this->monitoredResource = $monitoredResource;
}
/**
* @return string
*/
public function getMonitoredResource()
{
return $this->monitoredResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BillingDestination::class, 'Google_Service_ServiceConsumerManagement_BillingDestination');

View File

@@ -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\ServiceConsumerManagement;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_ServiceConsumerManagement_CancelOperationRequest');

View File

@@ -0,0 +1,208 @@
<?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\ServiceConsumerManagement;
class ClientLibrarySettings extends \Google\Model
{
protected $cppSettingsType = CppSettings::class;
protected $cppSettingsDataType = '';
protected $dotnetSettingsType = DotnetSettings::class;
protected $dotnetSettingsDataType = '';
protected $goSettingsType = GoSettings::class;
protected $goSettingsDataType = '';
protected $javaSettingsType = JavaSettings::class;
protected $javaSettingsDataType = '';
/**
* @var string
*/
public $launchStage;
protected $nodeSettingsType = NodeSettings::class;
protected $nodeSettingsDataType = '';
protected $phpSettingsType = PhpSettings::class;
protected $phpSettingsDataType = '';
protected $pythonSettingsType = PythonSettings::class;
protected $pythonSettingsDataType = '';
/**
* @var bool
*/
public $restNumericEnums;
protected $rubySettingsType = RubySettings::class;
protected $rubySettingsDataType = '';
/**
* @var string
*/
public $version;
/**
* @param CppSettings
*/
public function setCppSettings(CppSettings $cppSettings)
{
$this->cppSettings = $cppSettings;
}
/**
* @return CppSettings
*/
public function getCppSettings()
{
return $this->cppSettings;
}
/**
* @param DotnetSettings
*/
public function setDotnetSettings(DotnetSettings $dotnetSettings)
{
$this->dotnetSettings = $dotnetSettings;
}
/**
* @return DotnetSettings
*/
public function getDotnetSettings()
{
return $this->dotnetSettings;
}
/**
* @param GoSettings
*/
public function setGoSettings(GoSettings $goSettings)
{
$this->goSettings = $goSettings;
}
/**
* @return GoSettings
*/
public function getGoSettings()
{
return $this->goSettings;
}
/**
* @param JavaSettings
*/
public function setJavaSettings(JavaSettings $javaSettings)
{
$this->javaSettings = $javaSettings;
}
/**
* @return JavaSettings
*/
public function getJavaSettings()
{
return $this->javaSettings;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param NodeSettings
*/
public function setNodeSettings(NodeSettings $nodeSettings)
{
$this->nodeSettings = $nodeSettings;
}
/**
* @return NodeSettings
*/
public function getNodeSettings()
{
return $this->nodeSettings;
}
/**
* @param PhpSettings
*/
public function setPhpSettings(PhpSettings $phpSettings)
{
$this->phpSettings = $phpSettings;
}
/**
* @return PhpSettings
*/
public function getPhpSettings()
{
return $this->phpSettings;
}
/**
* @param PythonSettings
*/
public function setPythonSettings(PythonSettings $pythonSettings)
{
$this->pythonSettings = $pythonSettings;
}
/**
* @return PythonSettings
*/
public function getPythonSettings()
{
return $this->pythonSettings;
}
/**
* @param bool
*/
public function setRestNumericEnums($restNumericEnums)
{
$this->restNumericEnums = $restNumericEnums;
}
/**
* @return bool
*/
public function getRestNumericEnums()
{
return $this->restNumericEnums;
}
/**
* @param RubySettings
*/
public function setRubySettings(RubySettings $rubySettings)
{
$this->rubySettings = $rubySettings;
}
/**
* @return RubySettings
*/
public function getRubySettings()
{
return $this->rubySettings;
}
/**
* @param string
*/
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(ClientLibrarySettings::class, 'Google_Service_ServiceConsumerManagement_ClientLibrarySettings');

View File

@@ -0,0 +1,79 @@
<?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\ServiceConsumerManagement;
class CommonLanguageSettings extends \Google\Collection
{
protected $collection_key = 'destinations';
/**
* @var string[]
*/
public $destinations;
/**
* @var string
*/
public $referenceDocsUri;
protected $selectiveGapicGenerationType = SelectiveGapicGeneration::class;
protected $selectiveGapicGenerationDataType = '';
/**
* @param string[]
*/
public function setDestinations($destinations)
{
$this->destinations = $destinations;
}
/**
* @return string[]
*/
public function getDestinations()
{
return $this->destinations;
}
/**
* @param string
*/
public function setReferenceDocsUri($referenceDocsUri)
{
$this->referenceDocsUri = $referenceDocsUri;
}
/**
* @return string
*/
public function getReferenceDocsUri()
{
return $this->referenceDocsUri;
}
/**
* @param SelectiveGapicGeneration
*/
public function setSelectiveGapicGeneration(SelectiveGapicGeneration $selectiveGapicGeneration)
{
$this->selectiveGapicGeneration = $selectiveGapicGeneration;
}
/**
* @return SelectiveGapicGeneration
*/
public function getSelectiveGapicGeneration()
{
return $this->selectiveGapicGeneration;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CommonLanguageSettings::class, 'Google_Service_ServiceConsumerManagement_CommonLanguageSettings');

View File

@@ -0,0 +1,43 @@
<?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\ServiceConsumerManagement;
class Context extends \Google\Collection
{
protected $collection_key = 'rules';
protected $rulesType = ContextRule::class;
protected $rulesDataType = 'array';
/**
* @param ContextRule[]
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return ContextRule[]
*/
public function getRules()
{
return $this->rules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Context::class, 'Google_Service_ServiceConsumerManagement_Context');

View File

@@ -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\ServiceConsumerManagement;
class ContextRule extends \Google\Collection
{
protected $collection_key = 'requested';
/**
* @var string[]
*/
public $allowedRequestExtensions;
/**
* @var string[]
*/
public $allowedResponseExtensions;
/**
* @var string[]
*/
public $provided;
/**
* @var string[]
*/
public $requested;
/**
* @var string
*/
public $selector;
/**
* @param string[]
*/
public function setAllowedRequestExtensions($allowedRequestExtensions)
{
$this->allowedRequestExtensions = $allowedRequestExtensions;
}
/**
* @return string[]
*/
public function getAllowedRequestExtensions()
{
return $this->allowedRequestExtensions;
}
/**
* @param string[]
*/
public function setAllowedResponseExtensions($allowedResponseExtensions)
{
$this->allowedResponseExtensions = $allowedResponseExtensions;
}
/**
* @return string[]
*/
public function getAllowedResponseExtensions()
{
return $this->allowedResponseExtensions;
}
/**
* @param string[]
*/
public function setProvided($provided)
{
$this->provided = $provided;
}
/**
* @return string[]
*/
public function getProvided()
{
return $this->provided;
}
/**
* @param string[]
*/
public function setRequested($requested)
{
$this->requested = $requested;
}
/**
* @return string[]
*/
public function getRequested()
{
return $this->requested;
}
/**
* @param string
*/
public function setSelector($selector)
{
$this->selector = $selector;
}
/**
* @return string
*/
public function getSelector()
{
return $this->selector;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContextRule::class, 'Google_Service_ServiceConsumerManagement_ContextRule');

View File

@@ -0,0 +1,61 @@
<?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\ServiceConsumerManagement;
class Control extends \Google\Collection
{
protected $collection_key = 'methodPolicies';
/**
* @var string
*/
public $environment;
protected $methodPoliciesType = MethodPolicy::class;
protected $methodPoliciesDataType = 'array';
/**
* @param string
*/
public function setEnvironment($environment)
{
$this->environment = $environment;
}
/**
* @return string
*/
public function getEnvironment()
{
return $this->environment;
}
/**
* @param MethodPolicy[]
*/
public function setMethodPolicies($methodPolicies)
{
$this->methodPolicies = $methodPolicies;
}
/**
* @return MethodPolicy[]
*/
public function getMethodPolicies()
{
return $this->methodPolicies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Control::class, 'Google_Service_ServiceConsumerManagement_Control');

View File

@@ -0,0 +1,42 @@
<?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\ServiceConsumerManagement;
class CppSettings extends \Google\Model
{
protected $commonType = CommonLanguageSettings::class;
protected $commonDataType = '';
/**
* @param CommonLanguageSettings
*/
public function setCommon(CommonLanguageSettings $common)
{
$this->common = $common;
}
/**
* @return CommonLanguageSettings
*/
public function getCommon()
{
return $this->common;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CppSettings::class, 'Google_Service_ServiceConsumerManagement_CppSettings');

View File

@@ -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\ServiceConsumerManagement;
class CreateTenancyUnitRequest extends \Google\Model
{
/**
* @var string
*/
public $tenancyUnitId;
/**
* @param string
*/
public function setTenancyUnitId($tenancyUnitId)
{
$this->tenancyUnitId = $tenancyUnitId;
}
/**
* @return string
*/
public function getTenancyUnitId()
{
return $this->tenancyUnitId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateTenancyUnitRequest::class, 'Google_Service_ServiceConsumerManagement_CreateTenancyUnitRequest');

View File

@@ -0,0 +1,61 @@
<?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\ServiceConsumerManagement;
class CustomError extends \Google\Collection
{
protected $collection_key = 'types';
protected $rulesType = CustomErrorRule::class;
protected $rulesDataType = 'array';
/**
* @var string[]
*/
public $types;
/**
* @param CustomErrorRule[]
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return CustomErrorRule[]
*/
public function getRules()
{
return $this->rules;
}
/**
* @param string[]
*/
public function setTypes($types)
{
$this->types = $types;
}
/**
* @return string[]
*/
public function getTypes()
{
return $this->types;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomError::class, 'Google_Service_ServiceConsumerManagement_CustomError');

View File

@@ -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\ServiceConsumerManagement;
class CustomErrorRule extends \Google\Model
{
/**
* @var bool
*/
public $isErrorType;
/**
* @var string
*/
public $selector;
/**
* @param bool
*/
public function setIsErrorType($isErrorType)
{
$this->isErrorType = $isErrorType;
}
/**
* @return bool
*/
public function getIsErrorType()
{
return $this->isErrorType;
}
/**
* @param string
*/
public function setSelector($selector)
{
$this->selector = $selector;
}
/**
* @return string
*/
public function getSelector()
{
return $this->selector;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomErrorRule::class, 'Google_Service_ServiceConsumerManagement_CustomErrorRule');

View File

@@ -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\ServiceConsumerManagement;
class CustomHttpPattern extends \Google\Model
{
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $path;
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomHttpPattern::class, 'Google_Service_ServiceConsumerManagement_CustomHttpPattern');

View File

@@ -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\ServiceConsumerManagement;
class DeleteTenantProjectRequest extends \Google\Model
{
/**
* @var string
*/
public $tag;
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeleteTenantProjectRequest::class, 'Google_Service_ServiceConsumerManagement_DeleteTenantProjectRequest');

View File

@@ -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\ServiceConsumerManagement;
class Documentation extends \Google\Collection
{
protected $collection_key = 'sectionOverrides';
/**
* @var string
*/
public $documentationRootUrl;
/**
* @var string
*/
public $overview;
protected $pagesType = Page::class;
protected $pagesDataType = 'array';
protected $rulesType = DocumentationRule::class;
protected $rulesDataType = 'array';
protected $sectionOverridesType = Page::class;
protected $sectionOverridesDataType = 'array';
/**
* @var string
*/
public $serviceRootUrl;
/**
* @var string
*/
public $summary;
/**
* @param string
*/
public function setDocumentationRootUrl($documentationRootUrl)
{
$this->documentationRootUrl = $documentationRootUrl;
}
/**
* @return string
*/
public function getDocumentationRootUrl()
{
return $this->documentationRootUrl;
}
/**
* @param string
*/
public function setOverview($overview)
{
$this->overview = $overview;
}
/**
* @return string
*/
public function getOverview()
{
return $this->overview;
}
/**
* @param Page[]
*/
public function setPages($pages)
{
$this->pages = $pages;
}
/**
* @return Page[]
*/
public function getPages()
{
return $this->pages;
}
/**
* @param DocumentationRule[]
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return DocumentationRule[]
*/
public function getRules()
{
return $this->rules;
}
/**
* @param Page[]
*/
public function setSectionOverrides($sectionOverrides)
{
$this->sectionOverrides = $sectionOverrides;
}
/**
* @return Page[]
*/
public function getSectionOverrides()
{
return $this->sectionOverrides;
}
/**
* @param string
*/
public function setServiceRootUrl($serviceRootUrl)
{
$this->serviceRootUrl = $serviceRootUrl;
}
/**
* @return string
*/
public function getServiceRootUrl()
{
return $this->serviceRootUrl;
}
/**
* @param string
*/
public function setSummary($summary)
{
$this->summary = $summary;
}
/**
* @return string
*/
public function getSummary()
{
return $this->summary;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Documentation::class, 'Google_Service_ServiceConsumerManagement_Documentation');

View File

@@ -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\ServiceConsumerManagement;
class DocumentationRule extends \Google\Model
{
/**
* @var string
*/
public $deprecationDescription;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $disableReplacementWords;
/**
* @var string
*/
public $selector;
/**
* @param string
*/
public function setDeprecationDescription($deprecationDescription)
{
$this->deprecationDescription = $deprecationDescription;
}
/**
* @return string
*/
public function getDeprecationDescription()
{
return $this->deprecationDescription;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisableReplacementWords($disableReplacementWords)
{
$this->disableReplacementWords = $disableReplacementWords;
}
/**
* @return string
*/
public function getDisableReplacementWords()
{
return $this->disableReplacementWords;
}
/**
* @param string
*/
public function setSelector($selector)
{
$this->selector = $selector;
}
/**
* @return string
*/
public function getSelector()
{
return $this->selector;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DocumentationRule::class, 'Google_Service_ServiceConsumerManagement_DocumentationRule');

View File

@@ -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\ServiceConsumerManagement;
class DotnetSettings extends \Google\Collection
{
protected $collection_key = 'ignoredResources';
protected $commonType = CommonLanguageSettings::class;
protected $commonDataType = '';
/**
* @var string[]
*/
public $forcedNamespaceAliases;
/**
* @var string[]
*/
public $handwrittenSignatures;
/**
* @var string[]
*/
public $ignoredResources;
/**
* @var string[]
*/
public $renamedResources;
/**
* @var string[]
*/
public $renamedServices;
/**
* @param CommonLanguageSettings
*/
public function setCommon(CommonLanguageSettings $common)
{
$this->common = $common;
}
/**
* @return CommonLanguageSettings
*/
public function getCommon()
{
return $this->common;
}
/**
* @param string[]
*/
public function setForcedNamespaceAliases($forcedNamespaceAliases)
{
$this->forcedNamespaceAliases = $forcedNamespaceAliases;
}
/**
* @return string[]
*/
public function getForcedNamespaceAliases()
{
return $this->forcedNamespaceAliases;
}
/**
* @param string[]
*/
public function setHandwrittenSignatures($handwrittenSignatures)
{
$this->handwrittenSignatures = $handwrittenSignatures;
}
/**
* @return string[]
*/
public function getHandwrittenSignatures()
{
return $this->handwrittenSignatures;
}
/**
* @param string[]
*/
public function setIgnoredResources($ignoredResources)
{
$this->ignoredResources = $ignoredResources;
}
/**
* @return string[]
*/
public function getIgnoredResources()
{
return $this->ignoredResources;
}
/**
* @param string[]
*/
public function setRenamedResources($renamedResources)
{
$this->renamedResources = $renamedResources;
}
/**
* @return string[]
*/
public function getRenamedResources()
{
return $this->renamedResources;
}
/**
* @param string[]
*/
public function setRenamedServices($renamedServices)
{
$this->renamedServices = $renamedServices;
}
/**
* @return string[]
*/
public function getRenamedServices()
{
return $this->renamedServices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DotnetSettings::class, 'Google_Service_ServiceConsumerManagement_DotnetSettings');

View File

@@ -0,0 +1,99 @@
<?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\ServiceConsumerManagement;
class Endpoint extends \Google\Collection
{
protected $collection_key = 'aliases';
/**
* @var string[]
*/
public $aliases;
/**
* @var bool
*/
public $allowCors;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $target;
/**
* @param string[]
*/
public function setAliases($aliases)
{
$this->aliases = $aliases;
}
/**
* @return string[]
*/
public function getAliases()
{
return $this->aliases;
}
/**
* @param bool
*/
public function setAllowCors($allowCors)
{
$this->allowCors = $allowCors;
}
/**
* @return bool
*/
public function getAllowCors()
{
return $this->allowCors;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Endpoint::class, 'Google_Service_ServiceConsumerManagement_Endpoint');

View File

@@ -0,0 +1,129 @@
<?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\ServiceConsumerManagement;
class Enum extends \Google\Collection
{
protected $collection_key = 'options';
/**
* @var string
*/
public $edition;
protected $enumvalueType = EnumValue::class;
protected $enumvalueDataType = 'array';
/**
* @var string
*/
public $name;
protected $optionsType = Option::class;
protected $optionsDataType = 'array';
protected $sourceContextType = SourceContext::class;
protected $sourceContextDataType = '';
/**
* @var string
*/
public $syntax;
/**
* @param string
*/
public function setEdition($edition)
{
$this->edition = $edition;
}
/**
* @return string
*/
public function getEdition()
{
return $this->edition;
}
/**
* @param EnumValue[]
*/
public function setEnumvalue($enumvalue)
{
$this->enumvalue = $enumvalue;
}
/**
* @return EnumValue[]
*/
public function getEnumvalue()
{
return $this->enumvalue;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Option[]
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Option[]
*/
public function getOptions()
{
return $this->options;
}
/**
* @param SourceContext
*/
public function setSourceContext(SourceContext $sourceContext)
{
$this->sourceContext = $sourceContext;
}
/**
* @return SourceContext
*/
public function getSourceContext()
{
return $this->sourceContext;
}
/**
* @param string
*/
public function setSyntax($syntax)
{
$this->syntax = $syntax;
}
/**
* @return string
*/
public function getSyntax()
{
return $this->syntax;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Enum::class, 'Google_Service_ServiceConsumerManagement_Enum');

View File

@@ -0,0 +1,79 @@
<?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\ServiceConsumerManagement;
class EnumValue extends \Google\Collection
{
protected $collection_key = 'options';
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $number;
protected $optionsType = Option::class;
protected $optionsDataType = 'array';
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setNumber($number)
{
$this->number = $number;
}
/**
* @return int
*/
public function getNumber()
{
return $this->number;
}
/**
* @param Option[]
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Option[]
*/
public function getOptions()
{
return $this->options;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnumValue::class, 'Google_Service_ServiceConsumerManagement_EnumValue');

View File

@@ -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\ServiceConsumerManagement;
class ExperimentalFeatures extends \Google\Model
{
/**
* @var bool
*/
public $protobufPythonicTypesEnabled;
/**
* @var bool
*/
public $restAsyncIoEnabled;
/**
* @param bool
*/
public function setProtobufPythonicTypesEnabled($protobufPythonicTypesEnabled)
{
$this->protobufPythonicTypesEnabled = $protobufPythonicTypesEnabled;
}
/**
* @return bool
*/
public function getProtobufPythonicTypesEnabled()
{
return $this->protobufPythonicTypesEnabled;
}
/**
* @param bool
*/
public function setRestAsyncIoEnabled($restAsyncIoEnabled)
{
$this->restAsyncIoEnabled = $restAsyncIoEnabled;
}
/**
* @return bool
*/
public function getRestAsyncIoEnabled()
{
return $this->restAsyncIoEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExperimentalFeatures::class, 'Google_Service_ServiceConsumerManagement_ExperimentalFeatures');

View File

@@ -0,0 +1,205 @@
<?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\ServiceConsumerManagement;
class Field extends \Google\Collection
{
protected $collection_key = 'options';
/**
* @var string
*/
public $cardinality;
/**
* @var string
*/
public $defaultValue;
/**
* @var string
*/
public $jsonName;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $number;
/**
* @var int
*/
public $oneofIndex;
protected $optionsType = Option::class;
protected $optionsDataType = 'array';
/**
* @var bool
*/
public $packed;
/**
* @var string
*/
public $typeUrl;
/**
* @param string
*/
public function setCardinality($cardinality)
{
$this->cardinality = $cardinality;
}
/**
* @return string
*/
public function getCardinality()
{
return $this->cardinality;
}
/**
* @param string
*/
public function setDefaultValue($defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return string
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* @param string
*/
public function setJsonName($jsonName)
{
$this->jsonName = $jsonName;
}
/**
* @return string
*/
public function getJsonName()
{
return $this->jsonName;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setNumber($number)
{
$this->number = $number;
}
/**
* @return int
*/
public function getNumber()
{
return $this->number;
}
/**
* @param int
*/
public function setOneofIndex($oneofIndex)
{
$this->oneofIndex = $oneofIndex;
}
/**
* @return int
*/
public function getOneofIndex()
{
return $this->oneofIndex;
}
/**
* @param Option[]
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Option[]
*/
public function getOptions()
{
return $this->options;
}
/**
* @param bool
*/
public function setPacked($packed)
{
$this->packed = $packed;
}
/**
* @return bool
*/
public function getPacked()
{
return $this->packed;
}
/**
* @param string
*/
public function setTypeUrl($typeUrl)
{
$this->typeUrl = $typeUrl;
}
/**
* @return string
*/
public function getTypeUrl()
{
return $this->typeUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Field::class, 'Google_Service_ServiceConsumerManagement_Field');

View File

@@ -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\ServiceConsumerManagement;
class FieldPolicy extends \Google\Model
{
/**
* @var string
*/
public $resourcePermission;
/**
* @var string
*/
public $resourceType;
/**
* @var string
*/
public $selector;
/**
* @param string
*/
public function setResourcePermission($resourcePermission)
{
$this->resourcePermission = $resourcePermission;
}
/**
* @return string
*/
public function getResourcePermission()
{
return $this->resourcePermission;
}
/**
* @param string
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
/**
* @param string
*/
public function setSelector($selector)
{
$this->selector = $selector;
}
/**
* @return string
*/
public function getSelector()
{
return $this->selector;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FieldPolicy::class, 'Google_Service_ServiceConsumerManagement_FieldPolicy');

View File

@@ -0,0 +1,60 @@
<?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\ServiceConsumerManagement;
class GoSettings extends \Google\Model
{
protected $commonType = CommonLanguageSettings::class;
protected $commonDataType = '';
/**
* @var string[]
*/
public $renamedServices;
/**
* @param CommonLanguageSettings
*/
public function setCommon(CommonLanguageSettings $common)
{
$this->common = $common;
}
/**
* @return CommonLanguageSettings
*/
public function getCommon()
{
return $this->common;
}
/**
* @param string[]
*/
public function setRenamedServices($renamedServices)
{
$this->renamedServices = $renamedServices;
}
/**
* @return string[]
*/
public function getRenamedServices()
{
return $this->renamedServices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoSettings::class, 'Google_Service_ServiceConsumerManagement_GoSettings');

View File

@@ -0,0 +1,61 @@
<?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\ServiceConsumerManagement;
class Http extends \Google\Collection
{
protected $collection_key = 'rules';
/**
* @var bool
*/
public $fullyDecodeReservedExpansion;
protected $rulesType = HttpRule::class;
protected $rulesDataType = 'array';
/**
* @param bool
*/
public function setFullyDecodeReservedExpansion($fullyDecodeReservedExpansion)
{
$this->fullyDecodeReservedExpansion = $fullyDecodeReservedExpansion;
}
/**
* @return bool
*/
public function getFullyDecodeReservedExpansion()
{
return $this->fullyDecodeReservedExpansion;
}
/**
* @param HttpRule[]
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return HttpRule[]
*/
public function getRules()
{
return $this->rules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Http::class, 'Google_Service_ServiceConsumerManagement_Http');

View File

@@ -0,0 +1,203 @@
<?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\ServiceConsumerManagement;
class HttpRule extends \Google\Collection
{
protected $collection_key = 'additionalBindings';
protected $additionalBindingsType = HttpRule::class;
protected $additionalBindingsDataType = 'array';
/**
* @var string
*/
public $body;
protected $customType = CustomHttpPattern::class;
protected $customDataType = '';
/**
* @var string
*/
public $delete;
/**
* @var string
*/
public $get;
/**
* @var string
*/
public $patch;
/**
* @var string
*/
public $post;
/**
* @var string
*/
public $put;
/**
* @var string
*/
public $responseBody;
/**
* @var string
*/
public $selector;
/**
* @param HttpRule[]
*/
public function setAdditionalBindings($additionalBindings)
{
$this->additionalBindings = $additionalBindings;
}
/**
* @return HttpRule[]
*/
public function getAdditionalBindings()
{
return $this->additionalBindings;
}
/**
* @param string
*/
public function setBody($body)
{
$this->body = $body;
}
/**
* @return string
*/
public function getBody()
{
return $this->body;
}
/**
* @param CustomHttpPattern
*/
public function setCustom(CustomHttpPattern $custom)
{
$this->custom = $custom;
}
/**
* @return CustomHttpPattern
*/
public function getCustom()
{
return $this->custom;
}
/**
* @param string
*/
public function setDelete($delete)
{
$this->delete = $delete;
}
/**
* @return string
*/
public function getDelete()
{
return $this->delete;
}
/**
* @param string
*/
public function setGet($get)
{
$this->get = $get;
}
/**
* @return string
*/
public function getGet()
{
return $this->get;
}
/**
* @param string
*/
public function setPatch($patch)
{
$this->patch = $patch;
}
/**
* @return string
*/
public function getPatch()
{
return $this->patch;
}
/**
* @param string
*/
public function setPost($post)
{
$this->post = $post;
}
/**
* @return string
*/
public function getPost()
{
return $this->post;
}
/**
* @param string
*/
public function setPut($put)
{
$this->put = $put;
}
/**
* @return string
*/
public function getPut()
{
return $this->put;
}
/**
* @param string
*/
public function setResponseBody($responseBody)
{
$this->responseBody = $responseBody;
}
/**
* @return string
*/
public function getResponseBody()
{
return $this->responseBody;
}
/**
* @param string
*/
public function setSelector($selector)
{
$this->selector = $selector;
}
/**
* @return string
*/
public function getSelector()
{
return $this->selector;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpRule::class, 'Google_Service_ServiceConsumerManagement_HttpRule');

View File

@@ -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\ServiceConsumerManagement;
class JavaSettings extends \Google\Model
{
protected $commonType = CommonLanguageSettings::class;
protected $commonDataType = '';
/**
* @var string
*/
public $libraryPackage;
/**
* @var string[]
*/
public $serviceClassNames;
/**
* @param CommonLanguageSettings
*/
public function setCommon(CommonLanguageSettings $common)
{
$this->common = $common;
}
/**
* @return CommonLanguageSettings
*/
public function getCommon()
{
return $this->common;
}
/**
* @param string
*/
public function setLibraryPackage($libraryPackage)
{
$this->libraryPackage = $libraryPackage;
}
/**
* @return string
*/
public function getLibraryPackage()
{
return $this->libraryPackage;
}
/**
* @param string[]
*/
public function setServiceClassNames($serviceClassNames)
{
$this->serviceClassNames = $serviceClassNames;
}
/**
* @return string[]
*/
public function getServiceClassNames()
{
return $this->serviceClassNames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JavaSettings::class, 'Google_Service_ServiceConsumerManagement_JavaSettings');

View File

@@ -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\ServiceConsumerManagement;
class JwtLocation extends \Google\Model
{
/**
* @var string
*/
public $cookie;
/**
* @var string
*/
public $header;
/**
* @var string
*/
public $query;
/**
* @var string
*/
public $valuePrefix;
/**
* @param string
*/
public function setCookie($cookie)
{
$this->cookie = $cookie;
}
/**
* @return string
*/
public function getCookie()
{
return $this->cookie;
}
/**
* @param string
*/
public function setHeader($header)
{
$this->header = $header;
}
/**
* @return string
*/
public function getHeader()
{
return $this->header;
}
/**
* @param string
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* @return string
*/
public function getQuery()
{
return $this->query;
}
/**
* @param string
*/
public function setValuePrefix($valuePrefix)
{
$this->valuePrefix = $valuePrefix;
}
/**
* @return string
*/
public function getValuePrefix()
{
return $this->valuePrefix;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JwtLocation::class, 'Google_Service_ServiceConsumerManagement_JwtLocation');

View File

@@ -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\ServiceConsumerManagement;
class LabelDescriptor extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $valueType;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param string
*/
public function setValueType($valueType)
{
$this->valueType = $valueType;
}
/**
* @return string
*/
public function getValueType()
{
return $this->valueType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LabelDescriptor::class, 'Google_Service_ServiceConsumerManagement_LabelDescriptor');

View File

@@ -0,0 +1,61 @@
<?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\ServiceConsumerManagement;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Operation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_ServiceConsumerManagement_ListOperationsResponse');

View File

@@ -0,0 +1,61 @@
<?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\ServiceConsumerManagement;
class ListTenancyUnitsResponse extends \Google\Collection
{
protected $collection_key = 'tenancyUnits';
/**
* @var string
*/
public $nextPageToken;
protected $tenancyUnitsType = TenancyUnit::class;
protected $tenancyUnitsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param TenancyUnit[]
*/
public function setTenancyUnits($tenancyUnits)
{
$this->tenancyUnits = $tenancyUnits;
}
/**
* @return TenancyUnit[]
*/
public function getTenancyUnits()
{
return $this->tenancyUnits;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListTenancyUnitsResponse::class, 'Google_Service_ServiceConsumerManagement_ListTenancyUnitsResponse');

View File

@@ -0,0 +1,97 @@
<?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\ServiceConsumerManagement;
class LogDescriptor extends \Google\Collection
{
protected $collection_key = 'labels';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
protected $labelsType = LabelDescriptor::class;
protected $labelsDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param LabelDescriptor[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return LabelDescriptor[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
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(LogDescriptor::class, 'Google_Service_ServiceConsumerManagement_LogDescriptor');

View File

@@ -0,0 +1,59 @@
<?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\ServiceConsumerManagement;
class Logging extends \Google\Collection
{
protected $collection_key = 'producerDestinations';
protected $consumerDestinationsType = LoggingDestination::class;
protected $consumerDestinationsDataType = 'array';
protected $producerDestinationsType = LoggingDestination::class;
protected $producerDestinationsDataType = 'array';
/**
* @param LoggingDestination[]
*/
public function setConsumerDestinations($consumerDestinations)
{
$this->consumerDestinations = $consumerDestinations;
}
/**
* @return LoggingDestination[]
*/
public function getConsumerDestinations()
{
return $this->consumerDestinations;
}
/**
* @param LoggingDestination[]
*/
public function setProducerDestinations($producerDestinations)
{
$this->producerDestinations = $producerDestinations;
}
/**
* @return LoggingDestination[]
*/
public function getProducerDestinations()
{
return $this->producerDestinations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Logging::class, 'Google_Service_ServiceConsumerManagement_Logging');

View File

@@ -0,0 +1,63 @@
<?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\ServiceConsumerManagement;
class LoggingDestination extends \Google\Collection
{
protected $collection_key = 'logs';
/**
* @var string[]
*/
public $logs;
/**
* @var string
*/
public $monitoredResource;
/**
* @param string[]
*/
public function setLogs($logs)
{
$this->logs = $logs;
}
/**
* @return string[]
*/
public function getLogs()
{
return $this->logs;
}
/**
* @param string
*/
public function setMonitoredResource($monitoredResource)
{
$this->monitoredResource = $monitoredResource;
}
/**
* @return string
*/
public function getMonitoredResource()
{
return $this->monitoredResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LoggingDestination::class, 'Google_Service_ServiceConsumerManagement_LoggingDestination');

View File

@@ -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\ServiceConsumerManagement;
class LongRunning extends \Google\Model
{
/**
* @var string
*/
public $initialPollDelay;
/**
* @var string
*/
public $maxPollDelay;
/**
* @var float
*/
public $pollDelayMultiplier;
/**
* @var string
*/
public $totalPollTimeout;
/**
* @param string
*/
public function setInitialPollDelay($initialPollDelay)
{
$this->initialPollDelay = $initialPollDelay;
}
/**
* @return string
*/
public function getInitialPollDelay()
{
return $this->initialPollDelay;
}
/**
* @param string
*/
public function setMaxPollDelay($maxPollDelay)
{
$this->maxPollDelay = $maxPollDelay;
}
/**
* @return string
*/
public function getMaxPollDelay()
{
return $this->maxPollDelay;
}
/**
* @param float
*/
public function setPollDelayMultiplier($pollDelayMultiplier)
{
$this->pollDelayMultiplier = $pollDelayMultiplier;
}
/**
* @return float
*/
public function getPollDelayMultiplier()
{
return $this->pollDelayMultiplier;
}
/**
* @param string
*/
public function setTotalPollTimeout($totalPollTimeout)
{
$this->totalPollTimeout = $totalPollTimeout;
}
/**
* @return string
*/
public function getTotalPollTimeout()
{
return $this->totalPollTimeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LongRunning::class, 'Google_Service_ServiceConsumerManagement_LongRunning');

View File

@@ -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\ServiceConsumerManagement;
class Method extends \Google\Collection
{
protected $collection_key = 'options';
/**
* @var string
*/
public $name;
protected $optionsType = Option::class;
protected $optionsDataType = 'array';
/**
* @var bool
*/
public $requestStreaming;
/**
* @var string
*/
public $requestTypeUrl;
/**
* @var bool
*/
public $responseStreaming;
/**
* @var string
*/
public $responseTypeUrl;
/**
* @var string
*/
public $syntax;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Option[]
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Option[]
*/
public function getOptions()
{
return $this->options;
}
/**
* @param bool
*/
public function setRequestStreaming($requestStreaming)
{
$this->requestStreaming = $requestStreaming;
}
/**
* @return bool
*/
public function getRequestStreaming()
{
return $this->requestStreaming;
}
/**
* @param string
*/
public function setRequestTypeUrl($requestTypeUrl)
{
$this->requestTypeUrl = $requestTypeUrl;
}
/**
* @return string
*/
public function getRequestTypeUrl()
{
return $this->requestTypeUrl;
}
/**
* @param bool
*/
public function setResponseStreaming($responseStreaming)
{
$this->responseStreaming = $responseStreaming;
}
/**
* @return bool
*/
public function getResponseStreaming()
{
return $this->responseStreaming;
}
/**
* @param string
*/
public function setResponseTypeUrl($responseTypeUrl)
{
$this->responseTypeUrl = $responseTypeUrl;
}
/**
* @return string
*/
public function getResponseTypeUrl()
{
return $this->responseTypeUrl;
}
/**
* @param string
*/
public function setSyntax($syntax)
{
$this->syntax = $syntax;
}
/**
* @return string
*/
public function getSyntax()
{
return $this->syntax;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Method::class, 'Google_Service_ServiceConsumerManagement_Method');

View File

@@ -0,0 +1,61 @@
<?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\ServiceConsumerManagement;
class MethodPolicy extends \Google\Collection
{
protected $collection_key = 'requestPolicies';
protected $requestPoliciesType = FieldPolicy::class;
protected $requestPoliciesDataType = 'array';
/**
* @var string
*/
public $selector;
/**
* @param FieldPolicy[]
*/
public function setRequestPolicies($requestPolicies)
{
$this->requestPolicies = $requestPolicies;
}
/**
* @return FieldPolicy[]
*/
public function getRequestPolicies()
{
return $this->requestPolicies;
}
/**
* @param string
*/
public function setSelector($selector)
{
$this->selector = $selector;
}
/**
* @return string
*/
public function getSelector()
{
return $this->selector;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MethodPolicy::class, 'Google_Service_ServiceConsumerManagement_MethodPolicy');

View File

@@ -0,0 +1,79 @@
<?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\ServiceConsumerManagement;
class MethodSettings extends \Google\Collection
{
protected $collection_key = 'autoPopulatedFields';
/**
* @var string[]
*/
public $autoPopulatedFields;
protected $longRunningType = LongRunning::class;
protected $longRunningDataType = '';
/**
* @var string
*/
public $selector;
/**
* @param string[]
*/
public function setAutoPopulatedFields($autoPopulatedFields)
{
$this->autoPopulatedFields = $autoPopulatedFields;
}
/**
* @return string[]
*/
public function getAutoPopulatedFields()
{
return $this->autoPopulatedFields;
}
/**
* @param LongRunning
*/
public function setLongRunning(LongRunning $longRunning)
{
$this->longRunning = $longRunning;
}
/**
* @return LongRunning
*/
public function getLongRunning()
{
return $this->longRunning;
}
/**
* @param string
*/
public function setSelector($selector)
{
$this->selector = $selector;
}
/**
* @return string
*/
public function getSelector()
{
return $this->selector;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MethodSettings::class, 'Google_Service_ServiceConsumerManagement_MethodSettings');

View File

@@ -0,0 +1,221 @@
<?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\ServiceConsumerManagement;
class MetricDescriptor extends \Google\Collection
{
protected $collection_key = 'monitoredResourceTypes';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
protected $labelsType = LabelDescriptor::class;
protected $labelsDataType = 'array';
/**
* @var string
*/
public $launchStage;
protected $metadataType = MetricDescriptorMetadata::class;
protected $metadataDataType = '';
/**
* @var string
*/
public $metricKind;
/**
* @var string[]
*/
public $monitoredResourceTypes;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $unit;
/**
* @var string
*/
public $valueType;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param LabelDescriptor[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return LabelDescriptor[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param MetricDescriptorMetadata
*/
public function setMetadata(MetricDescriptorMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return MetricDescriptorMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setMetricKind($metricKind)
{
$this->metricKind = $metricKind;
}
/**
* @return string
*/
public function getMetricKind()
{
return $this->metricKind;
}
/**
* @param string[]
*/
public function setMonitoredResourceTypes($monitoredResourceTypes)
{
$this->monitoredResourceTypes = $monitoredResourceTypes;
}
/**
* @return string[]
*/
public function getMonitoredResourceTypes()
{
return $this->monitoredResourceTypes;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUnit($unit)
{
$this->unit = $unit;
}
/**
* @return string
*/
public function getUnit()
{
return $this->unit;
}
/**
* @param string
*/
public function setValueType($valueType)
{
$this->valueType = $valueType;
}
/**
* @return string
*/
public function getValueType()
{
return $this->valueType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MetricDescriptor::class, 'Google_Service_ServiceConsumerManagement_MetricDescriptor');

View File

@@ -0,0 +1,99 @@
<?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\ServiceConsumerManagement;
class MetricDescriptorMetadata extends \Google\Collection
{
protected $collection_key = 'timeSeriesResourceHierarchyLevel';
/**
* @var string
*/
public $ingestDelay;
/**
* @var string
*/
public $launchStage;
/**
* @var string
*/
public $samplePeriod;
/**
* @var string[]
*/
public $timeSeriesResourceHierarchyLevel;
/**
* @param string
*/
public function setIngestDelay($ingestDelay)
{
$this->ingestDelay = $ingestDelay;
}
/**
* @return string
*/
public function getIngestDelay()
{
return $this->ingestDelay;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param string
*/
public function setSamplePeriod($samplePeriod)
{
$this->samplePeriod = $samplePeriod;
}
/**
* @return string
*/
public function getSamplePeriod()
{
return $this->samplePeriod;
}
/**
* @param string[]
*/
public function setTimeSeriesResourceHierarchyLevel($timeSeriesResourceHierarchyLevel)
{
$this->timeSeriesResourceHierarchyLevel = $timeSeriesResourceHierarchyLevel;
}
/**
* @return string[]
*/
public function getTimeSeriesResourceHierarchyLevel()
{
return $this->timeSeriesResourceHierarchyLevel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MetricDescriptorMetadata::class, 'Google_Service_ServiceConsumerManagement_MetricDescriptorMetadata');

View File

@@ -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\ServiceConsumerManagement;
class MetricRule extends \Google\Model
{
/**
* @var string[]
*/
public $metricCosts;
/**
* @var string
*/
public $selector;
/**
* @param string[]
*/
public function setMetricCosts($metricCosts)
{
$this->metricCosts = $metricCosts;
}
/**
* @return string[]
*/
public function getMetricCosts()
{
return $this->metricCosts;
}
/**
* @param string
*/
public function setSelector($selector)
{
$this->selector = $selector;
}
/**
* @return string
*/
public function getSelector()
{
return $this->selector;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MetricRule::class, 'Google_Service_ServiceConsumerManagement_MetricRule');

View File

@@ -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\ServiceConsumerManagement;
class Mixin extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $root;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setRoot($root)
{
$this->root = $root;
}
/**
* @return string
*/
public function getRoot()
{
return $this->root;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Mixin::class, 'Google_Service_ServiceConsumerManagement_Mixin');

View File

@@ -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\ServiceConsumerManagement;
class MonitoredResourceDescriptor extends \Google\Collection
{
protected $collection_key = 'labels';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
protected $labelsType = LabelDescriptor::class;
protected $labelsDataType = 'array';
/**
* @var string
*/
public $launchStage;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param LabelDescriptor[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return LabelDescriptor[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MonitoredResourceDescriptor::class, 'Google_Service_ServiceConsumerManagement_MonitoredResourceDescriptor');

View File

@@ -0,0 +1,59 @@
<?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\ServiceConsumerManagement;
class Monitoring extends \Google\Collection
{
protected $collection_key = 'producerDestinations';
protected $consumerDestinationsType = MonitoringDestination::class;
protected $consumerDestinationsDataType = 'array';
protected $producerDestinationsType = MonitoringDestination::class;
protected $producerDestinationsDataType = 'array';
/**
* @param MonitoringDestination[]
*/
public function setConsumerDestinations($consumerDestinations)
{
$this->consumerDestinations = $consumerDestinations;
}
/**
* @return MonitoringDestination[]
*/
public function getConsumerDestinations()
{
return $this->consumerDestinations;
}
/**
* @param MonitoringDestination[]
*/
public function setProducerDestinations($producerDestinations)
{
$this->producerDestinations = $producerDestinations;
}
/**
* @return MonitoringDestination[]
*/
public function getProducerDestinations()
{
return $this->producerDestinations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Monitoring::class, 'Google_Service_ServiceConsumerManagement_Monitoring');

View File

@@ -0,0 +1,63 @@
<?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\ServiceConsumerManagement;
class MonitoringDestination extends \Google\Collection
{
protected $collection_key = 'metrics';
/**
* @var string[]
*/
public $metrics;
/**
* @var string
*/
public $monitoredResource;
/**
* @param string[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return string[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param string
*/
public function setMonitoredResource($monitoredResource)
{
$this->monitoredResource = $monitoredResource;
}
/**
* @return string
*/
public function getMonitoredResource()
{
return $this->monitoredResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MonitoringDestination::class, 'Google_Service_ServiceConsumerManagement_MonitoringDestination');

View File

@@ -0,0 +1,42 @@
<?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\ServiceConsumerManagement;
class NodeSettings extends \Google\Model
{
protected $commonType = CommonLanguageSettings::class;
protected $commonDataType = '';
/**
* @param CommonLanguageSettings
*/
public function setCommon(CommonLanguageSettings $common)
{
$this->common = $common;
}
/**
* @return CommonLanguageSettings
*/
public function getCommon()
{
return $this->common;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NodeSettings::class, 'Google_Service_ServiceConsumerManagement_NodeSettings');

View File

@@ -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\ServiceConsumerManagement;
class OAuthRequirements extends \Google\Model
{
/**
* @var string
*/
public $canonicalScopes;
/**
* @param string
*/
public function setCanonicalScopes($canonicalScopes)
{
$this->canonicalScopes = $canonicalScopes;
}
/**
* @return string
*/
public function getCanonicalScopes()
{
return $this->canonicalScopes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OAuthRequirements::class, 'Google_Service_ServiceConsumerManagement_OAuthRequirements');

View File

@@ -0,0 +1,114 @@
<?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\ServiceConsumerManagement;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_ServiceConsumerManagement_Operation');

View File

@@ -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\ServiceConsumerManagement;
class Option extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $value;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return array[]
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Option::class, 'Google_Service_ServiceConsumerManagement_Option');

View File

@@ -0,0 +1,79 @@
<?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\ServiceConsumerManagement;
class Page extends \Google\Collection
{
protected $collection_key = 'subpages';
/**
* @var string
*/
public $content;
/**
* @var string
*/
public $name;
protected $subpagesType = Page::class;
protected $subpagesDataType = 'array';
/**
* @param string
*/
public function setContent($content)
{
$this->content = $content;
}
/**
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Page[]
*/
public function setSubpages($subpages)
{
$this->subpages = $subpages;
}
/**
* @return Page[]
*/
public function getSubpages()
{
return $this->subpages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Page::class, 'Google_Service_ServiceConsumerManagement_Page');

View File

@@ -0,0 +1,42 @@
<?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\ServiceConsumerManagement;
class PhpSettings extends \Google\Model
{
protected $commonType = CommonLanguageSettings::class;
protected $commonDataType = '';
/**
* @param CommonLanguageSettings
*/
public function setCommon(CommonLanguageSettings $common)
{
$this->common = $common;
}
/**
* @return CommonLanguageSettings
*/
public function getCommon()
{
return $this->common;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PhpSettings::class, 'Google_Service_ServiceConsumerManagement_PhpSettings');

View File

@@ -0,0 +1,63 @@
<?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\ServiceConsumerManagement;
class PolicyBinding extends \Google\Collection
{
protected $collection_key = 'members';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PolicyBinding::class, 'Google_Service_ServiceConsumerManagement_PolicyBinding');

View File

@@ -0,0 +1,221 @@
<?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\ServiceConsumerManagement;
class Publishing extends \Google\Collection
{
protected $collection_key = 'methodSettings';
/**
* @var string
*/
public $apiShortName;
/**
* @var string[]
*/
public $codeownerGithubTeams;
/**
* @var string
*/
public $docTagPrefix;
/**
* @var string
*/
public $documentationUri;
/**
* @var string
*/
public $githubLabel;
protected $librarySettingsType = ClientLibrarySettings::class;
protected $librarySettingsDataType = 'array';
protected $methodSettingsType = MethodSettings::class;
protected $methodSettingsDataType = 'array';
/**
* @var string
*/
public $newIssueUri;
/**
* @var string
*/
public $organization;
/**
* @var string
*/
public $protoReferenceDocumentationUri;
/**
* @var string
*/
public $restReferenceDocumentationUri;
/**
* @param string
*/
public function setApiShortName($apiShortName)
{
$this->apiShortName = $apiShortName;
}
/**
* @return string
*/
public function getApiShortName()
{
return $this->apiShortName;
}
/**
* @param string[]
*/
public function setCodeownerGithubTeams($codeownerGithubTeams)
{
$this->codeownerGithubTeams = $codeownerGithubTeams;
}
/**
* @return string[]
*/
public function getCodeownerGithubTeams()
{
return $this->codeownerGithubTeams;
}
/**
* @param string
*/
public function setDocTagPrefix($docTagPrefix)
{
$this->docTagPrefix = $docTagPrefix;
}
/**
* @return string
*/
public function getDocTagPrefix()
{
return $this->docTagPrefix;
}
/**
* @param string
*/
public function setDocumentationUri($documentationUri)
{
$this->documentationUri = $documentationUri;
}
/**
* @return string
*/
public function getDocumentationUri()
{
return $this->documentationUri;
}
/**
* @param string
*/
public function setGithubLabel($githubLabel)
{
$this->githubLabel = $githubLabel;
}
/**
* @return string
*/
public function getGithubLabel()
{
return $this->githubLabel;
}
/**
* @param ClientLibrarySettings[]
*/
public function setLibrarySettings($librarySettings)
{
$this->librarySettings = $librarySettings;
}
/**
* @return ClientLibrarySettings[]
*/
public function getLibrarySettings()
{
return $this->librarySettings;
}
/**
* @param MethodSettings[]
*/
public function setMethodSettings($methodSettings)
{
$this->methodSettings = $methodSettings;
}
/**
* @return MethodSettings[]
*/
public function getMethodSettings()
{
return $this->methodSettings;
}
/**
* @param string
*/
public function setNewIssueUri($newIssueUri)
{
$this->newIssueUri = $newIssueUri;
}
/**
* @return string
*/
public function getNewIssueUri()
{
return $this->newIssueUri;
}
/**
* @param string
*/
public function setOrganization($organization)
{
$this->organization = $organization;
}
/**
* @return string
*/
public function getOrganization()
{
return $this->organization;
}
/**
* @param string
*/
public function setProtoReferenceDocumentationUri($protoReferenceDocumentationUri)
{
$this->protoReferenceDocumentationUri = $protoReferenceDocumentationUri;
}
/**
* @return string
*/
public function getProtoReferenceDocumentationUri()
{
return $this->protoReferenceDocumentationUri;
}
/**
* @param string
*/
public function setRestReferenceDocumentationUri($restReferenceDocumentationUri)
{
$this->restReferenceDocumentationUri = $restReferenceDocumentationUri;
}
/**
* @return string
*/
public function getRestReferenceDocumentationUri()
{
return $this->restReferenceDocumentationUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Publishing::class, 'Google_Service_ServiceConsumerManagement_Publishing');

View File

@@ -0,0 +1,58 @@
<?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\ServiceConsumerManagement;
class PythonSettings extends \Google\Model
{
protected $commonType = CommonLanguageSettings::class;
protected $commonDataType = '';
protected $experimentalFeaturesType = ExperimentalFeatures::class;
protected $experimentalFeaturesDataType = '';
/**
* @param CommonLanguageSettings
*/
public function setCommon(CommonLanguageSettings $common)
{
$this->common = $common;
}
/**
* @return CommonLanguageSettings
*/
public function getCommon()
{
return $this->common;
}
/**
* @param ExperimentalFeatures
*/
public function setExperimentalFeatures(ExperimentalFeatures $experimentalFeatures)
{
$this->experimentalFeatures = $experimentalFeatures;
}
/**
* @return ExperimentalFeatures
*/
public function getExperimentalFeatures()
{
return $this->experimentalFeatures;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PythonSettings::class, 'Google_Service_ServiceConsumerManagement_PythonSettings');

View File

@@ -0,0 +1,59 @@
<?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\ServiceConsumerManagement;
class Quota extends \Google\Collection
{
protected $collection_key = 'metricRules';
protected $limitsType = QuotaLimit::class;
protected $limitsDataType = 'array';
protected $metricRulesType = MetricRule::class;
protected $metricRulesDataType = 'array';
/**
* @param QuotaLimit[]
*/
public function setLimits($limits)
{
$this->limits = $limits;
}
/**
* @return QuotaLimit[]
*/
public function getLimits()
{
return $this->limits;
}
/**
* @param MetricRule[]
*/
public function setMetricRules($metricRules)
{
$this->metricRules = $metricRules;
}
/**
* @return MetricRule[]
*/
public function getMetricRules()
{
return $this->metricRules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Quota::class, 'Google_Service_ServiceConsumerManagement_Quota');

View File

@@ -0,0 +1,206 @@
<?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\ServiceConsumerManagement;
class QuotaLimit extends \Google\Model
{
/**
* @var string
*/
public $defaultLimit;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $duration;
/**
* @var string
*/
public $freeTier;
/**
* @var string
*/
public $maxLimit;
/**
* @var string
*/
public $metric;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $unit;
/**
* @var string[]
*/
public $values;
/**
* @param string
*/
public function setDefaultLimit($defaultLimit)
{
$this->defaultLimit = $defaultLimit;
}
/**
* @return string
*/
public function getDefaultLimit()
{
return $this->defaultLimit;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* @param string
*/
public function setFreeTier($freeTier)
{
$this->freeTier = $freeTier;
}
/**
* @return string
*/
public function getFreeTier()
{
return $this->freeTier;
}
/**
* @param string
*/
public function setMaxLimit($maxLimit)
{
$this->maxLimit = $maxLimit;
}
/**
* @return string
*/
public function getMaxLimit()
{
return $this->maxLimit;
}
/**
* @param string
*/
public function setMetric($metric)
{
$this->metric = $metric;
}
/**
* @return string
*/
public function getMetric()
{
return $this->metric;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setUnit($unit)
{
$this->unit = $unit;
}
/**
* @return string
*/
public function getUnit()
{
return $this->unit;
}
/**
* @param string[]
*/
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(QuotaLimit::class, 'Google_Service_ServiceConsumerManagement_QuotaLimit');

View File

@@ -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\ServiceConsumerManagement;
class RemoveTenantProjectRequest extends \Google\Model
{
/**
* @var string
*/
public $tag;
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveTenantProjectRequest::class, 'Google_Service_ServiceConsumerManagement_RemoveTenantProjectRequest');

View File

@@ -0,0 +1,114 @@
<?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\ServiceConsumerManagement\Resource;
use Google\Service\ServiceConsumerManagement\CancelOperationRequest;
use Google\Service\ServiceConsumerManagement\ListOperationsResponse;
use Google\Service\ServiceConsumerManagement\Operation;
use Google\Service\ServiceConsumerManagement\ServiceconsumermanagementEmpty;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $serviceconsumermanagementService = new Google\Service\ServiceConsumerManagement(...);
* $operations = $serviceconsumermanagementService->operations;
* </code>
*/
class Operations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return ServiceconsumermanagementEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], ServiceconsumermanagementEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return ServiceconsumermanagementEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], ServiceconsumermanagementEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operations::class, 'Google_Service_ServiceConsumerManagement_Resource_Operations');

View File

@@ -0,0 +1,71 @@
<?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\ServiceConsumerManagement\Resource;
use Google\Service\ServiceConsumerManagement\SearchTenancyUnitsResponse;
/**
* The "services" collection of methods.
* Typical usage is:
* <code>
* $serviceconsumermanagementService = new Google\Service\ServiceConsumerManagement(...);
* $services = $serviceconsumermanagementService->services;
* </code>
*/
class Services extends \Google\Service\Resource
{
/**
* Search tenancy units for a managed service. (services.search)
*
* @param string $parent Required. Service for which search is performed.
* services/{service} {service} the name of a service, for example
* 'service.googleapis.com'.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of results returned by
* this request. Currently, the default maximum is set to 1000. If `page_size`
* isn't provided or the size provided is a number larger than 1000, it's
* automatically set to 1000.
* @opt_param string pageToken Optional. The continuation token, which is used
* to page through large result sets. To get the next page of results, set this
* parameter to the value of `nextPageToken` from the previous response.
* @opt_param string query Optional. Set a query `{expression}` for querying
* tenancy units. Your `{expression}` must be in the format:
* `field_name=literal_string`. The `field_name` is the name of the field you
* want to compare. Supported fields are `tenant_resources.tag` and
* `tenant_resources.resource`. For example, to search tenancy units that
* contain at least one tenant resource with a given tag 'xyz', use the query
* `tenant_resources.tag=xyz`. To search tenancy units that contain at least one
* tenant resource with a given resource name 'projects/123456', use the query
* `tenant_resources.resource=projects/123456`. Multiple expressions can be
* joined with `AND`s. Tenancy units must match all expressions to be included
* in the result set. For example, `tenant_resources.tag=xyz AND
* tenant_resources.resource=projects/123456`
* @return SearchTenancyUnitsResponse
* @throws \Google\Service\Exception
*/
public function search($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], SearchTenancyUnitsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Services::class, 'Google_Service_ServiceConsumerManagement_Resource_Services');

View File

@@ -0,0 +1,254 @@
<?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\ServiceConsumerManagement\Resource;
use Google\Service\ServiceConsumerManagement\AddTenantProjectRequest;
use Google\Service\ServiceConsumerManagement\ApplyTenantProjectConfigRequest;
use Google\Service\ServiceConsumerManagement\AttachTenantProjectRequest;
use Google\Service\ServiceConsumerManagement\CreateTenancyUnitRequest;
use Google\Service\ServiceConsumerManagement\DeleteTenantProjectRequest;
use Google\Service\ServiceConsumerManagement\ListTenancyUnitsResponse;
use Google\Service\ServiceConsumerManagement\Operation;
use Google\Service\ServiceConsumerManagement\RemoveTenantProjectRequest;
use Google\Service\ServiceConsumerManagement\TenancyUnit;
use Google\Service\ServiceConsumerManagement\UndeleteTenantProjectRequest;
/**
* The "tenancyUnits" collection of methods.
* Typical usage is:
* <code>
* $serviceconsumermanagementService = new Google\Service\ServiceConsumerManagement(...);
* $tenancyUnits = $serviceconsumermanagementService->services_tenancyUnits;
* </code>
*/
class ServicesTenancyUnits extends \Google\Service\Resource
{
/**
* Add a new tenant project to the tenancy unit. There can be a maximum of 1024
* tenant projects in a tenancy unit. If there are previously failed
* `AddTenantProject` calls, you might need to call `RemoveTenantProject` first
* to resolve them before you can make another call to `AddTenantProject` with
* the same tag. Operation. (tenancyUnits.addProject)
*
* @param string $parent Required. Name of the tenancy unit. Such as
* 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
* @param AddTenantProjectRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function addProject($parent, AddTenantProjectRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('addProject', [$params], Operation::class);
}
/**
* Apply a configuration to an existing tenant project. This project must exist
* in an active state and have the original owner account. The caller must have
* permission to add a project to the given tenancy unit. The configuration is
* applied, but any existing settings on the project aren't modified. Specified
* policy bindings are applied. Existing bindings aren't modified. Specified
* services are activated. No service is deactivated. If specified, new billing
* configuration is applied. Omit a billing configuration to keep the existing
* one. A service account in the project is created if previously non existed.
* Specified labels will be appended to tenant project, note that the value of
* existing label key will be updated if the same label key is requested. The
* specified folder is ignored, as moving a tenant project to a different folder
* isn't supported. The operation fails if any of the steps fail, but no
* rollback of already applied configuration changes is attempted. Operation.
* (tenancyUnits.applyProjectConfig)
*
* @param string $name Required. Name of the tenancy unit. Such as
* 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
* @param ApplyTenantProjectConfigRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function applyProjectConfig($name, ApplyTenantProjectConfigRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('applyProjectConfig', [$params], Operation::class);
}
/**
* Attach an existing project to the tenancy unit as a new tenant resource. The
* project could either be the tenant project reserved by calling
* `AddTenantProject` under a tenancy unit of a service producer's project of a
* managed service, or from a separate project. The caller is checked against a
* set of permissions as if calling `AddTenantProject` on the same service
* consumer. To trigger the attachment, the targeted tenant project must be in a
* folder. Make sure the ServiceConsumerManagement service account is the owner
* of that project. These two requirements are already met if the project is
* reserved by calling `AddTenantProject`. Operation.
* (tenancyUnits.attachProject)
*
* @param string $name Required. Name of the tenancy unit that the project will
* be attached to. Such as
* 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
* @param AttachTenantProjectRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function attachProject($name, AttachTenantProjectRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('attachProject', [$params], Operation::class);
}
/**
* Creates a tenancy unit with no tenant resources. If tenancy unit already
* exists, it will be returned, however, in this case, returned TenancyUnit does
* not have tenant_resources field set and ListTenancyUnits has to be used to
* get a complete TenancyUnit with all fields populated. (tenancyUnits.create)
*
* @param string $parent Required. services/{service}/{collection id}/{resource
* id} {collection id} is the cloud resource collection type representing the
* service consumer, for example 'projects', or 'organizations'. {resource id}
* is the consumer numeric id, such as project number: '123456'. {service} the
* name of a managed service, such as 'service.googleapis.com'. Enables service
* binding using the new tenancy unit.
* @param CreateTenancyUnitRequest $postBody
* @param array $optParams Optional parameters.
* @return TenancyUnit
* @throws \Google\Service\Exception
*/
public function create($parent, CreateTenancyUnitRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], TenancyUnit::class);
}
/**
* Delete a tenancy unit. Before you delete the tenancy unit, there should be no
* tenant resources in it that aren't in a DELETED state. Operation.
* (tenancyUnits.delete)
*
* @param string $name Required. Name of the tenancy unit to be deleted.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Deletes the specified project resource identified by a tenant resource tag.
* The mothod removes a project lien with a 'TenantManager' origin if that was
* added. It will then attempt to delete the project. If that operation fails,
* this method also fails. After the project has been deleted, the tenant
* resource state is set to DELETED. To permanently remove resource metadata,
* call the `RemoveTenantProject` method. New resources with the same tag can't
* be added if there are existing resources in a DELETED state. Operation.
* (tenancyUnits.deleteProject)
*
* @param string $name Required. Name of the tenancy unit. Such as
* 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
* @param DeleteTenantProjectRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function deleteProject($name, DeleteTenantProjectRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('deleteProject', [$params], Operation::class);
}
/**
* Find the tenancy unit for a managed service and service consumer. This method
* shouldn't be used in a service producer's runtime path, for example to find
* the tenant project number when creating VMs. Service producers must persist
* the tenant project's information after the project is created.
* (tenancyUnits.listServicesTenancyUnits)
*
* @param string $parent Required. Managed service and service consumer.
* Required. services/{service}/{collection id}/{resource id} {collection id} is
* the cloud resource collection type representing the service consumer, for
* example 'projects', or 'organizations'. {resource id} is the consumer numeric
* id, such as project number: '123456'. {service} the name of a service, such
* as 'service.googleapis.com'.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filter expression over tenancy resources
* field. Optional.
* @opt_param int pageSize Optional. The maximum number of results returned by
* this request.
* @opt_param string pageToken Optional. The continuation token, which is used
* to page through large result sets. To get the next page of results, set this
* parameter to the value of `nextPageToken` from the previous response.
* @return ListTenancyUnitsResponse
* @throws \Google\Service\Exception
*/
public function listServicesTenancyUnits($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListTenancyUnitsResponse::class);
}
/**
* Removes the specified project resource identified by a tenant resource tag.
* The method removes the project lien with 'TenantManager' origin if that was
* added. It then attempts to delete the project. If that operation fails, this
* method also fails. Calls to remove already removed or non-existent tenant
* project succeed. After the project has been deleted, or if was already in a
* DELETED state, resource metadata is permanently removed from the tenancy
* unit. Operation. (tenancyUnits.removeProject)
*
* @param string $name Required. Name of the tenancy unit. Such as
* 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
* @param RemoveTenantProjectRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function removeProject($name, RemoveTenantProjectRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('removeProject', [$params], Operation::class);
}
/**
* Attempts to undelete a previously deleted tenant project. The project must be
* in a DELETED state. There are no guarantees that an undeleted project will be
* in a fully restored and functional state. Call the `ApplyTenantProjectConfig`
* method to update its configuration and then validate all managed service
* resources. Operation. (tenancyUnits.undeleteProject)
*
* @param string $name Required. Name of the tenancy unit. Such as
* 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
* @param UndeleteTenantProjectRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function undeleteProject($name, UndeleteTenantProjectRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('undeleteProject', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServicesTenancyUnits::class, 'Google_Service_ServiceConsumerManagement_Resource_ServicesTenancyUnits');

View File

@@ -0,0 +1,42 @@
<?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\ServiceConsumerManagement;
class RubySettings extends \Google\Model
{
protected $commonType = CommonLanguageSettings::class;
protected $commonDataType = '';
/**
* @param CommonLanguageSettings
*/
public function setCommon(CommonLanguageSettings $common)
{
$this->common = $common;
}
/**
* @return CommonLanguageSettings
*/
public function getCommon()
{
return $this->common;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RubySettings::class, 'Google_Service_ServiceConsumerManagement_RubySettings');

View File

@@ -0,0 +1,61 @@
<?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\ServiceConsumerManagement;
class SearchTenancyUnitsResponse extends \Google\Collection
{
protected $collection_key = 'tenancyUnits';
/**
* @var string
*/
public $nextPageToken;
protected $tenancyUnitsType = TenancyUnit::class;
protected $tenancyUnitsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param TenancyUnit[]
*/
public function setTenancyUnits($tenancyUnits)
{
$this->tenancyUnits = $tenancyUnits;
}
/**
* @return TenancyUnit[]
*/
public function getTenancyUnits()
{
return $this->tenancyUnits;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SearchTenancyUnitsResponse::class, 'Google_Service_ServiceConsumerManagement_SearchTenancyUnitsResponse');

View File

@@ -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\ServiceConsumerManagement;
class SelectiveGapicGeneration extends \Google\Collection
{
protected $collection_key = 'methods';
/**
* @var string[]
*/
public $methods;
/**
* @param string[]
*/
public function setMethods($methods)
{
$this->methods = $methods;
}
/**
* @return string[]
*/
public function getMethods()
{
return $this->methods;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SelectiveGapicGeneration::class, 'Google_Service_ServiceConsumerManagement_SelectiveGapicGeneration');

View File

@@ -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\ServiceConsumerManagement;
class Service extends \Google\Collection
{
protected $collection_key = 'types';
protected $apisType = Api::class;
protected $apisDataType = 'array';
protected $authenticationType = Authentication::class;
protected $authenticationDataType = '';
protected $backendType = Backend::class;
protected $backendDataType = '';
protected $billingType = Billing::class;
protected $billingDataType = '';
/**
* @var string
*/
public $configVersion;
protected $contextType = Context::class;
protected $contextDataType = '';
protected $controlType = Control::class;
protected $controlDataType = '';
protected $customErrorType = CustomError::class;
protected $customErrorDataType = '';
protected $documentationType = Documentation::class;
protected $documentationDataType = '';
protected $endpointsType = Endpoint::class;
protected $endpointsDataType = 'array';
protected $enumsType = Enum::class;
protected $enumsDataType = 'array';
protected $httpType = Http::class;
protected $httpDataType = '';
/**
* @var string
*/
public $id;
protected $loggingType = Logging::class;
protected $loggingDataType = '';
protected $logsType = LogDescriptor::class;
protected $logsDataType = 'array';
protected $metricsType = MetricDescriptor::class;
protected $metricsDataType = 'array';
protected $monitoredResourcesType = MonitoredResourceDescriptor::class;
protected $monitoredResourcesDataType = 'array';
protected $monitoringType = Monitoring::class;
protected $monitoringDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $producerProjectId;
protected $publishingType = Publishing::class;
protected $publishingDataType = '';
protected $quotaType = Quota::class;
protected $quotaDataType = '';
protected $sourceInfoType = SourceInfo::class;
protected $sourceInfoDataType = '';
protected $systemParametersType = SystemParameters::class;
protected $systemParametersDataType = '';
protected $systemTypesType = Type::class;
protected $systemTypesDataType = 'array';
/**
* @var string
*/
public $title;
protected $typesType = Type::class;
protected $typesDataType = 'array';
protected $usageType = Usage::class;
protected $usageDataType = '';
/**
* @param Api[]
*/
public function setApis($apis)
{
$this->apis = $apis;
}
/**
* @return Api[]
*/
public function getApis()
{
return $this->apis;
}
/**
* @param Authentication
*/
public function setAuthentication(Authentication $authentication)
{
$this->authentication = $authentication;
}
/**
* @return Authentication
*/
public function getAuthentication()
{
return $this->authentication;
}
/**
* @param Backend
*/
public function setBackend(Backend $backend)
{
$this->backend = $backend;
}
/**
* @return Backend
*/
public function getBackend()
{
return $this->backend;
}
/**
* @param Billing
*/
public function setBilling(Billing $billing)
{
$this->billing = $billing;
}
/**
* @return Billing
*/
public function getBilling()
{
return $this->billing;
}
/**
* @param string
*/
public function setConfigVersion($configVersion)
{
$this->configVersion = $configVersion;
}
/**
* @return string
*/
public function getConfigVersion()
{
return $this->configVersion;
}
/**
* @param Context
*/
public function setContext(Context $context)
{
$this->context = $context;
}
/**
* @return Context
*/
public function getContext()
{
return $this->context;
}
/**
* @param Control
*/
public function setControl(Control $control)
{
$this->control = $control;
}
/**
* @return Control
*/
public function getControl()
{
return $this->control;
}
/**
* @param CustomError
*/
public function setCustomError(CustomError $customError)
{
$this->customError = $customError;
}
/**
* @return CustomError
*/
public function getCustomError()
{
return $this->customError;
}
/**
* @param Documentation
*/
public function setDocumentation(Documentation $documentation)
{
$this->documentation = $documentation;
}
/**
* @return Documentation
*/
public function getDocumentation()
{
return $this->documentation;
}
/**
* @param Endpoint[]
*/
public function setEndpoints($endpoints)
{
$this->endpoints = $endpoints;
}
/**
* @return Endpoint[]
*/
public function getEndpoints()
{
return $this->endpoints;
}
/**
* @param Enum[]
*/
public function setEnums($enums)
{
$this->enums = $enums;
}
/**
* @return Enum[]
*/
public function getEnums()
{
return $this->enums;
}
/**
* @param Http
*/
public function setHttp(Http $http)
{
$this->http = $http;
}
/**
* @return Http
*/
public function getHttp()
{
return $this->http;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param Logging
*/
public function setLogging(Logging $logging)
{
$this->logging = $logging;
}
/**
* @return Logging
*/
public function getLogging()
{
return $this->logging;
}
/**
* @param LogDescriptor[]
*/
public function setLogs($logs)
{
$this->logs = $logs;
}
/**
* @return LogDescriptor[]
*/
public function getLogs()
{
return $this->logs;
}
/**
* @param MetricDescriptor[]
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return MetricDescriptor[]
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param MonitoredResourceDescriptor[]
*/
public function setMonitoredResources($monitoredResources)
{
$this->monitoredResources = $monitoredResources;
}
/**
* @return MonitoredResourceDescriptor[]
*/
public function getMonitoredResources()
{
return $this->monitoredResources;
}
/**
* @param Monitoring
*/
public function setMonitoring(Monitoring $monitoring)
{
$this->monitoring = $monitoring;
}
/**
* @return Monitoring
*/
public function getMonitoring()
{
return $this->monitoring;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setProducerProjectId($producerProjectId)
{
$this->producerProjectId = $producerProjectId;
}
/**
* @return string
*/
public function getProducerProjectId()
{
return $this->producerProjectId;
}
/**
* @param Publishing
*/
public function setPublishing(Publishing $publishing)
{
$this->publishing = $publishing;
}
/**
* @return Publishing
*/
public function getPublishing()
{
return $this->publishing;
}
/**
* @param Quota
*/
public function setQuota(Quota $quota)
{
$this->quota = $quota;
}
/**
* @return Quota
*/
public function getQuota()
{
return $this->quota;
}
/**
* @param SourceInfo
*/
public function setSourceInfo(SourceInfo $sourceInfo)
{
$this->sourceInfo = $sourceInfo;
}
/**
* @return SourceInfo
*/
public function getSourceInfo()
{
return $this->sourceInfo;
}
/**
* @param SystemParameters
*/
public function setSystemParameters(SystemParameters $systemParameters)
{
$this->systemParameters = $systemParameters;
}
/**
* @return SystemParameters
*/
public function getSystemParameters()
{
return $this->systemParameters;
}
/**
* @param Type[]
*/
public function setSystemTypes($systemTypes)
{
$this->systemTypes = $systemTypes;
}
/**
* @return Type[]
*/
public function getSystemTypes()
{
return $this->systemTypes;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param Type[]
*/
public function setTypes($types)
{
$this->types = $types;
}
/**
* @return Type[]
*/
public function getTypes()
{
return $this->types;
}
/**
* @param Usage
*/
public function setUsage(Usage $usage)
{
$this->usage = $usage;
}
/**
* @return Usage
*/
public function getUsage()
{
return $this->usage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Service::class, 'Google_Service_ServiceConsumerManagement_Service');

View File

@@ -0,0 +1,63 @@
<?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\ServiceConsumerManagement;
class ServiceAccountConfig extends \Google\Collection
{
protected $collection_key = 'tenantProjectRoles';
/**
* @var string
*/
public $accountId;
/**
* @var string[]
*/
public $tenantProjectRoles;
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param string[]
*/
public function setTenantProjectRoles($tenantProjectRoles)
{
$this->tenantProjectRoles = $tenantProjectRoles;
}
/**
* @return string[]
*/
public function getTenantProjectRoles()
{
return $this->tenantProjectRoles;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServiceAccountConfig::class, 'Google_Service_ServiceConsumerManagement_ServiceAccountConfig');

View File

@@ -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\ServiceConsumerManagement;
class ServiceconsumermanagementEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServiceconsumermanagementEmpty::class, 'Google_Service_ServiceConsumerManagement_ServiceconsumermanagementEmpty');

View File

@@ -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\ServiceConsumerManagement;
class SourceContext extends \Google\Model
{
/**
* @var string
*/
public $fileName;
/**
* @param string
*/
public function setFileName($fileName)
{
$this->fileName = $fileName;
}
/**
* @return string
*/
public function getFileName()
{
return $this->fileName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SourceContext::class, 'Google_Service_ServiceConsumerManagement_SourceContext');

View File

@@ -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\ServiceConsumerManagement;
class SourceInfo extends \Google\Collection
{
protected $collection_key = 'sourceFiles';
/**
* @var array[]
*/
public $sourceFiles;
/**
* @param array[]
*/
public function setSourceFiles($sourceFiles)
{
$this->sourceFiles = $sourceFiles;
}
/**
* @return array[]
*/
public function getSourceFiles()
{
return $this->sourceFiles;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SourceInfo::class, 'Google_Service_ServiceConsumerManagement_SourceInfo');

View File

@@ -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\ServiceConsumerManagement;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* @var int
*/
public $code;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $message;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_ServiceConsumerManagement_Status');

View File

@@ -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\ServiceConsumerManagement;
class SystemParameter extends \Google\Model
{
/**
* @var string
*/
public $httpHeader;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $urlQueryParameter;
/**
* @param string
*/
public function setHttpHeader($httpHeader)
{
$this->httpHeader = $httpHeader;
}
/**
* @return string
*/
public function getHttpHeader()
{
return $this->httpHeader;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setUrlQueryParameter($urlQueryParameter)
{
$this->urlQueryParameter = $urlQueryParameter;
}
/**
* @return string
*/
public function getUrlQueryParameter()
{
return $this->urlQueryParameter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SystemParameter::class, 'Google_Service_ServiceConsumerManagement_SystemParameter');

View File

@@ -0,0 +1,61 @@
<?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\ServiceConsumerManagement;
class SystemParameterRule extends \Google\Collection
{
protected $collection_key = 'parameters';
protected $parametersType = SystemParameter::class;
protected $parametersDataType = 'array';
/**
* @var string
*/
public $selector;
/**
* @param SystemParameter[]
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return SystemParameter[]
*/
public function getParameters()
{
return $this->parameters;
}
/**
* @param string
*/
public function setSelector($selector)
{
$this->selector = $selector;
}
/**
* @return string
*/
public function getSelector()
{
return $this->selector;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SystemParameterRule::class, 'Google_Service_ServiceConsumerManagement_SystemParameterRule');

View File

@@ -0,0 +1,43 @@
<?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\ServiceConsumerManagement;
class SystemParameters extends \Google\Collection
{
protected $collection_key = 'rules';
protected $rulesType = SystemParameterRule::class;
protected $rulesDataType = 'array';
/**
* @param SystemParameterRule[]
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return SystemParameterRule[]
*/
public function getRules()
{
return $this->rules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SystemParameters::class, 'Google_Service_ServiceConsumerManagement_SystemParameters');

View File

@@ -0,0 +1,115 @@
<?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\ServiceConsumerManagement;
class TenancyUnit extends \Google\Collection
{
protected $collection_key = 'tenantResources';
/**
* @var string
*/
public $consumer;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $service;
protected $tenantResourcesType = TenantResource::class;
protected $tenantResourcesDataType = 'array';
/**
* @param string
*/
public function setConsumer($consumer)
{
$this->consumer = $consumer;
}
/**
* @return string
*/
public function getConsumer()
{
return $this->consumer;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
/**
* @param TenantResource[]
*/
public function setTenantResources($tenantResources)
{
$this->tenantResources = $tenantResources;
}
/**
* @return TenantResource[]
*/
public function getTenantResources()
{
return $this->tenantResources;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TenancyUnit::class, 'Google_Service_ServiceConsumerManagement_TenancyUnit');

View File

@@ -0,0 +1,129 @@
<?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\ServiceConsumerManagement;
class TenantProjectConfig extends \Google\Collection
{
protected $collection_key = 'services';
protected $billingConfigType = BillingConfig::class;
protected $billingConfigDataType = '';
/**
* @var string
*/
public $folder;
/**
* @var string[]
*/
public $labels;
protected $serviceAccountConfigType = ServiceAccountConfig::class;
protected $serviceAccountConfigDataType = '';
/**
* @var string[]
*/
public $services;
protected $tenantProjectPolicyType = TenantProjectPolicy::class;
protected $tenantProjectPolicyDataType = '';
/**
* @param BillingConfig
*/
public function setBillingConfig(BillingConfig $billingConfig)
{
$this->billingConfig = $billingConfig;
}
/**
* @return BillingConfig
*/
public function getBillingConfig()
{
return $this->billingConfig;
}
/**
* @param string
*/
public function setFolder($folder)
{
$this->folder = $folder;
}
/**
* @return string
*/
public function getFolder()
{
return $this->folder;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param ServiceAccountConfig
*/
public function setServiceAccountConfig(ServiceAccountConfig $serviceAccountConfig)
{
$this->serviceAccountConfig = $serviceAccountConfig;
}
/**
* @return ServiceAccountConfig
*/
public function getServiceAccountConfig()
{
return $this->serviceAccountConfig;
}
/**
* @param string[]
*/
public function setServices($services)
{
$this->services = $services;
}
/**
* @return string[]
*/
public function getServices()
{
return $this->services;
}
/**
* @param TenantProjectPolicy
*/
public function setTenantProjectPolicy(TenantProjectPolicy $tenantProjectPolicy)
{
$this->tenantProjectPolicy = $tenantProjectPolicy;
}
/**
* @return TenantProjectPolicy
*/
public function getTenantProjectPolicy()
{
return $this->tenantProjectPolicy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TenantProjectConfig::class, 'Google_Service_ServiceConsumerManagement_TenantProjectConfig');

View File

@@ -0,0 +1,43 @@
<?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\ServiceConsumerManagement;
class TenantProjectPolicy extends \Google\Collection
{
protected $collection_key = 'policyBindings';
protected $policyBindingsType = PolicyBinding::class;
protected $policyBindingsDataType = 'array';
/**
* @param PolicyBinding[]
*/
public function setPolicyBindings($policyBindings)
{
$this->policyBindings = $policyBindings;
}
/**
* @return PolicyBinding[]
*/
public function getPolicyBindings()
{
return $this->policyBindings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TenantProjectPolicy::class, 'Google_Service_ServiceConsumerManagement_TenantProjectPolicy');

View File

@@ -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\ServiceConsumerManagement;
class TenantResource extends \Google\Model
{
/**
* @var string
*/
public $resource;
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $tag;
/**
* @param string
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TenantResource::class, 'Google_Service_ServiceConsumerManagement_TenantResource');

View File

@@ -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\ServiceConsumerManagement;
class Type extends \Google\Collection
{
protected $collection_key = 'options';
/**
* @var string
*/
public $edition;
protected $fieldsType = Field::class;
protected $fieldsDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $oneofs;
protected $optionsType = Option::class;
protected $optionsDataType = 'array';
protected $sourceContextType = SourceContext::class;
protected $sourceContextDataType = '';
/**
* @var string
*/
public $syntax;
/**
* @param string
*/
public function setEdition($edition)
{
$this->edition = $edition;
}
/**
* @return string
*/
public function getEdition()
{
return $this->edition;
}
/**
* @param Field[]
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return Field[]
*/
public function getFields()
{
return $this->fields;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setOneofs($oneofs)
{
$this->oneofs = $oneofs;
}
/**
* @return string[]
*/
public function getOneofs()
{
return $this->oneofs;
}
/**
* @param Option[]
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Option[]
*/
public function getOptions()
{
return $this->options;
}
/**
* @param SourceContext
*/
public function setSourceContext(SourceContext $sourceContext)
{
$this->sourceContext = $sourceContext;
}
/**
* @return SourceContext
*/
public function getSourceContext()
{
return $this->sourceContext;
}
/**
* @param string
*/
public function setSyntax($syntax)
{
$this->syntax = $syntax;
}
/**
* @return string
*/
public function getSyntax()
{
return $this->syntax;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Type::class, 'Google_Service_ServiceConsumerManagement_Type');

View File

@@ -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\ServiceConsumerManagement;
class UndeleteTenantProjectRequest extends \Google\Model
{
/**
* @var string
*/
public $tag;
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UndeleteTenantProjectRequest::class, 'Google_Service_ServiceConsumerManagement_UndeleteTenantProjectRequest');

View File

@@ -0,0 +1,79 @@
<?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\ServiceConsumerManagement;
class Usage extends \Google\Collection
{
protected $collection_key = 'rules';
/**
* @var string
*/
public $producerNotificationChannel;
/**
* @var string[]
*/
public $requirements;
protected $rulesType = UsageRule::class;
protected $rulesDataType = 'array';
/**
* @param string
*/
public function setProducerNotificationChannel($producerNotificationChannel)
{
$this->producerNotificationChannel = $producerNotificationChannel;
}
/**
* @return string
*/
public function getProducerNotificationChannel()
{
return $this->producerNotificationChannel;
}
/**
* @param string[]
*/
public function setRequirements($requirements)
{
$this->requirements = $requirements;
}
/**
* @return string[]
*/
public function getRequirements()
{
return $this->requirements;
}
/**
* @param UsageRule[]
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return UsageRule[]
*/
public function getRules()
{
return $this->rules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Usage::class, 'Google_Service_ServiceConsumerManagement_Usage');

View File

@@ -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\ServiceConsumerManagement;
class UsageRule extends \Google\Model
{
/**
* @var bool
*/
public $allowUnregisteredCalls;
/**
* @var string
*/
public $selector;
/**
* @var bool
*/
public $skipServiceControl;
/**
* @param bool
*/
public function setAllowUnregisteredCalls($allowUnregisteredCalls)
{
$this->allowUnregisteredCalls = $allowUnregisteredCalls;
}
/**
* @return bool
*/
public function getAllowUnregisteredCalls()
{
return $this->allowUnregisteredCalls;
}
/**
* @param string
*/
public function setSelector($selector)
{
$this->selector = $selector;
}
/**
* @return string
*/
public function getSelector()
{
return $this->selector;
}
/**
* @param bool
*/
public function setSkipServiceControl($skipServiceControl)
{
$this->skipServiceControl = $skipServiceControl;
}
/**
* @return bool
*/
public function getSkipServiceControl()
{
return $this->skipServiceControl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UsageRule::class, 'Google_Service_ServiceConsumerManagement_UsageRule');

View File

@@ -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\ServiceConsumerManagement;
class V1AddVisibilityLabelsResponse extends \Google\Collection
{
protected $collection_key = 'labels';
/**
* @var string[]
*/
public $labels;
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(V1AddVisibilityLabelsResponse::class, 'Google_Service_ServiceConsumerManagement_V1AddVisibilityLabelsResponse');

View File

@@ -0,0 +1,43 @@
<?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\ServiceConsumerManagement;
class V1Beta1BatchCreateProducerOverridesResponse extends \Google\Collection
{
protected $collection_key = 'overrides';
protected $overridesType = V1Beta1QuotaOverride::class;
protected $overridesDataType = 'array';
/**
* @param V1Beta1QuotaOverride[]
*/
public function setOverrides($overrides)
{
$this->overrides = $overrides;
}
/**
* @return V1Beta1QuotaOverride[]
*/
public function getOverrides()
{
return $this->overrides;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(V1Beta1BatchCreateProducerOverridesResponse::class, 'Google_Service_ServiceConsumerManagement_V1Beta1BatchCreateProducerOverridesResponse');

View File

@@ -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\ServiceConsumerManagement;
class V1Beta1DisableConsumerResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(V1Beta1DisableConsumerResponse::class, 'Google_Service_ServiceConsumerManagement_V1Beta1DisableConsumerResponse');

View File

@@ -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\ServiceConsumerManagement;
class V1Beta1EnableConsumerResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(V1Beta1EnableConsumerResponse::class, 'Google_Service_ServiceConsumerManagement_V1Beta1EnableConsumerResponse');

View File

@@ -0,0 +1,42 @@
<?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\ServiceConsumerManagement;
class V1Beta1GenerateServiceIdentityResponse extends \Google\Model
{
protected $identityType = V1Beta1ServiceIdentity::class;
protected $identityDataType = '';
/**
* @param V1Beta1ServiceIdentity
*/
public function setIdentity(V1Beta1ServiceIdentity $identity)
{
$this->identity = $identity;
}
/**
* @return V1Beta1ServiceIdentity
*/
public function getIdentity()
{
return $this->identity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(V1Beta1GenerateServiceIdentityResponse::class, 'Google_Service_ServiceConsumerManagement_V1Beta1GenerateServiceIdentityResponse');

View File

@@ -0,0 +1,43 @@
<?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\ServiceConsumerManagement;
class V1Beta1ImportProducerOverridesResponse extends \Google\Collection
{
protected $collection_key = 'overrides';
protected $overridesType = V1Beta1QuotaOverride::class;
protected $overridesDataType = 'array';
/**
* @param V1Beta1QuotaOverride[]
*/
public function setOverrides($overrides)
{
$this->overrides = $overrides;
}
/**
* @return V1Beta1QuotaOverride[]
*/
public function getOverrides()
{
return $this->overrides;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(V1Beta1ImportProducerOverridesResponse::class, 'Google_Service_ServiceConsumerManagement_V1Beta1ImportProducerOverridesResponse');

View File

@@ -0,0 +1,43 @@
<?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\ServiceConsumerManagement;
class V1Beta1ImportProducerQuotaPoliciesResponse extends \Google\Collection
{
protected $collection_key = 'policies';
protected $policiesType = V1Beta1ProducerQuotaPolicy::class;
protected $policiesDataType = 'array';
/**
* @param V1Beta1ProducerQuotaPolicy[]
*/
public function setPolicies($policies)
{
$this->policies = $policies;
}
/**
* @return V1Beta1ProducerQuotaPolicy[]
*/
public function getPolicies()
{
return $this->policies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(V1Beta1ImportProducerQuotaPoliciesResponse::class, 'Google_Service_ServiceConsumerManagement_V1Beta1ImportProducerQuotaPoliciesResponse');

View File

@@ -0,0 +1,134 @@
<?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\ServiceConsumerManagement;
class V1Beta1ProducerQuotaPolicy extends \Google\Model
{
/**
* @var string
*/
public $container;
/**
* @var string[]
*/
public $dimensions;
/**
* @var string
*/
public $metric;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $policyValue;
/**
* @var string
*/
public $unit;
/**
* @param string
*/
public function setContainer($container)
{
$this->container = $container;
}
/**
* @return string
*/
public function getContainer()
{
return $this->container;
}
/**
* @param string[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return string[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* @param string
*/
public function setMetric($metric)
{
$this->metric = $metric;
}
/**
* @return string
*/
public function getMetric()
{
return $this->metric;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPolicyValue($policyValue)
{
$this->policyValue = $policyValue;
}
/**
* @return string
*/
public function getPolicyValue()
{
return $this->policyValue;
}
/**
* @param string
*/
public function setUnit($unit)
{
$this->unit = $unit;
}
/**
* @return string
*/
public function getUnit()
{
return $this->unit;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(V1Beta1ProducerQuotaPolicy::class, 'Google_Service_ServiceConsumerManagement_V1Beta1ProducerQuotaPolicy');

View File

@@ -0,0 +1,134 @@
<?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\ServiceConsumerManagement;
class V1Beta1QuotaOverride extends \Google\Model
{
/**
* @var string
*/
public $adminOverrideAncestor;
/**
* @var string[]
*/
public $dimensions;
/**
* @var string
*/
public $metric;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $overrideValue;
/**
* @var string
*/
public $unit;
/**
* @param string
*/
public function setAdminOverrideAncestor($adminOverrideAncestor)
{
$this->adminOverrideAncestor = $adminOverrideAncestor;
}
/**
* @return string
*/
public function getAdminOverrideAncestor()
{
return $this->adminOverrideAncestor;
}
/**
* @param string[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return string[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* @param string
*/
public function setMetric($metric)
{
$this->metric = $metric;
}
/**
* @return string
*/
public function getMetric()
{
return $this->metric;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setOverrideValue($overrideValue)
{
$this->overrideValue = $overrideValue;
}
/**
* @return string
*/
public function getOverrideValue()
{
return $this->overrideValue;
}
/**
* @param string
*/
public function setUnit($unit)
{
$this->unit = $unit;
}
/**
* @return string
*/
public function getUnit()
{
return $this->unit;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(V1Beta1QuotaOverride::class, 'Google_Service_ServiceConsumerManagement_V1Beta1QuotaOverride');

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