Nouveaux fichier suite maj librairies vendor

This commit is contained in:
Caribana
2018-05-01 14:46:24 +02:00
parent 6d5286b888
commit 382b93196c
2318 changed files with 147474 additions and 0 deletions

View File

@@ -0,0 +1,113 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Api extends Google_Collection
{
protected $collection_key = 'options';
protected $methodsType = 'Google_Service_ServiceUsage_Method';
protected $methodsDataType = 'array';
protected $mixinsType = 'Google_Service_ServiceUsage_Mixin';
protected $mixinsDataType = 'array';
public $name;
protected $optionsType = 'Google_Service_ServiceUsage_Option';
protected $optionsDataType = 'array';
protected $sourceContextType = 'Google_Service_ServiceUsage_SourceContext';
protected $sourceContextDataType = '';
public $syntax;
public $version;
/**
* @param Google_Service_ServiceUsage_Method
*/
public function setMethods($methods)
{
$this->methods = $methods;
}
/**
* @return Google_Service_ServiceUsage_Method
*/
public function getMethods()
{
return $this->methods;
}
/**
* @param Google_Service_ServiceUsage_Mixin
*/
public function setMixins($mixins)
{
$this->mixins = $mixins;
}
/**
* @return Google_Service_ServiceUsage_Mixin
*/
public function getMixins()
{
return $this->mixins;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param Google_Service_ServiceUsage_Option
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Google_Service_ServiceUsage_Option
*/
public function getOptions()
{
return $this->options;
}
/**
* @param Google_Service_ServiceUsage_SourceContext
*/
public function setSourceContext(Google_Service_ServiceUsage_SourceContext $sourceContext)
{
$this->sourceContext = $sourceContext;
}
/**
* @return Google_Service_ServiceUsage_SourceContext
*/
public function getSourceContext()
{
return $this->sourceContext;
}
public function setSyntax($syntax)
{
$this->syntax = $syntax;
}
public function getSyntax()
{
return $this->syntax;
}
public function setVersion($version)
{
$this->version = $version;
}
public function getVersion()
{
return $this->version;
}
}

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_AuthProvider extends Google_Model
{
public $audiences;
public $authorizationUrl;
public $id;
public $issuer;
public $jwksUri;
public function setAudiences($audiences)
{
$this->audiences = $audiences;
}
public function getAudiences()
{
return $this->audiences;
}
public function setAuthorizationUrl($authorizationUrl)
{
$this->authorizationUrl = $authorizationUrl;
}
public function getAuthorizationUrl()
{
return $this->authorizationUrl;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setIssuer($issuer)
{
$this->issuer = $issuer;
}
public function getIssuer()
{
return $this->issuer;
}
public function setJwksUri($jwksUri)
{
$this->jwksUri = $jwksUri;
}
public function getJwksUri()
{
return $this->jwksUri;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_AuthRequirement extends Google_Model
{
public $audiences;
public $providerId;
public function setAudiences($audiences)
{
$this->audiences = $audiences;
}
public function getAudiences()
{
return $this->audiences;
}
public function setProviderId($providerId)
{
$this->providerId = $providerId;
}
public function getProviderId()
{
return $this->providerId;
}
}

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Authentication extends Google_Collection
{
protected $collection_key = 'rules';
protected $providersType = 'Google_Service_ServiceUsage_AuthProvider';
protected $providersDataType = 'array';
protected $rulesType = 'Google_Service_ServiceUsage_AuthenticationRule';
protected $rulesDataType = 'array';
/**
* @param Google_Service_ServiceUsage_AuthProvider
*/
public function setProviders($providers)
{
$this->providers = $providers;
}
/**
* @return Google_Service_ServiceUsage_AuthProvider
*/
public function getProviders()
{
return $this->providers;
}
/**
* @param Google_Service_ServiceUsage_AuthenticationRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceUsage_AuthenticationRule
*/
public function getRules()
{
return $this->rules;
}
}

View File

@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_AuthenticationRule extends Google_Collection
{
protected $collection_key = 'requirements';
public $allowWithoutCredential;
protected $customAuthType = 'Google_Service_ServiceUsage_CustomAuthRequirements';
protected $customAuthDataType = '';
protected $oauthType = 'Google_Service_ServiceUsage_OAuthRequirements';
protected $oauthDataType = '';
protected $requirementsType = 'Google_Service_ServiceUsage_AuthRequirement';
protected $requirementsDataType = 'array';
public $selector;
public function setAllowWithoutCredential($allowWithoutCredential)
{
$this->allowWithoutCredential = $allowWithoutCredential;
}
public function getAllowWithoutCredential()
{
return $this->allowWithoutCredential;
}
/**
* @param Google_Service_ServiceUsage_CustomAuthRequirements
*/
public function setCustomAuth(Google_Service_ServiceUsage_CustomAuthRequirements $customAuth)
{
$this->customAuth = $customAuth;
}
/**
* @return Google_Service_ServiceUsage_CustomAuthRequirements
*/
public function getCustomAuth()
{
return $this->customAuth;
}
/**
* @param Google_Service_ServiceUsage_OAuthRequirements
*/
public function setOauth(Google_Service_ServiceUsage_OAuthRequirements $oauth)
{
$this->oauth = $oauth;
}
/**
* @return Google_Service_ServiceUsage_OAuthRequirements
*/
public function getOauth()
{
return $this->oauth;
}
/**
* @param Google_Service_ServiceUsage_AuthRequirement
*/
public function setRequirements($requirements)
{
$this->requirements = $requirements;
}
/**
* @return Google_Service_ServiceUsage_AuthRequirement
*/
public function getRequirements()
{
return $this->requirements;
}
public function setSelector($selector)
{
$this->selector = $selector;
}
public function getSelector()
{
return $this->selector;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_AuthorizationConfig extends Google_Model
{
public $provider;
public function setProvider($provider)
{
$this->provider = $provider;
}
public function getProvider()
{
return $this->provider;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_AuthorizationRule extends Google_Model
{
public $permissions;
public $selector;
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
public function getPermissions()
{
return $this->permissions;
}
public function setSelector($selector)
{
$this->selector = $selector;
}
public function getSelector()
{
return $this->selector;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Backend extends Google_Collection
{
protected $collection_key = 'rules';
protected $rulesType = 'Google_Service_ServiceUsage_BackendRule';
protected $rulesDataType = 'array';
/**
* @param Google_Service_ServiceUsage_BackendRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceUsage_BackendRule
*/
public function getRules()
{
return $this->rules;
}
}

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_BackendRule extends Google_Model
{
public $address;
public $deadline;
public $minDeadline;
public $selector;
public function setAddress($address)
{
$this->address = $address;
}
public function getAddress()
{
return $this->address;
}
public function setDeadline($deadline)
{
$this->deadline = $deadline;
}
public function getDeadline()
{
return $this->deadline;
}
public function setMinDeadline($minDeadline)
{
$this->minDeadline = $minDeadline;
}
public function getMinDeadline()
{
return $this->minDeadline;
}
public function setSelector($selector)
{
$this->selector = $selector;
}
public function getSelector()
{
return $this->selector;
}
}

View File

@@ -0,0 +1,31 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_BatchEnableServicesRequest extends Google_Collection
{
protected $collection_key = 'serviceIds';
public $serviceIds;
public function setServiceIds($serviceIds)
{
$this->serviceIds = $serviceIds;
}
public function getServiceIds()
{
return $this->serviceIds;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Billing extends Google_Collection
{
protected $collection_key = 'consumerDestinations';
protected $consumerDestinationsType = 'Google_Service_ServiceUsage_BillingDestination';
protected $consumerDestinationsDataType = 'array';
/**
* @param Google_Service_ServiceUsage_BillingDestination
*/
public function setConsumerDestinations($consumerDestinations)
{
$this->consumerDestinations = $consumerDestinations;
}
/**
* @return Google_Service_ServiceUsage_BillingDestination
*/
public function getConsumerDestinations()
{
return $this->consumerDestinations;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_BillingDestination extends Google_Collection
{
protected $collection_key = 'metrics';
public $metrics;
public $monitoredResource;
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
public function getMetrics()
{
return $this->metrics;
}
public function setMonitoredResource($monitoredResource)
{
$this->monitoredResource = $monitoredResource;
}
public function getMonitoredResource()
{
return $this->monitoredResource;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Context extends Google_Collection
{
protected $collection_key = 'rules';
protected $rulesType = 'Google_Service_ServiceUsage_ContextRule';
protected $rulesDataType = 'array';
/**
* @param Google_Service_ServiceUsage_ContextRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceUsage_ContextRule
*/
public function getRules()
{
return $this->rules;
}
}

View File

@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_ContextRule extends Google_Collection
{
protected $collection_key = 'requested';
public $allowedRequestExtensions;
public $allowedResponseExtensions;
public $provided;
public $requested;
public $selector;
public function setAllowedRequestExtensions($allowedRequestExtensions)
{
$this->allowedRequestExtensions = $allowedRequestExtensions;
}
public function getAllowedRequestExtensions()
{
return $this->allowedRequestExtensions;
}
public function setAllowedResponseExtensions($allowedResponseExtensions)
{
$this->allowedResponseExtensions = $allowedResponseExtensions;
}
public function getAllowedResponseExtensions()
{
return $this->allowedResponseExtensions;
}
public function setProvided($provided)
{
$this->provided = $provided;
}
public function getProvided()
{
return $this->provided;
}
public function setRequested($requested)
{
$this->requested = $requested;
}
public function getRequested()
{
return $this->requested;
}
public function setSelector($selector)
{
$this->selector = $selector;
}
public function getSelector()
{
return $this->selector;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Control extends Google_Model
{
public $environment;
public function setEnvironment($environment)
{
$this->environment = $environment;
}
public function getEnvironment()
{
return $this->environment;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_CustomAuthRequirements extends Google_Model
{
public $provider;
public function setProvider($provider)
{
$this->provider = $provider;
}
public function getProvider()
{
return $this->provider;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_CustomError extends Google_Collection
{
protected $collection_key = 'types';
protected $rulesType = 'Google_Service_ServiceUsage_CustomErrorRule';
protected $rulesDataType = 'array';
public $types;
/**
* @param Google_Service_ServiceUsage_CustomErrorRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceUsage_CustomErrorRule
*/
public function getRules()
{
return $this->rules;
}
public function setTypes($types)
{
$this->types = $types;
}
public function getTypes()
{
return $this->types;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_CustomErrorRule extends Google_Model
{
public $isErrorType;
public $selector;
public function setIsErrorType($isErrorType)
{
$this->isErrorType = $isErrorType;
}
public function getIsErrorType()
{
return $this->isErrorType;
}
public function setSelector($selector)
{
$this->selector = $selector;
}
public function getSelector()
{
return $this->selector;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_CustomHttpPattern extends Google_Model
{
public $kind;
public $path;
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setPath($path)
{
$this->path = $path;
}
public function getPath()
{
return $this->path;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_DisableServiceRequest extends Google_Model
{
}

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.
*/
class Google_Service_ServiceUsage_Documentation extends Google_Collection
{
protected $collection_key = 'rules';
public $documentationRootUrl;
public $overview;
protected $pagesType = 'Google_Service_ServiceUsage_Page';
protected $pagesDataType = 'array';
protected $rulesType = 'Google_Service_ServiceUsage_DocumentationRule';
protected $rulesDataType = 'array';
public $summary;
public function setDocumentationRootUrl($documentationRootUrl)
{
$this->documentationRootUrl = $documentationRootUrl;
}
public function getDocumentationRootUrl()
{
return $this->documentationRootUrl;
}
public function setOverview($overview)
{
$this->overview = $overview;
}
public function getOverview()
{
return $this->overview;
}
/**
* @param Google_Service_ServiceUsage_Page
*/
public function setPages($pages)
{
$this->pages = $pages;
}
/**
* @return Google_Service_ServiceUsage_Page
*/
public function getPages()
{
return $this->pages;
}
/**
* @param Google_Service_ServiceUsage_DocumentationRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceUsage_DocumentationRule
*/
public function getRules()
{
return $this->rules;
}
public function setSummary($summary)
{
$this->summary = $summary;
}
public function getSummary()
{
return $this->summary;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_DocumentationRule extends Google_Model
{
public $deprecationDescription;
public $description;
public $selector;
public function setDeprecationDescription($deprecationDescription)
{
$this->deprecationDescription = $deprecationDescription;
}
public function getDeprecationDescription()
{
return $this->deprecationDescription;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setSelector($selector)
{
$this->selector = $selector;
}
public function getSelector()
{
return $this->selector;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_EnableServiceRequest extends Google_Model
{
}

View File

@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Endpoint extends Google_Collection
{
protected $collection_key = 'features';
public $aliases;
public $allowCors;
public $features;
public $name;
public $target;
public function setAliases($aliases)
{
$this->aliases = $aliases;
}
public function getAliases()
{
return $this->aliases;
}
public function setAllowCors($allowCors)
{
$this->allowCors = $allowCors;
}
public function getAllowCors()
{
return $this->allowCors;
}
public function setFeatures($features)
{
$this->features = $features;
}
public function getFeatures()
{
return $this->features;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setTarget($target)
{
$this->target = $target;
}
public function getTarget()
{
return $this->target;
}
}

View File

@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Enum extends Google_Collection
{
protected $collection_key = 'options';
protected $enumvalueType = 'Google_Service_ServiceUsage_EnumValue';
protected $enumvalueDataType = 'array';
public $name;
protected $optionsType = 'Google_Service_ServiceUsage_Option';
protected $optionsDataType = 'array';
protected $sourceContextType = 'Google_Service_ServiceUsage_SourceContext';
protected $sourceContextDataType = '';
public $syntax;
/**
* @param Google_Service_ServiceUsage_EnumValue
*/
public function setEnumvalue($enumvalue)
{
$this->enumvalue = $enumvalue;
}
/**
* @return Google_Service_ServiceUsage_EnumValue
*/
public function getEnumvalue()
{
return $this->enumvalue;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param Google_Service_ServiceUsage_Option
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Google_Service_ServiceUsage_Option
*/
public function getOptions()
{
return $this->options;
}
/**
* @param Google_Service_ServiceUsage_SourceContext
*/
public function setSourceContext(Google_Service_ServiceUsage_SourceContext $sourceContext)
{
$this->sourceContext = $sourceContext;
}
/**
* @return Google_Service_ServiceUsage_SourceContext
*/
public function getSourceContext()
{
return $this->sourceContext;
}
public function setSyntax($syntax)
{
$this->syntax = $syntax;
}
public function getSyntax()
{
return $this->syntax;
}
}

View File

@@ -0,0 +1,56 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_EnumValue extends Google_Collection
{
protected $collection_key = 'options';
public $name;
public $number;
protected $optionsType = 'Google_Service_ServiceUsage_Option';
protected $optionsDataType = 'array';
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNumber($number)
{
$this->number = $number;
}
public function getNumber()
{
return $this->number;
}
/**
* @param Google_Service_ServiceUsage_Option
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Google_Service_ServiceUsage_Option
*/
public function getOptions()
{
return $this->options;
}
}

View File

@@ -0,0 +1,37 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Experimental extends Google_Model
{
protected $authorizationType = 'Google_Service_ServiceUsage_AuthorizationConfig';
protected $authorizationDataType = '';
/**
* @param Google_Service_ServiceUsage_AuthorizationConfig
*/
public function setAuthorization(Google_Service_ServiceUsage_AuthorizationConfig $authorization)
{
$this->authorization = $authorization;
}
/**
* @return Google_Service_ServiceUsage_AuthorizationConfig
*/
public function getAuthorization()
{
return $this->authorization;
}
}

View File

@@ -0,0 +1,119 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Field extends Google_Collection
{
protected $collection_key = 'options';
public $cardinality;
public $defaultValue;
public $jsonName;
public $kind;
public $name;
public $number;
public $oneofIndex;
protected $optionsType = 'Google_Service_ServiceUsage_Option';
protected $optionsDataType = 'array';
public $packed;
public $typeUrl;
public function setCardinality($cardinality)
{
$this->cardinality = $cardinality;
}
public function getCardinality()
{
return $this->cardinality;
}
public function setDefaultValue($defaultValue)
{
$this->defaultValue = $defaultValue;
}
public function getDefaultValue()
{
return $this->defaultValue;
}
public function setJsonName($jsonName)
{
$this->jsonName = $jsonName;
}
public function getJsonName()
{
return $this->jsonName;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNumber($number)
{
$this->number = $number;
}
public function getNumber()
{
return $this->number;
}
public function setOneofIndex($oneofIndex)
{
$this->oneofIndex = $oneofIndex;
}
public function getOneofIndex()
{
return $this->oneofIndex;
}
/**
* @param Google_Service_ServiceUsage_Option
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Google_Service_ServiceUsage_Option
*/
public function getOptions()
{
return $this->options;
}
public function setPacked($packed)
{
$this->packed = $packed;
}
public function getPacked()
{
return $this->packed;
}
public function setTypeUrl($typeUrl)
{
$this->typeUrl = $typeUrl;
}
public function getTypeUrl()
{
return $this->typeUrl;
}
}

View File

@@ -0,0 +1,435 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_GoogleApiService extends Google_Collection
{
protected $collection_key = 'types';
protected $apisType = 'Google_Service_ServiceUsage_Api';
protected $apisDataType = 'array';
protected $authenticationType = 'Google_Service_ServiceUsage_Authentication';
protected $authenticationDataType = '';
protected $backendType = 'Google_Service_ServiceUsage_Backend';
protected $backendDataType = '';
protected $billingType = 'Google_Service_ServiceUsage_Billing';
protected $billingDataType = '';
public $configVersion;
protected $contextType = 'Google_Service_ServiceUsage_Context';
protected $contextDataType = '';
protected $controlType = 'Google_Service_ServiceUsage_Control';
protected $controlDataType = '';
protected $customErrorType = 'Google_Service_ServiceUsage_CustomError';
protected $customErrorDataType = '';
protected $documentationType = 'Google_Service_ServiceUsage_Documentation';
protected $documentationDataType = '';
protected $endpointsType = 'Google_Service_ServiceUsage_Endpoint';
protected $endpointsDataType = 'array';
protected $enumsType = 'Google_Service_ServiceUsage_Enum';
protected $enumsDataType = 'array';
protected $experimentalType = 'Google_Service_ServiceUsage_Experimental';
protected $experimentalDataType = '';
protected $httpType = 'Google_Service_ServiceUsage_Http';
protected $httpDataType = '';
public $id;
protected $loggingType = 'Google_Service_ServiceUsage_Logging';
protected $loggingDataType = '';
protected $logsType = 'Google_Service_ServiceUsage_LogDescriptor';
protected $logsDataType = 'array';
protected $metricsType = 'Google_Service_ServiceUsage_MetricDescriptor';
protected $metricsDataType = 'array';
protected $monitoredResourcesType = 'Google_Service_ServiceUsage_MonitoredResourceDescriptor';
protected $monitoredResourcesDataType = 'array';
protected $monitoringType = 'Google_Service_ServiceUsage_Monitoring';
protected $monitoringDataType = '';
public $name;
public $producerProjectId;
protected $quotaType = 'Google_Service_ServiceUsage_Quota';
protected $quotaDataType = '';
protected $sourceInfoType = 'Google_Service_ServiceUsage_SourceInfo';
protected $sourceInfoDataType = '';
protected $systemParametersType = 'Google_Service_ServiceUsage_SystemParameters';
protected $systemParametersDataType = '';
protected $systemTypesType = 'Google_Service_ServiceUsage_Type';
protected $systemTypesDataType = 'array';
public $title;
protected $typesType = 'Google_Service_ServiceUsage_Type';
protected $typesDataType = 'array';
protected $usageType = 'Google_Service_ServiceUsage_Usage';
protected $usageDataType = '';
/**
* @param Google_Service_ServiceUsage_Api
*/
public function setApis($apis)
{
$this->apis = $apis;
}
/**
* @return Google_Service_ServiceUsage_Api
*/
public function getApis()
{
return $this->apis;
}
/**
* @param Google_Service_ServiceUsage_Authentication
*/
public function setAuthentication(Google_Service_ServiceUsage_Authentication $authentication)
{
$this->authentication = $authentication;
}
/**
* @return Google_Service_ServiceUsage_Authentication
*/
public function getAuthentication()
{
return $this->authentication;
}
/**
* @param Google_Service_ServiceUsage_Backend
*/
public function setBackend(Google_Service_ServiceUsage_Backend $backend)
{
$this->backend = $backend;
}
/**
* @return Google_Service_ServiceUsage_Backend
*/
public function getBackend()
{
return $this->backend;
}
/**
* @param Google_Service_ServiceUsage_Billing
*/
public function setBilling(Google_Service_ServiceUsage_Billing $billing)
{
$this->billing = $billing;
}
/**
* @return Google_Service_ServiceUsage_Billing
*/
public function getBilling()
{
return $this->billing;
}
public function setConfigVersion($configVersion)
{
$this->configVersion = $configVersion;
}
public function getConfigVersion()
{
return $this->configVersion;
}
/**
* @param Google_Service_ServiceUsage_Context
*/
public function setContext(Google_Service_ServiceUsage_Context $context)
{
$this->context = $context;
}
/**
* @return Google_Service_ServiceUsage_Context
*/
public function getContext()
{
return $this->context;
}
/**
* @param Google_Service_ServiceUsage_Control
*/
public function setControl(Google_Service_ServiceUsage_Control $control)
{
$this->control = $control;
}
/**
* @return Google_Service_ServiceUsage_Control
*/
public function getControl()
{
return $this->control;
}
/**
* @param Google_Service_ServiceUsage_CustomError
*/
public function setCustomError(Google_Service_ServiceUsage_CustomError $customError)
{
$this->customError = $customError;
}
/**
* @return Google_Service_ServiceUsage_CustomError
*/
public function getCustomError()
{
return $this->customError;
}
/**
* @param Google_Service_ServiceUsage_Documentation
*/
public function setDocumentation(Google_Service_ServiceUsage_Documentation $documentation)
{
$this->documentation = $documentation;
}
/**
* @return Google_Service_ServiceUsage_Documentation
*/
public function getDocumentation()
{
return $this->documentation;
}
/**
* @param Google_Service_ServiceUsage_Endpoint
*/
public function setEndpoints($endpoints)
{
$this->endpoints = $endpoints;
}
/**
* @return Google_Service_ServiceUsage_Endpoint
*/
public function getEndpoints()
{
return $this->endpoints;
}
/**
* @param Google_Service_ServiceUsage_Enum
*/
public function setEnums($enums)
{
$this->enums = $enums;
}
/**
* @return Google_Service_ServiceUsage_Enum
*/
public function getEnums()
{
return $this->enums;
}
/**
* @param Google_Service_ServiceUsage_Experimental
*/
public function setExperimental(Google_Service_ServiceUsage_Experimental $experimental)
{
$this->experimental = $experimental;
}
/**
* @return Google_Service_ServiceUsage_Experimental
*/
public function getExperimental()
{
return $this->experimental;
}
/**
* @param Google_Service_ServiceUsage_Http
*/
public function setHttp(Google_Service_ServiceUsage_Http $http)
{
$this->http = $http;
}
/**
* @return Google_Service_ServiceUsage_Http
*/
public function getHttp()
{
return $this->http;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
/**
* @param Google_Service_ServiceUsage_Logging
*/
public function setLogging(Google_Service_ServiceUsage_Logging $logging)
{
$this->logging = $logging;
}
/**
* @return Google_Service_ServiceUsage_Logging
*/
public function getLogging()
{
return $this->logging;
}
/**
* @param Google_Service_ServiceUsage_LogDescriptor
*/
public function setLogs($logs)
{
$this->logs = $logs;
}
/**
* @return Google_Service_ServiceUsage_LogDescriptor
*/
public function getLogs()
{
return $this->logs;
}
/**
* @param Google_Service_ServiceUsage_MetricDescriptor
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return Google_Service_ServiceUsage_MetricDescriptor
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param Google_Service_ServiceUsage_MonitoredResourceDescriptor
*/
public function setMonitoredResources($monitoredResources)
{
$this->monitoredResources = $monitoredResources;
}
/**
* @return Google_Service_ServiceUsage_MonitoredResourceDescriptor
*/
public function getMonitoredResources()
{
return $this->monitoredResources;
}
/**
* @param Google_Service_ServiceUsage_Monitoring
*/
public function setMonitoring(Google_Service_ServiceUsage_Monitoring $monitoring)
{
$this->monitoring = $monitoring;
}
/**
* @return Google_Service_ServiceUsage_Monitoring
*/
public function getMonitoring()
{
return $this->monitoring;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setProducerProjectId($producerProjectId)
{
$this->producerProjectId = $producerProjectId;
}
public function getProducerProjectId()
{
return $this->producerProjectId;
}
/**
* @param Google_Service_ServiceUsage_Quota
*/
public function setQuota(Google_Service_ServiceUsage_Quota $quota)
{
$this->quota = $quota;
}
/**
* @return Google_Service_ServiceUsage_Quota
*/
public function getQuota()
{
return $this->quota;
}
/**
* @param Google_Service_ServiceUsage_SourceInfo
*/
public function setSourceInfo(Google_Service_ServiceUsage_SourceInfo $sourceInfo)
{
$this->sourceInfo = $sourceInfo;
}
/**
* @return Google_Service_ServiceUsage_SourceInfo
*/
public function getSourceInfo()
{
return $this->sourceInfo;
}
/**
* @param Google_Service_ServiceUsage_SystemParameters
*/
public function setSystemParameters(Google_Service_ServiceUsage_SystemParameters $systemParameters)
{
$this->systemParameters = $systemParameters;
}
/**
* @return Google_Service_ServiceUsage_SystemParameters
*/
public function getSystemParameters()
{
return $this->systemParameters;
}
/**
* @param Google_Service_ServiceUsage_Type
*/
public function setSystemTypes($systemTypes)
{
$this->systemTypes = $systemTypes;
}
/**
* @return Google_Service_ServiceUsage_Type
*/
public function getSystemTypes()
{
return $this->systemTypes;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
/**
* @param Google_Service_ServiceUsage_Type
*/
public function setTypes($types)
{
$this->types = $types;
}
/**
* @return Google_Service_ServiceUsage_Type
*/
public function getTypes()
{
return $this->types;
}
/**
* @param Google_Service_ServiceUsage_Usage
*/
public function setUsage(Google_Service_ServiceUsage_Usage $usage)
{
$this->usage = $usage;
}
/**
* @return Google_Service_ServiceUsage_Usage
*/
public function getUsage()
{
return $this->usage;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Http extends Google_Collection
{
protected $collection_key = 'rules';
public $fullyDecodeReservedExpansion;
protected $rulesType = 'Google_Service_ServiceUsage_HttpRule';
protected $rulesDataType = 'array';
public function setFullyDecodeReservedExpansion($fullyDecodeReservedExpansion)
{
$this->fullyDecodeReservedExpansion = $fullyDecodeReservedExpansion;
}
public function getFullyDecodeReservedExpansion()
{
return $this->fullyDecodeReservedExpansion;
}
/**
* @param Google_Service_ServiceUsage_HttpRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceUsage_HttpRule
*/
public function getRules()
{
return $this->rules;
}
}

View File

@@ -0,0 +1,183 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_HttpRule extends Google_Collection
{
protected $collection_key = 'authorizations';
protected $additionalBindingsType = 'Google_Service_ServiceUsage_HttpRule';
protected $additionalBindingsDataType = 'array';
protected $authorizationsType = 'Google_Service_ServiceUsage_AuthorizationRule';
protected $authorizationsDataType = 'array';
public $body;
protected $customType = 'Google_Service_ServiceUsage_CustomHttpPattern';
protected $customDataType = '';
public $delete;
public $get;
protected $mediaDownloadType = 'Google_Service_ServiceUsage_MediaDownload';
protected $mediaDownloadDataType = '';
protected $mediaUploadType = 'Google_Service_ServiceUsage_MediaUpload';
protected $mediaUploadDataType = '';
public $patch;
public $post;
public $put;
public $restCollection;
public $restMethodName;
public $selector;
/**
* @param Google_Service_ServiceUsage_HttpRule
*/
public function setAdditionalBindings($additionalBindings)
{
$this->additionalBindings = $additionalBindings;
}
/**
* @return Google_Service_ServiceUsage_HttpRule
*/
public function getAdditionalBindings()
{
return $this->additionalBindings;
}
/**
* @param Google_Service_ServiceUsage_AuthorizationRule
*/
public function setAuthorizations($authorizations)
{
$this->authorizations = $authorizations;
}
/**
* @return Google_Service_ServiceUsage_AuthorizationRule
*/
public function getAuthorizations()
{
return $this->authorizations;
}
public function setBody($body)
{
$this->body = $body;
}
public function getBody()
{
return $this->body;
}
/**
* @param Google_Service_ServiceUsage_CustomHttpPattern
*/
public function setCustom(Google_Service_ServiceUsage_CustomHttpPattern $custom)
{
$this->custom = $custom;
}
/**
* @return Google_Service_ServiceUsage_CustomHttpPattern
*/
public function getCustom()
{
return $this->custom;
}
public function setDelete($delete)
{
$this->delete = $delete;
}
public function getDelete()
{
return $this->delete;
}
public function setGet($get)
{
$this->get = $get;
}
public function getGet()
{
return $this->get;
}
/**
* @param Google_Service_ServiceUsage_MediaDownload
*/
public function setMediaDownload(Google_Service_ServiceUsage_MediaDownload $mediaDownload)
{
$this->mediaDownload = $mediaDownload;
}
/**
* @return Google_Service_ServiceUsage_MediaDownload
*/
public function getMediaDownload()
{
return $this->mediaDownload;
}
/**
* @param Google_Service_ServiceUsage_MediaUpload
*/
public function setMediaUpload(Google_Service_ServiceUsage_MediaUpload $mediaUpload)
{
$this->mediaUpload = $mediaUpload;
}
/**
* @return Google_Service_ServiceUsage_MediaUpload
*/
public function getMediaUpload()
{
return $this->mediaUpload;
}
public function setPatch($patch)
{
$this->patch = $patch;
}
public function getPatch()
{
return $this->patch;
}
public function setPost($post)
{
$this->post = $post;
}
public function getPost()
{
return $this->post;
}
public function setPut($put)
{
$this->put = $put;
}
public function getPut()
{
return $this->put;
}
public function setRestCollection($restCollection)
{
$this->restCollection = $restCollection;
}
public function getRestCollection()
{
return $this->restCollection;
}
public function setRestMethodName($restMethodName)
{
$this->restMethodName = $restMethodName;
}
public function getRestMethodName()
{
return $this->restMethodName;
}
public function setSelector($selector)
{
$this->selector = $selector;
}
public function getSelector()
{
return $this->selector;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_LabelDescriptor extends Google_Model
{
public $description;
public $key;
public $valueType;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setKey($key)
{
$this->key = $key;
}
public function getKey()
{
return $this->key;
}
public function setValueType($valueType)
{
$this->valueType = $valueType;
}
public function getValueType()
{
return $this->valueType;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_ListOperationsResponse extends Google_Collection
{
protected $collection_key = 'operations';
public $nextPageToken;
protected $operationsType = 'Google_Service_ServiceUsage_Operation';
protected $operationsDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_ServiceUsage_Operation
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Google_Service_ServiceUsage_Operation
*/
public function getOperations()
{
return $this->operations;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_ListServicesResponse extends Google_Collection
{
protected $collection_key = 'services';
public $nextPageToken;
protected $servicesType = 'Google_Service_ServiceUsage_Service';
protected $servicesDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_ServiceUsage_Service
*/
public function setServices($services)
{
$this->services = $services;
}
/**
* @return Google_Service_ServiceUsage_Service
*/
public function getServices()
{
return $this->services;
}
}

View File

@@ -0,0 +1,65 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_LogDescriptor extends Google_Collection
{
protected $collection_key = 'labels';
public $description;
public $displayName;
protected $labelsType = 'Google_Service_ServiceUsage_LabelDescriptor';
protected $labelsDataType = 'array';
public $name;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param Google_Service_ServiceUsage_LabelDescriptor
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return Google_Service_ServiceUsage_LabelDescriptor
*/
public function getLabels()
{
return $this->labels;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Logging extends Google_Collection
{
protected $collection_key = 'producerDestinations';
protected $consumerDestinationsType = 'Google_Service_ServiceUsage_LoggingDestination';
protected $consumerDestinationsDataType = 'array';
protected $producerDestinationsType = 'Google_Service_ServiceUsage_LoggingDestination';
protected $producerDestinationsDataType = 'array';
/**
* @param Google_Service_ServiceUsage_LoggingDestination
*/
public function setConsumerDestinations($consumerDestinations)
{
$this->consumerDestinations = $consumerDestinations;
}
/**
* @return Google_Service_ServiceUsage_LoggingDestination
*/
public function getConsumerDestinations()
{
return $this->consumerDestinations;
}
/**
* @param Google_Service_ServiceUsage_LoggingDestination
*/
public function setProducerDestinations($producerDestinations)
{
$this->producerDestinations = $producerDestinations;
}
/**
* @return Google_Service_ServiceUsage_LoggingDestination
*/
public function getProducerDestinations()
{
return $this->producerDestinations;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_LoggingDestination extends Google_Collection
{
protected $collection_key = 'logs';
public $logs;
public $monitoredResource;
public function setLogs($logs)
{
$this->logs = $logs;
}
public function getLogs()
{
return $this->logs;
}
public function setMonitoredResource($monitoredResource)
{
$this->monitoredResource = $monitoredResource;
}
public function getMonitoredResource()
{
return $this->monitoredResource;
}
}

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_MediaDownload extends Google_Model
{
public $completeNotification;
public $downloadService;
public $dropzone;
public $enabled;
public $maxDirectDownloadSize;
public $useDirectDownload;
public function setCompleteNotification($completeNotification)
{
$this->completeNotification = $completeNotification;
}
public function getCompleteNotification()
{
return $this->completeNotification;
}
public function setDownloadService($downloadService)
{
$this->downloadService = $downloadService;
}
public function getDownloadService()
{
return $this->downloadService;
}
public function setDropzone($dropzone)
{
$this->dropzone = $dropzone;
}
public function getDropzone()
{
return $this->dropzone;
}
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
public function getEnabled()
{
return $this->enabled;
}
public function setMaxDirectDownloadSize($maxDirectDownloadSize)
{
$this->maxDirectDownloadSize = $maxDirectDownloadSize;
}
public function getMaxDirectDownloadSize()
{
return $this->maxDirectDownloadSize;
}
public function setUseDirectDownload($useDirectDownload)
{
$this->useDirectDownload = $useDirectDownload;
}
public function getUseDirectDownload()
{
return $this->useDirectDownload;
}
}

View File

@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_MediaUpload extends Google_Collection
{
protected $collection_key = 'mimeTypes';
public $completeNotification;
public $dropzone;
public $enabled;
public $maxSize;
public $mimeTypes;
public $progressNotification;
public $startNotification;
public $uploadService;
public function setCompleteNotification($completeNotification)
{
$this->completeNotification = $completeNotification;
}
public function getCompleteNotification()
{
return $this->completeNotification;
}
public function setDropzone($dropzone)
{
$this->dropzone = $dropzone;
}
public function getDropzone()
{
return $this->dropzone;
}
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
public function getEnabled()
{
return $this->enabled;
}
public function setMaxSize($maxSize)
{
$this->maxSize = $maxSize;
}
public function getMaxSize()
{
return $this->maxSize;
}
public function setMimeTypes($mimeTypes)
{
$this->mimeTypes = $mimeTypes;
}
public function getMimeTypes()
{
return $this->mimeTypes;
}
public function setProgressNotification($progressNotification)
{
$this->progressNotification = $progressNotification;
}
public function getProgressNotification()
{
return $this->progressNotification;
}
public function setStartNotification($startNotification)
{
$this->startNotification = $startNotification;
}
public function getStartNotification()
{
return $this->startNotification;
}
public function setUploadService($uploadService)
{
$this->uploadService = $uploadService;
}
public function getUploadService()
{
return $this->uploadService;
}
}

View File

@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Method extends Google_Collection
{
protected $collection_key = 'options';
public $name;
protected $optionsType = 'Google_Service_ServiceUsage_Option';
protected $optionsDataType = 'array';
public $requestStreaming;
public $requestTypeUrl;
public $responseStreaming;
public $responseTypeUrl;
public $syntax;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param Google_Service_ServiceUsage_Option
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Google_Service_ServiceUsage_Option
*/
public function getOptions()
{
return $this->options;
}
public function setRequestStreaming($requestStreaming)
{
$this->requestStreaming = $requestStreaming;
}
public function getRequestStreaming()
{
return $this->requestStreaming;
}
public function setRequestTypeUrl($requestTypeUrl)
{
$this->requestTypeUrl = $requestTypeUrl;
}
public function getRequestTypeUrl()
{
return $this->requestTypeUrl;
}
public function setResponseStreaming($responseStreaming)
{
$this->responseStreaming = $responseStreaming;
}
public function getResponseStreaming()
{
return $this->responseStreaming;
}
public function setResponseTypeUrl($responseTypeUrl)
{
$this->responseTypeUrl = $responseTypeUrl;
}
public function getResponseTypeUrl()
{
return $this->responseTypeUrl;
}
public function setSyntax($syntax)
{
$this->syntax = $syntax;
}
public function getSyntax()
{
return $this->syntax;
}
}

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.
*/
class Google_Service_ServiceUsage_MetricDescriptor extends Google_Collection
{
protected $collection_key = 'labels';
public $description;
public $displayName;
protected $labelsType = 'Google_Service_ServiceUsage_LabelDescriptor';
protected $labelsDataType = 'array';
public $metricKind;
public $name;
public $type;
public $unit;
public $valueType;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param Google_Service_ServiceUsage_LabelDescriptor
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return Google_Service_ServiceUsage_LabelDescriptor
*/
public function getLabels()
{
return $this->labels;
}
public function setMetricKind($metricKind)
{
$this->metricKind = $metricKind;
}
public function getMetricKind()
{
return $this->metricKind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setUnit($unit)
{
$this->unit = $unit;
}
public function getUnit()
{
return $this->unit;
}
public function setValueType($valueType)
{
$this->valueType = $valueType;
}
public function getValueType()
{
return $this->valueType;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_MetricRule extends Google_Model
{
public $metricCosts;
public $selector;
public function setMetricCosts($metricCosts)
{
$this->metricCosts = $metricCosts;
}
public function getMetricCosts()
{
return $this->metricCosts;
}
public function setSelector($selector)
{
$this->selector = $selector;
}
public function getSelector()
{
return $this->selector;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Mixin extends Google_Model
{
public $name;
public $root;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setRoot($root)
{
$this->root = $root;
}
public function getRoot()
{
return $this->root;
}
}

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_MonitoredResourceDescriptor extends Google_Collection
{
protected $collection_key = 'labels';
public $description;
public $displayName;
protected $labelsType = 'Google_Service_ServiceUsage_LabelDescriptor';
protected $labelsDataType = 'array';
public $name;
public $type;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param Google_Service_ServiceUsage_LabelDescriptor
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return Google_Service_ServiceUsage_LabelDescriptor
*/
public function getLabels()
{
return $this->labels;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Monitoring extends Google_Collection
{
protected $collection_key = 'producerDestinations';
protected $consumerDestinationsType = 'Google_Service_ServiceUsage_MonitoringDestination';
protected $consumerDestinationsDataType = 'array';
protected $producerDestinationsType = 'Google_Service_ServiceUsage_MonitoringDestination';
protected $producerDestinationsDataType = 'array';
/**
* @param Google_Service_ServiceUsage_MonitoringDestination
*/
public function setConsumerDestinations($consumerDestinations)
{
$this->consumerDestinations = $consumerDestinations;
}
/**
* @return Google_Service_ServiceUsage_MonitoringDestination
*/
public function getConsumerDestinations()
{
return $this->consumerDestinations;
}
/**
* @param Google_Service_ServiceUsage_MonitoringDestination
*/
public function setProducerDestinations($producerDestinations)
{
$this->producerDestinations = $producerDestinations;
}
/**
* @return Google_Service_ServiceUsage_MonitoringDestination
*/
public function getProducerDestinations()
{
return $this->producerDestinations;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_MonitoringDestination extends Google_Collection
{
protected $collection_key = 'metrics';
public $metrics;
public $monitoredResource;
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
public function getMetrics()
{
return $this->metrics;
}
public function setMonitoredResource($monitoredResource)
{
$this->monitoredResource = $monitoredResource;
}
public function getMonitoredResource()
{
return $this->monitoredResource;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_OAuthRequirements extends Google_Model
{
public $canonicalScopes;
public function setCanonicalScopes($canonicalScopes)
{
$this->canonicalScopes = $canonicalScopes;
}
public function getCanonicalScopes()
{
return $this->canonicalScopes;
}
}

View File

@@ -0,0 +1,73 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Operation extends Google_Model
{
public $done;
protected $errorType = 'Google_Service_ServiceUsage_Status';
protected $errorDataType = '';
public $metadata;
public $name;
public $response;
public function setDone($done)
{
$this->done = $done;
}
public function getDone()
{
return $this->done;
}
/**
* @param Google_Service_ServiceUsage_Status
*/
public function setError(Google_Service_ServiceUsage_Status $error)
{
$this->error = $error;
}
/**
* @return Google_Service_ServiceUsage_Status
*/
public function getError()
{
return $this->error;
}
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
public function getMetadata()
{
return $this->metadata;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setResponse($response)
{
$this->response = $response;
}
public function getResponse()
{
return $this->response;
}
}

View File

@@ -0,0 +1,65 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_OperationMetadata extends Google_Collection
{
protected $collection_key = 'steps';
public $progressPercentage;
public $resourceNames;
public $startTime;
protected $stepsType = 'Google_Service_ServiceUsage_Step';
protected $stepsDataType = 'array';
public function setProgressPercentage($progressPercentage)
{
$this->progressPercentage = $progressPercentage;
}
public function getProgressPercentage()
{
return $this->progressPercentage;
}
public function setResourceNames($resourceNames)
{
$this->resourceNames = $resourceNames;
}
public function getResourceNames()
{
return $this->resourceNames;
}
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
public function getStartTime()
{
return $this->startTime;
}
/**
* @param Google_Service_ServiceUsage_Step
*/
public function setSteps($steps)
{
$this->steps = $steps;
}
/**
* @return Google_Service_ServiceUsage_Step
*/
public function getSteps()
{
return $this->steps;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Option extends Google_Model
{
public $name;
public $value;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,56 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Page extends Google_Collection
{
protected $collection_key = 'subpages';
public $content;
public $name;
protected $subpagesType = 'Google_Service_ServiceUsage_Page';
protected $subpagesDataType = 'array';
public function setContent($content)
{
$this->content = $content;
}
public function getContent()
{
return $this->content;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param Google_Service_ServiceUsage_Page
*/
public function setSubpages($subpages)
{
$this->subpages = $subpages;
}
/**
* @return Google_Service_ServiceUsage_Page
*/
public function getSubpages()
{
return $this->subpages;
}
}

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Quota extends Google_Collection
{
protected $collection_key = 'metricRules';
protected $limitsType = 'Google_Service_ServiceUsage_QuotaLimit';
protected $limitsDataType = 'array';
protected $metricRulesType = 'Google_Service_ServiceUsage_MetricRule';
protected $metricRulesDataType = 'array';
/**
* @param Google_Service_ServiceUsage_QuotaLimit
*/
public function setLimits($limits)
{
$this->limits = $limits;
}
/**
* @return Google_Service_ServiceUsage_QuotaLimit
*/
public function getLimits()
{
return $this->limits;
}
/**
* @param Google_Service_ServiceUsage_MetricRule
*/
public function setMetricRules($metricRules)
{
$this->metricRules = $metricRules;
}
/**
* @return Google_Service_ServiceUsage_MetricRule
*/
public function getMetricRules()
{
return $this->metricRules;
}
}

View File

@@ -0,0 +1,111 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_QuotaLimit extends Google_Model
{
public $defaultLimit;
public $description;
public $displayName;
public $duration;
public $freeTier;
public $maxLimit;
public $metric;
public $name;
public $unit;
public $values;
public function setDefaultLimit($defaultLimit)
{
$this->defaultLimit = $defaultLimit;
}
public function getDefaultLimit()
{
return $this->defaultLimit;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setDuration($duration)
{
$this->duration = $duration;
}
public function getDuration()
{
return $this->duration;
}
public function setFreeTier($freeTier)
{
$this->freeTier = $freeTier;
}
public function getFreeTier()
{
return $this->freeTier;
}
public function setMaxLimit($maxLimit)
{
$this->maxLimit = $maxLimit;
}
public function getMaxLimit()
{
return $this->maxLimit;
}
public function setMetric($metric)
{
$this->metric = $metric;
}
public function getMetric()
{
return $this->metric;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setUnit($unit)
{
$this->unit = $unit;
}
public function getUnit()
{
return $this->unit;
}
public function setValues($values)
{
$this->values = $values;
}
public function getValues()
{
return $this->values;
}
}

View File

@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $serviceusageService = new Google_Service_ServiceUsage(...);
* $operations = $serviceusageService->operations;
* </code>
*/
class Google_Service_ServiceUsage_Resource_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 Google_Service_ServiceUsage_Operation
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_ServiceUsage_Operation");
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
*
* NOTE: the `name` binding allows API services to override the binding to use
* different resource name schemes, such as `users/operations`. To override the
* binding, API services can add a binding such as
* `"/v1/{name=users}/operations"` to their service configuration. For backwards
* compatibility, the default name includes the operations collection id,
* however overriding users must ensure the name binding is the parent resource,
* without the operations collection id. (operations.listOperations)
*
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param string name The name of the operation's parent resource.
* @opt_param string pageToken The standard list page token.
* @opt_param int pageSize The standard list page size.
* @return Google_Service_ServiceUsage_ListOperationsResponse
*/
public function listOperations($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_ServiceUsage_ListOperationsResponse");
}
}

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.
*/
/**
* The "services" collection of methods.
* Typical usage is:
* <code>
* $serviceusageService = new Google_Service_ServiceUsage(...);
* $services = $serviceusageService->services;
* </code>
*/
class Google_Service_ServiceUsage_Resource_Services extends Google_Service_Resource
{
/**
* Enable multiple services on a project. The operation is atomic: if enabling
* any service fails, then the entire batch fails, and no state changes occur.
*
* Operation (services.batchEnable)
*
* @param string $parent Parent to enable services on.
*
* An example name would be: `projects/123` where `123` is the project number
* (not project ID).
*
* The `BatchEnableServices` method currently only supports projects.
* @param Google_Service_ServiceUsage_BatchEnableServicesRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ServiceUsage_Operation
*/
public function batchEnable($parent, Google_Service_ServiceUsage_BatchEnableServicesRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('batchEnable', array($params), "Google_Service_ServiceUsage_Operation");
}
/**
* Disable a service so that it can no longer be used with a project. This
* prevents unintended usage that may cause unexpected billing charges or
* security leaks.
*
* It is not valid to call the disable method on a service that is not currently
* enabled. Callers will receive a `FAILED_PRECONDITION` status if the target
* service is not currently enabled.
*
* Operation (services.disable)
*
* @param string $name Name of the consumer and service to disable the service
* on.
*
* The enable and disable methods currently only support projects.
*
* An example name would be: `projects/123/services/serviceusage.googleapis.com`
* where `123` is the project number (not project ID).
* @param Google_Service_ServiceUsage_DisableServiceRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ServiceUsage_Operation
*/
public function disable($name, Google_Service_ServiceUsage_DisableServiceRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('disable', array($params), "Google_Service_ServiceUsage_Operation");
}
/**
* Enable a service so that it can be used with a project.
*
* Operation (services.enable)
*
* @param string $name Name of the consumer and service to enable the service
* on.
*
* The `EnableService` and `DisableService` methods currently only support
* projects.
*
* Enabling a service requires that the service is public or is shared with the
* user enabling the service.
*
* An example name would be: `projects/123/services/serviceusage.googleapis.com`
* where `123` is the project number (not project ID).
* @param Google_Service_ServiceUsage_EnableServiceRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ServiceUsage_Operation
*/
public function enable($name, Google_Service_ServiceUsage_EnableServiceRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('enable', array($params), "Google_Service_ServiceUsage_Operation");
}
/**
* Returns the service configuration and enabled state for a given service.
* (services.get)
*
* @param string $name Name of the consumer and service to get the
* `ConsumerState` for.
*
* An example name would be: `projects/123/services/serviceusage.googleapis.com`
* where `123` is the project number (not project ID).
* @param array $optParams Optional parameters.
* @return Google_Service_ServiceUsage_Service
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_ServiceUsage_Service");
}
/**
* List all services available to the specified project, and the current state
* of those services with respect to the project. The list includes all public
* services, all services for which the calling user has the
* `servicemanagement.services.bind` permission, and all services that have
* already been enabled on the project. The list can be filtered to only include
* services in a specific state, for example to only include services enabled on
* the project. (services.listServices)
*
* @param string $parent Parent to search for services on.
*
* An example name would be: `projects/123` where `123` is the project number
* (not project ID).
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Requested size of the next page of data. Requested
* page size cannot exceed 200. If not set, the default page size is 50.
* @opt_param string filter Only list services that conform to the given filter.
* The allowed filter strings are `state:ENABLED` and `state:DISABLED`.
* @opt_param string pageToken Token identifying which result to start with,
* which is returned by a previous list call.
* @return Google_Service_ServiceUsage_ListServicesResponse
*/
public function listServices($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_ServiceUsage_ListServicesResponse");
}
}

View File

@@ -0,0 +1,64 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Service extends Google_Model
{
protected $configType = 'Google_Service_ServiceUsage_ServiceConfig';
protected $configDataType = '';
public $name;
public $parent;
public $state;
/**
* @param Google_Service_ServiceUsage_ServiceConfig
*/
public function setConfig(Google_Service_ServiceUsage_ServiceConfig $config)
{
$this->config = $config;
}
/**
* @return Google_Service_ServiceUsage_ServiceConfig
*/
public function getConfig()
{
return $this->config;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setParent($parent)
{
$this->parent = $parent;
}
public function getParent()
{
return $this->parent;
}
public function setState($state)
{
$this->state = $state;
}
public function getState()
{
return $this->state;
}
}

View File

@@ -0,0 +1,136 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_ServiceConfig extends Google_Collection
{
protected $collection_key = 'endpoints';
protected $apisType = 'Google_Service_ServiceUsage_Api';
protected $apisDataType = 'array';
protected $authenticationType = 'Google_Service_ServiceUsage_Authentication';
protected $authenticationDataType = '';
protected $documentationType = 'Google_Service_ServiceUsage_Documentation';
protected $documentationDataType = '';
protected $endpointsType = 'Google_Service_ServiceUsage_Endpoint';
protected $endpointsDataType = 'array';
public $name;
protected $quotaType = 'Google_Service_ServiceUsage_Quota';
protected $quotaDataType = '';
public $title;
protected $usageType = 'Google_Service_ServiceUsage_Usage';
protected $usageDataType = '';
/**
* @param Google_Service_ServiceUsage_Api
*/
public function setApis($apis)
{
$this->apis = $apis;
}
/**
* @return Google_Service_ServiceUsage_Api
*/
public function getApis()
{
return $this->apis;
}
/**
* @param Google_Service_ServiceUsage_Authentication
*/
public function setAuthentication(Google_Service_ServiceUsage_Authentication $authentication)
{
$this->authentication = $authentication;
}
/**
* @return Google_Service_ServiceUsage_Authentication
*/
public function getAuthentication()
{
return $this->authentication;
}
/**
* @param Google_Service_ServiceUsage_Documentation
*/
public function setDocumentation(Google_Service_ServiceUsage_Documentation $documentation)
{
$this->documentation = $documentation;
}
/**
* @return Google_Service_ServiceUsage_Documentation
*/
public function getDocumentation()
{
return $this->documentation;
}
/**
* @param Google_Service_ServiceUsage_Endpoint
*/
public function setEndpoints($endpoints)
{
$this->endpoints = $endpoints;
}
/**
* @return Google_Service_ServiceUsage_Endpoint
*/
public function getEndpoints()
{
return $this->endpoints;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param Google_Service_ServiceUsage_Quota
*/
public function setQuota(Google_Service_ServiceUsage_Quota $quota)
{
$this->quota = $quota;
}
/**
* @return Google_Service_ServiceUsage_Quota
*/
public function getQuota()
{
return $this->quota;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
/**
* @param Google_Service_ServiceUsage_Usage
*/
public function setUsage(Google_Service_ServiceUsage_Usage $usage)
{
$this->usage = $usage;
}
/**
* @return Google_Service_ServiceUsage_Usage
*/
public function getUsage()
{
return $this->usage;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_SourceContext extends Google_Model
{
public $fileName;
public function setFileName($fileName)
{
$this->fileName = $fileName;
}
public function getFileName()
{
return $this->fileName;
}
}

View File

@@ -0,0 +1,31 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_SourceInfo extends Google_Collection
{
protected $collection_key = 'sourceFiles';
public $sourceFiles;
public function setSourceFiles($sourceFiles)
{
$this->sourceFiles = $sourceFiles;
}
public function getSourceFiles()
{
return $this->sourceFiles;
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Status extends Google_Collection
{
protected $collection_key = 'details';
public $code;
public $details;
public $message;
public function setCode($code)
{
$this->code = $code;
}
public function getCode()
{
return $this->code;
}
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setMessage($message)
{
$this->message = $message;
}
public function getMessage()
{
return $this->message;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Step extends Google_Model
{
public $description;
public $status;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setStatus($status)
{
$this->status = $status;
}
public function getStatus()
{
return $this->status;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_SystemParameter extends Google_Model
{
public $httpHeader;
public $name;
public $urlQueryParameter;
public function setHttpHeader($httpHeader)
{
$this->httpHeader = $httpHeader;
}
public function getHttpHeader()
{
return $this->httpHeader;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setUrlQueryParameter($urlQueryParameter)
{
$this->urlQueryParameter = $urlQueryParameter;
}
public function getUrlQueryParameter()
{
return $this->urlQueryParameter;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_SystemParameterRule extends Google_Collection
{
protected $collection_key = 'parameters';
protected $parametersType = 'Google_Service_ServiceUsage_SystemParameter';
protected $parametersDataType = 'array';
public $selector;
/**
* @param Google_Service_ServiceUsage_SystemParameter
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return Google_Service_ServiceUsage_SystemParameter
*/
public function getParameters()
{
return $this->parameters;
}
public function setSelector($selector)
{
$this->selector = $selector;
}
public function getSelector()
{
return $this->selector;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_SystemParameters extends Google_Collection
{
protected $collection_key = 'rules';
protected $rulesType = 'Google_Service_ServiceUsage_SystemParameterRule';
protected $rulesDataType = 'array';
/**
* @param Google_Service_ServiceUsage_SystemParameterRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceUsage_SystemParameterRule
*/
public function getRules()
{
return $this->rules;
}
}

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.
*/
class Google_Service_ServiceUsage_Type extends Google_Collection
{
protected $collection_key = 'options';
protected $fieldsType = 'Google_Service_ServiceUsage_Field';
protected $fieldsDataType = 'array';
public $name;
public $oneofs;
protected $optionsType = 'Google_Service_ServiceUsage_Option';
protected $optionsDataType = 'array';
protected $sourceContextType = 'Google_Service_ServiceUsage_SourceContext';
protected $sourceContextDataType = '';
public $syntax;
/**
* @param Google_Service_ServiceUsage_Field
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return Google_Service_ServiceUsage_Field
*/
public function getFields()
{
return $this->fields;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setOneofs($oneofs)
{
$this->oneofs = $oneofs;
}
public function getOneofs()
{
return $this->oneofs;
}
/**
* @param Google_Service_ServiceUsage_Option
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Google_Service_ServiceUsage_Option
*/
public function getOptions()
{
return $this->options;
}
/**
* @param Google_Service_ServiceUsage_SourceContext
*/
public function setSourceContext(Google_Service_ServiceUsage_SourceContext $sourceContext)
{
$this->sourceContext = $sourceContext;
}
/**
* @return Google_Service_ServiceUsage_SourceContext
*/
public function getSourceContext()
{
return $this->sourceContext;
}
public function setSyntax($syntax)
{
$this->syntax = $syntax;
}
public function getSyntax()
{
return $this->syntax;
}
}

View File

@@ -0,0 +1,56 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_Usage extends Google_Collection
{
protected $collection_key = 'rules';
public $producerNotificationChannel;
public $requirements;
protected $rulesType = 'Google_Service_ServiceUsage_UsageRule';
protected $rulesDataType = 'array';
public function setProducerNotificationChannel($producerNotificationChannel)
{
$this->producerNotificationChannel = $producerNotificationChannel;
}
public function getProducerNotificationChannel()
{
return $this->producerNotificationChannel;
}
public function setRequirements($requirements)
{
$this->requirements = $requirements;
}
public function getRequirements()
{
return $this->requirements;
}
/**
* @param Google_Service_ServiceUsage_UsageRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceUsage_UsageRule
*/
public function getRules()
{
return $this->rules;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceUsage_UsageRule extends Google_Model
{
public $allowUnregisteredCalls;
public $selector;
public $skipServiceControl;
public function setAllowUnregisteredCalls($allowUnregisteredCalls)
{
$this->allowUnregisteredCalls = $allowUnregisteredCalls;
}
public function getAllowUnregisteredCalls()
{
return $this->allowUnregisteredCalls;
}
public function setSelector($selector)
{
$this->selector = $selector;
}
public function getSelector()
{
return $this->selector;
}
public function setSkipServiceControl($skipServiceControl)
{
$this->skipServiceControl = $skipServiceControl;
}
public function getSkipServiceControl()
{
return $this->skipServiceControl;
}
}