Mise à jour des librairies

This commit is contained in:
lars
2019-03-10 23:30:23 +01:00
parent 2040b7be39
commit 7df3d72953
3603 changed files with 233169 additions and 107764 deletions

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_ServiceNetworking_AddSubnetworkRequest extends Google_Collection
{
protected $collection_key = 'subnetworkUsers';
public $consumer;
public $consumerNetwork;
public $description;
public $ipPrefixLength;
public $region;
public $requestedAddress;
public $subnetwork;
public $subnetworkUsers;
public function setConsumer($consumer)
{
$this->consumer = $consumer;
}
public function getConsumer()
{
return $this->consumer;
}
public function setConsumerNetwork($consumerNetwork)
{
$this->consumerNetwork = $consumerNetwork;
}
public function getConsumerNetwork()
{
return $this->consumerNetwork;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setIpPrefixLength($ipPrefixLength)
{
$this->ipPrefixLength = $ipPrefixLength;
}
public function getIpPrefixLength()
{
return $this->ipPrefixLength;
}
public function setRegion($region)
{
$this->region = $region;
}
public function getRegion()
{
return $this->region;
}
public function setRequestedAddress($requestedAddress)
{
$this->requestedAddress = $requestedAddress;
}
public function getRequestedAddress()
{
return $this->requestedAddress;
}
public function setSubnetwork($subnetwork)
{
$this->subnetwork = $subnetwork;
}
public function getSubnetwork()
{
return $this->subnetwork;
}
public function setSubnetworkUsers($subnetworkUsers)
{
$this->subnetworkUsers = $subnetworkUsers;
}
public function getSubnetworkUsers()
{
return $this->subnetworkUsers;
}
}

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_ServiceNetworking_Api extends Google_Collection
{
protected $collection_key = 'options';
protected $methodsType = 'Google_Service_ServiceNetworking_Method';
protected $methodsDataType = 'array';
protected $mixinsType = 'Google_Service_ServiceNetworking_Mixin';
protected $mixinsDataType = 'array';
public $name;
protected $optionsType = 'Google_Service_ServiceNetworking_Option';
protected $optionsDataType = 'array';
protected $sourceContextType = 'Google_Service_ServiceNetworking_SourceContext';
protected $sourceContextDataType = '';
public $syntax;
public $version;
/**
* @param Google_Service_ServiceNetworking_Method
*/
public function setMethods($methods)
{
$this->methods = $methods;
}
/**
* @return Google_Service_ServiceNetworking_Method
*/
public function getMethods()
{
return $this->methods;
}
/**
* @param Google_Service_ServiceNetworking_Mixin
*/
public function setMixins($mixins)
{
$this->mixins = $mixins;
}
/**
* @return Google_Service_ServiceNetworking_Mixin
*/
public function getMixins()
{
return $this->mixins;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param Google_Service_ServiceNetworking_Option
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Google_Service_ServiceNetworking_Option
*/
public function getOptions()
{
return $this->options;
}
/**
* @param Google_Service_ServiceNetworking_SourceContext
*/
public function setSourceContext(Google_Service_ServiceNetworking_SourceContext $sourceContext)
{
$this->sourceContext = $sourceContext;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_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_ServiceNetworking_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_ServiceNetworking_Authentication extends Google_Collection
{
protected $collection_key = 'rules';
protected $providersType = 'Google_Service_ServiceNetworking_AuthProvider';
protected $providersDataType = 'array';
protected $rulesType = 'Google_Service_ServiceNetworking_AuthenticationRule';
protected $rulesDataType = 'array';
/**
* @param Google_Service_ServiceNetworking_AuthProvider
*/
public function setProviders($providers)
{
$this->providers = $providers;
}
/**
* @return Google_Service_ServiceNetworking_AuthProvider
*/
public function getProviders()
{
return $this->providers;
}
/**
* @param Google_Service_ServiceNetworking_AuthenticationRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceNetworking_AuthenticationRule
*/
public function getRules()
{
return $this->rules;
}
}

View File

@@ -0,0 +1,72 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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_ServiceNetworking_AuthenticationRule extends Google_Collection
{
protected $collection_key = 'requirements';
public $allowWithoutCredential;
protected $oauthType = 'Google_Service_ServiceNetworking_OAuthRequirements';
protected $oauthDataType = '';
protected $requirementsType = 'Google_Service_ServiceNetworking_AuthRequirement';
protected $requirementsDataType = 'array';
public $selector;
public function setAllowWithoutCredential($allowWithoutCredential)
{
$this->allowWithoutCredential = $allowWithoutCredential;
}
public function getAllowWithoutCredential()
{
return $this->allowWithoutCredential;
}
/**
* @param Google_Service_ServiceNetworking_OAuthRequirements
*/
public function setOauth(Google_Service_ServiceNetworking_OAuthRequirements $oauth)
{
$this->oauth = $oauth;
}
/**
* @return Google_Service_ServiceNetworking_OAuthRequirements
*/
public function getOauth()
{
return $this->oauth;
}
/**
* @param Google_Service_ServiceNetworking_AuthRequirement
*/
public function setRequirements($requirements)
{
$this->requirements = $requirements;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_AuthorizationConfig extends Google_Model
{
public $provider;
public function setProvider($provider)
{
$this->provider = $provider;
}
public function getProvider()
{
return $this->provider;
}
}

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_ServiceNetworking_Backend extends Google_Collection
{
protected $collection_key = 'rules';
protected $rulesType = 'Google_Service_ServiceNetworking_BackendRule';
protected $rulesDataType = 'array';
/**
* @param Google_Service_ServiceNetworking_BackendRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceNetworking_BackendRule
*/
public function getRules()
{
return $this->rules;
}
}

View File

@@ -0,0 +1,84 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceNetworking_BackendRule extends Google_Model
{
public $address;
public $deadline;
public $jwtAudience;
public $minDeadline;
public $operationDeadline;
public $pathTranslation;
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 setJwtAudience($jwtAudience)
{
$this->jwtAudience = $jwtAudience;
}
public function getJwtAudience()
{
return $this->jwtAudience;
}
public function setMinDeadline($minDeadline)
{
$this->minDeadline = $minDeadline;
}
public function getMinDeadline()
{
return $this->minDeadline;
}
public function setOperationDeadline($operationDeadline)
{
$this->operationDeadline = $operationDeadline;
}
public function getOperationDeadline()
{
return $this->operationDeadline;
}
public function setPathTranslation($pathTranslation)
{
$this->pathTranslation = $pathTranslation;
}
public function getPathTranslation()
{
return $this->pathTranslation;
}
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_ServiceNetworking_Billing extends Google_Collection
{
protected $collection_key = 'consumerDestinations';
protected $consumerDestinationsType = 'Google_Service_ServiceNetworking_BillingDestination';
protected $consumerDestinationsDataType = 'array';
/**
* @param Google_Service_ServiceNetworking_BillingDestination
*/
public function setConsumerDestinations($consumerDestinations)
{
$this->consumerDestinations = $consumerDestinations;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_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,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceNetworking_Connection extends Google_Collection
{
protected $collection_key = 'reservedPeeringRanges';
public $network;
public $peering;
public $reservedPeeringRanges;
public $service;
public function setNetwork($network)
{
$this->network = $network;
}
public function getNetwork()
{
return $this->network;
}
public function setPeering($peering)
{
$this->peering = $peering;
}
public function getPeering()
{
return $this->peering;
}
public function setReservedPeeringRanges($reservedPeeringRanges)
{
$this->reservedPeeringRanges = $reservedPeeringRanges;
}
public function getReservedPeeringRanges()
{
return $this->reservedPeeringRanges;
}
public function setService($service)
{
$this->service = $service;
}
public function getService()
{
return $this->service;
}
}

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_ServiceNetworking_Context extends Google_Collection
{
protected $collection_key = 'rules';
protected $rulesType = 'Google_Service_ServiceNetworking_ContextRule';
protected $rulesDataType = 'array';
/**
* @param Google_Service_ServiceNetworking_ContextRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_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_ServiceNetworking_Control extends Google_Model
{
public $environment;
public function setEnvironment($environment)
{
$this->environment = $environment;
}
public function getEnvironment()
{
return $this->environment;
}
}

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_ServiceNetworking_CustomError extends Google_Collection
{
protected $collection_key = 'types';
protected $rulesType = 'Google_Service_ServiceNetworking_CustomErrorRule';
protected $rulesDataType = 'array';
public $types;
/**
* @param Google_Service_ServiceNetworking_CustomErrorRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_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_ServiceNetworking_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,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_ServiceNetworking_Documentation extends Google_Collection
{
protected $collection_key = 'rules';
public $documentationRootUrl;
public $overview;
protected $pagesType = 'Google_Service_ServiceNetworking_Page';
protected $pagesDataType = 'array';
protected $rulesType = 'Google_Service_ServiceNetworking_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_ServiceNetworking_Page
*/
public function setPages($pages)
{
$this->pages = $pages;
}
/**
* @return Google_Service_ServiceNetworking_Page
*/
public function getPages()
{
return $this->pages;
}
/**
* @param Google_Service_ServiceNetworking_DocumentationRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_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,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_ServiceNetworking_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_ServiceNetworking_Enum extends Google_Collection
{
protected $collection_key = 'options';
protected $enumvalueType = 'Google_Service_ServiceNetworking_EnumValue';
protected $enumvalueDataType = 'array';
public $name;
protected $optionsType = 'Google_Service_ServiceNetworking_Option';
protected $optionsDataType = 'array';
protected $sourceContextType = 'Google_Service_ServiceNetworking_SourceContext';
protected $sourceContextDataType = '';
public $syntax;
/**
* @param Google_Service_ServiceNetworking_EnumValue
*/
public function setEnumvalue($enumvalue)
{
$this->enumvalue = $enumvalue;
}
/**
* @return Google_Service_ServiceNetworking_EnumValue
*/
public function getEnumvalue()
{
return $this->enumvalue;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param Google_Service_ServiceNetworking_Option
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Google_Service_ServiceNetworking_Option
*/
public function getOptions()
{
return $this->options;
}
/**
* @param Google_Service_ServiceNetworking_SourceContext
*/
public function setSourceContext(Google_Service_ServiceNetworking_SourceContext $sourceContext)
{
$this->sourceContext = $sourceContext;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_EnumValue extends Google_Collection
{
protected $collection_key = 'options';
public $name;
public $number;
protected $optionsType = 'Google_Service_ServiceNetworking_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_ServiceNetworking_Option
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_Experimental extends Google_Model
{
protected $authorizationType = 'Google_Service_ServiceNetworking_AuthorizationConfig';
protected $authorizationDataType = '';
/**
* @param Google_Service_ServiceNetworking_AuthorizationConfig
*/
public function setAuthorization(Google_Service_ServiceNetworking_AuthorizationConfig $authorization)
{
$this->authorization = $authorization;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_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_ServiceNetworking_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_ServiceNetworking_Option
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Google_Service_ServiceNetworking_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,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_ServiceNetworking_GoogleCloudServicenetworkingV1betaSubnetwork extends Google_Model
{
public $ipCidrRange;
public $name;
public $network;
public $outsideAllocation;
public function setIpCidrRange($ipCidrRange)
{
$this->ipCidrRange = $ipCidrRange;
}
public function getIpCidrRange()
{
return $this->ipCidrRange;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNetwork($network)
{
$this->network = $network;
}
public function getNetwork()
{
return $this->network;
}
public function setOutsideAllocation($outsideAllocation)
{
$this->outsideAllocation = $outsideAllocation;
}
public function getOutsideAllocation()
{
return $this->outsideAllocation;
}
}

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_ServiceNetworking_Http extends Google_Collection
{
protected $collection_key = 'rules';
public $fullyDecodeReservedExpansion;
protected $rulesType = 'Google_Service_ServiceNetworking_HttpRule';
protected $rulesDataType = 'array';
public function setFullyDecodeReservedExpansion($fullyDecodeReservedExpansion)
{
$this->fullyDecodeReservedExpansion = $fullyDecodeReservedExpansion;
}
public function getFullyDecodeReservedExpansion()
{
return $this->fullyDecodeReservedExpansion;
}
/**
* @param Google_Service_ServiceNetworking_HttpRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceNetworking_HttpRule
*/
public function getRules()
{
return $this->rules;
}
}

View File

@@ -0,0 +1,126 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceNetworking_HttpRule extends Google_Collection
{
protected $collection_key = 'additionalBindings';
protected $additionalBindingsType = 'Google_Service_ServiceNetworking_HttpRule';
protected $additionalBindingsDataType = 'array';
public $body;
protected $customType = 'Google_Service_ServiceNetworking_CustomHttpPattern';
protected $customDataType = '';
public $delete;
public $get;
public $patch;
public $post;
public $put;
public $responseBody;
public $selector;
/**
* @param Google_Service_ServiceNetworking_HttpRule
*/
public function setAdditionalBindings($additionalBindings)
{
$this->additionalBindings = $additionalBindings;
}
/**
* @return Google_Service_ServiceNetworking_HttpRule
*/
public function getAdditionalBindings()
{
return $this->additionalBindings;
}
public function setBody($body)
{
$this->body = $body;
}
public function getBody()
{
return $this->body;
}
/**
* @param Google_Service_ServiceNetworking_CustomHttpPattern
*/
public function setCustom(Google_Service_ServiceNetworking_CustomHttpPattern $custom)
{
$this->custom = $custom;
}
/**
* @return Google_Service_ServiceNetworking_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;
}
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 setResponseBody($responseBody)
{
$this->responseBody = $responseBody;
}
public function getResponseBody()
{
return $this->responseBody;
}
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_ServiceNetworking_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,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_ServiceNetworking_ListConnectionsResponse extends Google_Collection
{
protected $collection_key = 'connections';
protected $connectionsType = 'Google_Service_ServiceNetworking_Connection';
protected $connectionsDataType = 'array';
/**
* @param Google_Service_ServiceNetworking_Connection
*/
public function setConnections($connections)
{
$this->connections = $connections;
}
/**
* @return Google_Service_ServiceNetworking_Connection
*/
public function getConnections()
{
return $this->connections;
}
}

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_ServiceNetworking_LogDescriptor extends Google_Collection
{
protected $collection_key = 'labels';
public $description;
public $displayName;
protected $labelsType = 'Google_Service_ServiceNetworking_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_ServiceNetworking_LabelDescriptor
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_Logging extends Google_Collection
{
protected $collection_key = 'producerDestinations';
protected $consumerDestinationsType = 'Google_Service_ServiceNetworking_LoggingDestination';
protected $consumerDestinationsDataType = 'array';
protected $producerDestinationsType = 'Google_Service_ServiceNetworking_LoggingDestination';
protected $producerDestinationsDataType = 'array';
/**
* @param Google_Service_ServiceNetworking_LoggingDestination
*/
public function setConsumerDestinations($consumerDestinations)
{
$this->consumerDestinations = $consumerDestinations;
}
/**
* @return Google_Service_ServiceNetworking_LoggingDestination
*/
public function getConsumerDestinations()
{
return $this->consumerDestinations;
}
/**
* @param Google_Service_ServiceNetworking_LoggingDestination
*/
public function setProducerDestinations($producerDestinations)
{
$this->producerDestinations = $producerDestinations;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_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,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_ServiceNetworking_Method extends Google_Collection
{
protected $collection_key = 'options';
public $name;
protected $optionsType = 'Google_Service_ServiceNetworking_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_ServiceNetworking_Option
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Google_Service_ServiceNetworking_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,117 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ServiceNetworking_MetricDescriptor extends Google_Collection
{
protected $collection_key = 'labels';
public $description;
public $displayName;
protected $labelsType = 'Google_Service_ServiceNetworking_LabelDescriptor';
protected $labelsDataType = 'array';
protected $metadataType = 'Google_Service_ServiceNetworking_MetricDescriptorMetadata';
protected $metadataDataType = '';
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_ServiceNetworking_LabelDescriptor
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return Google_Service_ServiceNetworking_LabelDescriptor
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param Google_Service_ServiceNetworking_MetricDescriptorMetadata
*/
public function setMetadata(Google_Service_ServiceNetworking_MetricDescriptorMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_ServiceNetworking_MetricDescriptorMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
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,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_ServiceNetworking_MetricDescriptorMetadata extends Google_Model
{
public $ingestDelay;
public $launchStage;
public $samplePeriod;
public function setIngestDelay($ingestDelay)
{
$this->ingestDelay = $ingestDelay;
}
public function getIngestDelay()
{
return $this->ingestDelay;
}
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
public function getLaunchStage()
{
return $this->launchStage;
}
public function setSamplePeriod($samplePeriod)
{
$this->samplePeriod = $samplePeriod;
}
public function getSamplePeriod()
{
return $this->samplePeriod;
}
}

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_ServiceNetworking_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_ServiceNetworking_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_ServiceNetworking_MonitoredResourceDescriptor extends Google_Collection
{
protected $collection_key = 'labels';
public $description;
public $displayName;
protected $labelsType = 'Google_Service_ServiceNetworking_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_ServiceNetworking_LabelDescriptor
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_Monitoring extends Google_Collection
{
protected $collection_key = 'producerDestinations';
protected $consumerDestinationsType = 'Google_Service_ServiceNetworking_MonitoringDestination';
protected $consumerDestinationsDataType = 'array';
protected $producerDestinationsType = 'Google_Service_ServiceNetworking_MonitoringDestination';
protected $producerDestinationsDataType = 'array';
/**
* @param Google_Service_ServiceNetworking_MonitoringDestination
*/
public function setConsumerDestinations($consumerDestinations)
{
$this->consumerDestinations = $consumerDestinations;
}
/**
* @return Google_Service_ServiceNetworking_MonitoringDestination
*/
public function getConsumerDestinations()
{
return $this->consumerDestinations;
}
/**
* @param Google_Service_ServiceNetworking_MonitoringDestination
*/
public function setProducerDestinations($producerDestinations)
{
$this->producerDestinations = $producerDestinations;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_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_ServiceNetworking_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_ServiceNetworking_Operation extends Google_Model
{
public $done;
protected $errorType = 'Google_Service_ServiceNetworking_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_ServiceNetworking_Status
*/
public function setError(Google_Service_ServiceNetworking_Status $error)
{
$this->error = $error;
}
/**
* @return Google_Service_ServiceNetworking_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,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_ServiceNetworking_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_ServiceNetworking_Page extends Google_Collection
{
protected $collection_key = 'subpages';
public $content;
public $name;
protected $subpagesType = 'Google_Service_ServiceNetworking_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_ServiceNetworking_Page
*/
public function setSubpages($subpages)
{
$this->subpages = $subpages;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_Quota extends Google_Collection
{
protected $collection_key = 'metricRules';
protected $limitsType = 'Google_Service_ServiceNetworking_QuotaLimit';
protected $limitsDataType = 'array';
protected $metricRulesType = 'Google_Service_ServiceNetworking_MetricRule';
protected $metricRulesDataType = 'array';
/**
* @param Google_Service_ServiceNetworking_QuotaLimit
*/
public function setLimits($limits)
{
$this->limits = $limits;
}
/**
* @return Google_Service_ServiceNetworking_QuotaLimit
*/
public function getLimits()
{
return $this->limits;
}
/**
* @param Google_Service_ServiceNetworking_MetricRule
*/
public function setMetricRules($metricRules)
{
$this->metricRules = $metricRules;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_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,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_ServiceNetworking_Range extends Google_Model
{
public $ipCidrRange;
public $network;
public function setIpCidrRange($ipCidrRange)
{
$this->ipCidrRange = $ipCidrRange;
}
public function getIpCidrRange()
{
return $this->ipCidrRange;
}
public function setNetwork($network)
{
$this->network = $network;
}
public function getNetwork()
{
return $this->network;
}
}

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $servicenetworkingService = new Google_Service_ServiceNetworking(...);
* $operations = $servicenetworkingService->operations;
* </code>
*/
class Google_Service_ServiceNetworking_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_ServiceNetworking_Operation
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_ServiceNetworking_Operation");
}
}

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.
*/
/**
* The "services" collection of methods.
* Typical usage is:
* <code>
* $servicenetworkingService = new Google_Service_ServiceNetworking(...);
* $services = $servicenetworkingService->services;
* </code>
*/
class Google_Service_ServiceNetworking_Resource_Services extends Google_Service_Resource
{
/**
* For service producers, provisions a new subnet in a peered service's shared
* VPC network in the requested region and with the requested size that's
* expressed as a CIDR range (number of leading bits of ipV4 network mask). The
* method checks against the assigned allocated ranges to find a non-conflicting
* IP address range. The method will reuse a subnet if subsequent calls contain
* the same subnet name, region, and prefix length. This method will make
* producer's tenant project to be a shared VPC service project as needed. The
* response from the `get` operation will be of type `Subnetwork` if the
* operation successfully completes. (services.addSubnetwork)
*
* @param string $parent Required. A tenant project in the service producer
* organization, in the following format: services/{service}/{collection-id
* }/{resource-id}. {collection-id} is the cloud resource collection type that
* represents the tenant project. Only `projects` are supported. {resource-id}
* is the tenant project numeric id, such as `123456`. {service} the name of the
* peering service, such as `service-peering.example.com`. This service must
* already be enabled in the service consumer's project.
* @param Google_Service_ServiceNetworking_AddSubnetworkRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ServiceNetworking_Operation
*/
public function addSubnetwork($parent, Google_Service_ServiceNetworking_AddSubnetworkRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('addSubnetwork', array($params), "Google_Service_ServiceNetworking_Operation");
}
/**
* Service producers can use this method to find a currently unused range within
* consumer allocated ranges. This returned range is not reserved, and not
* guaranteed to remain unused. It will validate previously provided allocated
* ranges, find non-conflicting sub-range of requested size (expressed in number
* of leading bits of ipv4 network mask, as in CIDR range notation). Operation
* (services.searchRange)
*
* @param string $parent Required. This is in a form services/{service}.
* {service} the name of the private access management service, for example
* 'service-peering.example.com'.
* @param Google_Service_ServiceNetworking_SearchRangeRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ServiceNetworking_Operation
*/
public function searchRange($parent, Google_Service_ServiceNetworking_SearchRangeRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('searchRange', array($params), "Google_Service_ServiceNetworking_Operation");
}
/**
* Updates the allocated ranges that are assigned to a connection. The response
* from the `get` operation will be of type `Connection` if the operation
* successfully completes. (services.updateConnections)
*
* @param string $name The service producer peering service that is managing
* peering connectivity for a service producer organization. For Google services
* that support this functionality, this is
* `services/servicenetworking.googleapis.com`.
* @param Google_Service_ServiceNetworking_Connection $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The update mask. If this is omitted, it defaults
* to "*". You can only update the listed peering ranges.
* @opt_param bool force If a previously defined allocated range is removed,
* force flag must be set to true.
* @return Google_Service_ServiceNetworking_Operation
*/
public function updateConnections($name, Google_Service_ServiceNetworking_Connection $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateConnections', array($params), "Google_Service_ServiceNetworking_Operation");
}
}

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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 "connections" collection of methods.
* Typical usage is:
* <code>
* $servicenetworkingService = new Google_Service_ServiceNetworking(...);
* $connections = $servicenetworkingService->connections;
* </code>
*/
class Google_Service_ServiceNetworking_Resource_ServicesConnections extends Google_Service_Resource
{
/**
* Creates a private connection that establishes a VPC Network Peering
* connection to a VPC network in the service producer's organization. The
* administrator of the service consumer's VPC network invokes this method. The
* administrator must assign one or more allocated IP ranges for provisioning
* subnetworks in the service producer's VPC network. This connection is used
* for all supported services in the service producer's organization, so it only
* needs to be invoked once. The response from the `get` operation will be of
* type `Connection` if the operation successfully completes.
* (connections.create)
*
* @param string $parent The service that is managing peering connectivity for a
* service producer's organization. For Google services that support this
* functionality, this value is `services/servicenetworking.googleapis.com`.
* @param Google_Service_ServiceNetworking_Connection $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ServiceNetworking_Operation
*/
public function create($parent, Google_Service_ServiceNetworking_Connection $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_ServiceNetworking_Operation");
}
/**
* List the private connections that are configured in a service consumer's VPC
* network. (connections.listServicesConnections)
*
* @param string $parent The service that is managing peering connectivity for a
* service producer's organization. For Google services that support this
* functionality, this value is `services/servicenetworking.googleapis.com`. If
* you specify `-` as the parameter value, all configured public peering
* services are listed.
* @param array $optParams Optional parameters.
*
* @opt_param string network The name of service consumer's VPC network that's
* connected with service producer network through a private connection. The
* network name must be in the following format:
* `projects/{project}/global/networks/{network}`. {project} is a project
* number, such as in `12345` that includes the VPC service consumer's VPC
* network. {network} is the name of the service consumer's VPC network.
* @return Google_Service_ServiceNetworking_ListConnectionsResponse
*/
public function listServicesConnections($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_ServiceNetworking_ListConnectionsResponse");
}
}

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_ServiceNetworking_SearchRangeRequest extends Google_Model
{
public $ipPrefixLength;
public $network;
public function setIpPrefixLength($ipPrefixLength)
{
$this->ipPrefixLength = $ipPrefixLength;
}
public function getIpPrefixLength()
{
return $this->ipPrefixLength;
}
public function setNetwork($network)
{
$this->network = $network;
}
public function getNetwork()
{
return $this->network;
}
}

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_ServiceNetworking_Service extends Google_Collection
{
protected $collection_key = 'types';
protected $apisType = 'Google_Service_ServiceNetworking_Api';
protected $apisDataType = 'array';
protected $authenticationType = 'Google_Service_ServiceNetworking_Authentication';
protected $authenticationDataType = '';
protected $backendType = 'Google_Service_ServiceNetworking_Backend';
protected $backendDataType = '';
protected $billingType = 'Google_Service_ServiceNetworking_Billing';
protected $billingDataType = '';
public $configVersion;
protected $contextType = 'Google_Service_ServiceNetworking_Context';
protected $contextDataType = '';
protected $controlType = 'Google_Service_ServiceNetworking_Control';
protected $controlDataType = '';
protected $customErrorType = 'Google_Service_ServiceNetworking_CustomError';
protected $customErrorDataType = '';
protected $documentationType = 'Google_Service_ServiceNetworking_Documentation';
protected $documentationDataType = '';
protected $endpointsType = 'Google_Service_ServiceNetworking_Endpoint';
protected $endpointsDataType = 'array';
protected $enumsType = 'Google_Service_ServiceNetworking_Enum';
protected $enumsDataType = 'array';
protected $experimentalType = 'Google_Service_ServiceNetworking_Experimental';
protected $experimentalDataType = '';
protected $httpType = 'Google_Service_ServiceNetworking_Http';
protected $httpDataType = '';
public $id;
protected $loggingType = 'Google_Service_ServiceNetworking_Logging';
protected $loggingDataType = '';
protected $logsType = 'Google_Service_ServiceNetworking_LogDescriptor';
protected $logsDataType = 'array';
protected $metricsType = 'Google_Service_ServiceNetworking_MetricDescriptor';
protected $metricsDataType = 'array';
protected $monitoredResourcesType = 'Google_Service_ServiceNetworking_MonitoredResourceDescriptor';
protected $monitoredResourcesDataType = 'array';
protected $monitoringType = 'Google_Service_ServiceNetworking_Monitoring';
protected $monitoringDataType = '';
public $name;
public $producerProjectId;
protected $quotaType = 'Google_Service_ServiceNetworking_Quota';
protected $quotaDataType = '';
protected $sourceInfoType = 'Google_Service_ServiceNetworking_SourceInfo';
protected $sourceInfoDataType = '';
protected $systemParametersType = 'Google_Service_ServiceNetworking_SystemParameters';
protected $systemParametersDataType = '';
protected $systemTypesType = 'Google_Service_ServiceNetworking_Type';
protected $systemTypesDataType = 'array';
public $title;
protected $typesType = 'Google_Service_ServiceNetworking_Type';
protected $typesDataType = 'array';
protected $usageType = 'Google_Service_ServiceNetworking_Usage';
protected $usageDataType = '';
/**
* @param Google_Service_ServiceNetworking_Api
*/
public function setApis($apis)
{
$this->apis = $apis;
}
/**
* @return Google_Service_ServiceNetworking_Api
*/
public function getApis()
{
return $this->apis;
}
/**
* @param Google_Service_ServiceNetworking_Authentication
*/
public function setAuthentication(Google_Service_ServiceNetworking_Authentication $authentication)
{
$this->authentication = $authentication;
}
/**
* @return Google_Service_ServiceNetworking_Authentication
*/
public function getAuthentication()
{
return $this->authentication;
}
/**
* @param Google_Service_ServiceNetworking_Backend
*/
public function setBackend(Google_Service_ServiceNetworking_Backend $backend)
{
$this->backend = $backend;
}
/**
* @return Google_Service_ServiceNetworking_Backend
*/
public function getBackend()
{
return $this->backend;
}
/**
* @param Google_Service_ServiceNetworking_Billing
*/
public function setBilling(Google_Service_ServiceNetworking_Billing $billing)
{
$this->billing = $billing;
}
/**
* @return Google_Service_ServiceNetworking_Billing
*/
public function getBilling()
{
return $this->billing;
}
public function setConfigVersion($configVersion)
{
$this->configVersion = $configVersion;
}
public function getConfigVersion()
{
return $this->configVersion;
}
/**
* @param Google_Service_ServiceNetworking_Context
*/
public function setContext(Google_Service_ServiceNetworking_Context $context)
{
$this->context = $context;
}
/**
* @return Google_Service_ServiceNetworking_Context
*/
public function getContext()
{
return $this->context;
}
/**
* @param Google_Service_ServiceNetworking_Control
*/
public function setControl(Google_Service_ServiceNetworking_Control $control)
{
$this->control = $control;
}
/**
* @return Google_Service_ServiceNetworking_Control
*/
public function getControl()
{
return $this->control;
}
/**
* @param Google_Service_ServiceNetworking_CustomError
*/
public function setCustomError(Google_Service_ServiceNetworking_CustomError $customError)
{
$this->customError = $customError;
}
/**
* @return Google_Service_ServiceNetworking_CustomError
*/
public function getCustomError()
{
return $this->customError;
}
/**
* @param Google_Service_ServiceNetworking_Documentation
*/
public function setDocumentation(Google_Service_ServiceNetworking_Documentation $documentation)
{
$this->documentation = $documentation;
}
/**
* @return Google_Service_ServiceNetworking_Documentation
*/
public function getDocumentation()
{
return $this->documentation;
}
/**
* @param Google_Service_ServiceNetworking_Endpoint
*/
public function setEndpoints($endpoints)
{
$this->endpoints = $endpoints;
}
/**
* @return Google_Service_ServiceNetworking_Endpoint
*/
public function getEndpoints()
{
return $this->endpoints;
}
/**
* @param Google_Service_ServiceNetworking_Enum
*/
public function setEnums($enums)
{
$this->enums = $enums;
}
/**
* @return Google_Service_ServiceNetworking_Enum
*/
public function getEnums()
{
return $this->enums;
}
/**
* @param Google_Service_ServiceNetworking_Experimental
*/
public function setExperimental(Google_Service_ServiceNetworking_Experimental $experimental)
{
$this->experimental = $experimental;
}
/**
* @return Google_Service_ServiceNetworking_Experimental
*/
public function getExperimental()
{
return $this->experimental;
}
/**
* @param Google_Service_ServiceNetworking_Http
*/
public function setHttp(Google_Service_ServiceNetworking_Http $http)
{
$this->http = $http;
}
/**
* @return Google_Service_ServiceNetworking_Http
*/
public function getHttp()
{
return $this->http;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
/**
* @param Google_Service_ServiceNetworking_Logging
*/
public function setLogging(Google_Service_ServiceNetworking_Logging $logging)
{
$this->logging = $logging;
}
/**
* @return Google_Service_ServiceNetworking_Logging
*/
public function getLogging()
{
return $this->logging;
}
/**
* @param Google_Service_ServiceNetworking_LogDescriptor
*/
public function setLogs($logs)
{
$this->logs = $logs;
}
/**
* @return Google_Service_ServiceNetworking_LogDescriptor
*/
public function getLogs()
{
return $this->logs;
}
/**
* @param Google_Service_ServiceNetworking_MetricDescriptor
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return Google_Service_ServiceNetworking_MetricDescriptor
*/
public function getMetrics()
{
return $this->metrics;
}
/**
* @param Google_Service_ServiceNetworking_MonitoredResourceDescriptor
*/
public function setMonitoredResources($monitoredResources)
{
$this->monitoredResources = $monitoredResources;
}
/**
* @return Google_Service_ServiceNetworking_MonitoredResourceDescriptor
*/
public function getMonitoredResources()
{
return $this->monitoredResources;
}
/**
* @param Google_Service_ServiceNetworking_Monitoring
*/
public function setMonitoring(Google_Service_ServiceNetworking_Monitoring $monitoring)
{
$this->monitoring = $monitoring;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_Quota
*/
public function setQuota(Google_Service_ServiceNetworking_Quota $quota)
{
$this->quota = $quota;
}
/**
* @return Google_Service_ServiceNetworking_Quota
*/
public function getQuota()
{
return $this->quota;
}
/**
* @param Google_Service_ServiceNetworking_SourceInfo
*/
public function setSourceInfo(Google_Service_ServiceNetworking_SourceInfo $sourceInfo)
{
$this->sourceInfo = $sourceInfo;
}
/**
* @return Google_Service_ServiceNetworking_SourceInfo
*/
public function getSourceInfo()
{
return $this->sourceInfo;
}
/**
* @param Google_Service_ServiceNetworking_SystemParameters
*/
public function setSystemParameters(Google_Service_ServiceNetworking_SystemParameters $systemParameters)
{
$this->systemParameters = $systemParameters;
}
/**
* @return Google_Service_ServiceNetworking_SystemParameters
*/
public function getSystemParameters()
{
return $this->systemParameters;
}
/**
* @param Google_Service_ServiceNetworking_Type
*/
public function setSystemTypes($systemTypes)
{
$this->systemTypes = $systemTypes;
}
/**
* @return Google_Service_ServiceNetworking_Type
*/
public function getSystemTypes()
{
return $this->systemTypes;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
/**
* @param Google_Service_ServiceNetworking_Type
*/
public function setTypes($types)
{
$this->types = $types;
}
/**
* @return Google_Service_ServiceNetworking_Type
*/
public function getTypes()
{
return $this->types;
}
/**
* @param Google_Service_ServiceNetworking_Usage
*/
public function setUsage(Google_Service_ServiceNetworking_Usage $usage)
{
$this->usage = $usage;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_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_ServiceNetworking_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_ServiceNetworking_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,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_ServiceNetworking_Subnetwork extends Google_Model
{
public $ipCidrRange;
public $name;
public $network;
public $outsideAllocation;
public function setIpCidrRange($ipCidrRange)
{
$this->ipCidrRange = $ipCidrRange;
}
public function getIpCidrRange()
{
return $this->ipCidrRange;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNetwork($network)
{
$this->network = $network;
}
public function getNetwork()
{
return $this->network;
}
public function setOutsideAllocation($outsideAllocation)
{
$this->outsideAllocation = $outsideAllocation;
}
public function getOutsideAllocation()
{
return $this->outsideAllocation;
}
}

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_ServiceNetworking_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_ServiceNetworking_SystemParameterRule extends Google_Collection
{
protected $collection_key = 'parameters';
protected $parametersType = 'Google_Service_ServiceNetworking_SystemParameter';
protected $parametersDataType = 'array';
public $selector;
/**
* @param Google_Service_ServiceNetworking_SystemParameter
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_SystemParameters extends Google_Collection
{
protected $collection_key = 'rules';
protected $rulesType = 'Google_Service_ServiceNetworking_SystemParameterRule';
protected $rulesDataType = 'array';
/**
* @param Google_Service_ServiceNetworking_SystemParameterRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_Type extends Google_Collection
{
protected $collection_key = 'options';
protected $fieldsType = 'Google_Service_ServiceNetworking_Field';
protected $fieldsDataType = 'array';
public $name;
public $oneofs;
protected $optionsType = 'Google_Service_ServiceNetworking_Option';
protected $optionsDataType = 'array';
protected $sourceContextType = 'Google_Service_ServiceNetworking_SourceContext';
protected $sourceContextDataType = '';
public $syntax;
/**
* @param Google_Service_ServiceNetworking_Field
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_Option
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Google_Service_ServiceNetworking_Option
*/
public function getOptions()
{
return $this->options;
}
/**
* @param Google_Service_ServiceNetworking_SourceContext
*/
public function setSourceContext(Google_Service_ServiceNetworking_SourceContext $sourceContext)
{
$this->sourceContext = $sourceContext;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_Usage extends Google_Collection
{
protected $collection_key = 'rules';
public $producerNotificationChannel;
public $requirements;
protected $rulesType = 'Google_Service_ServiceNetworking_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_ServiceNetworking_UsageRule
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Google_Service_ServiceNetworking_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_ServiceNetworking_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;
}
}