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

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\ServiceManagement;
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_ServiceManagement_Api');

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\ServiceManagement;
class AuditConfig extends \Google\Collection
{
protected $collection_key = 'auditLogConfigs';
protected $auditLogConfigsType = AuditLogConfig::class;
protected $auditLogConfigsDataType = 'array';
/**
* @var string
*/
public $service;
/**
* @param AuditLogConfig[]
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return AuditLogConfig[]
*/
public function getAuditLogConfigs()
{
return $this->auditLogConfigs;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditConfig::class, 'Google_Service_ServiceManagement_AuditConfig');

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\ServiceManagement;
class AuditLogConfig extends \Google\Collection
{
protected $collection_key = 'exemptedMembers';
/**
* @var string[]
*/
public $exemptedMembers;
/**
* @var string
*/
public $logType;
/**
* @param string[]
*/
public function setExemptedMembers($exemptedMembers)
{
$this->exemptedMembers = $exemptedMembers;
}
/**
* @return string[]
*/
public function getExemptedMembers()
{
return $this->exemptedMembers;
}
/**
* @param string
*/
public function setLogType($logType)
{
$this->logType = $logType;
}
/**
* @return string
*/
public function getLogType()
{
return $this->logType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditLogConfig::class, 'Google_Service_ServiceManagement_AuditLogConfig');

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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_Billing');

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\ServiceManagement;
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_ServiceManagement_BillingDestination');

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\ServiceManagement;
class Binding extends \Google\Collection
{
protected $collection_key = 'members';
protected $conditionType = Expr::class;
protected $conditionDataType = '';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param Expr
*/
public function setCondition(Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Expr
*/
public function getCondition()
{
return $this->condition;
}
/**
* @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(Binding::class, 'Google_Service_ServiceManagement_Binding');

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\ServiceManagement;
class ChangeReport extends \Google\Collection
{
protected $collection_key = 'configChanges';
protected $configChangesType = ConfigChange::class;
protected $configChangesDataType = 'array';
/**
* @param ConfigChange[]
*/
public function setConfigChanges($configChanges)
{
$this->configChanges = $configChanges;
}
/**
* @return ConfigChange[]
*/
public function getConfigChanges()
{
return $this->configChanges;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChangeReport::class, 'Google_Service_ServiceManagement_ChangeReport');

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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_CommonLanguageSettings');

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\ServiceManagement;
class ConfigChange extends \Google\Collection
{
protected $collection_key = 'advices';
protected $advicesType = Advice::class;
protected $advicesDataType = 'array';
/**
* @var string
*/
public $changeType;
/**
* @var string
*/
public $element;
/**
* @var string
*/
public $newValue;
/**
* @var string
*/
public $oldValue;
/**
* @param Advice[]
*/
public function setAdvices($advices)
{
$this->advices = $advices;
}
/**
* @return Advice[]
*/
public function getAdvices()
{
return $this->advices;
}
/**
* @param string
*/
public function setChangeType($changeType)
{
$this->changeType = $changeType;
}
/**
* @return string
*/
public function getChangeType()
{
return $this->changeType;
}
/**
* @param string
*/
public function setElement($element)
{
$this->element = $element;
}
/**
* @return string
*/
public function getElement()
{
return $this->element;
}
/**
* @param string
*/
public function setNewValue($newValue)
{
$this->newValue = $newValue;
}
/**
* @return string
*/
public function getNewValue()
{
return $this->newValue;
}
/**
* @param string
*/
public function setOldValue($oldValue)
{
$this->oldValue = $oldValue;
}
/**
* @return string
*/
public function getOldValue()
{
return $this->oldValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigChange::class, 'Google_Service_ServiceManagement_ConfigChange');

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\ServiceManagement;
class ConfigFile extends \Google\Model
{
/**
* @var string
*/
public $fileContents;
/**
* @var string
*/
public $filePath;
/**
* @var string
*/
public $fileType;
/**
* @param string
*/
public function setFileContents($fileContents)
{
$this->fileContents = $fileContents;
}
/**
* @return string
*/
public function getFileContents()
{
return $this->fileContents;
}
/**
* @param string
*/
public function setFilePath($filePath)
{
$this->filePath = $filePath;
}
/**
* @return string
*/
public function getFilePath()
{
return $this->filePath;
}
/**
* @param string
*/
public function setFileType($fileType)
{
$this->fileType = $fileType;
}
/**
* @return string
*/
public function getFileType()
{
return $this->fileType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigFile::class, 'Google_Service_ServiceManagement_ConfigFile');

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\ServiceManagement;
class ConfigRef extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @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(ConfigRef::class, 'Google_Service_ServiceManagement_ConfigRef');

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\ServiceManagement;
class ConfigSource extends \Google\Collection
{
protected $collection_key = 'files';
protected $filesType = ConfigFile::class;
protected $filesDataType = 'array';
/**
* @var string
*/
public $id;
/**
* @param ConfigFile[]
*/
public function setFiles($files)
{
$this->files = $files;
}
/**
* @return ConfigFile[]
*/
public function getFiles()
{
return $this->files;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigSource::class, 'Google_Service_ServiceManagement_ConfigSource');

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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_CppSettings');

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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_CustomHttpPattern');

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

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\ServiceManagement;
class Diagnostic extends \Google\Model
{
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @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(Diagnostic::class, 'Google_Service_ServiceManagement_Diagnostic');

View File

@@ -0,0 +1,165 @@
<?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\ServiceManagement;
class Documentation extends \Google\Collection
{
protected $collection_key = 'sectionOverrides';
/**
* @var string
*/
public $additionalIamInfo;
/**
* @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 setAdditionalIamInfo($additionalIamInfo)
{
$this->additionalIamInfo = $additionalIamInfo;
}
/**
* @return string
*/
public function getAdditionalIamInfo()
{
return $this->additionalIamInfo;
}
/**
* @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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_DotnetSettings');

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

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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_ExperimentalFeatures');

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\ServiceManagement;
class Expr extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expression;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Expr::class, 'Google_Service_ServiceManagement_Expr');

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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_FieldPolicy');

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\ServiceManagement;
class FlowErrorDetails extends \Google\Model
{
/**
* @var string
*/
public $exceptionType;
/**
* @var string
*/
public $flowStepId;
/**
* @param string
*/
public function setExceptionType($exceptionType)
{
$this->exceptionType = $exceptionType;
}
/**
* @return string
*/
public function getExceptionType()
{
return $this->exceptionType;
}
/**
* @param string
*/
public function setFlowStepId($flowStepId)
{
$this->flowStepId = $flowStepId;
}
/**
* @return string
*/
public function getFlowStepId()
{
return $this->flowStepId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FlowErrorDetails::class, 'Google_Service_ServiceManagement_FlowErrorDetails');

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\ServiceManagement;
class GenerateConfigReportRequest extends \Google\Model
{
/**
* @var array[]
*/
public $newConfig;
/**
* @var array[]
*/
public $oldConfig;
/**
* @param array[]
*/
public function setNewConfig($newConfig)
{
$this->newConfig = $newConfig;
}
/**
* @return array[]
*/
public function getNewConfig()
{
return $this->newConfig;
}
/**
* @param array[]
*/
public function setOldConfig($oldConfig)
{
$this->oldConfig = $oldConfig;
}
/**
* @return array[]
*/
public function getOldConfig()
{
return $this->oldConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateConfigReportRequest::class, 'Google_Service_ServiceManagement_GenerateConfigReportRequest');

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\ServiceManagement;
class GenerateConfigReportResponse extends \Google\Collection
{
protected $collection_key = 'diagnostics';
protected $changeReportsType = ChangeReport::class;
protected $changeReportsDataType = 'array';
protected $diagnosticsType = Diagnostic::class;
protected $diagnosticsDataType = 'array';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $serviceName;
/**
* @param ChangeReport[]
*/
public function setChangeReports($changeReports)
{
$this->changeReports = $changeReports;
}
/**
* @return ChangeReport[]
*/
public function getChangeReports()
{
return $this->changeReports;
}
/**
* @param Diagnostic[]
*/
public function setDiagnostics($diagnostics)
{
$this->diagnostics = $diagnostics;
}
/**
* @return Diagnostic[]
*/
public function getDiagnostics()
{
return $this->diagnostics;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setServiceName($serviceName)
{
$this->serviceName = $serviceName;
}
/**
* @return string
*/
public function getServiceName()
{
return $this->serviceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateConfigReportResponse::class, 'Google_Service_ServiceManagement_GenerateConfigReportResponse');

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\ServiceManagement;
class GetIamPolicyRequest extends \Google\Model
{
protected $optionsType = GetPolicyOptions::class;
protected $optionsDataType = '';
/**
* @param GetPolicyOptions
*/
public function setOptions(GetPolicyOptions $options)
{
$this->options = $options;
}
/**
* @return GetPolicyOptions
*/
public function getOptions()
{
return $this->options;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetIamPolicyRequest::class, 'Google_Service_ServiceManagement_GetIamPolicyRequest');

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\ServiceManagement;
class GetPolicyOptions extends \Google\Model
{
/**
* @var int
*/
public $requestedPolicyVersion;
/**
* @param int
*/
public function setRequestedPolicyVersion($requestedPolicyVersion)
{
$this->requestedPolicyVersion = $requestedPolicyVersion;
}
/**
* @return int
*/
public function getRequestedPolicyVersion()
{
return $this->requestedPolicyVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetPolicyOptions::class, 'Google_Service_ServiceManagement_GetPolicyOptions');

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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
class ListServiceConfigsResponse extends \Google\Collection
{
protected $collection_key = 'serviceConfigs';
/**
* @var string
*/
public $nextPageToken;
protected $serviceConfigsType = Service::class;
protected $serviceConfigsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Service[]
*/
public function setServiceConfigs($serviceConfigs)
{
$this->serviceConfigs = $serviceConfigs;
}
/**
* @return Service[]
*/
public function getServiceConfigs()
{
return $this->serviceConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListServiceConfigsResponse::class, 'Google_Service_ServiceManagement_ListServiceConfigsResponse');

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\ServiceManagement;
class ListServiceRolloutsResponse extends \Google\Collection
{
protected $collection_key = 'rollouts';
/**
* @var string
*/
public $nextPageToken;
protected $rolloutsType = Rollout::class;
protected $rolloutsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Rollout[]
*/
public function setRollouts($rollouts)
{
$this->rollouts = $rollouts;
}
/**
* @return Rollout[]
*/
public function getRollouts()
{
return $this->rollouts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListServiceRolloutsResponse::class, 'Google_Service_ServiceManagement_ListServiceRolloutsResponse');

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\ServiceManagement;
class ListServicesResponse extends \Google\Collection
{
protected $collection_key = 'services';
/**
* @var string
*/
public $nextPageToken;
protected $servicesType = ManagedService::class;
protected $servicesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ManagedService[]
*/
public function setServices($services)
{
$this->services = $services;
}
/**
* @return ManagedService[]
*/
public function getServices()
{
return $this->services;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListServicesResponse::class, 'Google_Service_ServiceManagement_ListServicesResponse');

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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_LongRunning');

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\ServiceManagement;
class ManagedService extends \Google\Model
{
/**
* @var string
*/
public $producerProjectId;
/**
* @var string
*/
public $serviceName;
/**
* @param string
*/
public function setProducerProjectId($producerProjectId)
{
$this->producerProjectId = $producerProjectId;
}
/**
* @return string
*/
public function getProducerProjectId()
{
return $this->producerProjectId;
}
/**
* @param string
*/
public function setServiceName($serviceName)
{
$this->serviceName = $serviceName;
}
/**
* @return string
*/
public function getServiceName()
{
return $this->serviceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedService::class, 'Google_Service_ServiceManagement_ManagedService');

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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
class OperationInfo extends \Google\Model
{
/**
* @var string
*/
public $metadataType;
/**
* @var string
*/
public $responseType;
/**
* @param string
*/
public function setMetadataType($metadataType)
{
$this->metadataType = $metadataType;
}
/**
* @return string
*/
public function getMetadataType()
{
return $this->metadataType;
}
/**
* @param string
*/
public function setResponseType($responseType)
{
$this->responseType = $responseType;
}
/**
* @return string
*/
public function getResponseType()
{
return $this->responseType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationInfo::class, 'Google_Service_ServiceManagement_OperationInfo');

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\ServiceManagement;
class OperationMetadata extends \Google\Collection
{
protected $collection_key = 'steps';
/**
* @var int
*/
public $progressPercentage;
/**
* @var string[]
*/
public $resourceNames;
/**
* @var string
*/
public $startTime;
protected $stepsType = Step::class;
protected $stepsDataType = 'array';
/**
* @param int
*/
public function setProgressPercentage($progressPercentage)
{
$this->progressPercentage = $progressPercentage;
}
/**
* @return int
*/
public function getProgressPercentage()
{
return $this->progressPercentage;
}
/**
* @param string[]
*/
public function setResourceNames($resourceNames)
{
$this->resourceNames = $resourceNames;
}
/**
* @return string[]
*/
public function getResourceNames()
{
return $this->resourceNames;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param Step[]
*/
public function setSteps($steps)
{
$this->steps = $steps;
}
/**
* @return Step[]
*/
public function getSteps()
{
return $this->steps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_ServiceManagement_OperationMetadata');

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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_PhpSettings');

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\ServiceManagement;
class Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $auditConfigsType = AuditConfig::class;
protected $auditConfigsDataType = 'array';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var int
*/
public $version;
/**
* @param AuditConfig[]
*/
public function setAuditConfigs($auditConfigs)
{
$this->auditConfigs = $auditConfigs;
}
/**
* @return AuditConfig[]
*/
public function getAuditConfigs()
{
return $this->auditConfigs;
}
/**
* @param Binding[]
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param int
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_ServiceManagement_Policy');

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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_QuotaLimit');

View File

@@ -0,0 +1,83 @@
<?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\ServiceManagement\Resource;
use Google\Service\ServiceManagement\ListOperationsResponse;
use Google\Service\ServiceManagement\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $servicemanagementService = new Google\Service\ServiceManagement(...);
* $operations = $servicemanagementService->operations;
* </code>
*/
class Operations extends \Google\Service\Resource
{
/**
* 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 service operations that match the specified filter in the request.
* (operations.listOperations)
*
* @param array $optParams Optional parameters.
*
* @opt_param string filter A string for filtering Operations. The following
* filter fields are supported: * serviceName: Required. Only `=` operator is
* allowed. * startTime: The time this job was started, in ISO 8601 format.
* Allowed operators are `>=`, `>`, `<=`, and `<`. * status: Can be `done`,
* `in_progress`, or `failed`. Allowed operators are `=`, and `!=`. Filter
* expression supports conjunction (AND) and disjunction (OR) logical operators.
* However, the serviceName restriction must be at the top-level and can only be
* combined with other restrictions via the AND logical operator. Examples: *
* `serviceName={some-service}.googleapis.com` * `serviceName={some-
* service}.googleapis.com AND startTime>="2017-02-01"` * `serviceName={some-
* service}.googleapis.com AND status=done` * `serviceName={some-
* service}.googleapis.com AND (status=done OR startTime>="2017-02-01")`
* @opt_param string name Not used.
* @opt_param int pageSize The maximum number of operations to return. If
* unspecified, defaults to 50. The maximum value is 100.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listOperations($optParams = [])
{
$params = [];
$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_ServiceManagement_Resource_Operations');

View File

@@ -0,0 +1,249 @@
<?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\ServiceManagement\Resource;
use Google\Service\ServiceManagement\GenerateConfigReportRequest;
use Google\Service\ServiceManagement\GenerateConfigReportResponse;
use Google\Service\ServiceManagement\GetIamPolicyRequest;
use Google\Service\ServiceManagement\ListServicesResponse;
use Google\Service\ServiceManagement\ManagedService;
use Google\Service\ServiceManagement\Operation;
use Google\Service\ServiceManagement\Policy;
use Google\Service\ServiceManagement\Service;
use Google\Service\ServiceManagement\SetIamPolicyRequest;
use Google\Service\ServiceManagement\TestIamPermissionsRequest;
use Google\Service\ServiceManagement\TestIamPermissionsResponse;
/**
* The "services" collection of methods.
* Typical usage is:
* <code>
* $servicemanagementService = new Google\Service\ServiceManagement(...);
* $services = $servicemanagementService->services;
* </code>
*/
class Services extends \Google\Service\Resource
{
/**
* Creates a new managed service. A managed service is immutable, and is subject
* to mandatory 30-day data retention. You cannot move a service or recreate it
* within 30 days after deletion. One producer project can own no more than 500
* services. For security and reliability purposes, a production service should
* be hosted in a dedicated producer project. Operation (services.create)
*
* @param ManagedService $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create(ManagedService $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a managed service. This method will change the service to the `Soft-
* Delete` state for 30 days. Within this period, service producers may call
* UndeleteService to restore the service. After 30 days, the service will be
* permanently deleted. Operation (services.delete)
*
* @param string $serviceName Required. The name of the service. See the
* [overview](https://cloud.google.com/service-management/overview) for naming
* requirements. For example: `example.googleapis.com`.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($serviceName, $optParams = [])
{
$params = ['serviceName' => $serviceName];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Generates and returns a report (errors, warnings and changes from existing
* configurations) associated with GenerateConfigReportRequest.new_value If
* GenerateConfigReportRequest.old_value is specified,
* GenerateConfigReportRequest will contain a single ChangeReport based on the
* comparison between GenerateConfigReportRequest.new_value and
* GenerateConfigReportRequest.old_value. If
* GenerateConfigReportRequest.old_value is not specified, this method will
* compare GenerateConfigReportRequest.new_value with the last pushed service
* configuration. (services.generateConfigReport)
*
* @param GenerateConfigReportRequest $postBody
* @param array $optParams Optional parameters.
* @return GenerateConfigReportResponse
* @throws \Google\Service\Exception
*/
public function generateConfigReport(GenerateConfigReportRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('generateConfigReport', [$params], GenerateConfigReportResponse::class);
}
/**
* Gets a managed service. Authentication is required unless the service is
* public. (services.get)
*
* @param string $serviceName Required. The name of the service. See the
* `ServiceManager` overview for naming requirements. For example:
* `example.googleapis.com`.
* @param array $optParams Optional parameters.
* @return ManagedService
* @throws \Google\Service\Exception
*/
public function get($serviceName, $optParams = [])
{
$params = ['serviceName' => $serviceName];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ManagedService::class);
}
/**
* Gets a service configuration (version) for a managed service.
* (services.getConfig)
*
* @param string $serviceName Required. The name of the service. See the
* [overview](https://cloud.google.com/service-management/overview) for naming
* requirements. For example: `example.googleapis.com`.
* @param array $optParams Optional parameters.
*
* @opt_param string configId Required. The id of the service configuration
* resource. This field must be specified for the server to return all fields,
* including `SourceInfo`.
* @opt_param string view Specifies which parts of the Service Config should be
* returned in the response.
* @return Service
* @throws \Google\Service\Exception
*/
public function getConfig($serviceName, $optParams = [])
{
$params = ['serviceName' => $serviceName];
$params = array_merge($params, $optParams);
return $this->call('getConfig', [$params], Service::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (services.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param GetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, GetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Lists managed services. Returns all public services. For authenticated users,
* also returns all services the calling user has
* "servicemanagement.services.get" permission for. (services.listServices)
*
* @param array $optParams Optional parameters.
*
* @opt_param string consumerId Include services consumed by the specified
* consumer. The Google Service Management implementation accepts the following
* forms: - project:
* @opt_param int pageSize The max number of items to include in the response
* list. Page size is 50 if not specified. Maximum value is 500.
* @opt_param string pageToken Token identifying which result to start with;
* returned by a previous list call.
* @opt_param string producerProjectId Include services produced by the
* specified project.
* @return ListServicesResponse
* @throws \Google\Service\Exception
*/
public function listServices($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListServicesResponse::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (services.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning. (services.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
/**
* Revives a previously deleted managed service. The method restores the service
* using the configuration at the time the service was deleted. The target
* service must exist and must have been deleted within the last 30 days.
* Operation (services.undelete)
*
* @param string $serviceName Required. The name of the service. See the
* [overview](https://cloud.google.com/service-management/overview) for naming
* requirements. For example: `example.googleapis.com`.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function undelete($serviceName, $optParams = [])
{
$params = ['serviceName' => $serviceName];
$params = array_merge($params, $optParams);
return $this->call('undelete', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Services::class, 'Google_Service_ServiceManagement_Resource_Services');

View File

@@ -0,0 +1,127 @@
<?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\ServiceManagement\Resource;
use Google\Service\ServiceManagement\ListServiceConfigsResponse;
use Google\Service\ServiceManagement\Operation;
use Google\Service\ServiceManagement\Service;
use Google\Service\ServiceManagement\SubmitConfigSourceRequest;
/**
* The "configs" collection of methods.
* Typical usage is:
* <code>
* $servicemanagementService = new Google\Service\ServiceManagement(...);
* $configs = $servicemanagementService->services_configs;
* </code>
*/
class ServicesConfigs extends \Google\Service\Resource
{
/**
* Creates a new service configuration (version) for a managed service. This
* method only stores the service configuration. To roll out the service
* configuration to backend systems please call CreateServiceRollout. Only the
* 100 most recent service configurations and ones referenced by existing
* rollouts are kept for each service. The rest will be deleted eventually.
* (configs.create)
*
* @param string $serviceName Required. The name of the service. See the
* [overview](https://cloud.google.com/service-management/overview) for naming
* requirements. For example: `example.googleapis.com`.
* @param Service $postBody
* @param array $optParams Optional parameters.
* @return Service
* @throws \Google\Service\Exception
*/
public function create($serviceName, Service $postBody, $optParams = [])
{
$params = ['serviceName' => $serviceName, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Service::class);
}
/**
* Gets a service configuration (version) for a managed service. (configs.get)
*
* @param string $serviceName Required. The name of the service. See the
* [overview](https://cloud.google.com/service-management/overview) for naming
* requirements. For example: `example.googleapis.com`.
* @param string $configId Required. The id of the service configuration
* resource. This field must be specified for the server to return all fields,
* including `SourceInfo`.
* @param array $optParams Optional parameters.
*
* @opt_param string view Specifies which parts of the Service Config should be
* returned in the response.
* @return Service
* @throws \Google\Service\Exception
*/
public function get($serviceName, $configId, $optParams = [])
{
$params = ['serviceName' => $serviceName, 'configId' => $configId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Service::class);
}
/**
* Lists the history of the service configuration for a managed service, from
* the newest to the oldest. (configs.listServicesConfigs)
*
* @param string $serviceName Required. The name of the service. See the
* [overview](https://cloud.google.com/service-management/overview) for naming
* requirements. For example: `example.googleapis.com`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The max number of items to include in the response
* list. Page size is 50 if not specified. Maximum value is 100.
* @opt_param string pageToken The token of the page to retrieve.
* @return ListServiceConfigsResponse
* @throws \Google\Service\Exception
*/
public function listServicesConfigs($serviceName, $optParams = [])
{
$params = ['serviceName' => $serviceName];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListServiceConfigsResponse::class);
}
/**
* Creates a new service configuration (version) for a managed service based on
* user-supplied configuration source files (for example: OpenAPI
* Specification). This method stores the source configurations as well as the
* generated service configuration. To rollout the service configuration to
* other services, please call CreateServiceRollout. Only the 100 most recent
* configuration sources and ones referenced by existing service configurtions
* are kept for each service. The rest will be deleted eventually. Operation
* (configs.submit)
*
* @param string $serviceName Required. The name of the service. See the
* [overview](https://cloud.google.com/service-management/overview) for naming
* requirements. For example: `example.googleapis.com`.
* @param SubmitConfigSourceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function submit($serviceName, SubmitConfigSourceRequest $postBody, $optParams = [])
{
$params = ['serviceName' => $serviceName, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('submit', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServicesConfigs::class, 'Google_Service_ServiceManagement_Resource_ServicesConfigs');

View File

@@ -0,0 +1,101 @@
<?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\ServiceManagement\Resource;
use Google\Service\ServiceManagement\GetIamPolicyRequest;
use Google\Service\ServiceManagement\Policy;
use Google\Service\ServiceManagement\SetIamPolicyRequest;
use Google\Service\ServiceManagement\TestIamPermissionsRequest;
use Google\Service\ServiceManagement\TestIamPermissionsResponse;
/**
* The "consumers" collection of methods.
* Typical usage is:
* <code>
* $servicemanagementService = new Google\Service\ServiceManagement(...);
* $consumers = $servicemanagementService->services_consumers;
* </code>
*/
class ServicesConsumers extends \Google\Service\Resource
{
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (consumers.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param GetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, GetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (consumers.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning.
* (consumers.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServicesConsumers::class, 'Google_Service_ServiceManagement_Resource_ServicesConsumers');

View File

@@ -0,0 +1,104 @@
<?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\ServiceManagement\Resource;
use Google\Service\ServiceManagement\ListServiceRolloutsResponse;
use Google\Service\ServiceManagement\Operation;
use Google\Service\ServiceManagement\Rollout;
/**
* The "rollouts" collection of methods.
* Typical usage is:
* <code>
* $servicemanagementService = new Google\Service\ServiceManagement(...);
* $rollouts = $servicemanagementService->services_rollouts;
* </code>
*/
class ServicesRollouts extends \Google\Service\Resource
{
/**
* Creates a new service configuration rollout. Based on rollout, the Google
* Service Management will roll out the service configurations to different
* backend services. For example, the logging configuration will be pushed to
* Google Cloud Logging. Please note that any previous pending and running
* Rollouts and associated Operations will be automatically cancelled so that
* the latest Rollout will not be blocked by previous Rollouts. Only the 100
* most recent (in any state) and the last 10 successful (if not already part of
* the set of 100 most recent) rollouts are kept for each service. The rest will
* be deleted eventually. Operation (rollouts.create)
*
* @param string $serviceName Required. The name of the service. See the
* [overview](https://cloud.google.com/service-management/overview) for naming
* requirements. For example: `example.googleapis.com`.
* @param Rollout $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($serviceName, Rollout $postBody, $optParams = [])
{
$params = ['serviceName' => $serviceName, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Gets a service configuration rollout. (rollouts.get)
*
* @param string $serviceName Required. The name of the service. See the
* [overview](https://cloud.google.com/service-management/overview) for naming
* requirements. For example: `example.googleapis.com`.
* @param string $rolloutId Required. The id of the rollout resource.
* @param array $optParams Optional parameters.
* @return Rollout
* @throws \Google\Service\Exception
*/
public function get($serviceName, $rolloutId, $optParams = [])
{
$params = ['serviceName' => $serviceName, 'rolloutId' => $rolloutId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Rollout::class);
}
/**
* Lists the history of the service configuration rollouts for a managed
* service, from the newest to the oldest. (rollouts.listServicesRollouts)
*
* @param string $serviceName Required. The name of the service. See the
* [overview](https://cloud.google.com/service-management/overview) for naming
* requirements. For example: `example.googleapis.com`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Required. Use `filter` to return subset of rollouts.
* The following filters are supported: -- By status. For example,
* `filter='status=SUCCESS'` -- By strategy. For example,
* `filter='strategy=TrafficPercentStrategy'`
* @opt_param int pageSize The max number of items to include in the response
* list. Page size is 50 if not specified. Maximum value is 100.
* @opt_param string pageToken The token of the page to retrieve.
* @return ListServiceRolloutsResponse
* @throws \Google\Service\Exception
*/
public function listServicesRollouts($serviceName, $optParams = [])
{
$params = ['serviceName' => $serviceName];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListServiceRolloutsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServicesRollouts::class, 'Google_Service_ServiceManagement_Resource_ServicesRollouts');

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\ServiceManagement;
class ResourceReference extends \Google\Model
{
/**
* @var string
*/
public $childType;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setChildType($childType)
{
$this->childType = $childType;
}
/**
* @return string
*/
public function getChildType()
{
return $this->childType;
}
/**
* @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(ResourceReference::class, 'Google_Service_ServiceManagement_ResourceReference');

View File

@@ -0,0 +1,148 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\ServiceManagement;
class Rollout extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $createdBy;
protected $deleteServiceStrategyType = DeleteServiceStrategy::class;
protected $deleteServiceStrategyDataType = '';
/**
* @var string
*/
public $rolloutId;
/**
* @var string
*/
public $serviceName;
/**
* @var string
*/
public $status;
protected $trafficPercentStrategyType = TrafficPercentStrategy::class;
protected $trafficPercentStrategyDataType = '';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setCreatedBy($createdBy)
{
$this->createdBy = $createdBy;
}
/**
* @return string
*/
public function getCreatedBy()
{
return $this->createdBy;
}
/**
* @param DeleteServiceStrategy
*/
public function setDeleteServiceStrategy(DeleteServiceStrategy $deleteServiceStrategy)
{
$this->deleteServiceStrategy = $deleteServiceStrategy;
}
/**
* @return DeleteServiceStrategy
*/
public function getDeleteServiceStrategy()
{
return $this->deleteServiceStrategy;
}
/**
* @param string
*/
public function setRolloutId($rolloutId)
{
$this->rolloutId = $rolloutId;
}
/**
* @return string
*/
public function getRolloutId()
{
return $this->rolloutId;
}
/**
* @param string
*/
public function setServiceName($serviceName)
{
$this->serviceName = $serviceName;
}
/**
* @return string
*/
public function getServiceName()
{
return $this->serviceName;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param TrafficPercentStrategy
*/
public function setTrafficPercentStrategy(TrafficPercentStrategy $trafficPercentStrategy)
{
$this->trafficPercentStrategy = $trafficPercentStrategy;
}
/**
* @return TrafficPercentStrategy
*/
public function getTrafficPercentStrategy()
{
return $this->trafficPercentStrategy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Rollout::class, 'Google_Service_ServiceManagement_Rollout');

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\ServiceManagement;
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_ServiceManagement_RubySettings');

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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_Service');

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\ServiceManagement;
class SetIamPolicyRequest extends \Google\Model
{
protected $policyType = Policy::class;
protected $policyDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param Policy
*/
public function setPolicy(Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Policy
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SetIamPolicyRequest::class, 'Google_Service_ServiceManagement_SetIamPolicyRequest');

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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_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\ServiceManagement;
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_ServiceManagement_Status');

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\ServiceManagement;
class Step extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $status;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Step::class, 'Google_Service_ServiceManagement_Step');

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\ServiceManagement;
class SubmitConfigSourceRequest extends \Google\Model
{
protected $configSourceType = ConfigSource::class;
protected $configSourceDataType = '';
/**
* @var bool
*/
public $validateOnly;
/**
* @param ConfigSource
*/
public function setConfigSource(ConfigSource $configSource)
{
$this->configSource = $configSource;
}
/**
* @return ConfigSource
*/
public function getConfigSource()
{
return $this->configSource;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SubmitConfigSourceRequest::class, 'Google_Service_ServiceManagement_SubmitConfigSourceRequest');

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\ServiceManagement;
class SubmitConfigSourceResponse extends \Google\Model
{
protected $serviceConfigType = Service::class;
protected $serviceConfigDataType = '';
/**
* @param Service
*/
public function setServiceConfig(Service $serviceConfig)
{
$this->serviceConfig = $serviceConfig;
}
/**
* @return Service
*/
public function getServiceConfig()
{
return $this->serviceConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SubmitConfigSourceResponse::class, 'Google_Service_ServiceManagement_SubmitConfigSourceResponse');

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