Initial commit

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

View File

@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class AbortInfo extends \Google\Collection
{
protected $collection_key = 'projectsMissingPermission';
/**
* @var string
*/
public $cause;
/**
* @var string
*/
public $ipAddress;
/**
* @var string[]
*/
public $projectsMissingPermission;
/**
* @var string
*/
public $resourceUri;
/**
* @param string
*/
public function setCause($cause)
{
$this->cause = $cause;
}
/**
* @return string
*/
public function getCause()
{
return $this->cause;
}
/**
* @param string
*/
public function setIpAddress($ipAddress)
{
$this->ipAddress = $ipAddress;
}
/**
* @return string
*/
public function getIpAddress()
{
return $this->ipAddress;
}
/**
* @param string[]
*/
public function setProjectsMissingPermission($projectsMissingPermission)
{
$this->projectsMissingPermission = $projectsMissingPermission;
}
/**
* @return string[]
*/
public function getProjectsMissingPermission()
{
return $this->projectsMissingPermission;
}
/**
* @param string
*/
public function setResourceUri($resourceUri)
{
$this->resourceUri = $resourceUri;
}
/**
* @return string
*/
public function getResourceUri()
{
return $this->resourceUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AbortInfo::class, 'Google_Service_NetworkManagement_AbortInfo');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class AppEngineVersionEndpoint extends \Google\Model
{
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppEngineVersionEndpoint::class, 'Google_Service_NetworkManagement_AppEngineVersionEndpoint');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class AppEngineVersionInfo extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $environment;
/**
* @var string
*/
public $runtime;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setEnvironment($environment)
{
$this->environment = $environment;
}
/**
* @return string
*/
public function getEnvironment()
{
return $this->environment;
}
/**
* @param string
*/
public function setRuntime($runtime)
{
$this->runtime = $runtime;
}
/**
* @return string
*/
public function getRuntime()
{
return $this->runtime;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppEngineVersionInfo::class, 'Google_Service_NetworkManagement_AppEngineVersionInfo');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class AuditConfig extends \Google\Collection
{
protected $collection_key = 'auditLogConfigs';
protected $auditLogConfigsType = AuditLogConfig::class;
protected $auditLogConfigsDataType = 'array';
/**
* @var string
*/
public $service;
/**
* @param AuditLogConfig[]
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return AuditLogConfig[]
*/
public function getAuditLogConfigs()
{
return $this->auditLogConfigs;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditConfig::class, 'Google_Service_NetworkManagement_AuditConfig');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class AuditLogConfig extends \Google\Collection
{
protected $collection_key = 'exemptedMembers';
/**
* @var string[]
*/
public $exemptedMembers;
/**
* @var string
*/
public $logType;
/**
* @param string[]
*/
public function setExemptedMembers($exemptedMembers)
{
$this->exemptedMembers = $exemptedMembers;
}
/**
* @return string[]
*/
public function getExemptedMembers()
{
return $this->exemptedMembers;
}
/**
* @param string
*/
public function setLogType($logType)
{
$this->logType = $logType;
}
/**
* @return string
*/
public function getLogType()
{
return $this->logType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditLogConfig::class, 'Google_Service_NetworkManagement_AuditLogConfig');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class Binding extends \Google\Collection
{
protected $collection_key = 'members';
protected $conditionType = Expr::class;
protected $conditionDataType = '';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param Expr
*/
public function setCondition(Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Expr
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Binding::class, 'Google_Service_NetworkManagement_Binding');

View File

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

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class CloudFunctionEndpoint extends \Google\Model
{
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudFunctionEndpoint::class, 'Google_Service_NetworkManagement_CloudFunctionEndpoint');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class CloudFunctionInfo extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $uri;
/**
* @var string
*/
public $versionId;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
/**
* @param string
*/
public function setVersionId($versionId)
{
$this->versionId = $versionId;
}
/**
* @return string
*/
public function getVersionId()
{
return $this->versionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudFunctionInfo::class, 'Google_Service_NetworkManagement_CloudFunctionInfo');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class CloudRunRevisionEndpoint extends \Google\Model
{
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudRunRevisionEndpoint::class, 'Google_Service_NetworkManagement_CloudRunRevisionEndpoint');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class CloudRunRevisionInfo extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $serviceUri;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setServiceUri($serviceUri)
{
$this->serviceUri = $serviceUri;
}
/**
* @return string
*/
public function getServiceUri()
{
return $this->serviceUri;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudRunRevisionInfo::class, 'Google_Service_NetworkManagement_CloudRunRevisionInfo');

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class CloudSQLInstanceInfo extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $externalIp;
/**
* @var string
*/
public $internalIp;
/**
* @var string
*/
public $networkUri;
/**
* @var string
*/
public $region;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setExternalIp($externalIp)
{
$this->externalIp = $externalIp;
}
/**
* @return string
*/
public function getExternalIp()
{
return $this->externalIp;
}
/**
* @param string
*/
public function setInternalIp($internalIp)
{
$this->internalIp = $internalIp;
}
/**
* @return string
*/
public function getInternalIp()
{
return $this->internalIp;
}
/**
* @param string
*/
public function setNetworkUri($networkUri)
{
$this->networkUri = $networkUri;
}
/**
* @return string
*/
public function getNetworkUri()
{
return $this->networkUri;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudSQLInstanceInfo::class, 'Google_Service_NetworkManagement_CloudSQLInstanceInfo');

View File

@@ -0,0 +1,287 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class ConnectivityTest extends \Google\Collection
{
protected $collection_key = 'relatedProjects';
/**
* @var bool
*/
public $bypassFirewallChecks;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
protected $destinationType = Endpoint::class;
protected $destinationDataType = '';
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
protected $probingDetailsType = ProbingDetails::class;
protected $probingDetailsDataType = '';
/**
* @var string
*/
public $protocol;
protected $reachabilityDetailsType = ReachabilityDetails::class;
protected $reachabilityDetailsDataType = '';
/**
* @var string[]
*/
public $relatedProjects;
protected $returnReachabilityDetailsType = ReachabilityDetails::class;
protected $returnReachabilityDetailsDataType = '';
/**
* @var bool
*/
public $roundTrip;
protected $sourceType = Endpoint::class;
protected $sourceDataType = '';
/**
* @var string
*/
public $updateTime;
/**
* @param bool
*/
public function setBypassFirewallChecks($bypassFirewallChecks)
{
$this->bypassFirewallChecks = $bypassFirewallChecks;
}
/**
* @return bool
*/
public function getBypassFirewallChecks()
{
return $this->bypassFirewallChecks;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param Endpoint
*/
public function setDestination(Endpoint $destination)
{
$this->destination = $destination;
}
/**
* @return Endpoint
*/
public function getDestination()
{
return $this->destination;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param ProbingDetails
*/
public function setProbingDetails(ProbingDetails $probingDetails)
{
$this->probingDetails = $probingDetails;
}
/**
* @return ProbingDetails
*/
public function getProbingDetails()
{
return $this->probingDetails;
}
/**
* @param string
*/
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
/**
* @return string
*/
public function getProtocol()
{
return $this->protocol;
}
/**
* @param ReachabilityDetails
*/
public function setReachabilityDetails(ReachabilityDetails $reachabilityDetails)
{
$this->reachabilityDetails = $reachabilityDetails;
}
/**
* @return ReachabilityDetails
*/
public function getReachabilityDetails()
{
return $this->reachabilityDetails;
}
/**
* @param string[]
*/
public function setRelatedProjects($relatedProjects)
{
$this->relatedProjects = $relatedProjects;
}
/**
* @return string[]
*/
public function getRelatedProjects()
{
return $this->relatedProjects;
}
/**
* @param ReachabilityDetails
*/
public function setReturnReachabilityDetails(ReachabilityDetails $returnReachabilityDetails)
{
$this->returnReachabilityDetails = $returnReachabilityDetails;
}
/**
* @return ReachabilityDetails
*/
public function getReturnReachabilityDetails()
{
return $this->returnReachabilityDetails;
}
/**
* @param bool
*/
public function setRoundTrip($roundTrip)
{
$this->roundTrip = $roundTrip;
}
/**
* @return bool
*/
public function getRoundTrip()
{
return $this->roundTrip;
}
/**
* @param Endpoint
*/
public function setSource(Endpoint $source)
{
$this->source = $source;
}
/**
* @return Endpoint
*/
public function getSource()
{
return $this->source;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConnectivityTest::class, 'Google_Service_NetworkManagement_ConnectivityTest');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class DeliverInfo extends \Google\Model
{
/**
* @var string
*/
public $ipAddress;
/**
* @var string
*/
public $pscGoogleApiTarget;
/**
* @var string
*/
public $resourceUri;
/**
* @var string
*/
public $storageBucket;
/**
* @var string
*/
public $target;
/**
* @param string
*/
public function setIpAddress($ipAddress)
{
$this->ipAddress = $ipAddress;
}
/**
* @return string
*/
public function getIpAddress()
{
return $this->ipAddress;
}
/**
* @param string
*/
public function setPscGoogleApiTarget($pscGoogleApiTarget)
{
$this->pscGoogleApiTarget = $pscGoogleApiTarget;
}
/**
* @return string
*/
public function getPscGoogleApiTarget()
{
return $this->pscGoogleApiTarget;
}
/**
* @param string
*/
public function setResourceUri($resourceUri)
{
$this->resourceUri = $resourceUri;
}
/**
* @return string
*/
public function getResourceUri()
{
return $this->resourceUri;
}
/**
* @param string
*/
public function setStorageBucket($storageBucket)
{
$this->storageBucket = $storageBucket;
}
/**
* @return string
*/
public function getStorageBucket()
{
return $this->storageBucket;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeliverInfo::class, 'Google_Service_NetworkManagement_DeliverInfo');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class DropInfo extends \Google\Model
{
/**
* @var string
*/
public $cause;
/**
* @var string
*/
public $destinationIp;
/**
* @var string
*/
public $region;
/**
* @var string
*/
public $resourceUri;
/**
* @var string
*/
public $sourceIp;
/**
* @param string
*/
public function setCause($cause)
{
$this->cause = $cause;
}
/**
* @return string
*/
public function getCause()
{
return $this->cause;
}
/**
* @param string
*/
public function setDestinationIp($destinationIp)
{
$this->destinationIp = $destinationIp;
}
/**
* @return string
*/
public function getDestinationIp()
{
return $this->destinationIp;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string
*/
public function setResourceUri($resourceUri)
{
$this->resourceUri = $resourceUri;
}
/**
* @return string
*/
public function getResourceUri()
{
return $this->resourceUri;
}
/**
* @param string
*/
public function setSourceIp($sourceIp)
{
$this->sourceIp = $sourceIp;
}
/**
* @return string
*/
public function getSourceIp()
{
return $this->sourceIp;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DropInfo::class, 'Google_Service_NetworkManagement_DropInfo');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class EdgeLocation extends \Google\Model
{
/**
* @var string
*/
public $metropolitanArea;
/**
* @param string
*/
public function setMetropolitanArea($metropolitanArea)
{
$this->metropolitanArea = $metropolitanArea;
}
/**
* @return string
*/
public function getMetropolitanArea()
{
return $this->metropolitanArea;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EdgeLocation::class, 'Google_Service_NetworkManagement_EdgeLocation');

View File

@@ -0,0 +1,344 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class Endpoint extends \Google\Model
{
protected $appEngineVersionType = AppEngineVersionEndpoint::class;
protected $appEngineVersionDataType = '';
protected $cloudFunctionType = CloudFunctionEndpoint::class;
protected $cloudFunctionDataType = '';
protected $cloudRunRevisionType = CloudRunRevisionEndpoint::class;
protected $cloudRunRevisionDataType = '';
/**
* @var string
*/
public $cloudSqlInstance;
/**
* @var string
*/
public $forwardingRule;
/**
* @var string
*/
public $forwardingRuleTarget;
/**
* @var string
*/
public $fqdn;
/**
* @var string
*/
public $gkeMasterCluster;
/**
* @var string
*/
public $instance;
/**
* @var string
*/
public $ipAddress;
/**
* @var string
*/
public $loadBalancerId;
/**
* @var string
*/
public $loadBalancerType;
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $networkType;
/**
* @var int
*/
public $port;
/**
* @var string
*/
public $projectId;
/**
* @var string
*/
public $redisCluster;
/**
* @var string
*/
public $redisInstance;
/**
* @param AppEngineVersionEndpoint
*/
public function setAppEngineVersion(AppEngineVersionEndpoint $appEngineVersion)
{
$this->appEngineVersion = $appEngineVersion;
}
/**
* @return AppEngineVersionEndpoint
*/
public function getAppEngineVersion()
{
return $this->appEngineVersion;
}
/**
* @param CloudFunctionEndpoint
*/
public function setCloudFunction(CloudFunctionEndpoint $cloudFunction)
{
$this->cloudFunction = $cloudFunction;
}
/**
* @return CloudFunctionEndpoint
*/
public function getCloudFunction()
{
return $this->cloudFunction;
}
/**
* @param CloudRunRevisionEndpoint
*/
public function setCloudRunRevision(CloudRunRevisionEndpoint $cloudRunRevision)
{
$this->cloudRunRevision = $cloudRunRevision;
}
/**
* @return CloudRunRevisionEndpoint
*/
public function getCloudRunRevision()
{
return $this->cloudRunRevision;
}
/**
* @param string
*/
public function setCloudSqlInstance($cloudSqlInstance)
{
$this->cloudSqlInstance = $cloudSqlInstance;
}
/**
* @return string
*/
public function getCloudSqlInstance()
{
return $this->cloudSqlInstance;
}
/**
* @param string
*/
public function setForwardingRule($forwardingRule)
{
$this->forwardingRule = $forwardingRule;
}
/**
* @return string
*/
public function getForwardingRule()
{
return $this->forwardingRule;
}
/**
* @param string
*/
public function setForwardingRuleTarget($forwardingRuleTarget)
{
$this->forwardingRuleTarget = $forwardingRuleTarget;
}
/**
* @return string
*/
public function getForwardingRuleTarget()
{
return $this->forwardingRuleTarget;
}
/**
* @param string
*/
public function setFqdn($fqdn)
{
$this->fqdn = $fqdn;
}
/**
* @return string
*/
public function getFqdn()
{
return $this->fqdn;
}
/**
* @param string
*/
public function setGkeMasterCluster($gkeMasterCluster)
{
$this->gkeMasterCluster = $gkeMasterCluster;
}
/**
* @return string
*/
public function getGkeMasterCluster()
{
return $this->gkeMasterCluster;
}
/**
* @param string
*/
public function setInstance($instance)
{
$this->instance = $instance;
}
/**
* @return string
*/
public function getInstance()
{
return $this->instance;
}
/**
* @param string
*/
public function setIpAddress($ipAddress)
{
$this->ipAddress = $ipAddress;
}
/**
* @return string
*/
public function getIpAddress()
{
return $this->ipAddress;
}
/**
* @param string
*/
public function setLoadBalancerId($loadBalancerId)
{
$this->loadBalancerId = $loadBalancerId;
}
/**
* @return string
*/
public function getLoadBalancerId()
{
return $this->loadBalancerId;
}
/**
* @param string
*/
public function setLoadBalancerType($loadBalancerType)
{
$this->loadBalancerType = $loadBalancerType;
}
/**
* @return string
*/
public function getLoadBalancerType()
{
return $this->loadBalancerType;
}
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setNetworkType($networkType)
{
$this->networkType = $networkType;
}
/**
* @return string
*/
public function getNetworkType()
{
return $this->networkType;
}
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string
*/
public function setRedisCluster($redisCluster)
{
$this->redisCluster = $redisCluster;
}
/**
* @return string
*/
public function getRedisCluster()
{
return $this->redisCluster;
}
/**
* @param string
*/
public function setRedisInstance($redisInstance)
{
$this->redisInstance = $redisInstance;
}
/**
* @return string
*/
public function getRedisInstance()
{
return $this->redisInstance;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Endpoint::class, 'Google_Service_NetworkManagement_Endpoint');

View File

@@ -0,0 +1,170 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class EndpointInfo extends \Google\Model
{
/**
* @var string
*/
public $destinationIp;
/**
* @var string
*/
public $destinationNetworkUri;
/**
* @var int
*/
public $destinationPort;
/**
* @var string
*/
public $protocol;
/**
* @var string
*/
public $sourceAgentUri;
/**
* @var string
*/
public $sourceIp;
/**
* @var string
*/
public $sourceNetworkUri;
/**
* @var int
*/
public $sourcePort;
/**
* @param string
*/
public function setDestinationIp($destinationIp)
{
$this->destinationIp = $destinationIp;
}
/**
* @return string
*/
public function getDestinationIp()
{
return $this->destinationIp;
}
/**
* @param string
*/
public function setDestinationNetworkUri($destinationNetworkUri)
{
$this->destinationNetworkUri = $destinationNetworkUri;
}
/**
* @return string
*/
public function getDestinationNetworkUri()
{
return $this->destinationNetworkUri;
}
/**
* @param int
*/
public function setDestinationPort($destinationPort)
{
$this->destinationPort = $destinationPort;
}
/**
* @return int
*/
public function getDestinationPort()
{
return $this->destinationPort;
}
/**
* @param string
*/
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
/**
* @return string
*/
public function getProtocol()
{
return $this->protocol;
}
/**
* @param string
*/
public function setSourceAgentUri($sourceAgentUri)
{
$this->sourceAgentUri = $sourceAgentUri;
}
/**
* @return string
*/
public function getSourceAgentUri()
{
return $this->sourceAgentUri;
}
/**
* @param string
*/
public function setSourceIp($sourceIp)
{
$this->sourceIp = $sourceIp;
}
/**
* @return string
*/
public function getSourceIp()
{
return $this->sourceIp;
}
/**
* @param string
*/
public function setSourceNetworkUri($sourceNetworkUri)
{
$this->sourceNetworkUri = $sourceNetworkUri;
}
/**
* @return string
*/
public function getSourceNetworkUri()
{
return $this->sourceNetworkUri;
}
/**
* @param int
*/
public function setSourcePort($sourcePort)
{
$this->sourcePort = $sourcePort;
}
/**
* @return int
*/
public function getSourcePort()
{
return $this->sourcePort;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EndpointInfo::class, 'Google_Service_NetworkManagement_EndpointInfo');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class Expr extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expression;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Expr::class, 'Google_Service_NetworkManagement_Expr');

View File

@@ -0,0 +1,225 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class FirewallInfo extends \Google\Collection
{
protected $collection_key = 'targetTags';
/**
* @var string
*/
public $action;
/**
* @var string
*/
public $direction;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $firewallRuleType;
/**
* @var string
*/
public $networkUri;
/**
* @var string
*/
public $policy;
/**
* @var string
*/
public $policyUri;
/**
* @var int
*/
public $priority;
/**
* @var string[]
*/
public $targetServiceAccounts;
/**
* @var string[]
*/
public $targetTags;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setAction($action)
{
$this->action = $action;
}
/**
* @return string
*/
public function getAction()
{
return $this->action;
}
/**
* @param string
*/
public function setDirection($direction)
{
$this->direction = $direction;
}
/**
* @return string
*/
public function getDirection()
{
return $this->direction;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setFirewallRuleType($firewallRuleType)
{
$this->firewallRuleType = $firewallRuleType;
}
/**
* @return string
*/
public function getFirewallRuleType()
{
return $this->firewallRuleType;
}
/**
* @param string
*/
public function setNetworkUri($networkUri)
{
$this->networkUri = $networkUri;
}
/**
* @return string
*/
public function getNetworkUri()
{
return $this->networkUri;
}
/**
* @param string
*/
public function setPolicy($policy)
{
$this->policy = $policy;
}
/**
* @return string
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param string
*/
public function setPolicyUri($policyUri)
{
$this->policyUri = $policyUri;
}
/**
* @return string
*/
public function getPolicyUri()
{
return $this->policyUri;
}
/**
* @param int
*/
public function setPriority($priority)
{
$this->priority = $priority;
}
/**
* @return int
*/
public function getPriority()
{
return $this->priority;
}
/**
* @param string[]
*/
public function setTargetServiceAccounts($targetServiceAccounts)
{
$this->targetServiceAccounts = $targetServiceAccounts;
}
/**
* @return string[]
*/
public function getTargetServiceAccounts()
{
return $this->targetServiceAccounts;
}
/**
* @param string[]
*/
public function setTargetTags($targetTags)
{
$this->targetTags = $targetTags;
}
/**
* @return string[]
*/
public function getTargetTags()
{
return $this->targetTags;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FirewallInfo::class, 'Google_Service_NetworkManagement_FirewallInfo');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class ForwardInfo extends \Google\Model
{
/**
* @var string
*/
public $ipAddress;
/**
* @var string
*/
public $resourceUri;
/**
* @var string
*/
public $target;
/**
* @param string
*/
public function setIpAddress($ipAddress)
{
$this->ipAddress = $ipAddress;
}
/**
* @return string
*/
public function getIpAddress()
{
return $this->ipAddress;
}
/**
* @param string
*/
public function setResourceUri($resourceUri)
{
$this->resourceUri = $resourceUri;
}
/**
* @return string
*/
public function getResourceUri()
{
return $this->resourceUri;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ForwardInfo::class, 'Google_Service_NetworkManagement_ForwardInfo');

View File

@@ -0,0 +1,224 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class ForwardingRuleInfo extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $loadBalancerName;
/**
* @var string
*/
public $matchedPortRange;
/**
* @var string
*/
public $matchedProtocol;
/**
* @var string
*/
public $networkUri;
/**
* @var string
*/
public $pscGoogleApiTarget;
/**
* @var string
*/
public $pscServiceAttachmentUri;
/**
* @var string
*/
public $region;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $uri;
/**
* @var string
*/
public $vip;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setLoadBalancerName($loadBalancerName)
{
$this->loadBalancerName = $loadBalancerName;
}
/**
* @return string
*/
public function getLoadBalancerName()
{
return $this->loadBalancerName;
}
/**
* @param string
*/
public function setMatchedPortRange($matchedPortRange)
{
$this->matchedPortRange = $matchedPortRange;
}
/**
* @return string
*/
public function getMatchedPortRange()
{
return $this->matchedPortRange;
}
/**
* @param string
*/
public function setMatchedProtocol($matchedProtocol)
{
$this->matchedProtocol = $matchedProtocol;
}
/**
* @return string
*/
public function getMatchedProtocol()
{
return $this->matchedProtocol;
}
/**
* @param string
*/
public function setNetworkUri($networkUri)
{
$this->networkUri = $networkUri;
}
/**
* @return string
*/
public function getNetworkUri()
{
return $this->networkUri;
}
/**
* @param string
*/
public function setPscGoogleApiTarget($pscGoogleApiTarget)
{
$this->pscGoogleApiTarget = $pscGoogleApiTarget;
}
/**
* @return string
*/
public function getPscGoogleApiTarget()
{
return $this->pscGoogleApiTarget;
}
/**
* @param string
*/
public function setPscServiceAttachmentUri($pscServiceAttachmentUri)
{
$this->pscServiceAttachmentUri = $pscServiceAttachmentUri;
}
/**
* @return string
*/
public function getPscServiceAttachmentUri()
{
return $this->pscServiceAttachmentUri;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
/**
* @param string
*/
public function setVip($vip)
{
$this->vip = $vip;
}
/**
* @return string
*/
public function getVip()
{
return $this->vip;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ForwardingRuleInfo::class, 'Google_Service_NetworkManagement_ForwardingRuleInfo');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class GKEMasterInfo extends \Google\Model
{
/**
* @var string
*/
public $clusterNetworkUri;
/**
* @var string
*/
public $clusterUri;
/**
* @var string
*/
public $dnsEndpoint;
/**
* @var string
*/
public $externalIp;
/**
* @var string
*/
public $internalIp;
/**
* @param string
*/
public function setClusterNetworkUri($clusterNetworkUri)
{
$this->clusterNetworkUri = $clusterNetworkUri;
}
/**
* @return string
*/
public function getClusterNetworkUri()
{
return $this->clusterNetworkUri;
}
/**
* @param string
*/
public function setClusterUri($clusterUri)
{
$this->clusterUri = $clusterUri;
}
/**
* @return string
*/
public function getClusterUri()
{
return $this->clusterUri;
}
/**
* @param string
*/
public function setDnsEndpoint($dnsEndpoint)
{
$this->dnsEndpoint = $dnsEndpoint;
}
/**
* @return string
*/
public function getDnsEndpoint()
{
return $this->dnsEndpoint;
}
/**
* @param string
*/
public function setExternalIp($externalIp)
{
$this->externalIp = $externalIp;
}
/**
* @return string
*/
public function getExternalIp()
{
return $this->externalIp;
}
/**
* @param string
*/
public function setInternalIp($internalIp)
{
$this->internalIp = $internalIp;
}
/**
* @return string
*/
public function getInternalIp()
{
return $this->internalIp;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GKEMasterInfo::class, 'Google_Service_NetworkManagement_GKEMasterInfo');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class GoogleServiceInfo extends \Google\Model
{
/**
* @var string
*/
public $googleServiceType;
/**
* @var string
*/
public $sourceIp;
/**
* @param string
*/
public function setGoogleServiceType($googleServiceType)
{
$this->googleServiceType = $googleServiceType;
}
/**
* @return string
*/
public function getGoogleServiceType()
{
return $this->googleServiceType;
}
/**
* @param string
*/
public function setSourceIp($sourceIp)
{
$this->sourceIp = $sourceIp;
}
/**
* @return string
*/
public function getSourceIp()
{
return $this->sourceIp;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleServiceInfo::class, 'Google_Service_NetworkManagement_GoogleServiceInfo');

View File

@@ -0,0 +1,189 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class InstanceInfo extends \Google\Collection
{
protected $collection_key = 'networkTags';
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $externalIp;
/**
* @var string
*/
public $interface;
/**
* @var string
*/
public $internalIp;
/**
* @var string[]
*/
public $networkTags;
/**
* @var string
*/
public $networkUri;
/**
* @var string
*/
public $pscNetworkAttachmentUri;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setExternalIp($externalIp)
{
$this->externalIp = $externalIp;
}
/**
* @return string
*/
public function getExternalIp()
{
return $this->externalIp;
}
/**
* @param string
*/
public function setInterface($interface)
{
$this->interface = $interface;
}
/**
* @return string
*/
public function getInterface()
{
return $this->interface;
}
/**
* @param string
*/
public function setInternalIp($internalIp)
{
$this->internalIp = $internalIp;
}
/**
* @return string
*/
public function getInternalIp()
{
return $this->internalIp;
}
/**
* @param string[]
*/
public function setNetworkTags($networkTags)
{
$this->networkTags = $networkTags;
}
/**
* @return string[]
*/
public function getNetworkTags()
{
return $this->networkTags;
}
/**
* @param string
*/
public function setNetworkUri($networkUri)
{
$this->networkUri = $networkUri;
}
/**
* @return string
*/
public function getNetworkUri()
{
return $this->networkUri;
}
/**
* @param string
*/
public function setPscNetworkAttachmentUri($pscNetworkAttachmentUri)
{
$this->pscNetworkAttachmentUri = $pscNetworkAttachmentUri;
}
/**
* @return string
*/
public function getPscNetworkAttachmentUri()
{
return $this->pscNetworkAttachmentUri;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstanceInfo::class, 'Google_Service_NetworkManagement_InstanceInfo');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class LatencyDistribution extends \Google\Collection
{
protected $collection_key = 'latencyPercentiles';
protected $latencyPercentilesType = LatencyPercentile::class;
protected $latencyPercentilesDataType = 'array';
/**
* @param LatencyPercentile[]
*/
public function setLatencyPercentiles($latencyPercentiles)
{
$this->latencyPercentiles = $latencyPercentiles;
}
/**
* @return LatencyPercentile[]
*/
public function getLatencyPercentiles()
{
return $this->latencyPercentiles;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LatencyDistribution::class, 'Google_Service_NetworkManagement_LatencyDistribution');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class LatencyPercentile extends \Google\Model
{
/**
* @var string
*/
public $latencyMicros;
/**
* @var int
*/
public $percent;
/**
* @param string
*/
public function setLatencyMicros($latencyMicros)
{
$this->latencyMicros = $latencyMicros;
}
/**
* @return string
*/
public function getLatencyMicros()
{
return $this->latencyMicros;
}
/**
* @param int
*/
public function setPercent($percent)
{
$this->percent = $percent;
}
/**
* @return int
*/
public function getPercent()
{
return $this->percent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LatencyPercentile::class, 'Google_Service_NetworkManagement_LatencyPercentile');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class ListConnectivityTestsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $resourcesType = ConnectivityTest::class;
protected $resourcesDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ConnectivityTest[]
*/
public function setResources($resources)
{
$this->resources = $resources;
}
/**
* @return ConnectivityTest[]
*/
public function getResources()
{
return $this->resources;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListConnectivityTestsResponse::class, 'Google_Service_NetworkManagement_ListConnectivityTestsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Location[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLocationsResponse::class, 'Google_Service_NetworkManagement_ListLocationsResponse');

View File

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

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class ListVpcFlowLogsConfigsResponse extends \Google\Collection
{
protected $collection_key = 'vpcFlowLogsConfigs';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
protected $vpcFlowLogsConfigsType = VpcFlowLogsConfig::class;
protected $vpcFlowLogsConfigsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
/**
* @param VpcFlowLogsConfig[]
*/
public function setVpcFlowLogsConfigs($vpcFlowLogsConfigs)
{
$this->vpcFlowLogsConfigs = $vpcFlowLogsConfigs;
}
/**
* @return VpcFlowLogsConfig[]
*/
public function getVpcFlowLogsConfigs()
{
return $this->vpcFlowLogsConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListVpcFlowLogsConfigsResponse::class, 'Google_Service_NetworkManagement_ListVpcFlowLogsConfigsResponse');

View File

@@ -0,0 +1,117 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class LoadBalancerBackend extends \Google\Collection
{
protected $collection_key = 'healthCheckBlockingFirewallRules';
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $healthCheckAllowingFirewallRules;
/**
* @var string[]
*/
public $healthCheckBlockingFirewallRules;
/**
* @var string
*/
public $healthCheckFirewallState;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setHealthCheckAllowingFirewallRules($healthCheckAllowingFirewallRules)
{
$this->healthCheckAllowingFirewallRules = $healthCheckAllowingFirewallRules;
}
/**
* @return string[]
*/
public function getHealthCheckAllowingFirewallRules()
{
return $this->healthCheckAllowingFirewallRules;
}
/**
* @param string[]
*/
public function setHealthCheckBlockingFirewallRules($healthCheckBlockingFirewallRules)
{
$this->healthCheckBlockingFirewallRules = $healthCheckBlockingFirewallRules;
}
/**
* @return string[]
*/
public function getHealthCheckBlockingFirewallRules()
{
return $this->healthCheckBlockingFirewallRules;
}
/**
* @param string
*/
public function setHealthCheckFirewallState($healthCheckFirewallState)
{
$this->healthCheckFirewallState = $healthCheckFirewallState;
}
/**
* @return string
*/
public function getHealthCheckFirewallState()
{
return $this->healthCheckFirewallState;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LoadBalancerBackend::class, 'Google_Service_NetworkManagement_LoadBalancerBackend');

View File

@@ -0,0 +1,206 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class LoadBalancerBackendInfo extends \Google\Model
{
/**
* @var string
*/
public $backendBucketUri;
/**
* @var string
*/
public $backendServiceUri;
/**
* @var string
*/
public $healthCheckFirewallsConfigState;
/**
* @var string
*/
public $healthCheckUri;
/**
* @var string
*/
public $instanceGroupUri;
/**
* @var string
*/
public $instanceUri;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $networkEndpointGroupUri;
/**
* @var string
*/
public $pscGoogleApiTarget;
/**
* @var string
*/
public $pscServiceAttachmentUri;
/**
* @param string
*/
public function setBackendBucketUri($backendBucketUri)
{
$this->backendBucketUri = $backendBucketUri;
}
/**
* @return string
*/
public function getBackendBucketUri()
{
return $this->backendBucketUri;
}
/**
* @param string
*/
public function setBackendServiceUri($backendServiceUri)
{
$this->backendServiceUri = $backendServiceUri;
}
/**
* @return string
*/
public function getBackendServiceUri()
{
return $this->backendServiceUri;
}
/**
* @param string
*/
public function setHealthCheckFirewallsConfigState($healthCheckFirewallsConfigState)
{
$this->healthCheckFirewallsConfigState = $healthCheckFirewallsConfigState;
}
/**
* @return string
*/
public function getHealthCheckFirewallsConfigState()
{
return $this->healthCheckFirewallsConfigState;
}
/**
* @param string
*/
public function setHealthCheckUri($healthCheckUri)
{
$this->healthCheckUri = $healthCheckUri;
}
/**
* @return string
*/
public function getHealthCheckUri()
{
return $this->healthCheckUri;
}
/**
* @param string
*/
public function setInstanceGroupUri($instanceGroupUri)
{
$this->instanceGroupUri = $instanceGroupUri;
}
/**
* @return string
*/
public function getInstanceGroupUri()
{
return $this->instanceGroupUri;
}
/**
* @param string
*/
public function setInstanceUri($instanceUri)
{
$this->instanceUri = $instanceUri;
}
/**
* @return string
*/
public function getInstanceUri()
{
return $this->instanceUri;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNetworkEndpointGroupUri($networkEndpointGroupUri)
{
$this->networkEndpointGroupUri = $networkEndpointGroupUri;
}
/**
* @return string
*/
public function getNetworkEndpointGroupUri()
{
return $this->networkEndpointGroupUri;
}
/**
* @param string
*/
public function setPscGoogleApiTarget($pscGoogleApiTarget)
{
$this->pscGoogleApiTarget = $pscGoogleApiTarget;
}
/**
* @return string
*/
public function getPscGoogleApiTarget()
{
return $this->pscGoogleApiTarget;
}
/**
* @param string
*/
public function setPscServiceAttachmentUri($pscServiceAttachmentUri)
{
$this->pscServiceAttachmentUri = $pscServiceAttachmentUri;
}
/**
* @return string
*/
public function getPscServiceAttachmentUri()
{
return $this->pscServiceAttachmentUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LoadBalancerBackendInfo::class, 'Google_Service_NetworkManagement_LoadBalancerBackendInfo');

View File

@@ -0,0 +1,115 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class LoadBalancerInfo extends \Google\Collection
{
protected $collection_key = 'backends';
/**
* @var string
*/
public $backendType;
/**
* @var string
*/
public $backendUri;
protected $backendsType = LoadBalancerBackend::class;
protected $backendsDataType = 'array';
/**
* @var string
*/
public $healthCheckUri;
/**
* @var string
*/
public $loadBalancerType;
/**
* @param string
*/
public function setBackendType($backendType)
{
$this->backendType = $backendType;
}
/**
* @return string
*/
public function getBackendType()
{
return $this->backendType;
}
/**
* @param string
*/
public function setBackendUri($backendUri)
{
$this->backendUri = $backendUri;
}
/**
* @return string
*/
public function getBackendUri()
{
return $this->backendUri;
}
/**
* @param LoadBalancerBackend[]
*/
public function setBackends($backends)
{
$this->backends = $backends;
}
/**
* @return LoadBalancerBackend[]
*/
public function getBackends()
{
return $this->backends;
}
/**
* @param string
*/
public function setHealthCheckUri($healthCheckUri)
{
$this->healthCheckUri = $healthCheckUri;
}
/**
* @return string
*/
public function getHealthCheckUri()
{
return $this->healthCheckUri;
}
/**
* @param string
*/
public function setLoadBalancerType($loadBalancerType)
{
$this->loadBalancerType = $loadBalancerType;
}
/**
* @return string
*/
public function getLoadBalancerType()
{
return $this->loadBalancerType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LoadBalancerInfo::class, 'Google_Service_NetworkManagement_LoadBalancerInfo');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class Location extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $locationId;
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_NetworkManagement_Location');

View File

@@ -0,0 +1,260 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class NatInfo extends \Google\Model
{
/**
* @var string
*/
public $natGatewayName;
/**
* @var string
*/
public $networkUri;
/**
* @var string
*/
public $newDestinationIp;
/**
* @var int
*/
public $newDestinationPort;
/**
* @var string
*/
public $newSourceIp;
/**
* @var int
*/
public $newSourcePort;
/**
* @var string
*/
public $oldDestinationIp;
/**
* @var int
*/
public $oldDestinationPort;
/**
* @var string
*/
public $oldSourceIp;
/**
* @var int
*/
public $oldSourcePort;
/**
* @var string
*/
public $protocol;
/**
* @var string
*/
public $routerUri;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setNatGatewayName($natGatewayName)
{
$this->natGatewayName = $natGatewayName;
}
/**
* @return string
*/
public function getNatGatewayName()
{
return $this->natGatewayName;
}
/**
* @param string
*/
public function setNetworkUri($networkUri)
{
$this->networkUri = $networkUri;
}
/**
* @return string
*/
public function getNetworkUri()
{
return $this->networkUri;
}
/**
* @param string
*/
public function setNewDestinationIp($newDestinationIp)
{
$this->newDestinationIp = $newDestinationIp;
}
/**
* @return string
*/
public function getNewDestinationIp()
{
return $this->newDestinationIp;
}
/**
* @param int
*/
public function setNewDestinationPort($newDestinationPort)
{
$this->newDestinationPort = $newDestinationPort;
}
/**
* @return int
*/
public function getNewDestinationPort()
{
return $this->newDestinationPort;
}
/**
* @param string
*/
public function setNewSourceIp($newSourceIp)
{
$this->newSourceIp = $newSourceIp;
}
/**
* @return string
*/
public function getNewSourceIp()
{
return $this->newSourceIp;
}
/**
* @param int
*/
public function setNewSourcePort($newSourcePort)
{
$this->newSourcePort = $newSourcePort;
}
/**
* @return int
*/
public function getNewSourcePort()
{
return $this->newSourcePort;
}
/**
* @param string
*/
public function setOldDestinationIp($oldDestinationIp)
{
$this->oldDestinationIp = $oldDestinationIp;
}
/**
* @return string
*/
public function getOldDestinationIp()
{
return $this->oldDestinationIp;
}
/**
* @param int
*/
public function setOldDestinationPort($oldDestinationPort)
{
$this->oldDestinationPort = $oldDestinationPort;
}
/**
* @return int
*/
public function getOldDestinationPort()
{
return $this->oldDestinationPort;
}
/**
* @param string
*/
public function setOldSourceIp($oldSourceIp)
{
$this->oldSourceIp = $oldSourceIp;
}
/**
* @return string
*/
public function getOldSourceIp()
{
return $this->oldSourceIp;
}
/**
* @param int
*/
public function setOldSourcePort($oldSourcePort)
{
$this->oldSourcePort = $oldSourcePort;
}
/**
* @return int
*/
public function getOldSourcePort()
{
return $this->oldSourcePort;
}
/**
* @param string
*/
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
/**
* @return string
*/
public function getProtocol()
{
return $this->protocol;
}
/**
* @param string
*/
public function setRouterUri($routerUri)
{
$this->routerUri = $routerUri;
}
/**
* @return string
*/
public function getRouterUri()
{
return $this->routerUri;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NatInfo::class, 'Google_Service_NetworkManagement_NatInfo');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class NetworkInfo extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $matchedIpRange;
/**
* @var string
*/
public $matchedSubnetUri;
/**
* @var string
*/
public $region;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setMatchedIpRange($matchedIpRange)
{
$this->matchedIpRange = $matchedIpRange;
}
/**
* @return string
*/
public function getMatchedIpRange()
{
return $this->matchedIpRange;
}
/**
* @param string
*/
public function setMatchedSubnetUri($matchedSubnetUri)
{
$this->matchedSubnetUri = $matchedSubnetUri;
}
/**
* @return string
*/
public function getMatchedSubnetUri()
{
return $this->matchedSubnetUri;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkInfo::class, 'Google_Service_NetworkManagement_NetworkInfo');

View File

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

View File

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

View File

@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var bool
*/
public $cancelRequested;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $statusDetail;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param bool
*/
public function setCancelRequested($cancelRequested)
{
$this->cancelRequested = $cancelRequested;
}
/**
* @return bool
*/
public function getCancelRequested()
{
return $this->cancelRequested;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setStatusDetail($statusDetail)
{
$this->statusDetail = $statusDetail;
}
/**
* @return string
*/
public function getStatusDetail()
{
return $this->statusDetail;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_NetworkManagement_OperationMetadata');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $auditConfigsType = AuditConfig::class;
protected $auditConfigsDataType = 'array';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var int
*/
public $version;
/**
* @param AuditConfig[]
*/
public function setAuditConfigs($auditConfigs)
{
$this->auditConfigs = $auditConfigs;
}
/**
* @return AuditConfig[]
*/
public function getAuditConfigs()
{
return $this->auditConfigs;
}
/**
* @param Binding[]
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param int
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_NetworkManagement_Policy');

View File

@@ -0,0 +1,180 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class ProbingDetails extends \Google\Model
{
/**
* @var string
*/
public $abortCause;
protected $destinationEgressLocationType = EdgeLocation::class;
protected $destinationEgressLocationDataType = '';
protected $endpointInfoType = EndpointInfo::class;
protected $endpointInfoDataType = '';
protected $errorType = Status::class;
protected $errorDataType = '';
protected $probingLatencyType = LatencyDistribution::class;
protected $probingLatencyDataType = '';
/**
* @var string
*/
public $result;
/**
* @var int
*/
public $sentProbeCount;
/**
* @var int
*/
public $successfulProbeCount;
/**
* @var string
*/
public $verifyTime;
/**
* @param string
*/
public function setAbortCause($abortCause)
{
$this->abortCause = $abortCause;
}
/**
* @return string
*/
public function getAbortCause()
{
return $this->abortCause;
}
/**
* @param EdgeLocation
*/
public function setDestinationEgressLocation(EdgeLocation $destinationEgressLocation)
{
$this->destinationEgressLocation = $destinationEgressLocation;
}
/**
* @return EdgeLocation
*/
public function getDestinationEgressLocation()
{
return $this->destinationEgressLocation;
}
/**
* @param EndpointInfo
*/
public function setEndpointInfo(EndpointInfo $endpointInfo)
{
$this->endpointInfo = $endpointInfo;
}
/**
* @return EndpointInfo
*/
public function getEndpointInfo()
{
return $this->endpointInfo;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param LatencyDistribution
*/
public function setProbingLatency(LatencyDistribution $probingLatency)
{
$this->probingLatency = $probingLatency;
}
/**
* @return LatencyDistribution
*/
public function getProbingLatency()
{
return $this->probingLatency;
}
/**
* @param string
*/
public function setResult($result)
{
$this->result = $result;
}
/**
* @return string
*/
public function getResult()
{
return $this->result;
}
/**
* @param int
*/
public function setSentProbeCount($sentProbeCount)
{
$this->sentProbeCount = $sentProbeCount;
}
/**
* @return int
*/
public function getSentProbeCount()
{
return $this->sentProbeCount;
}
/**
* @param int
*/
public function setSuccessfulProbeCount($successfulProbeCount)
{
$this->successfulProbeCount = $successfulProbeCount;
}
/**
* @return int
*/
public function getSuccessfulProbeCount()
{
return $this->successfulProbeCount;
}
/**
* @param string
*/
public function setVerifyTime($verifyTime)
{
$this->verifyTime = $verifyTime;
}
/**
* @return string
*/
public function getVerifyTime()
{
return $this->verifyTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProbingDetails::class, 'Google_Service_NetworkManagement_ProbingDetails');

View File

@@ -0,0 +1,224 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class ProxyConnectionInfo extends \Google\Model
{
/**
* @var string
*/
public $networkUri;
/**
* @var string
*/
public $newDestinationIp;
/**
* @var int
*/
public $newDestinationPort;
/**
* @var string
*/
public $newSourceIp;
/**
* @var int
*/
public $newSourcePort;
/**
* @var string
*/
public $oldDestinationIp;
/**
* @var int
*/
public $oldDestinationPort;
/**
* @var string
*/
public $oldSourceIp;
/**
* @var int
*/
public $oldSourcePort;
/**
* @var string
*/
public $protocol;
/**
* @var string
*/
public $subnetUri;
/**
* @param string
*/
public function setNetworkUri($networkUri)
{
$this->networkUri = $networkUri;
}
/**
* @return string
*/
public function getNetworkUri()
{
return $this->networkUri;
}
/**
* @param string
*/
public function setNewDestinationIp($newDestinationIp)
{
$this->newDestinationIp = $newDestinationIp;
}
/**
* @return string
*/
public function getNewDestinationIp()
{
return $this->newDestinationIp;
}
/**
* @param int
*/
public function setNewDestinationPort($newDestinationPort)
{
$this->newDestinationPort = $newDestinationPort;
}
/**
* @return int
*/
public function getNewDestinationPort()
{
return $this->newDestinationPort;
}
/**
* @param string
*/
public function setNewSourceIp($newSourceIp)
{
$this->newSourceIp = $newSourceIp;
}
/**
* @return string
*/
public function getNewSourceIp()
{
return $this->newSourceIp;
}
/**
* @param int
*/
public function setNewSourcePort($newSourcePort)
{
$this->newSourcePort = $newSourcePort;
}
/**
* @return int
*/
public function getNewSourcePort()
{
return $this->newSourcePort;
}
/**
* @param string
*/
public function setOldDestinationIp($oldDestinationIp)
{
$this->oldDestinationIp = $oldDestinationIp;
}
/**
* @return string
*/
public function getOldDestinationIp()
{
return $this->oldDestinationIp;
}
/**
* @param int
*/
public function setOldDestinationPort($oldDestinationPort)
{
$this->oldDestinationPort = $oldDestinationPort;
}
/**
* @return int
*/
public function getOldDestinationPort()
{
return $this->oldDestinationPort;
}
/**
* @param string
*/
public function setOldSourceIp($oldSourceIp)
{
$this->oldSourceIp = $oldSourceIp;
}
/**
* @return string
*/
public function getOldSourceIp()
{
return $this->oldSourceIp;
}
/**
* @param int
*/
public function setOldSourcePort($oldSourcePort)
{
$this->oldSourcePort = $oldSourcePort;
}
/**
* @return int
*/
public function getOldSourcePort()
{
return $this->oldSourcePort;
}
/**
* @param string
*/
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
/**
* @return string
*/
public function getProtocol()
{
return $this->protocol;
}
/**
* @param string
*/
public function setSubnetUri($subnetUri)
{
$this->subnetUri = $subnetUri;
}
/**
* @return string
*/
public function getSubnetUri()
{
return $this->subnetUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProxyConnectionInfo::class, 'Google_Service_NetworkManagement_ProxyConnectionInfo');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class ReachabilityDetails extends \Google\Collection
{
protected $collection_key = 'traces';
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var string
*/
public $result;
protected $tracesType = Trace::class;
protected $tracesDataType = 'array';
/**
* @var string
*/
public $verifyTime;
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setResult($result)
{
$this->result = $result;
}
/**
* @return string
*/
public function getResult()
{
return $this->result;
}
/**
* @param Trace[]
*/
public function setTraces($traces)
{
$this->traces = $traces;
}
/**
* @return Trace[]
*/
public function getTraces()
{
return $this->traces;
}
/**
* @param string
*/
public function setVerifyTime($verifyTime)
{
$this->verifyTime = $verifyTime;
}
/**
* @return string
*/
public function getVerifyTime()
{
return $this->verifyTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReachabilityDetails::class, 'Google_Service_NetworkManagement_ReachabilityDetails');

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class RedisClusterInfo extends \Google\Model
{
/**
* @var string
*/
public $discoveryEndpointIpAddress;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $networkUri;
/**
* @var string
*/
public $secondaryEndpointIpAddress;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setDiscoveryEndpointIpAddress($discoveryEndpointIpAddress)
{
$this->discoveryEndpointIpAddress = $discoveryEndpointIpAddress;
}
/**
* @return string
*/
public function getDiscoveryEndpointIpAddress()
{
return $this->discoveryEndpointIpAddress;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setNetworkUri($networkUri)
{
$this->networkUri = $networkUri;
}
/**
* @return string
*/
public function getNetworkUri()
{
return $this->networkUri;
}
/**
* @param string
*/
public function setSecondaryEndpointIpAddress($secondaryEndpointIpAddress)
{
$this->secondaryEndpointIpAddress = $secondaryEndpointIpAddress;
}
/**
* @return string
*/
public function getSecondaryEndpointIpAddress()
{
return $this->secondaryEndpointIpAddress;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RedisClusterInfo::class, 'Google_Service_NetworkManagement_RedisClusterInfo');

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class RedisInstanceInfo extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $networkUri;
/**
* @var string
*/
public $primaryEndpointIp;
/**
* @var string
*/
public $readEndpointIp;
/**
* @var string
*/
public $region;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setNetworkUri($networkUri)
{
$this->networkUri = $networkUri;
}
/**
* @return string
*/
public function getNetworkUri()
{
return $this->networkUri;
}
/**
* @param string
*/
public function setPrimaryEndpointIp($primaryEndpointIp)
{
$this->primaryEndpointIp = $primaryEndpointIp;
}
/**
* @return string
*/
public function getPrimaryEndpointIp()
{
return $this->primaryEndpointIp;
}
/**
* @param string
*/
public function setReadEndpointIp($readEndpointIp)
{
$this->readEndpointIp = $readEndpointIp;
}
/**
* @return string
*/
public function getReadEndpointIp()
{
return $this->readEndpointIp;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RedisInstanceInfo::class, 'Google_Service_NetworkManagement_RedisInstanceInfo');

View File

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

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $networkmanagementService = new Google\Service\NetworkManagement(...);
* $projects = $networkmanagementService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_NetworkManagement_Resource_Projects');

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.
*/
namespace Google\Service\NetworkManagement\Resource;
use Google\Service\NetworkManagement\ListLocationsResponse;
use Google\Service\NetworkManagement\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $networkmanagementService = new Google\Service\NetworkManagement(...);
* $locations = $networkmanagementService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* Gets information about a location. (locations.get)
*
* @param string $name Resource name for the location.
* @param array $optParams Optional parameters.
* @return Location
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Location::class);
}
/**
* Lists information about the supported locations for this service.
* (locations.listProjectsLocations)
*
* @param string $name The resource that owns the locations collection, if
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter to narrow down results to a preferred
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* @opt_param int pageSize The maximum number of results to return. If not set,
* the service selects a default.
* @opt_param string pageToken A page token received from the `next_page_token`
* field in the response. Send that page token to receive the subsequent page.
* @return ListLocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_NetworkManagement_Resource_ProjectsLocations');

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement\Resource;
/**
* The "global" collection of methods.
* Typical usage is:
* <code>
* $networkmanagementService = new Google\Service\NetworkManagement(...);
* $global = $networkmanagementService->projects_locations_global;
* </code>
*/
class ProjectsLocationsNetworkmanagementGlobal extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsNetworkmanagementGlobal::class, 'Google_Service_NetworkManagement_Resource_ProjectsLocationsNetworkmanagementGlobal');

View File

@@ -0,0 +1,262 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement\Resource;
use Google\Service\NetworkManagement\ConnectivityTest;
use Google\Service\NetworkManagement\ListConnectivityTestsResponse;
use Google\Service\NetworkManagement\Operation;
use Google\Service\NetworkManagement\Policy;
use Google\Service\NetworkManagement\RerunConnectivityTestRequest;
use Google\Service\NetworkManagement\SetIamPolicyRequest;
use Google\Service\NetworkManagement\TestIamPermissionsRequest;
use Google\Service\NetworkManagement\TestIamPermissionsResponse;
/**
* The "connectivityTests" collection of methods.
* Typical usage is:
* <code>
* $networkmanagementService = new Google\Service\NetworkManagement(...);
* $connectivityTests = $networkmanagementService->projects_locations_global_connectivityTests;
* </code>
*/
class ProjectsLocationsNetworkmanagementGlobalConnectivityTests extends \Google\Service\Resource
{
/**
* Creates a new Connectivity Test. After you create a test, the reachability
* analysis is performed as part of the long running operation, which completes
* when the analysis completes. If the endpoint specifications in
* `ConnectivityTest` are invalid (for example, containing non-existent
* resources in the network, or you don't have read permissions to the network
* configurations of listed projects), then the reachability result returns a
* value of `UNKNOWN`. If the endpoint specifications in `ConnectivityTest` are
* incomplete, the reachability result returns a value of AMBIGUOUS. For more
* information, see the Connectivity Test documentation.
* (connectivityTests.create)
*
* @param string $parent Required. The parent resource of the Connectivity Test
* to create: `projects/{project_id}/locations/global`
* @param ConnectivityTest $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string testId Required. The logical name of the Connectivity Test
* in your project with the following restrictions: * Must contain only
* lowercase letters, numbers, and hyphens. * Must start with a letter. * Must
* be between 1-40 characters. * Must end with a number or a letter. * Must be
* unique within the customer project
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, ConnectivityTest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a specific `ConnectivityTest`. (connectivityTests.delete)
*
* @param string $name Required. Connectivity Test resource name using the form:
* `projects/{project_id}/locations/global/connectivityTests/{test_id}`
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets the details of a specific Connectivity Test. (connectivityTests.get)
*
* @param string $name Required. `ConnectivityTest` resource name using the
* form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`
* @param array $optParams Optional parameters.
* @return ConnectivityTest
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ConnectivityTest::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set.
* (connectivityTests.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Lists all Connectivity Tests owned by a project. (connectivityTests.listProje
* ctsLocationsNetworkmanagementGlobalConnectivityTests)
*
* @param string $parent Required. The parent resource of the Connectivity
* Tests: `projects/{project_id}/locations/global`
* @param array $optParams Optional parameters.
*
* @opt_param string filter Lists the `ConnectivityTests` that match the filter
* expression. A filter expression filters the resources listed in the response.
* The expression must be of the form ` ` where operators: `<`, `>`, `<=`, `>=`,
* `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is
* roughly synonymous with equality). can refer to a proto or JSON field, or a
* synthetic field. Field names can be camelCase or snake_case. Examples: -
* Filter by name: name =
* "projects/proj-1/locations/global/connectivityTests/test-1 - Filter by
* labels: - Resources that have a key called `foo` labels.foo:* - Resources
* that have a key called `foo` whose value is `bar` labels.foo = bar
* @opt_param string orderBy Field to use to sort the list.
* @opt_param int pageSize Number of `ConnectivityTests` to return.
* @opt_param string pageToken Page token from an earlier query, as returned in
* `next_page_token`.
* @return ListConnectivityTestsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsNetworkmanagementGlobalConnectivityTests($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListConnectivityTestsResponse::class);
}
/**
* Updates the configuration of an existing `ConnectivityTest`. After you update
* a test, the reachability analysis is performed as part of the long running
* operation, which completes when the analysis completes. The Reachability
* state in the test resource is updated with the new result. If the endpoint
* specifications in `ConnectivityTest` are invalid (for example, they contain
* non-existent resources in the network, or the user does not have read
* permissions to the network configurations of listed projects), then the
* reachability result returns a value of UNKNOWN. If the endpoint
* specifications in `ConnectivityTest` are incomplete, the reachability result
* returns a value of `AMBIGUOUS`. See the documentation in `ConnectivityTest`
* for more details. (connectivityTests.patch)
*
* @param string $name Identifier. Unique name of the resource using the form:
* `projects/{project_id}/locations/global/connectivityTests/{test_id}`
* @param ConnectivityTest $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask of fields to update. At least one
* path must be supplied in this field.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, ConnectivityTest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Rerun an existing `ConnectivityTest`. After the user triggers the rerun, the
* reachability analysis is performed as part of the long running operation,
* which completes when the analysis completes. Even though the test
* configuration remains the same, the reachability result may change due to
* underlying network configuration changes. If the endpoint specifications in
* `ConnectivityTest` become invalid (for example, specified resources are
* deleted in the network, or you lost read permissions to the network
* configurations of listed projects), then the reachability result returns a
* value of `UNKNOWN`. (connectivityTests.rerun)
*
* @param string $name Required. Connectivity Test resource name using the form:
* `projects/{project_id}/locations/global/connectivityTests/{test_id}`
* @param RerunConnectivityTestRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function rerun($name, RerunConnectivityTestRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('rerun', [$params], Operation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (connectivityTests.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning.
* (connectivityTests.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsNetworkmanagementGlobalConnectivityTests::class, 'Google_Service_NetworkManagement_Resource_ProjectsLocationsNetworkmanagementGlobalConnectivityTests');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement\Resource;
use Google\Service\NetworkManagement\CancelOperationRequest;
use Google\Service\NetworkManagement\ListOperationsResponse;
use Google\Service\NetworkManagement\NetworkmanagementEmpty;
use Google\Service\NetworkManagement\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $networkmanagementService = new Google\Service\NetworkManagement(...);
* $operations = $networkmanagementService->projects_locations_global_operations;
* </code>
*/
class ProjectsLocationsNetworkmanagementGlobalOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return NetworkmanagementEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], NetworkmanagementEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return NetworkmanagementEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], NetworkmanagementEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsLocationsNetworkmanagementGlobalOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsNetworkmanagementGlobalOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsNetworkmanagementGlobalOperations::class, 'Google_Service_NetworkManagement_Resource_ProjectsLocationsNetworkmanagementGlobalOperations');

View File

@@ -0,0 +1,147 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement\Resource;
use Google\Service\NetworkManagement\ListVpcFlowLogsConfigsResponse;
use Google\Service\NetworkManagement\Operation;
use Google\Service\NetworkManagement\VpcFlowLogsConfig;
/**
* The "vpcFlowLogsConfigs" collection of methods.
* Typical usage is:
* <code>
* $networkmanagementService = new Google\Service\NetworkManagement(...);
* $vpcFlowLogsConfigs = $networkmanagementService->projects_locations_vpcFlowLogsConfigs;
* </code>
*/
class ProjectsLocationsVpcFlowLogsConfigs extends \Google\Service\Resource
{
/**
* Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same
* settings already exists (even if the ID is different), the creation fails.
* Notes: 1. Creating a configuration with state=DISABLED will fail 2. The
* following fields are not considered as `settings` for the purpose of the
* check mentioned above, therefore - creating another configuration with the
* same fields but different values for the following fields will fail as well:
* * name * create_time * update_time * labels * description
* (vpcFlowLogsConfigs.create)
*
* @param string $parent Required. The parent resource of the VPC Flow Logs
* configuration to create: `projects/{project_id}/locations/global`
* @param VpcFlowLogsConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string vpcFlowLogsConfigId Required. ID of the
* `VpcFlowLogsConfig`.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, VpcFlowLogsConfig $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a specific `VpcFlowLogsConfig`. (vpcFlowLogsConfigs.delete)
*
* @param string $name Required. `VpcFlowLogsConfig` resource name using the
* form: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_lo
* gs_config}`
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets the details of a specific `VpcFlowLogsConfig`. (vpcFlowLogsConfigs.get)
*
* @param string $name Required. `VpcFlowLogsConfig` resource name using the
* form: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_lo
* gs_config}`
* @param array $optParams Optional parameters.
* @return VpcFlowLogsConfig
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], VpcFlowLogsConfig::class);
}
/**
* Lists all `VpcFlowLogsConfigs` in a given project.
* (vpcFlowLogsConfigs.listProjectsLocationsVpcFlowLogsConfigs)
*
* @param string $parent Required. The parent resource of the VpcFlowLogsConfig:
* `projects/{project_id}/locations/global`
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Lists the `VpcFlowLogsConfigs` that match
* the filter expression. A filter expression must use the supported [CEL logic
* operators] (https://cloud.google.com/vpc/docs/about-flow-logs-
* records#supported_cel_logic_operators).
* @opt_param string orderBy Optional. Field to use to sort the list.
* @opt_param int pageSize Optional. Number of `VpcFlowLogsConfigs` to return.
* @opt_param string pageToken Optional. Page token from an earlier query, as
* returned in `next_page_token`.
* @return ListVpcFlowLogsConfigsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsVpcFlowLogsConfigs($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListVpcFlowLogsConfigsResponse::class);
}
/**
* Updates an existing `VpcFlowLogsConfig`. If a configuration with the exact
* same settings already exists (even if the ID is different), the creation
* fails. Notes: 1. Updating a configuration with state=DISABLED will fail. 2.
* The following fields are not considered as `settings` for the purpose of the
* check mentioned above, therefore - updating another configuration with the
* same fields but different values for the following fields will fail as well:
* * name * create_time * update_time * labels * description
* (vpcFlowLogsConfigs.patch)
*
* @param string $name Identifier. Unique name of the configuration using the
* form: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_lo
* gs_config_id}`
* @param VpcFlowLogsConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask of fields to update. At least one
* path must be supplied in this field.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, VpcFlowLogsConfig $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsVpcFlowLogsConfigs::class, 'Google_Service_NetworkManagement_Resource_ProjectsLocationsVpcFlowLogsConfigs');

View File

@@ -0,0 +1,459 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class RouteInfo extends \Google\Collection
{
protected $collection_key = 'srcPortRanges';
/**
* @var string
*/
public $advertisedRouteNextHopUri;
/**
* @var string
*/
public $advertisedRouteSourceRouterUri;
/**
* @var string
*/
public $destIpRange;
/**
* @var string[]
*/
public $destPortRanges;
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $instanceTags;
/**
* @var string
*/
public $nccHubRouteUri;
/**
* @var string
*/
public $nccHubUri;
/**
* @var string
*/
public $nccSpokeUri;
/**
* @var string
*/
public $networkUri;
/**
* @var string
*/
public $nextHop;
/**
* @var string
*/
public $nextHopNetworkUri;
/**
* @var string
*/
public $nextHopType;
/**
* @var string
*/
public $nextHopUri;
/**
* @var string
*/
public $originatingRouteDisplayName;
/**
* @var string
*/
public $originatingRouteUri;
/**
* @var int
*/
public $priority;
/**
* @var string[]
*/
public $protocols;
/**
* @var string
*/
public $region;
/**
* @var string
*/
public $routeScope;
/**
* @var string
*/
public $routeType;
/**
* @var string
*/
public $srcIpRange;
/**
* @var string[]
*/
public $srcPortRanges;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setAdvertisedRouteNextHopUri($advertisedRouteNextHopUri)
{
$this->advertisedRouteNextHopUri = $advertisedRouteNextHopUri;
}
/**
* @return string
*/
public function getAdvertisedRouteNextHopUri()
{
return $this->advertisedRouteNextHopUri;
}
/**
* @param string
*/
public function setAdvertisedRouteSourceRouterUri($advertisedRouteSourceRouterUri)
{
$this->advertisedRouteSourceRouterUri = $advertisedRouteSourceRouterUri;
}
/**
* @return string
*/
public function getAdvertisedRouteSourceRouterUri()
{
return $this->advertisedRouteSourceRouterUri;
}
/**
* @param string
*/
public function setDestIpRange($destIpRange)
{
$this->destIpRange = $destIpRange;
}
/**
* @return string
*/
public function getDestIpRange()
{
return $this->destIpRange;
}
/**
* @param string[]
*/
public function setDestPortRanges($destPortRanges)
{
$this->destPortRanges = $destPortRanges;
}
/**
* @return string[]
*/
public function getDestPortRanges()
{
return $this->destPortRanges;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setInstanceTags($instanceTags)
{
$this->instanceTags = $instanceTags;
}
/**
* @return string[]
*/
public function getInstanceTags()
{
return $this->instanceTags;
}
/**
* @param string
*/
public function setNccHubRouteUri($nccHubRouteUri)
{
$this->nccHubRouteUri = $nccHubRouteUri;
}
/**
* @return string
*/
public function getNccHubRouteUri()
{
return $this->nccHubRouteUri;
}
/**
* @param string
*/
public function setNccHubUri($nccHubUri)
{
$this->nccHubUri = $nccHubUri;
}
/**
* @return string
*/
public function getNccHubUri()
{
return $this->nccHubUri;
}
/**
* @param string
*/
public function setNccSpokeUri($nccSpokeUri)
{
$this->nccSpokeUri = $nccSpokeUri;
}
/**
* @return string
*/
public function getNccSpokeUri()
{
return $this->nccSpokeUri;
}
/**
* @param string
*/
public function setNetworkUri($networkUri)
{
$this->networkUri = $networkUri;
}
/**
* @return string
*/
public function getNetworkUri()
{
return $this->networkUri;
}
/**
* @param string
*/
public function setNextHop($nextHop)
{
$this->nextHop = $nextHop;
}
/**
* @return string
*/
public function getNextHop()
{
return $this->nextHop;
}
/**
* @param string
*/
public function setNextHopNetworkUri($nextHopNetworkUri)
{
$this->nextHopNetworkUri = $nextHopNetworkUri;
}
/**
* @return string
*/
public function getNextHopNetworkUri()
{
return $this->nextHopNetworkUri;
}
/**
* @param string
*/
public function setNextHopType($nextHopType)
{
$this->nextHopType = $nextHopType;
}
/**
* @return string
*/
public function getNextHopType()
{
return $this->nextHopType;
}
/**
* @param string
*/
public function setNextHopUri($nextHopUri)
{
$this->nextHopUri = $nextHopUri;
}
/**
* @return string
*/
public function getNextHopUri()
{
return $this->nextHopUri;
}
/**
* @param string
*/
public function setOriginatingRouteDisplayName($originatingRouteDisplayName)
{
$this->originatingRouteDisplayName = $originatingRouteDisplayName;
}
/**
* @return string
*/
public function getOriginatingRouteDisplayName()
{
return $this->originatingRouteDisplayName;
}
/**
* @param string
*/
public function setOriginatingRouteUri($originatingRouteUri)
{
$this->originatingRouteUri = $originatingRouteUri;
}
/**
* @return string
*/
public function getOriginatingRouteUri()
{
return $this->originatingRouteUri;
}
/**
* @param int
*/
public function setPriority($priority)
{
$this->priority = $priority;
}
/**
* @return int
*/
public function getPriority()
{
return $this->priority;
}
/**
* @param string[]
*/
public function setProtocols($protocols)
{
$this->protocols = $protocols;
}
/**
* @return string[]
*/
public function getProtocols()
{
return $this->protocols;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string
*/
public function setRouteScope($routeScope)
{
$this->routeScope = $routeScope;
}
/**
* @return string
*/
public function getRouteScope()
{
return $this->routeScope;
}
/**
* @param string
*/
public function setRouteType($routeType)
{
$this->routeType = $routeType;
}
/**
* @return string
*/
public function getRouteType()
{
return $this->routeType;
}
/**
* @param string
*/
public function setSrcIpRange($srcIpRange)
{
$this->srcIpRange = $srcIpRange;
}
/**
* @return string
*/
public function getSrcIpRange()
{
return $this->srcIpRange;
}
/**
* @param string[]
*/
public function setSrcPortRanges($srcPortRanges)
{
$this->srcPortRanges = $srcPortRanges;
}
/**
* @return string[]
*/
public function getSrcPortRanges()
{
return $this->srcPortRanges;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RouteInfo::class, 'Google_Service_NetworkManagement_RouteInfo');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class ServerlessNegInfo extends \Google\Model
{
/**
* @var string
*/
public $negUri;
/**
* @param string
*/
public function setNegUri($negUri)
{
$this->negUri = $negUri;
}
/**
* @return string
*/
public function getNegUri()
{
return $this->negUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServerlessNegInfo::class, 'Google_Service_NetworkManagement_ServerlessNegInfo');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class SetIamPolicyRequest extends \Google\Model
{
protected $policyType = Policy::class;
protected $policyDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param Policy
*/
public function setPolicy(Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Policy
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SetIamPolicyRequest::class, 'Google_Service_NetworkManagement_SetIamPolicyRequest');

View File

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

View File

@@ -0,0 +1,530 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class Step extends \Google\Model
{
protected $abortType = AbortInfo::class;
protected $abortDataType = '';
protected $appEngineVersionType = AppEngineVersionInfo::class;
protected $appEngineVersionDataType = '';
/**
* @var bool
*/
public $causesDrop;
protected $cloudFunctionType = CloudFunctionInfo::class;
protected $cloudFunctionDataType = '';
protected $cloudRunRevisionType = CloudRunRevisionInfo::class;
protected $cloudRunRevisionDataType = '';
protected $cloudSqlInstanceType = CloudSQLInstanceInfo::class;
protected $cloudSqlInstanceDataType = '';
protected $deliverType = DeliverInfo::class;
protected $deliverDataType = '';
/**
* @var string
*/
public $description;
protected $dropType = DropInfo::class;
protected $dropDataType = '';
protected $endpointType = EndpointInfo::class;
protected $endpointDataType = '';
protected $firewallType = FirewallInfo::class;
protected $firewallDataType = '';
protected $forwardType = ForwardInfo::class;
protected $forwardDataType = '';
protected $forwardingRuleType = ForwardingRuleInfo::class;
protected $forwardingRuleDataType = '';
protected $gkeMasterType = GKEMasterInfo::class;
protected $gkeMasterDataType = '';
protected $googleServiceType = GoogleServiceInfo::class;
protected $googleServiceDataType = '';
protected $instanceType = InstanceInfo::class;
protected $instanceDataType = '';
protected $loadBalancerType = LoadBalancerInfo::class;
protected $loadBalancerDataType = '';
protected $loadBalancerBackendInfoType = LoadBalancerBackendInfo::class;
protected $loadBalancerBackendInfoDataType = '';
protected $natType = NatInfo::class;
protected $natDataType = '';
protected $networkType = NetworkInfo::class;
protected $networkDataType = '';
/**
* @var string
*/
public $projectId;
protected $proxyConnectionType = ProxyConnectionInfo::class;
protected $proxyConnectionDataType = '';
protected $redisClusterType = RedisClusterInfo::class;
protected $redisClusterDataType = '';
protected $redisInstanceType = RedisInstanceInfo::class;
protected $redisInstanceDataType = '';
protected $routeType = RouteInfo::class;
protected $routeDataType = '';
protected $serverlessNegType = ServerlessNegInfo::class;
protected $serverlessNegDataType = '';
/**
* @var string
*/
public $state;
protected $storageBucketType = StorageBucketInfo::class;
protected $storageBucketDataType = '';
protected $vpcConnectorType = VpcConnectorInfo::class;
protected $vpcConnectorDataType = '';
protected $vpnGatewayType = VpnGatewayInfo::class;
protected $vpnGatewayDataType = '';
protected $vpnTunnelType = VpnTunnelInfo::class;
protected $vpnTunnelDataType = '';
/**
* @param AbortInfo
*/
public function setAbort(AbortInfo $abort)
{
$this->abort = $abort;
}
/**
* @return AbortInfo
*/
public function getAbort()
{
return $this->abort;
}
/**
* @param AppEngineVersionInfo
*/
public function setAppEngineVersion(AppEngineVersionInfo $appEngineVersion)
{
$this->appEngineVersion = $appEngineVersion;
}
/**
* @return AppEngineVersionInfo
*/
public function getAppEngineVersion()
{
return $this->appEngineVersion;
}
/**
* @param bool
*/
public function setCausesDrop($causesDrop)
{
$this->causesDrop = $causesDrop;
}
/**
* @return bool
*/
public function getCausesDrop()
{
return $this->causesDrop;
}
/**
* @param CloudFunctionInfo
*/
public function setCloudFunction(CloudFunctionInfo $cloudFunction)
{
$this->cloudFunction = $cloudFunction;
}
/**
* @return CloudFunctionInfo
*/
public function getCloudFunction()
{
return $this->cloudFunction;
}
/**
* @param CloudRunRevisionInfo
*/
public function setCloudRunRevision(CloudRunRevisionInfo $cloudRunRevision)
{
$this->cloudRunRevision = $cloudRunRevision;
}
/**
* @return CloudRunRevisionInfo
*/
public function getCloudRunRevision()
{
return $this->cloudRunRevision;
}
/**
* @param CloudSQLInstanceInfo
*/
public function setCloudSqlInstance(CloudSQLInstanceInfo $cloudSqlInstance)
{
$this->cloudSqlInstance = $cloudSqlInstance;
}
/**
* @return CloudSQLInstanceInfo
*/
public function getCloudSqlInstance()
{
return $this->cloudSqlInstance;
}
/**
* @param DeliverInfo
*/
public function setDeliver(DeliverInfo $deliver)
{
$this->deliver = $deliver;
}
/**
* @return DeliverInfo
*/
public function getDeliver()
{
return $this->deliver;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param DropInfo
*/
public function setDrop(DropInfo $drop)
{
$this->drop = $drop;
}
/**
* @return DropInfo
*/
public function getDrop()
{
return $this->drop;
}
/**
* @param EndpointInfo
*/
public function setEndpoint(EndpointInfo $endpoint)
{
$this->endpoint = $endpoint;
}
/**
* @return EndpointInfo
*/
public function getEndpoint()
{
return $this->endpoint;
}
/**
* @param FirewallInfo
*/
public function setFirewall(FirewallInfo $firewall)
{
$this->firewall = $firewall;
}
/**
* @return FirewallInfo
*/
public function getFirewall()
{
return $this->firewall;
}
/**
* @param ForwardInfo
*/
public function setForward(ForwardInfo $forward)
{
$this->forward = $forward;
}
/**
* @return ForwardInfo
*/
public function getForward()
{
return $this->forward;
}
/**
* @param ForwardingRuleInfo
*/
public function setForwardingRule(ForwardingRuleInfo $forwardingRule)
{
$this->forwardingRule = $forwardingRule;
}
/**
* @return ForwardingRuleInfo
*/
public function getForwardingRule()
{
return $this->forwardingRule;
}
/**
* @param GKEMasterInfo
*/
public function setGkeMaster(GKEMasterInfo $gkeMaster)
{
$this->gkeMaster = $gkeMaster;
}
/**
* @return GKEMasterInfo
*/
public function getGkeMaster()
{
return $this->gkeMaster;
}
/**
* @param GoogleServiceInfo
*/
public function setGoogleService(GoogleServiceInfo $googleService)
{
$this->googleService = $googleService;
}
/**
* @return GoogleServiceInfo
*/
public function getGoogleService()
{
return $this->googleService;
}
/**
* @param InstanceInfo
*/
public function setInstance(InstanceInfo $instance)
{
$this->instance = $instance;
}
/**
* @return InstanceInfo
*/
public function getInstance()
{
return $this->instance;
}
/**
* @param LoadBalancerInfo
*/
public function setLoadBalancer(LoadBalancerInfo $loadBalancer)
{
$this->loadBalancer = $loadBalancer;
}
/**
* @return LoadBalancerInfo
*/
public function getLoadBalancer()
{
return $this->loadBalancer;
}
/**
* @param LoadBalancerBackendInfo
*/
public function setLoadBalancerBackendInfo(LoadBalancerBackendInfo $loadBalancerBackendInfo)
{
$this->loadBalancerBackendInfo = $loadBalancerBackendInfo;
}
/**
* @return LoadBalancerBackendInfo
*/
public function getLoadBalancerBackendInfo()
{
return $this->loadBalancerBackendInfo;
}
/**
* @param NatInfo
*/
public function setNat(NatInfo $nat)
{
$this->nat = $nat;
}
/**
* @return NatInfo
*/
public function getNat()
{
return $this->nat;
}
/**
* @param NetworkInfo
*/
public function setNetwork(NetworkInfo $network)
{
$this->network = $network;
}
/**
* @return NetworkInfo
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param ProxyConnectionInfo
*/
public function setProxyConnection(ProxyConnectionInfo $proxyConnection)
{
$this->proxyConnection = $proxyConnection;
}
/**
* @return ProxyConnectionInfo
*/
public function getProxyConnection()
{
return $this->proxyConnection;
}
/**
* @param RedisClusterInfo
*/
public function setRedisCluster(RedisClusterInfo $redisCluster)
{
$this->redisCluster = $redisCluster;
}
/**
* @return RedisClusterInfo
*/
public function getRedisCluster()
{
return $this->redisCluster;
}
/**
* @param RedisInstanceInfo
*/
public function setRedisInstance(RedisInstanceInfo $redisInstance)
{
$this->redisInstance = $redisInstance;
}
/**
* @return RedisInstanceInfo
*/
public function getRedisInstance()
{
return $this->redisInstance;
}
/**
* @param RouteInfo
*/
public function setRoute(RouteInfo $route)
{
$this->route = $route;
}
/**
* @return RouteInfo
*/
public function getRoute()
{
return $this->route;
}
/**
* @param ServerlessNegInfo
*/
public function setServerlessNeg(ServerlessNegInfo $serverlessNeg)
{
$this->serverlessNeg = $serverlessNeg;
}
/**
* @return ServerlessNegInfo
*/
public function getServerlessNeg()
{
return $this->serverlessNeg;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param StorageBucketInfo
*/
public function setStorageBucket(StorageBucketInfo $storageBucket)
{
$this->storageBucket = $storageBucket;
}
/**
* @return StorageBucketInfo
*/
public function getStorageBucket()
{
return $this->storageBucket;
}
/**
* @param VpcConnectorInfo
*/
public function setVpcConnector(VpcConnectorInfo $vpcConnector)
{
$this->vpcConnector = $vpcConnector;
}
/**
* @return VpcConnectorInfo
*/
public function getVpcConnector()
{
return $this->vpcConnector;
}
/**
* @param VpnGatewayInfo
*/
public function setVpnGateway(VpnGatewayInfo $vpnGateway)
{
$this->vpnGateway = $vpnGateway;
}
/**
* @return VpnGatewayInfo
*/
public function getVpnGateway()
{
return $this->vpnGateway;
}
/**
* @param VpnTunnelInfo
*/
public function setVpnTunnel(VpnTunnelInfo $vpnTunnel)
{
$this->vpnTunnel = $vpnTunnel;
}
/**
* @return VpnTunnelInfo
*/
public function getVpnTunnel()
{
return $this->vpnTunnel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Step::class, 'Google_Service_NetworkManagement_Step');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class StorageBucketInfo extends \Google\Model
{
/**
* @var string
*/
public $bucket;
/**
* @param string
*/
public function setBucket($bucket)
{
$this->bucket = $bucket;
}
/**
* @return string
*/
public function getBucket()
{
return $this->bucket;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StorageBucketInfo::class, 'Google_Service_NetworkManagement_StorageBucketInfo');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class TestIamPermissionsRequest extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* @var string[]
*/
public $permissions;
/**
* @param string[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIamPermissionsRequest::class, 'Google_Service_NetworkManagement_TestIamPermissionsRequest');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class TestIamPermissionsResponse extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* @var string[]
*/
public $permissions;
/**
* @param string[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIamPermissionsResponse::class, 'Google_Service_NetworkManagement_TestIamPermissionsResponse');

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.
*/
namespace Google\Service\NetworkManagement;
class Trace extends \Google\Collection
{
protected $collection_key = 'steps';
protected $endpointInfoType = EndpointInfo::class;
protected $endpointInfoDataType = '';
/**
* @var int
*/
public $forwardTraceId;
protected $stepsType = Step::class;
protected $stepsDataType = 'array';
/**
* @param EndpointInfo
*/
public function setEndpointInfo(EndpointInfo $endpointInfo)
{
$this->endpointInfo = $endpointInfo;
}
/**
* @return EndpointInfo
*/
public function getEndpointInfo()
{
return $this->endpointInfo;
}
/**
* @param int
*/
public function setForwardTraceId($forwardTraceId)
{
$this->forwardTraceId = $forwardTraceId;
}
/**
* @return int
*/
public function getForwardTraceId()
{
return $this->forwardTraceId;
}
/**
* @param Step[]
*/
public function setSteps($steps)
{
$this->steps = $steps;
}
/**
* @return Step[]
*/
public function getSteps()
{
return $this->steps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Trace::class, 'Google_Service_NetworkManagement_Trace');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class VpcConnectorInfo extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VpcConnectorInfo::class, 'Google_Service_NetworkManagement_VpcConnectorInfo');

View File

@@ -0,0 +1,279 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class VpcFlowLogsConfig extends \Google\Collection
{
protected $collection_key = 'metadataFields';
/**
* @var string
*/
public $aggregationInterval;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $filterExpr;
/**
* @var float
*/
public $flowSampling;
/**
* @var string
*/
public $interconnectAttachment;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $metadata;
/**
* @var string[]
*/
public $metadataFields;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $targetResourceState;
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $vpnTunnel;
/**
* @param string
*/
public function setAggregationInterval($aggregationInterval)
{
$this->aggregationInterval = $aggregationInterval;
}
/**
* @return string
*/
public function getAggregationInterval()
{
return $this->aggregationInterval;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setFilterExpr($filterExpr)
{
$this->filterExpr = $filterExpr;
}
/**
* @return string
*/
public function getFilterExpr()
{
return $this->filterExpr;
}
/**
* @param float
*/
public function setFlowSampling($flowSampling)
{
$this->flowSampling = $flowSampling;
}
/**
* @return float
*/
public function getFlowSampling()
{
return $this->flowSampling;
}
/**
* @param string
*/
public function setInterconnectAttachment($interconnectAttachment)
{
$this->interconnectAttachment = $interconnectAttachment;
}
/**
* @return string
*/
public function getInterconnectAttachment()
{
return $this->interconnectAttachment;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return string
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string[]
*/
public function setMetadataFields($metadataFields)
{
$this->metadataFields = $metadataFields;
}
/**
* @return string[]
*/
public function getMetadataFields()
{
return $this->metadataFields;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setTargetResourceState($targetResourceState)
{
$this->targetResourceState = $targetResourceState;
}
/**
* @return string
*/
public function getTargetResourceState()
{
return $this->targetResourceState;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setVpnTunnel($vpnTunnel)
{
$this->vpnTunnel = $vpnTunnel;
}
/**
* @return string
*/
public function getVpnTunnel()
{
return $this->vpnTunnel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VpcFlowLogsConfig::class, 'Google_Service_NetworkManagement_VpcFlowLogsConfig');

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class VpnGatewayInfo extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $ipAddress;
/**
* @var string
*/
public $networkUri;
/**
* @var string
*/
public $region;
/**
* @var string
*/
public $uri;
/**
* @var string
*/
public $vpnTunnelUri;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setIpAddress($ipAddress)
{
$this->ipAddress = $ipAddress;
}
/**
* @return string
*/
public function getIpAddress()
{
return $this->ipAddress;
}
/**
* @param string
*/
public function setNetworkUri($networkUri)
{
$this->networkUri = $networkUri;
}
/**
* @return string
*/
public function getNetworkUri()
{
return $this->networkUri;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
/**
* @param string
*/
public function setVpnTunnelUri($vpnTunnelUri)
{
$this->vpnTunnelUri = $vpnTunnelUri;
}
/**
* @return string
*/
public function getVpnTunnelUri()
{
return $this->vpnTunnelUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VpnGatewayInfo::class, 'Google_Service_NetworkManagement_VpnGatewayInfo');

View File

@@ -0,0 +1,188 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\NetworkManagement;
class VpnTunnelInfo extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $networkUri;
/**
* @var string
*/
public $region;
/**
* @var string
*/
public $remoteGateway;
/**
* @var string
*/
public $remoteGatewayIp;
/**
* @var string
*/
public $routingType;
/**
* @var string
*/
public $sourceGateway;
/**
* @var string
*/
public $sourceGatewayIp;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setNetworkUri($networkUri)
{
$this->networkUri = $networkUri;
}
/**
* @return string
*/
public function getNetworkUri()
{
return $this->networkUri;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string
*/
public function setRemoteGateway($remoteGateway)
{
$this->remoteGateway = $remoteGateway;
}
/**
* @return string
*/
public function getRemoteGateway()
{
return $this->remoteGateway;
}
/**
* @param string
*/
public function setRemoteGatewayIp($remoteGatewayIp)
{
$this->remoteGatewayIp = $remoteGatewayIp;
}
/**
* @return string
*/
public function getRemoteGatewayIp()
{
return $this->remoteGatewayIp;
}
/**
* @param string
*/
public function setRoutingType($routingType)
{
$this->routingType = $routingType;
}
/**
* @return string
*/
public function getRoutingType()
{
return $this->routingType;
}
/**
* @param string
*/
public function setSourceGateway($sourceGateway)
{
$this->sourceGateway = $sourceGateway;
}
/**
* @return string
*/
public function getSourceGateway()
{
return $this->sourceGateway;
}
/**
* @param string
*/
public function setSourceGatewayIp($sourceGatewayIp)
{
$this->sourceGatewayIp = $sourceGatewayIp;
}
/**
* @return string
*/
public function getSourceGatewayIp()
{
return $this->sourceGatewayIp;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VpnTunnelInfo::class, 'Google_Service_NetworkManagement_VpnTunnelInfo');