gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -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\GameServices;
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_GameServices_AuditConfig');
@@ -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\GameServices;
class AuditLogConfig extends \Google\Collection
{
protected $collection_key = 'exemptedMembers';
/**
* @var string[]
*/
public $exemptedMembers;
/**
* @var bool
*/
public $ignoreChildExemptions;
/**
* @var string
*/
public $logType;
/**
* @param string[]
*/
public function setExemptedMembers($exemptedMembers)
{
$this->exemptedMembers = $exemptedMembers;
}
/**
* @return string[]
*/
public function getExemptedMembers()
{
return $this->exemptedMembers;
}
/**
* @param bool
*/
public function setIgnoreChildExemptions($ignoreChildExemptions)
{
$this->ignoreChildExemptions = $ignoreChildExemptions;
}
/**
* @return bool
*/
public function getIgnoreChildExemptions()
{
return $this->ignoreChildExemptions;
}
/**
* @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_GameServices_AuditLogConfig');
@@ -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\GameServices;
class AuthorizationLoggingOptions extends \Google\Model
{
/**
* @var string
*/
public $permissionType;
/**
* @param string
*/
public function setPermissionType($permissionType)
{
$this->permissionType = $permissionType;
}
/**
* @return string
*/
public function getPermissionType()
{
return $this->permissionType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthorizationLoggingOptions::class, 'Google_Service_GameServices_AuthorizationLoggingOptions');
@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices;
class Binding extends \Google\Collection
{
protected $collection_key = 'members';
/**
* @var string
*/
public $bindingId;
protected $conditionType = Expr::class;
protected $conditionDataType = '';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param string
*/
public function setBindingId($bindingId)
{
$this->bindingId = $bindingId;
}
/**
* @return string
*/
public function getBindingId()
{
return $this->bindingId;
}
/**
* @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_GameServices_Binding');
@@ -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\GameServices;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_GameServices_CancelOperationRequest');
@@ -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\GameServices;
class CloudAuditOptions extends \Google\Model
{
protected $authorizationLoggingOptionsType = AuthorizationLoggingOptions::class;
protected $authorizationLoggingOptionsDataType = '';
/**
* @var string
*/
public $logName;
/**
* @param AuthorizationLoggingOptions
*/
public function setAuthorizationLoggingOptions(AuthorizationLoggingOptions $authorizationLoggingOptions)
{
$this->authorizationLoggingOptions = $authorizationLoggingOptions;
}
/**
* @return AuthorizationLoggingOptions
*/
public function getAuthorizationLoggingOptions()
{
return $this->authorizationLoggingOptions;
}
/**
* @param string
*/
public function setLogName($logName)
{
$this->logName = $logName;
}
/**
* @return string
*/
public function getLogName()
{
return $this->logName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAuditOptions::class, 'Google_Service_GameServices_CloudAuditOptions');
@@ -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\GameServices;
class Condition extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string
*/
public $iam;
/**
* @var string
*/
public $op;
/**
* @var string
*/
public $svc;
/**
* @var string
*/
public $sys;
/**
* @var string[]
*/
public $values;
/**
* @param string
*/
public function setIam($iam)
{
$this->iam = $iam;
}
/**
* @return string
*/
public function getIam()
{
return $this->iam;
}
/**
* @param string
*/
public function setOp($op)
{
$this->op = $op;
}
/**
* @return string
*/
public function getOp()
{
return $this->op;
}
/**
* @param string
*/
public function setSvc($svc)
{
$this->svc = $svc;
}
/**
* @return string
*/
public function getSvc()
{
return $this->svc;
}
/**
* @param string
*/
public function setSys($sys)
{
$this->sys = $sys;
}
/**
* @return string
*/
public function getSys()
{
return $this->sys;
}
/**
* @param string[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Condition::class, 'Google_Service_GameServices_Condition');
@@ -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\GameServices;
class CounterOptions extends \Google\Collection
{
protected $collection_key = 'customFields';
protected $customFieldsType = CustomField::class;
protected $customFieldsDataType = 'array';
/**
* @var string
*/
public $field;
/**
* @var string
*/
public $metric;
/**
* @param CustomField[]
*/
public function setCustomFields($customFields)
{
$this->customFields = $customFields;
}
/**
* @return CustomField[]
*/
public function getCustomFields()
{
return $this->customFields;
}
/**
* @param string
*/
public function setField($field)
{
$this->field = $field;
}
/**
* @return string
*/
public function getField()
{
return $this->field;
}
/**
* @param string
*/
public function setMetric($metric)
{
$this->metric = $metric;
}
/**
* @return string
*/
public function getMetric()
{
return $this->metric;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CounterOptions::class, 'Google_Service_GameServices_CounterOptions');
@@ -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\GameServices;
class CustomField extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomField::class, 'Google_Service_GameServices_CustomField');
@@ -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\GameServices;
class DataAccessOptions extends \Google\Model
{
/**
* @var string
*/
public $logMode;
/**
* @param string
*/
public function setLogMode($logMode)
{
$this->logMode = $logMode;
}
/**
* @return string
*/
public function getLogMode()
{
return $this->logMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataAccessOptions::class, 'Google_Service_GameServices_DataAccessOptions');
@@ -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\GameServices;
class DeployedClusterState extends \Google\Collection
{
protected $collection_key = 'fleetDetails';
/**
* @var string
*/
public $cluster;
protected $fleetDetailsType = DeployedFleetDetails::class;
protected $fleetDetailsDataType = 'array';
/**
* @param string
*/
public function setCluster($cluster)
{
$this->cluster = $cluster;
}
/**
* @return string
*/
public function getCluster()
{
return $this->cluster;
}
/**
* @param DeployedFleetDetails[]
*/
public function setFleetDetails($fleetDetails)
{
$this->fleetDetails = $fleetDetails;
}
/**
* @return DeployedFleetDetails[]
*/
public function getFleetDetails()
{
return $this->fleetDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeployedClusterState::class, 'Google_Service_GameServices_DeployedClusterState');
@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices;
class DeployedFleet extends \Google\Model
{
/**
* @var string
*/
public $fleet;
/**
* @var string
*/
public $fleetSpec;
protected $specSourceType = SpecSource::class;
protected $specSourceDataType = '';
protected $statusType = DeployedFleetStatus::class;
protected $statusDataType = '';
/**
* @param string
*/
public function setFleet($fleet)
{
$this->fleet = $fleet;
}
/**
* @return string
*/
public function getFleet()
{
return $this->fleet;
}
/**
* @param string
*/
public function setFleetSpec($fleetSpec)
{
$this->fleetSpec = $fleetSpec;
}
/**
* @return string
*/
public function getFleetSpec()
{
return $this->fleetSpec;
}
/**
* @param SpecSource
*/
public function setSpecSource(SpecSource $specSource)
{
$this->specSource = $specSource;
}
/**
* @return SpecSource
*/
public function getSpecSource()
{
return $this->specSource;
}
/**
* @param DeployedFleetStatus
*/
public function setStatus(DeployedFleetStatus $status)
{
$this->status = $status;
}
/**
* @return DeployedFleetStatus
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeployedFleet::class, 'Google_Service_GameServices_DeployedFleet');
@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices;
class DeployedFleetAutoscaler extends \Google\Model
{
/**
* @var string
*/
public $autoscaler;
/**
* @var string
*/
public $fleetAutoscalerSpec;
protected $specSourceType = SpecSource::class;
protected $specSourceDataType = '';
/**
* @param string
*/
public function setAutoscaler($autoscaler)
{
$this->autoscaler = $autoscaler;
}
/**
* @return string
*/
public function getAutoscaler()
{
return $this->autoscaler;
}
/**
* @param string
*/
public function setFleetAutoscalerSpec($fleetAutoscalerSpec)
{
$this->fleetAutoscalerSpec = $fleetAutoscalerSpec;
}
/**
* @return string
*/
public function getFleetAutoscalerSpec()
{
return $this->fleetAutoscalerSpec;
}
/**
* @param SpecSource
*/
public function setSpecSource(SpecSource $specSource)
{
$this->specSource = $specSource;
}
/**
* @return SpecSource
*/
public function getSpecSource()
{
return $this->specSource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeployedFleetAutoscaler::class, 'Google_Service_GameServices_DeployedFleetAutoscaler');
@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices;
class DeployedFleetDetails extends \Google\Model
{
protected $deployedAutoscalerType = DeployedFleetAutoscaler::class;
protected $deployedAutoscalerDataType = '';
protected $deployedFleetType = DeployedFleet::class;
protected $deployedFleetDataType = '';
/**
* @param DeployedFleetAutoscaler
*/
public function setDeployedAutoscaler(DeployedFleetAutoscaler $deployedAutoscaler)
{
$this->deployedAutoscaler = $deployedAutoscaler;
}
/**
* @return DeployedFleetAutoscaler
*/
public function getDeployedAutoscaler()
{
return $this->deployedAutoscaler;
}
/**
* @param DeployedFleet
*/
public function setDeployedFleet(DeployedFleet $deployedFleet)
{
$this->deployedFleet = $deployedFleet;
}
/**
* @return DeployedFleet
*/
public function getDeployedFleet()
{
return $this->deployedFleet;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeployedFleetDetails::class, 'Google_Service_GameServices_DeployedFleetDetails');
@@ -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\GameServices;
class DeployedFleetStatus extends \Google\Model
{
/**
* @var string
*/
public $allocatedReplicas;
/**
* @var string
*/
public $readyReplicas;
/**
* @var string
*/
public $replicas;
/**
* @var string
*/
public $reservedReplicas;
/**
* @param string
*/
public function setAllocatedReplicas($allocatedReplicas)
{
$this->allocatedReplicas = $allocatedReplicas;
}
/**
* @return string
*/
public function getAllocatedReplicas()
{
return $this->allocatedReplicas;
}
/**
* @param string
*/
public function setReadyReplicas($readyReplicas)
{
$this->readyReplicas = $readyReplicas;
}
/**
* @return string
*/
public function getReadyReplicas()
{
return $this->readyReplicas;
}
/**
* @param string
*/
public function setReplicas($replicas)
{
$this->replicas = $replicas;
}
/**
* @return string
*/
public function getReplicas()
{
return $this->replicas;
}
/**
* @param string
*/
public function setReservedReplicas($reservedReplicas)
{
$this->reservedReplicas = $reservedReplicas;
}
/**
* @return string
*/
public function getReservedReplicas()
{
return $this->reservedReplicas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeployedFleetStatus::class, 'Google_Service_GameServices_DeployedFleetStatus');
@@ -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\GameServices;
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_GameServices_Expr');
@@ -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\GameServices;
class FetchDeploymentStateRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchDeploymentStateRequest::class, 'Google_Service_GameServices_FetchDeploymentStateRequest');
@@ -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\GameServices;
class FetchDeploymentStateResponse extends \Google\Collection
{
protected $collection_key = 'unavailable';
protected $clusterStateType = DeployedClusterState::class;
protected $clusterStateDataType = 'array';
/**
* @var string[]
*/
public $unavailable;
/**
* @param DeployedClusterState[]
*/
public function setClusterState($clusterState)
{
$this->clusterState = $clusterState;
}
/**
* @return DeployedClusterState[]
*/
public function getClusterState()
{
return $this->clusterState;
}
/**
* @param string[]
*/
public function setUnavailable($unavailable)
{
$this->unavailable = $unavailable;
}
/**
* @return string[]
*/
public function getUnavailable()
{
return $this->unavailable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchDeploymentStateResponse::class, 'Google_Service_GameServices_FetchDeploymentStateResponse');
@@ -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\GameServices;
class FleetConfig extends \Google\Model
{
/**
* @var string
*/
public $fleetSpec;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setFleetSpec($fleetSpec)
{
$this->fleetSpec = $fleetSpec;
}
/**
* @return string
*/
public function getFleetSpec()
{
return $this->fleetSpec;
}
/**
* @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(FleetConfig::class, 'Google_Service_GameServices_FleetConfig');
@@ -0,0 +1,166 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices;
class GameServerCluster extends \Google\Model
{
protected $clusterStateType = KubernetesClusterState::class;
protected $clusterStateDataType = '';
protected $connectionInfoType = GameServerClusterConnectionInfo::class;
protected $connectionInfoDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $updateTime;
/**
* @param KubernetesClusterState
*/
public function setClusterState(KubernetesClusterState $clusterState)
{
$this->clusterState = $clusterState;
}
/**
* @return KubernetesClusterState
*/
public function getClusterState()
{
return $this->clusterState;
}
/**
* @param GameServerClusterConnectionInfo
*/
public function setConnectionInfo(GameServerClusterConnectionInfo $connectionInfo)
{
$this->connectionInfo = $connectionInfo;
}
/**
* @return GameServerClusterConnectionInfo
*/
public function getConnectionInfo()
{
return $this->connectionInfo;
}
/**
* @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 setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @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 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(GameServerCluster::class, 'Google_Service_GameServices_GameServerCluster');
@@ -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\GameServices;
class GameServerClusterConnectionInfo extends \Google\Model
{
protected $gkeClusterReferenceType = GkeClusterReference::class;
protected $gkeClusterReferenceDataType = '';
/**
* @var string
*/
public $namespace;
/**
* @param GkeClusterReference
*/
public function setGkeClusterReference(GkeClusterReference $gkeClusterReference)
{
$this->gkeClusterReference = $gkeClusterReference;
}
/**
* @return GkeClusterReference
*/
public function getGkeClusterReference()
{
return $this->gkeClusterReference;
}
/**
* @param string
*/
public function setNamespace($namespace)
{
$this->namespace = $namespace;
}
/**
* @return string
*/
public function getNamespace()
{
return $this->namespace;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GameServerClusterConnectionInfo::class, 'Google_Service_GameServices_GameServerClusterConnectionInfo');
@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices;
class GameServerConfig extends \Google\Collection
{
protected $collection_key = 'scalingConfigs';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
protected $fleetConfigsType = FleetConfig::class;
protected $fleetConfigsDataType = 'array';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
protected $scalingConfigsType = ScalingConfig::class;
protected $scalingConfigsDataType = 'array';
/**
* @var string
*/
public $updateTime;
/**
* @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 FleetConfig[]
*/
public function setFleetConfigs($fleetConfigs)
{
$this->fleetConfigs = $fleetConfigs;
}
/**
* @return FleetConfig[]
*/
public function getFleetConfigs()
{
return $this->fleetConfigs;
}
/**
* @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 ScalingConfig[]
*/
public function setScalingConfigs($scalingConfigs)
{
$this->scalingConfigs = $scalingConfigs;
}
/**
* @return ScalingConfig[]
*/
public function getScalingConfigs()
{
return $this->scalingConfigs;
}
/**
* @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(GameServerConfig::class, 'Google_Service_GameServices_GameServerConfig');
@@ -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\GameServices;
class GameServerConfigOverride extends \Google\Model
{
/**
* @var string
*/
public $configVersion;
protected $realmsSelectorType = RealmSelector::class;
protected $realmsSelectorDataType = '';
/**
* @param string
*/
public function setConfigVersion($configVersion)
{
$this->configVersion = $configVersion;
}
/**
* @return string
*/
public function getConfigVersion()
{
return $this->configVersion;
}
/**
* @param RealmSelector
*/
public function setRealmsSelector(RealmSelector $realmsSelector)
{
$this->realmsSelector = $realmsSelector;
}
/**
* @return RealmSelector
*/
public function getRealmsSelector()
{
return $this->realmsSelector;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GameServerConfigOverride::class, 'Google_Service_GameServices_GameServerConfigOverride');
@@ -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\GameServices;
class GameServerDeployment extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $updateTime;
/**
* @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 setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @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 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(GameServerDeployment::class, 'Google_Service_GameServices_GameServerDeployment');
@@ -0,0 +1,133 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices;
class GameServerDeploymentRollout extends \Google\Collection
{
protected $collection_key = 'gameServerConfigOverrides';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $defaultGameServerConfig;
/**
* @var string
*/
public $etag;
protected $gameServerConfigOverridesType = GameServerConfigOverride::class;
protected $gameServerConfigOverridesDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDefaultGameServerConfig($defaultGameServerConfig)
{
$this->defaultGameServerConfig = $defaultGameServerConfig;
}
/**
* @return string
*/
public function getDefaultGameServerConfig()
{
return $this->defaultGameServerConfig;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param GameServerConfigOverride[]
*/
public function setGameServerConfigOverrides($gameServerConfigOverrides)
{
$this->gameServerConfigOverrides = $gameServerConfigOverrides;
}
/**
* @return GameServerConfigOverride[]
*/
public function getGameServerConfigOverrides()
{
return $this->gameServerConfigOverrides;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @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(GameServerDeploymentRollout::class, 'Google_Service_GameServices_GameServerDeploymentRollout');
@@ -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\GameServices;
class GameservicesEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GameservicesEmpty::class, 'Google_Service_GameServices_GameservicesEmpty');
@@ -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\GameServices;
class GkeClusterReference extends \Google\Model
{
/**
* @var string
*/
public $cluster;
/**
* @param string
*/
public function setCluster($cluster)
{
$this->cluster = $cluster;
}
/**
* @return string
*/
public function getCluster()
{
return $this->cluster;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GkeClusterReference::class, 'Google_Service_GameServices_GkeClusterReference');
@@ -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\GameServices;
class KubernetesClusterState extends \Google\Model
{
/**
* @var string
*/
public $agonesVersionInstalled;
/**
* @var string
*/
public $agonesVersionTargeted;
/**
* @var string
*/
public $installationState;
/**
* @var string
*/
public $kubernetesVersionInstalled;
/**
* @var string
*/
public $provider;
/**
* @var string
*/
public $versionInstalledErrorMessage;
/**
* @param string
*/
public function setAgonesVersionInstalled($agonesVersionInstalled)
{
$this->agonesVersionInstalled = $agonesVersionInstalled;
}
/**
* @return string
*/
public function getAgonesVersionInstalled()
{
return $this->agonesVersionInstalled;
}
/**
* @param string
*/
public function setAgonesVersionTargeted($agonesVersionTargeted)
{
$this->agonesVersionTargeted = $agonesVersionTargeted;
}
/**
* @return string
*/
public function getAgonesVersionTargeted()
{
return $this->agonesVersionTargeted;
}
/**
* @param string
*/
public function setInstallationState($installationState)
{
$this->installationState = $installationState;
}
/**
* @return string
*/
public function getInstallationState()
{
return $this->installationState;
}
/**
* @param string
*/
public function setKubernetesVersionInstalled($kubernetesVersionInstalled)
{
$this->kubernetesVersionInstalled = $kubernetesVersionInstalled;
}
/**
* @return string
*/
public function getKubernetesVersionInstalled()
{
return $this->kubernetesVersionInstalled;
}
/**
* @param string
*/
public function setProvider($provider)
{
$this->provider = $provider;
}
/**
* @return string
*/
public function getProvider()
{
return $this->provider;
}
/**
* @param string
*/
public function setVersionInstalledErrorMessage($versionInstalledErrorMessage)
{
$this->versionInstalledErrorMessage = $versionInstalledErrorMessage;
}
/**
* @return string
*/
public function getVersionInstalledErrorMessage()
{
return $this->versionInstalledErrorMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(KubernetesClusterState::class, 'Google_Service_GameServices_KubernetesClusterState');
@@ -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\GameServices;
class LabelSelector extends \Google\Model
{
/**
* @var string[]
*/
public $labels;
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LabelSelector::class, 'Google_Service_GameServices_LabelSelector');
@@ -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\GameServices;
class ListGameServerClustersResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $gameServerClustersType = GameServerCluster::class;
protected $gameServerClustersDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param GameServerCluster[]
*/
public function setGameServerClusters($gameServerClusters)
{
$this->gameServerClusters = $gameServerClusters;
}
/**
* @return GameServerCluster[]
*/
public function getGameServerClusters()
{
return $this->gameServerClusters;
}
/**
* @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;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListGameServerClustersResponse::class, 'Google_Service_GameServices_ListGameServerClustersResponse');
@@ -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\GameServices;
class ListGameServerConfigsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $gameServerConfigsType = GameServerConfig::class;
protected $gameServerConfigsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param GameServerConfig[]
*/
public function setGameServerConfigs($gameServerConfigs)
{
$this->gameServerConfigs = $gameServerConfigs;
}
/**
* @return GameServerConfig[]
*/
public function getGameServerConfigs()
{
return $this->gameServerConfigs;
}
/**
* @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;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListGameServerConfigsResponse::class, 'Google_Service_GameServices_ListGameServerConfigsResponse');
@@ -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\GameServices;
class ListGameServerDeploymentsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $gameServerDeploymentsType = GameServerDeployment::class;
protected $gameServerDeploymentsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param GameServerDeployment[]
*/
public function setGameServerDeployments($gameServerDeployments)
{
$this->gameServerDeployments = $gameServerDeployments;
}
/**
* @return GameServerDeployment[]
*/
public function getGameServerDeployments()
{
return $this->gameServerDeployments;
}
/**
* @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;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListGameServerDeploymentsResponse::class, 'Google_Service_GameServices_ListGameServerDeploymentsResponse');
@@ -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\GameServices;
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_GameServices_ListLocationsResponse');
@@ -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\GameServices;
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_GameServices_ListOperationsResponse');
@@ -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\GameServices;
class ListRealmsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $realmsType = Realm::class;
protected $realmsDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Realm[]
*/
public function setRealms($realms)
{
$this->realms = $realms;
}
/**
* @return Realm[]
*/
public function getRealms()
{
return $this->realms;
}
/**
* @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(ListRealmsResponse::class, 'Google_Service_GameServices_ListRealmsResponse');
@@ -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\GameServices;
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_GameServices_Location');
@@ -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\GameServices;
class LogConfig extends \Google\Model
{
protected $cloudAuditType = CloudAuditOptions::class;
protected $cloudAuditDataType = '';
protected $counterType = CounterOptions::class;
protected $counterDataType = '';
protected $dataAccessType = DataAccessOptions::class;
protected $dataAccessDataType = '';
/**
* @param CloudAuditOptions
*/
public function setCloudAudit(CloudAuditOptions $cloudAudit)
{
$this->cloudAudit = $cloudAudit;
}
/**
* @return CloudAuditOptions
*/
public function getCloudAudit()
{
return $this->cloudAudit;
}
/**
* @param CounterOptions
*/
public function setCounter(CounterOptions $counter)
{
$this->counter = $counter;
}
/**
* @return CounterOptions
*/
public function getCounter()
{
return $this->counter;
}
/**
* @param DataAccessOptions
*/
public function setDataAccess(DataAccessOptions $dataAccess)
{
$this->dataAccess = $dataAccess;
}
/**
* @return DataAccessOptions
*/
public function getDataAccess()
{
return $this->dataAccess;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LogConfig::class, 'Google_Service_GameServices_LogConfig');
@@ -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\GameServices;
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_GameServices_Operation');
@@ -0,0 +1,187 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices;
class OperationMetadata extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
protected $operationStatusType = OperationStatus::class;
protected $operationStatusDataType = 'map';
/**
* @var bool
*/
public $requestedCancellation;
/**
* @var string
*/
public $statusMessage;
/**
* @var string
*/
public $target;
/**
* @var string[]
*/
public $unreachable;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @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 OperationStatus[]
*/
public function setOperationStatus($operationStatus)
{
$this->operationStatus = $operationStatus;
}
/**
* @return OperationStatus[]
*/
public function getOperationStatus()
{
return $this->operationStatus;
}
/**
* @param bool
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
/**
* @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_GameServices_OperationMetadata');
@@ -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\GameServices;
class OperationStatus extends \Google\Model
{
/**
* @var bool
*/
public $done;
/**
* @var string
*/
public $errorCode;
/**
* @var string
*/
public $errorMessage;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param string
*/
public function setErrorCode($errorCode)
{
$this->errorCode = $errorCode;
}
/**
* @return string
*/
public function getErrorCode()
{
return $this->errorCode;
}
/**
* @param string
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationStatus::class, 'Google_Service_GameServices_OperationStatus');
@@ -0,0 +1,111 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices;
class Policy extends \Google\Collection
{
protected $collection_key = 'rules';
protected $auditConfigsType = AuditConfig::class;
protected $auditConfigsDataType = 'array';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
protected $rulesType = Rule::class;
protected $rulesDataType = 'array';
/**
* @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 Rule[]
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return Rule[]
*/
public function getRules()
{
return $this->rules;
}
/**
* @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_GameServices_Policy');
@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices;
class PreviewCreateGameServerClusterResponse extends \Google\Model
{
protected $clusterStateType = KubernetesClusterState::class;
protected $clusterStateDataType = '';
/**
* @var string
*/
public $etag;
protected $targetStateType = TargetState::class;
protected $targetStateDataType = '';
/**
* @param KubernetesClusterState
*/
public function setClusterState(KubernetesClusterState $clusterState)
{
$this->clusterState = $clusterState;
}
/**
* @return KubernetesClusterState
*/
public function getClusterState()
{
return $this->clusterState;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param TargetState
*/
public function setTargetState(TargetState $targetState)
{
$this->targetState = $targetState;
}
/**
* @return TargetState
*/
public function getTargetState()
{
return $this->targetState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PreviewCreateGameServerClusterResponse::class, 'Google_Service_GameServices_PreviewCreateGameServerClusterResponse');
@@ -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\GameServices;
class PreviewDeleteGameServerClusterResponse extends \Google\Model
{
/**
* @var string
*/
public $etag;
protected $targetStateType = TargetState::class;
protected $targetStateDataType = '';
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param TargetState
*/
public function setTargetState(TargetState $targetState)
{
$this->targetState = $targetState;
}
/**
* @return TargetState
*/
public function getTargetState()
{
return $this->targetState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PreviewDeleteGameServerClusterResponse::class, 'Google_Service_GameServices_PreviewDeleteGameServerClusterResponse');
@@ -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\GameServices;
class PreviewGameServerDeploymentRolloutResponse extends \Google\Collection
{
protected $collection_key = 'unavailable';
/**
* @var string
*/
public $etag;
protected $targetStateType = TargetState::class;
protected $targetStateDataType = '';
/**
* @var string[]
*/
public $unavailable;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param TargetState
*/
public function setTargetState(TargetState $targetState)
{
$this->targetState = $targetState;
}
/**
* @return TargetState
*/
public function getTargetState()
{
return $this->targetState;
}
/**
* @param string[]
*/
public function setUnavailable($unavailable)
{
$this->unavailable = $unavailable;
}
/**
* @return string[]
*/
public function getUnavailable()
{
return $this->unavailable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PreviewGameServerDeploymentRolloutResponse::class, 'Google_Service_GameServices_PreviewGameServerDeploymentRolloutResponse');
@@ -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\GameServices;
class PreviewRealmUpdateResponse extends \Google\Model
{
/**
* @var string
*/
public $etag;
protected $targetStateType = TargetState::class;
protected $targetStateDataType = '';
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param TargetState
*/
public function setTargetState(TargetState $targetState)
{
$this->targetState = $targetState;
}
/**
* @return TargetState
*/
public function getTargetState()
{
return $this->targetState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PreviewRealmUpdateResponse::class, 'Google_Service_GameServices_PreviewRealmUpdateResponse');
@@ -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\GameServices;
class PreviewUpdateGameServerClusterResponse extends \Google\Model
{
/**
* @var string
*/
public $etag;
protected $targetStateType = TargetState::class;
protected $targetStateDataType = '';
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param TargetState
*/
public function setTargetState(TargetState $targetState)
{
$this->targetState = $targetState;
}
/**
* @return TargetState
*/
public function getTargetState()
{
return $this->targetState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PreviewUpdateGameServerClusterResponse::class, 'Google_Service_GameServices_PreviewUpdateGameServerClusterResponse');
@@ -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\GameServices;
class Realm extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $timeZone;
/**
* @var string
*/
public $updateTime;
/**
* @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 setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @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 string
*/
public function setTimeZone($timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return string
*/
public function getTimeZone()
{
return $this->timeZone;
}
/**
* @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(Realm::class, 'Google_Service_GameServices_Realm');
@@ -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\GameServices;
class RealmSelector extends \Google\Collection
{
protected $collection_key = 'realms';
/**
* @var string[]
*/
public $realms;
/**
* @param string[]
*/
public function setRealms($realms)
{
$this->realms = $realms;
}
/**
* @return string[]
*/
public function getRealms()
{
return $this->realms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RealmSelector::class, 'Google_Service_GameServices_RealmSelector');
@@ -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\GameServices\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $gameservicesService = new Google\Service\GameServices(...);
* $projects = $gameservicesService->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_GameServices_Resource_Projects');
@@ -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\GameServices\Resource;
use Google\Service\GameServices\ListLocationsResponse;
use Google\Service\GameServices\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $gameservicesService = new Google\Service\GameServices(...);
* $locations = $gameservicesService->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
*/
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 bool includeUnrevealedLocations If true, the returned list will
* include locations which are not yet revealed.
* @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
*/
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_GameServices_Resource_ProjectsLocations');
@@ -0,0 +1,110 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices\Resource;
use Google\Service\GameServices\Policy;
use Google\Service\GameServices\SetIamPolicyRequest;
use Google\Service\GameServices\TestIamPermissionsRequest;
use Google\Service\GameServices\TestIamPermissionsResponse;
/**
* The "gameServerDeployments" collection of methods.
* Typical usage is:
* <code>
* $gameservicesService = new Google\Service\GameServices(...);
* $gameServerDeployments = $gameservicesService->projects_locations_gameServerDeployments;
* </code>
*/
class ProjectsLocationsGameServerDeployments extends \Google\Service\Resource
{
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set.
* (gameServerDeployments.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
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (gameServerDeployments.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
*/
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.
* (gameServerDeployments.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
*/
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(ProjectsLocationsGameServerDeployments::class, 'Google_Service_GameServices_Resource_ProjectsLocationsGameServerDeployments');
@@ -0,0 +1,119 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices\Resource;
use Google\Service\GameServices\GameServerConfig;
use Google\Service\GameServices\ListGameServerConfigsResponse;
use Google\Service\GameServices\Operation;
/**
* The "configs" collection of methods.
* Typical usage is:
* <code>
* $gameservicesService = new Google\Service\GameServices(...);
* $configs = $gameservicesService->configs;
* </code>
*/
class ProjectsLocationsGameServerDeploymentsConfigs extends \Google\Service\Resource
{
/**
* Creates a new game server config in a given project, location, and game
* server deployment. Game server configs are immutable, and are not applied
* until referenced in the game server deployment rollout resource.
* (configs.create)
*
* @param string $parent Required. The parent resource name, in the following
* form: `projects/{project}/locations/{locationId}/gameServerDeployments/{deplo
* ymentId}/`.
* @param GameServerConfig $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string configId Required. The ID of the game server config
* resource to create.
* @return Operation
*/
public function create($parent, GameServerConfig $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a single game server config. The deletion fails if the game server
* config is referenced in a game server deployment rollout. (configs.delete)
*
* @param string $name Required. The name of the game server config to delete,
* in the following form: `projects/{project}/locations/{locationId}/gameServerD
* eployments/{deploymentId}/configs/{configId}`.
* @param array $optParams Optional parameters.
* @return Operation
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a single game server config. (configs.get)
*
* @param string $name Required. The name of the game server config to retrieve,
* in the following form: `projects/{project}/locations/{locationId}/gameServerD
* eployments/{deploymentId}/configs/{configId}`.
* @param array $optParams Optional parameters.
* @return GameServerConfig
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GameServerConfig::class);
}
/**
* Lists game server configs in a given project, location, and game server
* deployment. (configs.listProjectsLocationsGameServerDeploymentsConfigs)
*
* @param string $parent Required. The parent resource name, in the following
* form: `projects/{project}/locations/{locationId}/gameServerDeployments/{deplo
* ymentId}/configs`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. The filter to apply to list results (see
* [Filtering](https://google.aip.dev/160)).
* @opt_param string orderBy Optional. Specifies the ordering of results
* following [Cloud API
* syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order).
* @opt_param int pageSize Optional. The maximum number of items to return. If
* unspecified, the server picks an appropriate default. The server may return
* fewer items than requested. A caller should only rely on response's
* next_page_token to determine if there are more GameServerConfigs left to be
* queried.
* @opt_param string pageToken Optional. The next_page_token value returned from
* a previous list request, if any.
* @return ListGameServerConfigsResponse
*/
public function listProjectsLocationsGameServerDeploymentsConfigs($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListGameServerConfigsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsGameServerDeploymentsConfigs::class, 'Google_Service_GameServices_Resource_ProjectsLocationsGameServerDeploymentsConfigs');
@@ -0,0 +1,110 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices\Resource;
use Google\Service\GameServices\CancelOperationRequest;
use Google\Service\GameServices\GameservicesEmpty;
use Google\Service\GameServices\ListOperationsResponse;
use Google\Service\GameServices\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $gameservicesService = new Google\Service\GameServices(...);
* $operations = $gameservicesService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations 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 GameservicesEmpty
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], GameservicesEmpty::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 GameservicesEmpty
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], GameservicesEmpty::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
*/
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.listProjectsLocationsOperations)
*
* @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
*/
public function listProjectsLocationsOperations($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(ProjectsLocationsOperations::class, 'Google_Service_GameServices_Resource_ProjectsLocationsOperations');
@@ -0,0 +1,154 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices\Resource;
use Google\Service\GameServices\ListRealmsResponse;
use Google\Service\GameServices\Operation;
use Google\Service\GameServices\PreviewRealmUpdateResponse;
use Google\Service\GameServices\Realm;
/**
* The "realms" collection of methods.
* Typical usage is:
* <code>
* $gameservicesService = new Google\Service\GameServices(...);
* $realms = $gameservicesService->realms;
* </code>
*/
class ProjectsLocationsRealms extends \Google\Service\Resource
{
/**
* Creates a new realm in a given project and location. (realms.create)
*
* @param string $parent Required. The parent resource name, in the following
* form: `projects/{project}/locations/{locationId}`.
* @param Realm $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string realmId Required. The ID of the realm resource to create.
* @return Operation
*/
public function create($parent, Realm $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a single realm. (realms.delete)
*
* @param string $name Required. The name of the realm to delete, in the
* following form: `projects/{project}/locations/{locationId}/realms/{realmId}`.
* @param array $optParams Optional parameters.
* @return Operation
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a single realm. (realms.get)
*
* @param string $name Required. The name of the realm to retrieve, in the
* following form: `projects/{project}/locations/{locationId}/realms/{realmId}`.
* @param array $optParams Optional parameters.
* @return Realm
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Realm::class);
}
/**
* Lists realms in a given project and location.
* (realms.listProjectsLocationsRealms)
*
* @param string $parent Required. The parent resource name, in the following
* form: `projects/{project}/locations/{locationId}`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. The filter to apply to list results (see
* [Filtering](https://google.aip.dev/160)).
* @opt_param string orderBy Optional. Specifies the ordering of results
* following [Cloud API
* syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order).
* @opt_param int pageSize Optional. The maximum number of items to return. If
* unspecified, the server picks an appropriate default. The server may return
* fewer items than requested. A caller should only rely on the response's
* next_page_token to determine if there are more realms left to be queried.
* @opt_param string pageToken Optional. The next_page_token value returned from
* a previous list request, if any.
* @return ListRealmsResponse
*/
public function listProjectsLocationsRealms($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListRealmsResponse::class);
}
/**
* Patches a single realm. (realms.patch)
*
* @param string $name The resource name of the realm, in the following form:
* `projects/{project}/locations/{locationId}/realms/{realmId}`. For example,
* `projects/my-project/locations/global/realms/my-realm`.
* @param Realm $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. The update mask to apply to the
* resource. For more information, see the [`FieldMask`
* definition](https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmask).
* @return Operation
*/
public function patch($name, Realm $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Previews patches to a single realm. (realms.previewUpdate)
*
* @param string $name The resource name of the realm, in the following form:
* `projects/{project}/locations/{locationId}/realms/{realmId}`. For example,
* `projects/my-project/locations/global/realms/my-realm`.
* @param Realm $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string previewTime Optional. The target timestamp to compute the
* preview.
* @opt_param string updateMask Required. The update mask to apply to the
* resource. For more information, see the [`FieldMask`
* definition](https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmask).
* @return PreviewRealmUpdateResponse
*/
public function previewUpdate($name, Realm $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('previewUpdate', [$params], PreviewRealmUpdateResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsRealms::class, 'Google_Service_GameServices_Resource_ProjectsLocationsRealms');
@@ -0,0 +1,218 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices\Resource;
use Google\Service\GameServices\GameServerCluster;
use Google\Service\GameServices\ListGameServerClustersResponse;
use Google\Service\GameServices\Operation;
use Google\Service\GameServices\PreviewCreateGameServerClusterResponse;
use Google\Service\GameServices\PreviewDeleteGameServerClusterResponse;
use Google\Service\GameServices\PreviewUpdateGameServerClusterResponse;
/**
* The "gameServerClusters" collection of methods.
* Typical usage is:
* <code>
* $gameservicesService = new Google\Service\GameServices(...);
* $gameServerClusters = $gameservicesService->gameServerClusters;
* </code>
*/
class ProjectsLocationsRealmsGameServerClusters extends \Google\Service\Resource
{
/**
* Creates a new game server cluster in a given project and location.
* (gameServerClusters.create)
*
* @param string $parent Required. The parent resource name, in the following
* form: `projects/{project}/locations/{locationId}/realms/{realmId}`.
* @param GameServerCluster $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string gameServerClusterId Required. The ID of the game server
* cluster resource to create.
* @return Operation
*/
public function create($parent, GameServerCluster $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a single game server cluster. (gameServerClusters.delete)
*
* @param string $name Required. The name of the game server cluster to delete,
* in the following form: `projects/{project}/locations/{locationId}/gameServerC
* lusters/{gameServerClusterId}`.
* @param array $optParams Optional parameters.
* @return Operation
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a single game server cluster. (gameServerClusters.get)
*
* @param string $name Required. The name of the game server cluster to
* retrieve, in the following form: `projects/{project}/locations/{locationId}/r
* ealms/{realmId}/gameServerClusters/{gameServerClusterId}`.
* @param array $optParams Optional parameters.
*
* @opt_param string view Optional. View for the returned GameServerCluster
* objects. When `FULL` is specified, the `cluster_state` field is also returned
* in the GameServerCluster object, which includes the state of the referenced
* Kubernetes cluster such as versions and provider info. The default/unset
* value is `GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED`, the same as `BASIC`, which
* does not return the `cluster_state` field.
* @return GameServerCluster
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GameServerCluster::class);
}
/**
* Lists game server clusters in a given project and location.
* (gameServerClusters.listProjectsLocationsRealmsGameServerClusters)
*
* @param string $parent Required. The parent resource name, in the following
* form: `projects/{project}/locations/{locationId}/realms/{realmId}`.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. The filter to apply to list results (see
* [Filtering](https://google.aip.dev/160)).
* @opt_param string orderBy Optional. Specifies the ordering of results
* following [Cloud API
* syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order).
* @opt_param int pageSize Optional. The maximum number of items to return. If
* unspecified, the server picks an appropriate default. The server may return
* fewer items than requested. A caller should only rely on response's
* next_page_token to determine if there are more GameServerClusters left to be
* queried.
* @opt_param string pageToken Optional. The next_page_token value returned from
* a previous list request, if any.
* @opt_param string view Optional. View for the returned GameServerCluster
* objects. When `FULL` is specified, the `cluster_state` field is also returned
* in the GameServerCluster object, which includes the state of the referenced
* Kubernetes cluster such as versions and provider info. The default/unset
* value is `GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED`, the same as `BASIC`, which
* does not return the `cluster_state` field.
* @return ListGameServerClustersResponse
*/
public function listProjectsLocationsRealmsGameServerClusters($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListGameServerClustersResponse::class);
}
/**
* Patches a single game server cluster. (gameServerClusters.patch)
*
* @param string $name Required. The resource name of the game server cluster,
* in the following form: `projects/{project}/locations/{locationId}/realms/{rea
* lmId}/gameServerClusters/{gameServerClusterId}`. For example, `projects/my-
* project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster`.
* @param GameServerCluster $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. The update mask to apply to the
* resource. At least one path must be supplied in this field. For more
* information, see the [`FieldMask` definition](https://developers.google.com
* /protocol-buffers/docs/reference/google.protobuf#fieldmask).
* @return Operation
*/
public function patch($name, GameServerCluster $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Previews creation of a new game server cluster in a given project and
* location. (gameServerClusters.previewCreate)
*
* @param string $parent Required. The parent resource name, in the following
* form: `projects/{project}/locations/{locationId}/realms/{realmId}`.
* @param GameServerCluster $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string gameServerClusterId Required. The ID of the game server
* cluster resource to create.
* @opt_param string previewTime Optional. The target timestamp to compute the
* preview.
* @opt_param string view Optional. This field is deprecated. Preview will
* always return KubernetesClusterState.
* @return PreviewCreateGameServerClusterResponse
*/
public function previewCreate($parent, GameServerCluster $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('previewCreate', [$params], PreviewCreateGameServerClusterResponse::class);
}
/**
* Previews deletion of a single game server cluster.
* (gameServerClusters.previewDelete)
*
* @param string $name Required. The name of the game server cluster to delete,
* in the following form: `projects/{project}/locations/{locationId}/gameServerC
* lusters/{gameServerClusterId}`.
* @param array $optParams Optional parameters.
*
* @opt_param string previewTime Optional. The target timestamp to compute the
* preview.
* @return PreviewDeleteGameServerClusterResponse
*/
public function previewDelete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('previewDelete', [$params], PreviewDeleteGameServerClusterResponse::class);
}
/**
* Previews updating a GameServerCluster. (gameServerClusters.previewUpdate)
*
* @param string $name Required. The resource name of the game server cluster,
* in the following form: `projects/{project}/locations/{locationId}/realms/{rea
* lmId}/gameServerClusters/{gameServerClusterId}`. For example, `projects/my-
* project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster`.
* @param GameServerCluster $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string previewTime Optional. The target timestamp to compute the
* preview.
* @opt_param string updateMask Required. Mask of fields to update. At least one
* path must be supplied in this field. For more information, see the
* [`FieldMask` definition](https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmask).
* @return PreviewUpdateGameServerClusterResponse
*/
public function previewUpdate($name, GameServerCluster $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('previewUpdate', [$params], PreviewUpdateGameServerClusterResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsRealmsGameServerClusters::class, 'Google_Service_GameServices_Resource_ProjectsLocationsRealmsGameServerClusters');
@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices;
class Rule extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* @var string
*/
public $action;
protected $conditionsType = Condition::class;
protected $conditionsDataType = 'array';
/**
* @var string
*/
public $description;
/**
* @var string[]
*/
public $in;
protected $logConfigType = LogConfig::class;
protected $logConfigDataType = 'array';
/**
* @var string[]
*/
public $notIn;
/**
* @var string[]
*/
public $permissions;
/**
* @param string
*/
public function setAction($action)
{
$this->action = $action;
}
/**
* @return string
*/
public function getAction()
{
return $this->action;
}
/**
* @param Condition[]
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return Condition[]
*/
public function getConditions()
{
return $this->conditions;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string[]
*/
public function setIn($in)
{
$this->in = $in;
}
/**
* @return string[]
*/
public function getIn()
{
return $this->in;
}
/**
* @param LogConfig[]
*/
public function setLogConfig($logConfig)
{
$this->logConfig = $logConfig;
}
/**
* @return LogConfig[]
*/
public function getLogConfig()
{
return $this->logConfig;
}
/**
* @param string[]
*/
public function setNotIn($notIn)
{
$this->notIn = $notIn;
}
/**
* @return string[]
*/
public function getNotIn()
{
return $this->notIn;
}
/**
* @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(Rule::class, 'Google_Service_GameServices_Rule');
@@ -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\GameServices;
class ScalingConfig extends \Google\Collection
{
protected $collection_key = 'selectors';
/**
* @var string
*/
public $fleetAutoscalerSpec;
/**
* @var string
*/
public $name;
protected $schedulesType = Schedule::class;
protected $schedulesDataType = 'array';
protected $selectorsType = LabelSelector::class;
protected $selectorsDataType = 'array';
/**
* @param string
*/
public function setFleetAutoscalerSpec($fleetAutoscalerSpec)
{
$this->fleetAutoscalerSpec = $fleetAutoscalerSpec;
}
/**
* @return string
*/
public function getFleetAutoscalerSpec()
{
return $this->fleetAutoscalerSpec;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Schedule[]
*/
public function setSchedules($schedules)
{
$this->schedules = $schedules;
}
/**
* @return Schedule[]
*/
public function getSchedules()
{
return $this->schedules;
}
/**
* @param LabelSelector[]
*/
public function setSelectors($selectors)
{
$this->selectors = $selectors;
}
/**
* @return LabelSelector[]
*/
public function getSelectors()
{
return $this->selectors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ScalingConfig::class, 'Google_Service_GameServices_ScalingConfig');
@@ -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\GameServices;
class Schedule extends \Google\Model
{
/**
* @var string
*/
public $cronJobDuration;
/**
* @var string
*/
public $cronSpec;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $startTime;
/**
* @param string
*/
public function setCronJobDuration($cronJobDuration)
{
$this->cronJobDuration = $cronJobDuration;
}
/**
* @return string
*/
public function getCronJobDuration()
{
return $this->cronJobDuration;
}
/**
* @param string
*/
public function setCronSpec($cronSpec)
{
$this->cronSpec = $cronSpec;
}
/**
* @return string
*/
public function getCronSpec()
{
return $this->cronSpec;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Schedule::class, 'Google_Service_GameServices_Schedule');
@@ -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\GameServices;
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_GameServices_SetIamPolicyRequest');
@@ -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\GameServices;
class SpecSource extends \Google\Model
{
/**
* @var string
*/
public $gameServerConfigName;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setGameServerConfigName($gameServerConfigName)
{
$this->gameServerConfigName = $gameServerConfigName;
}
/**
* @return string
*/
public function getGameServerConfigName()
{
return $this->gameServerConfigName;
}
/**
* @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(SpecSource::class, 'Google_Service_GameServices_SpecSource');
@@ -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\GameServices;
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_GameServices_Status');
@@ -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\GameServices;
class TargetDetails extends \Google\Collection
{
protected $collection_key = 'fleetDetails';
protected $fleetDetailsType = TargetFleetDetails::class;
protected $fleetDetailsDataType = 'array';
/**
* @var string
*/
public $gameServerClusterName;
/**
* @var string
*/
public $gameServerDeploymentName;
/**
* @param TargetFleetDetails[]
*/
public function setFleetDetails($fleetDetails)
{
$this->fleetDetails = $fleetDetails;
}
/**
* @return TargetFleetDetails[]
*/
public function getFleetDetails()
{
return $this->fleetDetails;
}
/**
* @param string
*/
public function setGameServerClusterName($gameServerClusterName)
{
$this->gameServerClusterName = $gameServerClusterName;
}
/**
* @return string
*/
public function getGameServerClusterName()
{
return $this->gameServerClusterName;
}
/**
* @param string
*/
public function setGameServerDeploymentName($gameServerDeploymentName)
{
$this->gameServerDeploymentName = $gameServerDeploymentName;
}
/**
* @return string
*/
public function getGameServerDeploymentName()
{
return $this->gameServerDeploymentName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetDetails::class, 'Google_Service_GameServices_TargetDetails');
@@ -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\GameServices;
class TargetFleet extends \Google\Model
{
/**
* @var string
*/
public $name;
protected $specSourceType = SpecSource::class;
protected $specSourceDataType = '';
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param SpecSource
*/
public function setSpecSource(SpecSource $specSource)
{
$this->specSource = $specSource;
}
/**
* @return SpecSource
*/
public function getSpecSource()
{
return $this->specSource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetFleet::class, 'Google_Service_GameServices_TargetFleet');
@@ -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\GameServices;
class TargetFleetAutoscaler extends \Google\Model
{
/**
* @var string
*/
public $name;
protected $specSourceType = SpecSource::class;
protected $specSourceDataType = '';
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param SpecSource
*/
public function setSpecSource(SpecSource $specSource)
{
$this->specSource = $specSource;
}
/**
* @return SpecSource
*/
public function getSpecSource()
{
return $this->specSource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetFleetAutoscaler::class, 'Google_Service_GameServices_TargetFleetAutoscaler');
@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\GameServices;
class TargetFleetDetails extends \Google\Model
{
protected $autoscalerType = TargetFleetAutoscaler::class;
protected $autoscalerDataType = '';
protected $fleetType = TargetFleet::class;
protected $fleetDataType = '';
/**
* @param TargetFleetAutoscaler
*/
public function setAutoscaler(TargetFleetAutoscaler $autoscaler)
{
$this->autoscaler = $autoscaler;
}
/**
* @return TargetFleetAutoscaler
*/
public function getAutoscaler()
{
return $this->autoscaler;
}
/**
* @param TargetFleet
*/
public function setFleet(TargetFleet $fleet)
{
$this->fleet = $fleet;
}
/**
* @return TargetFleet
*/
public function getFleet()
{
return $this->fleet;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetFleetDetails::class, 'Google_Service_GameServices_TargetFleetDetails');
@@ -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\GameServices;
class TargetState extends \Google\Collection
{
protected $collection_key = 'details';
protected $detailsType = TargetDetails::class;
protected $detailsDataType = 'array';
/**
* @param TargetDetails[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return TargetDetails[]
*/
public function getDetails()
{
return $this->details;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TargetState::class, 'Google_Service_GameServices_TargetState');
@@ -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\GameServices;
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_GameServices_TestIamPermissionsRequest');
@@ -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\GameServices;
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_GameServices_TestIamPermissionsResponse');