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,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class AOFConfig extends \Google\Model
{
/**
* Not set. Default: EVERYSEC
*/
public const APPEND_FSYNC_APPEND_FSYNC_UNSPECIFIED = 'APPEND_FSYNC_UNSPECIFIED';
/**
* Never fsync. Normally Linux will flush data every 30 seconds with this
* configuration, but it's up to the kernel's exact tuning.
*/
public const APPEND_FSYNC_NO = 'NO';
/**
* fsync every second. Fast enough, and you may lose 1 second of data if there
* is a disaster
*/
public const APPEND_FSYNC_EVERYSEC = 'EVERYSEC';
/**
* fsync every time new write commands are appended to the AOF. It has the
* best data loss protection at the cost of performance
*/
public const APPEND_FSYNC_ALWAYS = 'ALWAYS';
/**
* Optional. fsync configuration.
*
* @var string
*/
public $appendFsync;
/**
* Optional. fsync configuration.
*
* Accepted values: APPEND_FSYNC_UNSPECIFIED, NO, EVERYSEC, ALWAYS
*
* @param self::APPEND_FSYNC_* $appendFsync
*/
public function setAppendFsync($appendFsync)
{
$this->appendFsync = $appendFsync;
}
/**
* @return self::APPEND_FSYNC_*
*/
public function getAppendFsync()
{
return $this->appendFsync;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AOFConfig::class, 'Google_Service_CloudRedis_AOFConfig');
@@ -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\CloudRedis;
class AclPolicy extends \Google\Collection
{
/**
* Not set.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* ACL Policy has been created and is fully usable. Since ACL Policy creation
* is synchronous and not an LRO, there is no CREATING state.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* ACL Policy is being updated.
*/
public const STATE_UPDATING = 'UPDATING';
/**
* ACL Policy is being deleted.
*/
public const STATE_DELETING = 'DELETING';
protected $collection_key = 'rules';
/**
* Output only. Etag for the ACL policy.
*
* @var string
*/
public $etag;
/**
* Identifier. Full resource path of the ACL policy.
*
* @var string
*/
public $name;
protected $rulesType = AclRule::class;
protected $rulesDataType = 'array';
/**
* Output only. The state of the ACL policy.
*
* @var string
*/
public $state;
/**
* Output only. The version of the ACL policy. Used in drift resolution.
*
* @var string
*/
public $version;
/**
* Output only. Etag for the ACL policy.
*
* @param string $etag
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* Identifier. Full resource path of the ACL policy.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. The ACL rules within the ACL policy.
*
* @param AclRule[] $rules
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return AclRule[]
*/
public function getRules()
{
return $this->rules;
}
/**
* Output only. The state of the ACL policy.
*
* Accepted values: STATE_UNSPECIFIED, ACTIVE, UPDATING, DELETING
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. The version of the ACL policy. Used in drift resolution.
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AclPolicy::class, 'Google_Service_CloudRedis_AclPolicy');
@@ -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\CloudRedis;
class AclRule extends \Google\Model
{
/**
* Required. The rule to be applied to the username. Ex: "on >password123 ~*
* +@all" The format of the rule is defined by Redis OSS:
* https://redis.io/docs/latest/operate/oss_and_stack/management/security/acl/
*
* @var string
*/
public $rule;
/**
* Required. Specifies the IAM user or service account to be added to the ACL
* policy. This username will be directly set on the Redis OSS.
*
* @var string
*/
public $username;
/**
* Required. The rule to be applied to the username. Ex: "on >password123 ~*
* +@all" The format of the rule is defined by Redis OSS:
* https://redis.io/docs/latest/operate/oss_and_stack/management/security/acl/
*
* @param string $rule
*/
public function setRule($rule)
{
$this->rule = $rule;
}
/**
* @return string
*/
public function getRule()
{
return $this->rule;
}
/**
* Required. Specifies the IAM user or service account to be added to the ACL
* policy. This username will be directly set on the Redis OSS.
*
* @param string $username
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AclRule::class, 'Google_Service_CloudRedis_AclRule');
@@ -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\CloudRedis;
class AddAuthTokenRequest extends \Google\Model
{
protected $authTokenType = AuthToken::class;
protected $authTokenDataType = '';
/**
* Required. The auth token to add.
*
* @param AuthToken $authToken
*/
public function setAuthToken(AuthToken $authToken)
{
$this->authToken = $authToken;
}
/**
* @return AuthToken
*/
public function getAuthToken()
{
return $this->authToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddAuthTokenRequest::class, 'Google_Service_CloudRedis_AddAuthTokenRequest');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class AddTokenAuthUserRequest extends \Google\Model
{
/**
* Required. The id of the token auth user to add.
*
* @var string
*/
public $tokenAuthUser;
/**
* Required. The id of the token auth user to add.
*
* @param string $tokenAuthUser
*/
public function setTokenAuthUser($tokenAuthUser)
{
$this->tokenAuthUser = $tokenAuthUser;
}
/**
* @return string
*/
public function getTokenAuthUser()
{
return $this->tokenAuthUser;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddTokenAuthUserRequest::class, 'Google_Service_CloudRedis_AddTokenAuthUserRequest');
@@ -0,0 +1,109 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class AssetLocation extends \Google\Collection
{
protected $collection_key = 'parentAsset';
/**
* @var string
*/
public $ccfeRmsPath;
protected $expectedType = IsolationExpectations::class;
protected $expectedDataType = '';
protected $extraParametersType = ExtraParameter::class;
protected $extraParametersDataType = 'array';
protected $locationDataType = LocationData::class;
protected $locationDataDataType = 'array';
protected $parentAssetType = CloudAsset::class;
protected $parentAssetDataType = 'array';
/**
* @param string
*/
public function setCcfeRmsPath($ccfeRmsPath)
{
$this->ccfeRmsPath = $ccfeRmsPath;
}
/**
* @return string
*/
public function getCcfeRmsPath()
{
return $this->ccfeRmsPath;
}
/**
* @param IsolationExpectations
*/
public function setExpected(IsolationExpectations $expected)
{
$this->expected = $expected;
}
/**
* @return IsolationExpectations
*/
public function getExpected()
{
return $this->expected;
}
/**
* @param ExtraParameter[]
*/
public function setExtraParameters($extraParameters)
{
$this->extraParameters = $extraParameters;
}
/**
* @return ExtraParameter[]
*/
public function getExtraParameters()
{
return $this->extraParameters;
}
/**
* @param LocationData[]
*/
public function setLocationData($locationData)
{
$this->locationData = $locationData;
}
/**
* @return LocationData[]
*/
public function getLocationData()
{
return $this->locationData;
}
/**
* @param CloudAsset[]
*/
public function setParentAsset($parentAsset)
{
$this->parentAsset = $parentAsset;
}
/**
* @return CloudAsset[]
*/
public function getParentAsset()
{
return $this->parentAsset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AssetLocation::class, 'Google_Service_CloudRedis_AssetLocation');
@@ -0,0 +1,138 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class AuthToken extends \Google\Model
{
/**
* Not set.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The auth token is active.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* The auth token is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* The auth token is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* Output only. Create time of the auth token.
*
* @var string
*/
public $createTime;
/**
* Identifier. Name of the auth token. Format: projects/{project}/locations/{l
* ocation}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}/authTokens/{au
* th_token}
*
* @var string
*/
public $name;
/**
* Output only. State of the auth token.
*
* @var string
*/
public $state;
/**
* Output only. The service generated authentication token used to connect to
* the Redis cluster.
*
* @var string
*/
public $token;
/**
* Output only. Create time of the auth token.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Identifier. Name of the auth token. Format: projects/{project}/locations/{l
* ocation}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}/authTokens/{au
* th_token}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. State of the auth token.
*
* Accepted values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. The service generated authentication token used to connect to
* the Redis cluster.
*
* @param string $token
*/
public function setToken($token)
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthToken::class, 'Google_Service_CloudRedis_AuthToken');
@@ -0,0 +1,108 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class AutomatedBackupConfig extends \Google\Model
{
/**
* Default value. Automated backup config is not specified.
*/
public const AUTOMATED_BACKUP_MODE_AUTOMATED_BACKUP_MODE_UNSPECIFIED = 'AUTOMATED_BACKUP_MODE_UNSPECIFIED';
/**
* Automated backup config disabled.
*/
public const AUTOMATED_BACKUP_MODE_DISABLED = 'DISABLED';
/**
* Automated backup config enabled.
*/
public const AUTOMATED_BACKUP_MODE_ENABLED = 'ENABLED';
/**
* Optional. The automated backup mode. If the mode is disabled, the other
* fields will be ignored.
*
* @var string
*/
public $automatedBackupMode;
protected $fixedFrequencyScheduleType = FixedFrequencySchedule::class;
protected $fixedFrequencyScheduleDataType = '';
/**
* Optional. How long to keep automated backups before the backups are
* deleted. The value should be between 1 day and 365 days. If not specified,
* the default value is 35 days.
*
* @var string
*/
public $retention;
/**
* Optional. The automated backup mode. If the mode is disabled, the other
* fields will be ignored.
*
* Accepted values: AUTOMATED_BACKUP_MODE_UNSPECIFIED, DISABLED, ENABLED
*
* @param self::AUTOMATED_BACKUP_MODE_* $automatedBackupMode
*/
public function setAutomatedBackupMode($automatedBackupMode)
{
$this->automatedBackupMode = $automatedBackupMode;
}
/**
* @return self::AUTOMATED_BACKUP_MODE_*
*/
public function getAutomatedBackupMode()
{
return $this->automatedBackupMode;
}
/**
* Optional. Trigger automated backups at a fixed frequency.
*
* @param FixedFrequencySchedule $fixedFrequencySchedule
*/
public function setFixedFrequencySchedule(FixedFrequencySchedule $fixedFrequencySchedule)
{
$this->fixedFrequencySchedule = $fixedFrequencySchedule;
}
/**
* @return FixedFrequencySchedule
*/
public function getFixedFrequencySchedule()
{
return $this->fixedFrequencySchedule;
}
/**
* Optional. How long to keep automated backups before the backups are
* deleted. The value should be between 1 day and 365 days. If not specified,
* the default value is 35 days.
*
* @param string $retention
*/
public function setRetention($retention)
{
$this->retention = $retention;
}
/**
* @return string
*/
public function getRetention()
{
return $this->retention;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutomatedBackupConfig::class, 'Google_Service_CloudRedis_AutomatedBackupConfig');
@@ -0,0 +1,160 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class AvailabilityConfiguration extends \Google\Model
{
public const AVAILABILITY_TYPE_AVAILABILITY_TYPE_UNSPECIFIED = 'AVAILABILITY_TYPE_UNSPECIFIED';
/**
* Zonal available instance.
*/
public const AVAILABILITY_TYPE_ZONAL = 'ZONAL';
/**
* Regional available instance.
*/
public const AVAILABILITY_TYPE_REGIONAL = 'REGIONAL';
/**
* Multi regional instance
*/
public const AVAILABILITY_TYPE_MULTI_REGIONAL = 'MULTI_REGIONAL';
/**
* For rest of the other category
*/
public const AVAILABILITY_TYPE_AVAILABILITY_TYPE_OTHER = 'AVAILABILITY_TYPE_OTHER';
/**
* Checks for existence of (multi-cluster) routing configuration that allows
* automatic failover to a different zone/region in case of an outage.
* Applicable to Bigtable resources.
*
* @var bool
*/
public $automaticFailoverRoutingConfigured;
/**
* Availability type. Potential values: * `ZONAL`: The instance serves data
* from only one zone. Outages in that zone affect data accessibility. *
* `REGIONAL`: The instance can serve data from more than one zone in a region
* (it is highly available).
*
* @var string
*/
public $availabilityType;
/**
* Checks for resources that are configured to have redundancy, and ongoing
* replication across regions
*
* @var bool
*/
public $crossRegionReplicaConfigured;
/**
* @var bool
*/
public $externalReplicaConfigured;
/**
* @var bool
*/
public $promotableReplicaConfigured;
/**
* Checks for existence of (multi-cluster) routing configuration that allows
* automatic failover to a different zone/region in case of an outage.
* Applicable to Bigtable resources.
*
* @param bool $automaticFailoverRoutingConfigured
*/
public function setAutomaticFailoverRoutingConfigured($automaticFailoverRoutingConfigured)
{
$this->automaticFailoverRoutingConfigured = $automaticFailoverRoutingConfigured;
}
/**
* @return bool
*/
public function getAutomaticFailoverRoutingConfigured()
{
return $this->automaticFailoverRoutingConfigured;
}
/**
* Availability type. Potential values: * `ZONAL`: The instance serves data
* from only one zone. Outages in that zone affect data accessibility. *
* `REGIONAL`: The instance can serve data from more than one zone in a region
* (it is highly available).
*
* Accepted values: AVAILABILITY_TYPE_UNSPECIFIED, ZONAL, REGIONAL,
* MULTI_REGIONAL, AVAILABILITY_TYPE_OTHER
*
* @param self::AVAILABILITY_TYPE_* $availabilityType
*/
public function setAvailabilityType($availabilityType)
{
$this->availabilityType = $availabilityType;
}
/**
* @return self::AVAILABILITY_TYPE_*
*/
public function getAvailabilityType()
{
return $this->availabilityType;
}
/**
* Checks for resources that are configured to have redundancy, and ongoing
* replication across regions
*
* @param bool $crossRegionReplicaConfigured
*/
public function setCrossRegionReplicaConfigured($crossRegionReplicaConfigured)
{
$this->crossRegionReplicaConfigured = $crossRegionReplicaConfigured;
}
/**
* @return bool
*/
public function getCrossRegionReplicaConfigured()
{
return $this->crossRegionReplicaConfigured;
}
/**
* @param bool $externalReplicaConfigured
*/
public function setExternalReplicaConfigured($externalReplicaConfigured)
{
$this->externalReplicaConfigured = $externalReplicaConfigured;
}
/**
* @return bool
*/
public function getExternalReplicaConfigured()
{
return $this->externalReplicaConfigured;
}
/**
* @param bool $promotableReplicaConfigured
*/
public function setPromotableReplicaConfigured($promotableReplicaConfigured)
{
$this->promotableReplicaConfigured = $promotableReplicaConfigured;
}
/**
* @return bool
*/
public function getPromotableReplicaConfigured()
{
return $this->promotableReplicaConfigured;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AvailabilityConfiguration::class, 'Google_Service_CloudRedis_AvailabilityConfiguration');
@@ -0,0 +1,428 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class Backup extends \Google\Collection
{
/**
* The default value, not set.
*/
public const BACKUP_TYPE_BACKUP_TYPE_UNSPECIFIED = 'BACKUP_TYPE_UNSPECIFIED';
/**
* On-demand backup.
*/
public const BACKUP_TYPE_ON_DEMAND = 'ON_DEMAND';
/**
* Automated backup.
*/
public const BACKUP_TYPE_AUTOMATED = 'AUTOMATED';
/**
* Node type unspecified
*/
public const NODE_TYPE_NODE_TYPE_UNSPECIFIED = 'NODE_TYPE_UNSPECIFIED';
/**
* Redis shared core nano node_type.
*/
public const NODE_TYPE_REDIS_SHARED_CORE_NANO = 'REDIS_SHARED_CORE_NANO';
/**
* Redis highmem medium node_type.
*/
public const NODE_TYPE_REDIS_HIGHMEM_MEDIUM = 'REDIS_HIGHMEM_MEDIUM';
/**
* Redis highmem xlarge node_type.
*/
public const NODE_TYPE_REDIS_HIGHMEM_XLARGE = 'REDIS_HIGHMEM_XLARGE';
/**
* Redis standard small node_type.
*/
public const NODE_TYPE_REDIS_STANDARD_SMALL = 'REDIS_STANDARD_SMALL';
/**
* Redis highcpu medium node_type.
*/
public const NODE_TYPE_REDIS_HIGHCPU_MEDIUM = 'REDIS_HIGHCPU_MEDIUM';
/**
* Redis standard large node_type.
*/
public const NODE_TYPE_REDIS_STANDARD_LARGE = 'REDIS_STANDARD_LARGE';
/**
* Redis highmem 2xlarge node_type.
*/
public const NODE_TYPE_REDIS_HIGHMEM_2XLARGE = 'REDIS_HIGHMEM_2XLARGE';
/**
* The default value, not set.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The backup is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* The backup is active to be used.
*/
public const STATE_ACTIVE = 'ACTIVE';
/**
* The backup is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* The backup is currently suspended due to reasons like project deletion,
* billing account closure, etc.
*/
public const STATE_SUSPENDED = 'SUSPENDED';
protected $collection_key = 'backupFiles';
protected $backupFilesType = BackupFile::class;
protected $backupFilesDataType = 'array';
/**
* Output only. Type of the backup.
*
* @var string
*/
public $backupType;
/**
* Output only. Cluster resource path of this backup.
*
* @var string
*/
public $cluster;
/**
* Output only. Cluster uid of this backup.
*
* @var string
*/
public $clusterUid;
/**
* Output only. The time when the backup was created.
*
* @var string
*/
public $createTime;
protected $encryptionInfoType = EncryptionInfo::class;
protected $encryptionInfoDataType = '';
/**
* Output only. redis-7.2, valkey-7.5
*
* @var string
*/
public $engineVersion;
/**
* Output only. The time when the backup will expire.
*
* @var string
*/
public $expireTime;
/**
* Identifier. Full resource path of the backup. the last part of the name is
* the backup id with the following format: [YYYYMMDDHHMMSS]_[Shorted Cluster
* UID] OR customer specified while backup cluster. Example:
* 20240515123000_1234
*
* @var string
*/
public $name;
/**
* Output only. Node type of the cluster.
*
* @var string
*/
public $nodeType;
/**
* Output only. Number of replicas for the cluster.
*
* @var int
*/
public $replicaCount;
/**
* Output only. Number of shards for the cluster.
*
* @var int
*/
public $shardCount;
/**
* Output only. State of the backup.
*
* @var string
*/
public $state;
/**
* Output only. Total size of the backup in bytes.
*
* @var string
*/
public $totalSizeBytes;
/**
* Output only. System assigned unique identifier of the backup.
*
* @var string
*/
public $uid;
/**
* Output only. List of backup files of the backup.
*
* @param BackupFile[] $backupFiles
*/
public function setBackupFiles($backupFiles)
{
$this->backupFiles = $backupFiles;
}
/**
* @return BackupFile[]
*/
public function getBackupFiles()
{
return $this->backupFiles;
}
/**
* Output only. Type of the backup.
*
* Accepted values: BACKUP_TYPE_UNSPECIFIED, ON_DEMAND, AUTOMATED
*
* @param self::BACKUP_TYPE_* $backupType
*/
public function setBackupType($backupType)
{
$this->backupType = $backupType;
}
/**
* @return self::BACKUP_TYPE_*
*/
public function getBackupType()
{
return $this->backupType;
}
/**
* Output only. Cluster resource path of this backup.
*
* @param string $cluster
*/
public function setCluster($cluster)
{
$this->cluster = $cluster;
}
/**
* @return string
*/
public function getCluster()
{
return $this->cluster;
}
/**
* Output only. Cluster uid of this backup.
*
* @param string $clusterUid
*/
public function setClusterUid($clusterUid)
{
$this->clusterUid = $clusterUid;
}
/**
* @return string
*/
public function getClusterUid()
{
return $this->clusterUid;
}
/**
* Output only. The time when the backup was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. Encryption information of the backup.
*
* @param EncryptionInfo $encryptionInfo
*/
public function setEncryptionInfo(EncryptionInfo $encryptionInfo)
{
$this->encryptionInfo = $encryptionInfo;
}
/**
* @return EncryptionInfo
*/
public function getEncryptionInfo()
{
return $this->encryptionInfo;
}
/**
* Output only. redis-7.2, valkey-7.5
*
* @param string $engineVersion
*/
public function setEngineVersion($engineVersion)
{
$this->engineVersion = $engineVersion;
}
/**
* @return string
*/
public function getEngineVersion()
{
return $this->engineVersion;
}
/**
* Output only. The time when the backup will expire.
*
* @param string $expireTime
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* Identifier. Full resource path of the backup. the last part of the name is
* the backup id with the following format: [YYYYMMDDHHMMSS]_[Shorted Cluster
* UID] OR customer specified while backup cluster. Example:
* 20240515123000_1234
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Node type of the cluster.
*
* Accepted values: NODE_TYPE_UNSPECIFIED, REDIS_SHARED_CORE_NANO,
* REDIS_HIGHMEM_MEDIUM, REDIS_HIGHMEM_XLARGE, REDIS_STANDARD_SMALL,
* REDIS_HIGHCPU_MEDIUM, REDIS_STANDARD_LARGE, REDIS_HIGHMEM_2XLARGE
*
* @param self::NODE_TYPE_* $nodeType
*/
public function setNodeType($nodeType)
{
$this->nodeType = $nodeType;
}
/**
* @return self::NODE_TYPE_*
*/
public function getNodeType()
{
return $this->nodeType;
}
/**
* Output only. Number of replicas for the cluster.
*
* @param int $replicaCount
*/
public function setReplicaCount($replicaCount)
{
$this->replicaCount = $replicaCount;
}
/**
* @return int
*/
public function getReplicaCount()
{
return $this->replicaCount;
}
/**
* Output only. Number of shards for the cluster.
*
* @param int $shardCount
*/
public function setShardCount($shardCount)
{
$this->shardCount = $shardCount;
}
/**
* @return int
*/
public function getShardCount()
{
return $this->shardCount;
}
/**
* Output only. State of the backup.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING, SUSPENDED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. Total size of the backup in bytes.
*
* @param string $totalSizeBytes
*/
public function setTotalSizeBytes($totalSizeBytes)
{
$this->totalSizeBytes = $totalSizeBytes;
}
/**
* @return string
*/
public function getTotalSizeBytes()
{
return $this->totalSizeBytes;
}
/**
* Output only. System assigned unique identifier of the backup.
*
* @param string $uid
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Backup::class, 'Google_Service_CloudRedis_Backup');
@@ -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\CloudRedis;
class BackupClusterRequest extends \Google\Model
{
/**
* Optional. The id of the backup to be created. If not specified, the default
* value ([YYYYMMDDHHMMSS]_[Shortened Cluster UID] is used.
*
* @var string
*/
public $backupId;
/**
* Optional. TTL for the backup to expire. Value range is 1 day to 100 years.
* If not specified, the default value is 100 years.
*
* @var string
*/
public $ttl;
/**
* Optional. The id of the backup to be created. If not specified, the default
* value ([YYYYMMDDHHMMSS]_[Shortened Cluster UID] is used.
*
* @param string $backupId
*/
public function setBackupId($backupId)
{
$this->backupId = $backupId;
}
/**
* @return string
*/
public function getBackupId()
{
return $this->backupId;
}
/**
* Optional. TTL for the backup to expire. Value range is 1 day to 100 years.
* If not specified, the default value is 100 years.
*
* @param string $ttl
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return string
*/
public function getTtl()
{
return $this->ttl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupClusterRequest::class, 'Google_Service_CloudRedis_BackupClusterRequest');
@@ -0,0 +1,230 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class BackupCollection extends \Google\Model
{
/**
* Output only. The full resource path of the cluster the backup collection
* belongs to. Example:
* projects/{project}/locations/{location}/clusters/{cluster}
*
* @var string
*/
public $cluster;
/**
* Output only. The cluster uid of the backup collection.
*
* @var string
*/
public $clusterUid;
/**
* Output only. The time when the backup collection was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The KMS key used to encrypt the backups under this backup
* collection.
*
* @var string
*/
public $kmsKey;
/**
* Output only. The last time a backup was created in the backup collection.
*
* @var string
*/
public $lastBackupTime;
/**
* Identifier. Full resource path of the backup collection.
*
* @var string
*/
public $name;
/**
* Output only. Total number of backups in the backup collection.
*
* @var string
*/
public $totalBackupCount;
/**
* Output only. Total size of all backups in the backup collection.
*
* @var string
*/
public $totalBackupSizeBytes;
/**
* Output only. System assigned unique identifier of the backup collection.
*
* @var string
*/
public $uid;
/**
* Output only. The full resource path of the cluster the backup collection
* belongs to. Example:
* projects/{project}/locations/{location}/clusters/{cluster}
*
* @param string $cluster
*/
public function setCluster($cluster)
{
$this->cluster = $cluster;
}
/**
* @return string
*/
public function getCluster()
{
return $this->cluster;
}
/**
* Output only. The cluster uid of the backup collection.
*
* @param string $clusterUid
*/
public function setClusterUid($clusterUid)
{
$this->clusterUid = $clusterUid;
}
/**
* @return string
*/
public function getClusterUid()
{
return $this->clusterUid;
}
/**
* Output only. The time when the backup collection was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The KMS key used to encrypt the backups under this backup
* collection.
*
* @param string $kmsKey
*/
public function setKmsKey($kmsKey)
{
$this->kmsKey = $kmsKey;
}
/**
* @return string
*/
public function getKmsKey()
{
return $this->kmsKey;
}
/**
* Output only. The last time a backup was created in the backup collection.
*
* @param string $lastBackupTime
*/
public function setLastBackupTime($lastBackupTime)
{
$this->lastBackupTime = $lastBackupTime;
}
/**
* @return string
*/
public function getLastBackupTime()
{
return $this->lastBackupTime;
}
/**
* Identifier. Full resource path of the backup collection.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Total number of backups in the backup collection.
*
* @param string $totalBackupCount
*/
public function setTotalBackupCount($totalBackupCount)
{
$this->totalBackupCount = $totalBackupCount;
}
/**
* @return string
*/
public function getTotalBackupCount()
{
return $this->totalBackupCount;
}
/**
* Output only. Total size of all backups in the backup collection.
*
* @param string $totalBackupSizeBytes
*/
public function setTotalBackupSizeBytes($totalBackupSizeBytes)
{
$this->totalBackupSizeBytes = $totalBackupSizeBytes;
}
/**
* @return string
*/
public function getTotalBackupSizeBytes()
{
return $this->totalBackupSizeBytes;
}
/**
* Output only. System assigned unique identifier of the backup collection.
*
* @param string $uid
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupCollection::class, 'Google_Service_CloudRedis_BackupCollection');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class BackupConfiguration extends \Google\Model
{
/**
* Whether customer visible automated backups are enabled on the instance.
*
* @var bool
*/
public $automatedBackupEnabled;
protected $backupRetentionSettingsType = RetentionSettings::class;
protected $backupRetentionSettingsDataType = '';
/**
* Whether point-in-time recovery is enabled. This is optional field, if the
* database service does not have this feature or metadata is not available in
* control plane, this can be omitted.
*
* @var bool
*/
public $pointInTimeRecoveryEnabled;
/**
* Whether customer visible automated backups are enabled on the instance.
*
* @param bool $automatedBackupEnabled
*/
public function setAutomatedBackupEnabled($automatedBackupEnabled)
{
$this->automatedBackupEnabled = $automatedBackupEnabled;
}
/**
* @return bool
*/
public function getAutomatedBackupEnabled()
{
return $this->automatedBackupEnabled;
}
/**
* Backup retention settings.
*
* @param RetentionSettings $backupRetentionSettings
*/
public function setBackupRetentionSettings(RetentionSettings $backupRetentionSettings)
{
$this->backupRetentionSettings = $backupRetentionSettings;
}
/**
* @return RetentionSettings
*/
public function getBackupRetentionSettings()
{
return $this->backupRetentionSettings;
}
/**
* Whether point-in-time recovery is enabled. This is optional field, if the
* database service does not have this feature or metadata is not available in
* control plane, this can be omitted.
*
* @param bool $pointInTimeRecoveryEnabled
*/
public function setPointInTimeRecoveryEnabled($pointInTimeRecoveryEnabled)
{
$this->pointInTimeRecoveryEnabled = $pointInTimeRecoveryEnabled;
}
/**
* @return bool
*/
public function getPointInTimeRecoveryEnabled()
{
return $this->pointInTimeRecoveryEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupConfiguration::class, 'Google_Service_CloudRedis_BackupConfiguration');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class BackupDRConfiguration extends \Google\Model
{
/**
* Indicates if the resource is managed by BackupDR.
*
* @var bool
*/
public $backupdrManaged;
/**
* Indicates if the resource is managed by BackupDR.
*
* @param bool $backupdrManaged
*/
public function setBackupdrManaged($backupdrManaged)
{
$this->backupdrManaged = $backupdrManaged;
}
/**
* @return bool
*/
public function getBackupdrManaged()
{
return $this->backupdrManaged;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupDRConfiguration::class, 'Google_Service_CloudRedis_BackupDRConfiguration');
@@ -0,0 +1,142 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class BackupDRMetadata extends \Google\Model
{
protected $backupConfigurationType = BackupConfiguration::class;
protected $backupConfigurationDataType = '';
protected $backupRunType = BackupRun::class;
protected $backupRunDataType = '';
protected $backupdrConfigurationType = BackupDRConfiguration::class;
protected $backupdrConfigurationDataType = '';
/**
* Required. Full resource name of this instance.
*
* @var string
*/
public $fullResourceName;
/**
* Required. Last time backup configuration was refreshed.
*
* @var string
*/
public $lastRefreshTime;
protected $resourceIdType = DatabaseResourceId::class;
protected $resourceIdDataType = '';
/**
* Backup configuration for this instance.
*
* @param BackupConfiguration $backupConfiguration
*/
public function setBackupConfiguration(BackupConfiguration $backupConfiguration)
{
$this->backupConfiguration = $backupConfiguration;
}
/**
* @return BackupConfiguration
*/
public function getBackupConfiguration()
{
return $this->backupConfiguration;
}
/**
* Latest backup run information for this instance.
*
* @param BackupRun $backupRun
*/
public function setBackupRun(BackupRun $backupRun)
{
$this->backupRun = $backupRun;
}
/**
* @return BackupRun
*/
public function getBackupRun()
{
return $this->backupRun;
}
/**
* BackupDR configuration for this instance.
*
* @param BackupDRConfiguration $backupdrConfiguration
*/
public function setBackupdrConfiguration(BackupDRConfiguration $backupdrConfiguration)
{
$this->backupdrConfiguration = $backupdrConfiguration;
}
/**
* @return BackupDRConfiguration
*/
public function getBackupdrConfiguration()
{
return $this->backupdrConfiguration;
}
/**
* Required. Full resource name of this instance.
*
* @param string $fullResourceName
*/
public function setFullResourceName($fullResourceName)
{
$this->fullResourceName = $fullResourceName;
}
/**
* @return string
*/
public function getFullResourceName()
{
return $this->fullResourceName;
}
/**
* Required. Last time backup configuration was refreshed.
*
* @param string $lastRefreshTime
*/
public function setLastRefreshTime($lastRefreshTime)
{
$this->lastRefreshTime = $lastRefreshTime;
}
/**
* @return string
*/
public function getLastRefreshTime()
{
return $this->lastRefreshTime;
}
/**
* Required. Database resource id.
*
* @param DatabaseResourceId $resourceId
*/
public function setResourceId(DatabaseResourceId $resourceId)
{
$this->resourceId = $resourceId;
}
/**
* @return DatabaseResourceId
*/
public function getResourceId()
{
return $this->resourceId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupDRMetadata::class, 'Google_Service_CloudRedis_BackupDRMetadata');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class BackupFile extends \Google\Model
{
/**
* Output only. The time when the backup file was created.
*
* @var string
*/
public $createTime;
/**
* Output only. e.g: .rdb
*
* @var string
*/
public $fileName;
/**
* Output only. Size of the backup file in bytes.
*
* @var string
*/
public $sizeBytes;
/**
* Output only. The time when the backup file was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. e.g: .rdb
*
* @param string $fileName
*/
public function setFileName($fileName)
{
$this->fileName = $fileName;
}
/**
* @return string
*/
public function getFileName()
{
return $this->fileName;
}
/**
* Output only. Size of the backup file in bytes.
*
* @param string $sizeBytes
*/
public function setSizeBytes($sizeBytes)
{
$this->sizeBytes = $sizeBytes;
}
/**
* @return string
*/
public function getSizeBytes()
{
return $this->sizeBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupFile::class, 'Google_Service_CloudRedis_BackupFile');
@@ -0,0 +1,122 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class BackupRun extends \Google\Model
{
public const STATUS_STATUS_UNSPECIFIED = 'STATUS_UNSPECIFIED';
/**
* The backup was successful.
*/
public const STATUS_SUCCESSFUL = 'SUCCESSFUL';
/**
* The backup was unsuccessful.
*/
public const STATUS_FAILED = 'FAILED';
/**
* The time the backup operation completed. REQUIRED
*
* @var string
*/
public $endTime;
protected $errorType = OperationError::class;
protected $errorDataType = '';
/**
* The time the backup operation started. REQUIRED
*
* @var string
*/
public $startTime;
/**
* The status of this run. REQUIRED
*
* @var string
*/
public $status;
/**
* The time the backup operation completed. REQUIRED
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Information about why the backup operation failed. This is only present if
* the run has the FAILED status. OPTIONAL
*
* @param OperationError $error
*/
public function setError(OperationError $error)
{
$this->error = $error;
}
/**
* @return OperationError
*/
public function getError()
{
return $this->error;
}
/**
* The time the backup operation started. REQUIRED
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* The status of this run. REQUIRED
*
* Accepted values: STATUS_UNSPECIFIED, SUCCESSFUL, FAILED
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupRun::class, 'Google_Service_CloudRedis_BackupRun');
@@ -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\CloudRedis;
class BlobstoreLocation extends \Google\Collection
{
protected $collection_key = 'policyId';
/**
* @var string[]
*/
public $policyId;
/**
* @param string[]
*/
public function setPolicyId($policyId)
{
$this->policyId = $policyId;
}
/**
* @return string[]
*/
public function getPolicyId()
{
return $this->policyId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BlobstoreLocation::class, 'Google_Service_CloudRedis_BlobstoreLocation');
@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class CertChain extends \Google\Collection
{
protected $collection_key = 'certificates';
/**
* The certificates that form the CA chain, from leaf to root order.
*
* @var string[]
*/
public $certificates;
/**
* The certificates that form the CA chain, from leaf to root order.
*
* @param string[] $certificates
*/
public function setCertificates($certificates)
{
$this->certificates = $certificates;
}
/**
* @return string[]
*/
public function getCertificates()
{
return $this->certificates;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CertChain::class, 'Google_Service_CloudRedis_CertChain');
@@ -0,0 +1,68 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class CertificateAuthority extends \Google\Model
{
protected $managedServerCaType = ManagedCertificateAuthority::class;
protected $managedServerCaDataType = '';
/**
* Identifier. Unique name of the resource in this scope including project,
* location and cluster using the form: `projects/{project}/locations/{locatio
* n}/clusters/{cluster}/certificateAuthority`
*
* @var string
*/
public $name;
/**
* @param ManagedCertificateAuthority $managedServerCa
*/
public function setManagedServerCa(ManagedCertificateAuthority $managedServerCa)
{
$this->managedServerCa = $managedServerCa;
}
/**
* @return ManagedCertificateAuthority
*/
public function getManagedServerCa()
{
return $this->managedServerCa;
}
/**
* Identifier. Unique name of the resource in this scope including project,
* location and cluster using the form: `projects/{project}/locations/{locatio
* n}/clusters/{cluster}/certificateAuthority`
*
* @param string $name
*/
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(CertificateAuthority::class, 'Google_Service_CloudRedis_CertificateAuthority');
@@ -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\CloudRedis;
class CloudAsset extends \Google\Model
{
/**
* @var string
*/
public $assetName;
/**
* @var string
*/
public $assetType;
/**
* @param string
*/
public function setAssetName($assetName)
{
$this->assetName = $assetName;
}
/**
* @return string
*/
public function getAssetName()
{
return $this->assetName;
}
/**
* @param string
*/
public function setAssetType($assetType)
{
$this->assetType = $assetType;
}
/**
* @return string
*/
public function getAssetType()
{
return $this->assetType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAsset::class, 'Google_Service_CloudRedis_CloudAsset');
@@ -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\CloudRedis;
class CloudAssetComposition extends \Google\Collection
{
protected $collection_key = 'childAsset';
protected $childAssetType = CloudAsset::class;
protected $childAssetDataType = 'array';
/**
* @param CloudAsset[]
*/
public function setChildAsset($childAsset)
{
$this->childAsset = $childAsset;
}
/**
* @return CloudAsset[]
*/
public function getChildAsset()
{
return $this->childAsset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAssetComposition::class, 'Google_Service_CloudRedis_CloudAssetComposition');
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class ClusterEndpoint extends \Google\Collection
{
protected $collection_key = 'connections';
protected $connectionsType = ConnectionDetail::class;
protected $connectionsDataType = 'array';
/**
* Required. A group of PSC connections. They are created in the same VPC
* network, one for each service attachment in the cluster.
*
* @param ConnectionDetail[] $connections
*/
public function setConnections($connections)
{
$this->connections = $connections;
}
/**
* @return ConnectionDetail[]
*/
public function getConnections()
{
return $this->connections;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterEndpoint::class, 'Google_Service_CloudRedis_ClusterEndpoint');
@@ -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\CloudRedis;
class ClusterMaintenancePolicy extends \Google\Collection
{
protected $collection_key = 'weeklyMaintenanceWindow';
/**
* Output only. The time when the policy was created i.e. Maintenance Window
* or Deny Period was assigned.
*
* @var string
*/
public $createTime;
/**
* Output only. The time when the policy was updated i.e. Maintenance Window
* or Deny Period was updated.
*
* @var string
*/
public $updateTime;
protected $weeklyMaintenanceWindowType = ClusterWeeklyMaintenanceWindow::class;
protected $weeklyMaintenanceWindowDataType = 'array';
/**
* Output only. The time when the policy was created i.e. Maintenance Window
* or Deny Period was assigned.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time when the policy was updated i.e. Maintenance Window
* or Deny Period was updated.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* Optional. Maintenance window that is applied to resources covered by this
* policy. Minimum 1. For the current version, the maximum number of
* weekly_maintenance_window is expected to be one.
*
* @param ClusterWeeklyMaintenanceWindow[] $weeklyMaintenanceWindow
*/
public function setWeeklyMaintenanceWindow($weeklyMaintenanceWindow)
{
$this->weeklyMaintenanceWindow = $weeklyMaintenanceWindow;
}
/**
* @return ClusterWeeklyMaintenanceWindow[]
*/
public function getWeeklyMaintenanceWindow()
{
return $this->weeklyMaintenanceWindow;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterMaintenancePolicy::class, 'Google_Service_CloudRedis_ClusterMaintenancePolicy');
@@ -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\CloudRedis;
class ClusterMaintenanceSchedule extends \Google\Model
{
/**
* Output only. The end time of any upcoming scheduled maintenance for this
* instance.
*
* @var string
*/
public $endTime;
/**
* Output only. The start time of any upcoming scheduled maintenance for this
* instance.
*
* @var string
*/
public $startTime;
/**
* Output only. The end time of any upcoming scheduled maintenance for this
* instance.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. The start time of any upcoming scheduled maintenance for this
* instance.
*
* @param string $startTime
*/
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(ClusterMaintenanceSchedule::class, 'Google_Service_CloudRedis_ClusterMaintenanceSchedule');
@@ -0,0 +1,102 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class ClusterPersistenceConfig extends \Google\Model
{
/**
* Not set.
*/
public const MODE_PERSISTENCE_MODE_UNSPECIFIED = 'PERSISTENCE_MODE_UNSPECIFIED';
/**
* Persistence is disabled, and any snapshot data is deleted.
*/
public const MODE_DISABLED = 'DISABLED';
/**
* RDB based persistence is enabled.
*/
public const MODE_RDB = 'RDB';
/**
* AOF based persistence is enabled.
*/
public const MODE_AOF = 'AOF';
protected $aofConfigType = AOFConfig::class;
protected $aofConfigDataType = '';
/**
* Optional. The mode of persistence.
*
* @var string
*/
public $mode;
protected $rdbConfigType = RDBConfig::class;
protected $rdbConfigDataType = '';
/**
* Optional. AOF configuration. This field will be ignored if mode is not AOF.
*
* @param AOFConfig $aofConfig
*/
public function setAofConfig(AOFConfig $aofConfig)
{
$this->aofConfig = $aofConfig;
}
/**
* @return AOFConfig
*/
public function getAofConfig()
{
return $this->aofConfig;
}
/**
* Optional. The mode of persistence.
*
* Accepted values: PERSISTENCE_MODE_UNSPECIFIED, DISABLED, RDB, AOF
*
* @param self::MODE_* $mode
*/
public function setMode($mode)
{
$this->mode = $mode;
}
/**
* @return self::MODE_*
*/
public function getMode()
{
return $this->mode;
}
/**
* Optional. RDB configuration. This field will be ignored if mode is not RDB.
*
* @param RDBConfig $rdbConfig
*/
public function setRdbConfig(RDBConfig $rdbConfig)
{
$this->rdbConfig = $rdbConfig;
}
/**
* @return RDBConfig
*/
public function getRdbConfig()
{
return $this->rdbConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterPersistenceConfig::class, 'Google_Service_CloudRedis_ClusterPersistenceConfig');
@@ -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\CloudRedis;
class ClusterSlots extends \Google\Model
{
/**
* @var int
*/
public $endSlotsExclusive;
/**
* @var int
*/
public $memorySizeGb;
/**
* @var int
*/
public $replicaCount;
/**
* @var int
*/
public $startSlotsInclusive;
/**
* @param int
*/
public function setEndSlotsExclusive($endSlotsExclusive)
{
$this->endSlotsExclusive = $endSlotsExclusive;
}
/**
* @return int
*/
public function getEndSlotsExclusive()
{
return $this->endSlotsExclusive;
}
/**
* @param int
*/
public function setMemorySizeGb($memorySizeGb)
{
$this->memorySizeGb = $memorySizeGb;
}
/**
* @return int
*/
public function getMemorySizeGb()
{
return $this->memorySizeGb;
}
/**
* @param int
*/
public function setReplicaCount($replicaCount)
{
$this->replicaCount = $replicaCount;
}
/**
* @return int
*/
public function getReplicaCount()
{
return $this->replicaCount;
}
/**
* @param int
*/
public function setStartSlotsInclusive($startSlotsInclusive)
{
$this->startSlotsInclusive = $startSlotsInclusive;
}
/**
* @return int
*/
public function getStartSlotsInclusive()
{
return $this->startSlotsInclusive;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterSlots::class, 'Google_Service_CloudRedis_ClusterSlots');
@@ -0,0 +1,101 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class ClusterWeeklyMaintenanceWindow extends \Google\Model
{
/**
* The day of the week is unspecified.
*/
public const DAY_DAY_OF_WEEK_UNSPECIFIED = 'DAY_OF_WEEK_UNSPECIFIED';
/**
* Monday
*/
public const DAY_MONDAY = 'MONDAY';
/**
* Tuesday
*/
public const DAY_TUESDAY = 'TUESDAY';
/**
* Wednesday
*/
public const DAY_WEDNESDAY = 'WEDNESDAY';
/**
* Thursday
*/
public const DAY_THURSDAY = 'THURSDAY';
/**
* Friday
*/
public const DAY_FRIDAY = 'FRIDAY';
/**
* Saturday
*/
public const DAY_SATURDAY = 'SATURDAY';
/**
* Sunday
*/
public const DAY_SUNDAY = 'SUNDAY';
/**
* Optional. Allows to define schedule that runs specified day of the week.
*
* @var string
*/
public $day;
protected $startTimeType = TimeOfDay::class;
protected $startTimeDataType = '';
/**
* Optional. Allows to define schedule that runs specified day of the week.
*
* Accepted values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY,
* THURSDAY, FRIDAY, SATURDAY, SUNDAY
*
* @param self::DAY_* $day
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return self::DAY_*
*/
public function getDay()
{
return $this->day;
}
/**
* Optional. Start time of the window in UTC.
*
* @param TimeOfDay $startTime
*/
public function setStartTime(TimeOfDay $startTime)
{
$this->startTime = $startTime;
}
/**
* @return TimeOfDay
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterWeeklyMaintenanceWindow::class, 'Google_Service_CloudRedis_ClusterWeeklyMaintenanceWindow');
@@ -0,0 +1,72 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class Compliance extends \Google\Model
{
/**
* Industry-wide compliance standards or benchmarks, such as CIS, PCI, and
* OWASP.
*
* @var string
*/
public $standard;
/**
* Version of the standard or benchmark, for example, 1.1
*
* @var string
*/
public $version;
/**
* Industry-wide compliance standards or benchmarks, such as CIS, PCI, and
* OWASP.
*
* @param string $standard
*/
public function setStandard($standard)
{
$this->standard = $standard;
}
/**
* @return string
*/
public function getStandard()
{
return $this->standard;
}
/**
* Version of the standard or benchmark, for example, 1.1
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Compliance::class, 'Google_Service_CloudRedis_Compliance');
@@ -0,0 +1,186 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class ConfigBasedSignalData extends \Google\Model
{
/**
* Unspecified signal type.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_UNSPECIFIED = 'SIGNAL_TYPE_UNSPECIFIED';
/**
* Outdated Minor Version
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_OUTDATED_MINOR_VERSION = 'SIGNAL_TYPE_OUTDATED_MINOR_VERSION';
/**
* Represents database auditing is disabled.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_DATABASE_AUDITING_DISABLED = 'SIGNAL_TYPE_DATABASE_AUDITING_DISABLED';
/**
* Represents if a database has a password configured for the root account or
* not.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NO_ROOT_PASSWORD = 'SIGNAL_TYPE_NO_ROOT_PASSWORD';
/**
* Represents if a resource is exposed to public access.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS = 'SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS';
/**
* Represents if a resources requires all incoming connections to use SSL or
* not.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS = 'SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS';
/**
* Represents if a resource version is in extended support.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_EXTENDED_SUPPORT = 'SIGNAL_TYPE_EXTENDED_SUPPORT';
/**
* Represents if a resource has no automated backup policy.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY = 'SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY';
/**
* Represents if a resource version is nearing end of life.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE = 'SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE';
/**
* Represents if the last backup of a resource is older than 24 hours.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_LAST_BACKUP_OLD = 'SIGNAL_TYPE_LAST_BACKUP_OLD';
/**
* Represents if a resource is not protected by automatic failover.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER = 'SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER';
/**
* Required. Full Resource name of the source resource.
*
* @var string
*/
public $fullResourceName;
/**
* Required. Last time signal was refreshed
*
* @var string
*/
public $lastRefreshTime;
protected $resourceIdType = DatabaseResourceId::class;
protected $resourceIdDataType = '';
/**
* Signal data for boolean signals.
*
* @var bool
*/
public $signalBoolValue;
/**
* Required. Signal type of the signal
*
* @var string
*/
public $signalType;
/**
* Required. Full Resource name of the source resource.
*
* @param string $fullResourceName
*/
public function setFullResourceName($fullResourceName)
{
$this->fullResourceName = $fullResourceName;
}
/**
* @return string
*/
public function getFullResourceName()
{
return $this->fullResourceName;
}
/**
* Required. Last time signal was refreshed
*
* @param string $lastRefreshTime
*/
public function setLastRefreshTime($lastRefreshTime)
{
$this->lastRefreshTime = $lastRefreshTime;
}
/**
* @return string
*/
public function getLastRefreshTime()
{
return $this->lastRefreshTime;
}
/**
* Database resource id.
*
* @param DatabaseResourceId $resourceId
*/
public function setResourceId(DatabaseResourceId $resourceId)
{
$this->resourceId = $resourceId;
}
/**
* @return DatabaseResourceId
*/
public function getResourceId()
{
return $this->resourceId;
}
/**
* Signal data for boolean signals.
*
* @param bool $signalBoolValue
*/
public function setSignalBoolValue($signalBoolValue)
{
$this->signalBoolValue = $signalBoolValue;
}
/**
* @return bool
*/
public function getSignalBoolValue()
{
return $this->signalBoolValue;
}
/**
* Required. Signal type of the signal
*
* Accepted values: SIGNAL_TYPE_UNSPECIFIED,
* SIGNAL_TYPE_OUTDATED_MINOR_VERSION, SIGNAL_TYPE_DATABASE_AUDITING_DISABLED,
* SIGNAL_TYPE_NO_ROOT_PASSWORD, SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS,
* SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS, SIGNAL_TYPE_EXTENDED_SUPPORT,
* SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY,
* SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE, SIGNAL_TYPE_LAST_BACKUP_OLD,
* SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER
*
* @param self::SIGNAL_TYPE_* $signalType
*/
public function setSignalType($signalType)
{
$this->signalType = $signalType;
}
/**
* @return self::SIGNAL_TYPE_*
*/
public function getSignalType()
{
return $this->signalType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigBasedSignalData::class, 'Google_Service_CloudRedis_ConfigBasedSignalData');
@@ -0,0 +1,64 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class ConnectionDetail extends \Google\Model
{
protected $pscAutoConnectionType = PscAutoConnection::class;
protected $pscAutoConnectionDataType = '';
protected $pscConnectionType = PscConnection::class;
protected $pscConnectionDataType = '';
/**
* Detailed information of a PSC connection that is created through service
* connectivity automation.
*
* @param PscAutoConnection $pscAutoConnection
*/
public function setPscAutoConnection(PscAutoConnection $pscAutoConnection)
{
$this->pscAutoConnection = $pscAutoConnection;
}
/**
* @return PscAutoConnection
*/
public function getPscAutoConnection()
{
return $this->pscAutoConnection;
}
/**
* Detailed information of a PSC connection that is created by the customer
* who owns the cluster.
*
* @param PscConnection $pscConnection
*/
public function setPscConnection(PscConnection $pscConnection)
{
$this->pscConnection = $pscConnection;
}
/**
* @return PscConnection
*/
public function getPscConnection()
{
return $this->pscConnection;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConnectionDetail::class, 'Google_Service_CloudRedis_ConnectionDetail');
@@ -0,0 +1,156 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class CrossClusterReplicationConfig extends \Google\Collection
{
/**
* Cluster role is not set. The behavior is equivalent to NONE.
*/
public const CLUSTER_ROLE_CLUSTER_ROLE_UNSPECIFIED = 'CLUSTER_ROLE_UNSPECIFIED';
/**
* This cluster does not participate in cross cluster replication. It is an
* independent cluster and does not replicate to or from any other clusters.
*/
public const CLUSTER_ROLE_NONE = 'NONE';
/**
* A cluster that allows both reads and writes. Any data written to this
* cluster is also replicated to the attached secondary clusters.
*/
public const CLUSTER_ROLE_PRIMARY = 'PRIMARY';
/**
* A cluster that allows only reads and replicates data from a primary
* cluster.
*/
public const CLUSTER_ROLE_SECONDARY = 'SECONDARY';
protected $collection_key = 'secondaryClusters';
/**
* Output only. The role of the cluster in cross cluster replication.
*
* @var string
*/
public $clusterRole;
protected $membershipType = Membership::class;
protected $membershipDataType = '';
protected $primaryClusterType = RemoteCluster::class;
protected $primaryClusterDataType = '';
protected $secondaryClustersType = RemoteCluster::class;
protected $secondaryClustersDataType = 'array';
/**
* Output only. The last time cross cluster replication config was updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. The role of the cluster in cross cluster replication.
*
* Accepted values: CLUSTER_ROLE_UNSPECIFIED, NONE, PRIMARY, SECONDARY
*
* @param self::CLUSTER_ROLE_* $clusterRole
*/
public function setClusterRole($clusterRole)
{
$this->clusterRole = $clusterRole;
}
/**
* @return self::CLUSTER_ROLE_*
*/
public function getClusterRole()
{
return $this->clusterRole;
}
/**
* Output only. An output only view of all the member clusters participating
* in the cross cluster replication. This view will be provided by every
* member cluster irrespective of its cluster role(primary or secondary). A
* primary cluster can provide information about all the secondary clusters
* replicating from it. However, a secondary cluster only knows about the
* primary cluster from which it is replicating. However, for scenarios, where
* the primary cluster is unavailable(e.g. regional outage), a GetCluster
* request can be sent to any other member cluster and this field will list
* all the member clusters participating in cross cluster replication.
*
* @param Membership $membership
*/
public function setMembership(Membership $membership)
{
$this->membership = $membership;
}
/**
* @return Membership
*/
public function getMembership()
{
return $this->membership;
}
/**
* Details of the primary cluster that is used as the replication source for
* this secondary cluster. This field is only set for a secondary cluster.
*
* @param RemoteCluster $primaryCluster
*/
public function setPrimaryCluster(RemoteCluster $primaryCluster)
{
$this->primaryCluster = $primaryCluster;
}
/**
* @return RemoteCluster
*/
public function getPrimaryCluster()
{
return $this->primaryCluster;
}
/**
* List of secondary clusters that are replicating from this primary cluster.
* This field is only set for a primary cluster.
*
* @param RemoteCluster[] $secondaryClusters
*/
public function setSecondaryClusters($secondaryClusters)
{
$this->secondaryClusters = $secondaryClusters;
}
/**
* @return RemoteCluster[]
*/
public function getSecondaryClusters()
{
return $this->secondaryClusters;
}
/**
* Output only. The last time cross cluster replication config was updated.
*
* @param string $updateTime
*/
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(CrossClusterReplicationConfig::class, 'Google_Service_CloudRedis_CrossClusterReplicationConfig');
@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class CustomMetadataData extends \Google\Collection
{
protected $collection_key = 'internalResourceMetadata';
protected $internalResourceMetadataType = InternalResourceMetadata::class;
protected $internalResourceMetadataDataType = 'array';
/**
* Metadata for individual internal resources in an instance. e.g. spanner
* instance can have multiple databases with unique configuration.
*
* @param InternalResourceMetadata[] $internalResourceMetadata
*/
public function setInternalResourceMetadata($internalResourceMetadata)
{
$this->internalResourceMetadata = $internalResourceMetadata;
}
/**
* @return InternalResourceMetadata[]
*/
public function getInternalResourceMetadata()
{
return $this->internalResourceMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomMetadataData::class, 'Google_Service_CloudRedis_CustomMetadataData');
@@ -0,0 +1,108 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class DatabaseMetadata extends \Google\Model
{
protected $backupConfigurationType = BackupConfiguration::class;
protected $backupConfigurationDataType = '';
protected $backupRunType = BackupRun::class;
protected $backupRunDataType = '';
protected $productType = Product::class;
protected $productDataType = '';
protected $resourceIdType = DatabaseResourceId::class;
protected $resourceIdDataType = '';
/**
* @var string
*/
public $resourceName;
/**
* @param BackupConfiguration
*/
public function setBackupConfiguration(BackupConfiguration $backupConfiguration)
{
$this->backupConfiguration = $backupConfiguration;
}
/**
* @return BackupConfiguration
*/
public function getBackupConfiguration()
{
return $this->backupConfiguration;
}
/**
* @param BackupRun
*/
public function setBackupRun(BackupRun $backupRun)
{
$this->backupRun = $backupRun;
}
/**
* @return BackupRun
*/
public function getBackupRun()
{
return $this->backupRun;
}
/**
* @param Product
*/
public function setProduct(Product $product)
{
$this->product = $product;
}
/**
* @return Product
*/
public function getProduct()
{
return $this->product;
}
/**
* @param DatabaseResourceId
*/
public function setResourceId(DatabaseResourceId $resourceId)
{
$this->resourceId = $resourceId;
}
/**
* @return DatabaseResourceId
*/
public function getResourceId()
{
return $this->resourceId;
}
/**
* @param string
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseMetadata::class, 'Google_Service_CloudRedis_DatabaseMetadata');
@@ -0,0 +1,274 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class DatabaseResourceFeed extends \Google\Model
{
public const FEED_TYPE_FEEDTYPE_UNSPECIFIED = 'FEEDTYPE_UNSPECIFIED';
/**
* Database resource metadata feed from control plane
*/
public const FEED_TYPE_RESOURCE_METADATA = 'RESOURCE_METADATA';
/**
* Database resource monitoring data
*/
public const FEED_TYPE_OBSERVABILITY_DATA = 'OBSERVABILITY_DATA';
/**
* Database resource security health signal data
*/
public const FEED_TYPE_SECURITY_FINDING_DATA = 'SECURITY_FINDING_DATA';
/**
* Database resource recommendation signal data
*/
public const FEED_TYPE_RECOMMENDATION_SIGNAL_DATA = 'RECOMMENDATION_SIGNAL_DATA';
/**
* Database config based signal data
*/
public const FEED_TYPE_CONFIG_BASED_SIGNAL_DATA = 'CONFIG_BASED_SIGNAL_DATA';
/**
* Database resource metadata from BackupDR
*/
public const FEED_TYPE_BACKUPDR_METADATA = 'BACKUPDR_METADATA';
/**
* Database resource signal data
*/
public const FEED_TYPE_DATABASE_RESOURCE_SIGNAL_DATA = 'DATABASE_RESOURCE_SIGNAL_DATA';
protected $backupdrMetadataType = BackupDRMetadata::class;
protected $backupdrMetadataDataType = '';
protected $configBasedSignalDataType = ConfigBasedSignalData::class;
protected $configBasedSignalDataDataType = '';
protected $databaseResourceSignalDataType = DatabaseResourceSignalData::class;
protected $databaseResourceSignalDataDataType = '';
/**
* Required. Timestamp when feed is generated.
*
* @var string
*/
public $feedTimestamp;
/**
* Required. Type feed to be ingested into condor
*
* @var string
*/
public $feedType;
protected $observabilityMetricDataType = ObservabilityMetricData::class;
protected $observabilityMetricDataDataType = '';
protected $recommendationSignalDataType = DatabaseResourceRecommendationSignalData::class;
protected $recommendationSignalDataDataType = '';
protected $resourceHealthSignalDataType = DatabaseResourceHealthSignalData::class;
protected $resourceHealthSignalDataDataType = '';
protected $resourceIdType = DatabaseResourceId::class;
protected $resourceIdDataType = '';
protected $resourceMetadataType = DatabaseResourceMetadata::class;
protected $resourceMetadataDataType = '';
/**
* Optional. If true, the feed won't be ingested by DB Center. This indicates
* that the feed is intentionally skipped. For example, BackupDR feeds are
* only needed for resources integrated with DB Center (e.g., CloudSQL,
* AlloyDB). Feeds for non-integrated resources (e.g., Compute Engine,
* Persistent Disk) can be skipped.
*
* @var bool
*/
public $skipIngestion;
/**
* BackupDR metadata is used to ingest metadata from BackupDR.
*
* @param BackupDRMetadata $backupdrMetadata
*/
public function setBackupdrMetadata(BackupDRMetadata $backupdrMetadata)
{
$this->backupdrMetadata = $backupdrMetadata;
}
/**
* @return BackupDRMetadata
*/
public function getBackupdrMetadata()
{
return $this->backupdrMetadata;
}
/**
* Config based signal data is used to ingest signals that are generated based
* on the configuration of the database resource.
*
* @param ConfigBasedSignalData $configBasedSignalData
*/
public function setConfigBasedSignalData(ConfigBasedSignalData $configBasedSignalData)
{
$this->configBasedSignalData = $configBasedSignalData;
}
/**
* @return ConfigBasedSignalData
*/
public function getConfigBasedSignalData()
{
return $this->configBasedSignalData;
}
/**
* Database resource signal data is used to ingest signals from database
* resource signal feeds.
*
* @param DatabaseResourceSignalData $databaseResourceSignalData
*/
public function setDatabaseResourceSignalData(DatabaseResourceSignalData $databaseResourceSignalData)
{
$this->databaseResourceSignalData = $databaseResourceSignalData;
}
/**
* @return DatabaseResourceSignalData
*/
public function getDatabaseResourceSignalData()
{
return $this->databaseResourceSignalData;
}
/**
* Required. Timestamp when feed is generated.
*
* @param string $feedTimestamp
*/
public function setFeedTimestamp($feedTimestamp)
{
$this->feedTimestamp = $feedTimestamp;
}
/**
* @return string
*/
public function getFeedTimestamp()
{
return $this->feedTimestamp;
}
/**
* Required. Type feed to be ingested into condor
*
* Accepted values: FEEDTYPE_UNSPECIFIED, RESOURCE_METADATA,
* OBSERVABILITY_DATA, SECURITY_FINDING_DATA, RECOMMENDATION_SIGNAL_DATA,
* CONFIG_BASED_SIGNAL_DATA, BACKUPDR_METADATA, DATABASE_RESOURCE_SIGNAL_DATA
*
* @param self::FEED_TYPE_* $feedType
*/
public function setFeedType($feedType)
{
$this->feedType = $feedType;
}
/**
* @return self::FEED_TYPE_*
*/
public function getFeedType()
{
return $this->feedType;
}
/**
* @param ObservabilityMetricData $observabilityMetricData
*/
public function setObservabilityMetricData(ObservabilityMetricData $observabilityMetricData)
{
$this->observabilityMetricData = $observabilityMetricData;
}
/**
* @return ObservabilityMetricData
*/
public function getObservabilityMetricData()
{
return $this->observabilityMetricData;
}
/**
* @param DatabaseResourceRecommendationSignalData $recommendationSignalData
*/
public function setRecommendationSignalData(DatabaseResourceRecommendationSignalData $recommendationSignalData)
{
$this->recommendationSignalData = $recommendationSignalData;
}
/**
* @return DatabaseResourceRecommendationSignalData
*/
public function getRecommendationSignalData()
{
return $this->recommendationSignalData;
}
/**
* @param DatabaseResourceHealthSignalData $resourceHealthSignalData
*/
public function setResourceHealthSignalData(DatabaseResourceHealthSignalData $resourceHealthSignalData)
{
$this->resourceHealthSignalData = $resourceHealthSignalData;
}
/**
* @return DatabaseResourceHealthSignalData
*/
public function getResourceHealthSignalData()
{
return $this->resourceHealthSignalData;
}
/**
* Primary key associated with the Resource. resource_id is available in
* individual feed level as well.
*
* @deprecated
* @param DatabaseResourceId $resourceId
*/
public function setResourceId(DatabaseResourceId $resourceId)
{
$this->resourceId = $resourceId;
}
/**
* @deprecated
* @return DatabaseResourceId
*/
public function getResourceId()
{
return $this->resourceId;
}
/**
* @param DatabaseResourceMetadata $resourceMetadata
*/
public function setResourceMetadata(DatabaseResourceMetadata $resourceMetadata)
{
$this->resourceMetadata = $resourceMetadata;
}
/**
* @return DatabaseResourceMetadata
*/
public function getResourceMetadata()
{
return $this->resourceMetadata;
}
/**
* Optional. If true, the feed won't be ingested by DB Center. This indicates
* that the feed is intentionally skipped. For example, BackupDR feeds are
* only needed for resources integrated with DB Center (e.g., CloudSQL,
* AlloyDB). Feeds for non-integrated resources (e.g., Compute Engine,
* Persistent Disk) can be skipped.
*
* @param bool $skipIngestion
*/
public function setSkipIngestion($skipIngestion)
{
$this->skipIngestion = $skipIngestion;
}
/**
* @return bool
*/
public function getSkipIngestion()
{
return $this->skipIngestion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseResourceFeed::class, 'Google_Service_CloudRedis_DatabaseResourceFeed');
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,169 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class DatabaseResourceId extends \Google\Model
{
public const PROVIDER_PROVIDER_UNSPECIFIED = 'PROVIDER_UNSPECIFIED';
/**
* Google cloud platform provider
*/
public const PROVIDER_GCP = 'GCP';
/**
* Amazon web service
*/
public const PROVIDER_AWS = 'AWS';
/**
* Azure web service
*/
public const PROVIDER_AZURE = 'AZURE';
/**
* On-prem database resources.
*/
public const PROVIDER_ONPREM = 'ONPREM';
/**
* Self-managed database provider. These are resources on a cloud platform,
* e.g., database resource installed in a GCE VM, but not a managed database
* service.
*/
public const PROVIDER_SELFMANAGED = 'SELFMANAGED';
/**
* For the rest of the other categories. Other refers to the rest of other
* database service providers, this could be smaller cloud provider. This
* needs to be provided when the provider is known, but it is not present in
* the existing set of enum values.
*/
public const PROVIDER_PROVIDER_OTHER = 'PROVIDER_OTHER';
/**
* Required. Cloud provider name. Ex: GCP/AWS/Azure/OnPrem/SelfManaged
*
* @var string
*/
public $provider;
/**
* Optional. Needs to be used only when the provider is PROVIDER_OTHER.
*
* @var string
*/
public $providerDescription;
/**
* Required. The type of resource this ID is identifying. Ex go/keep-sorted
* start alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance,
* bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance
* compute.googleapis.com/Instance firestore.googleapis.com/Database,
* redis.googleapis.com/Instance, redis.googleapis.com/Cluster,
* oracledatabase.googleapis.com/CloudExadataInfrastructure
* oracledatabase.googleapis.com/CloudVmCluster
* oracledatabase.googleapis.com/AutonomousDatabase
* spanner.googleapis.com/Instance, spanner.googleapis.com/Database,
* sqladmin.googleapis.com/Instance, go/keep-sorted end REQUIRED Please refer
* go/condor-common-datamodel
*
* @var string
*/
public $resourceType;
/**
* Required. A service-local token that distinguishes this resource from other
* resources within the same service.
*
* @var string
*/
public $uniqueId;
/**
* Required. Cloud provider name. Ex: GCP/AWS/Azure/OnPrem/SelfManaged
*
* Accepted values: PROVIDER_UNSPECIFIED, GCP, AWS, AZURE, ONPREM,
* SELFMANAGED, PROVIDER_OTHER
*
* @param self::PROVIDER_* $provider
*/
public function setProvider($provider)
{
$this->provider = $provider;
}
/**
* @return self::PROVIDER_*
*/
public function getProvider()
{
return $this->provider;
}
/**
* Optional. Needs to be used only when the provider is PROVIDER_OTHER.
*
* @param string $providerDescription
*/
public function setProviderDescription($providerDescription)
{
$this->providerDescription = $providerDescription;
}
/**
* @return string
*/
public function getProviderDescription()
{
return $this->providerDescription;
}
/**
* Required. The type of resource this ID is identifying. Ex go/keep-sorted
* start alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance,
* bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance
* compute.googleapis.com/Instance firestore.googleapis.com/Database,
* redis.googleapis.com/Instance, redis.googleapis.com/Cluster,
* oracledatabase.googleapis.com/CloudExadataInfrastructure
* oracledatabase.googleapis.com/CloudVmCluster
* oracledatabase.googleapis.com/AutonomousDatabase
* spanner.googleapis.com/Instance, spanner.googleapis.com/Database,
* sqladmin.googleapis.com/Instance, go/keep-sorted end REQUIRED Please refer
* go/condor-common-datamodel
*
* @param string $resourceType
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
/**
* Required. A service-local token that distinguishes this resource from other
* resources within the same service.
*
* @param string $uniqueId
*/
public function setUniqueId($uniqueId)
{
$this->uniqueId = $uniqueId;
}
/**
* @return string
*/
public function getUniqueId()
{
return $this->uniqueId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseResourceId::class, 'Google_Service_CloudRedis_DatabaseResourceId');
@@ -0,0 +1,818 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class DatabaseResourceMetadata extends \Google\Collection
{
public const CURRENT_STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The instance is running.
*/
public const CURRENT_STATE_HEALTHY = 'HEALTHY';
/**
* Instance being created, updated, deleted or under maintenance
*/
public const CURRENT_STATE_UNHEALTHY = 'UNHEALTHY';
/**
* When instance is suspended
*/
public const CURRENT_STATE_SUSPENDED = 'SUSPENDED';
/**
* Instance is deleted.
*/
public const CURRENT_STATE_DELETED = 'DELETED';
/**
* For rest of the other category
*/
public const CURRENT_STATE_STATE_OTHER = 'STATE_OTHER';
/**
* Instance is in STOPPED state.
*/
public const CURRENT_STATE_STOPPED = 'STOPPED';
/**
* Default, to make it consistent with instance edition enum.
*/
public const EDITION_EDITION_UNSPECIFIED = 'EDITION_UNSPECIFIED';
/**
* Represents the enterprise edition.
*/
public const EDITION_EDITION_ENTERPRISE = 'EDITION_ENTERPRISE';
/**
* Represents the enterprise plus edition.
*/
public const EDITION_EDITION_ENTERPRISE_PLUS = 'EDITION_ENTERPRISE_PLUS';
/**
* Represents the standard edition.
*/
public const EDITION_EDITION_STANDARD = 'EDITION_STANDARD';
public const EXPECTED_STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The instance is running.
*/
public const EXPECTED_STATE_HEALTHY = 'HEALTHY';
/**
* Instance being created, updated, deleted or under maintenance
*/
public const EXPECTED_STATE_UNHEALTHY = 'UNHEALTHY';
/**
* When instance is suspended
*/
public const EXPECTED_STATE_SUSPENDED = 'SUSPENDED';
/**
* Instance is deleted.
*/
public const EXPECTED_STATE_DELETED = 'DELETED';
/**
* For rest of the other category
*/
public const EXPECTED_STATE_STATE_OTHER = 'STATE_OTHER';
/**
* Instance is in STOPPED state.
*/
public const EXPECTED_STATE_STOPPED = 'STOPPED';
/**
* Unspecified.
*
* @deprecated
*/
public const INSTANCE_TYPE_INSTANCE_TYPE_UNSPECIFIED = 'INSTANCE_TYPE_UNSPECIFIED';
/**
* For rest of the other categories.
*/
public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_UNSPECIFIED = 'SUB_RESOURCE_TYPE_UNSPECIFIED';
/**
* A regular primary database instance.
*
* @deprecated
*/
public const INSTANCE_TYPE_PRIMARY = 'PRIMARY';
/**
* A cluster or an instance acting as a secondary.
*
* @deprecated
*/
public const INSTANCE_TYPE_SECONDARY = 'SECONDARY';
/**
* An instance acting as a read-replica.
*
* @deprecated
*/
public const INSTANCE_TYPE_READ_REPLICA = 'READ_REPLICA';
/**
* For rest of the other categories.
*
* @deprecated
*/
public const INSTANCE_TYPE_OTHER = 'OTHER';
/**
* A regular primary database instance.
*/
public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_PRIMARY = 'SUB_RESOURCE_TYPE_PRIMARY';
/**
* A cluster or an instance acting as a secondary.
*/
public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_SECONDARY = 'SUB_RESOURCE_TYPE_SECONDARY';
/**
* An instance acting as a read-replica.
*/
public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_READ_REPLICA = 'SUB_RESOURCE_TYPE_READ_REPLICA';
/**
* An instance acting as an external primary.
*/
public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY = 'SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY';
/**
* An instance acting as Read Pool.
*/
public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_READ_POOL = 'SUB_RESOURCE_TYPE_READ_POOL';
/**
* Represents a reservation resource.
*/
public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_RESERVATION = 'SUB_RESOURCE_TYPE_RESERVATION';
/**
* Represents a dataset resource.
*/
public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_DATASET = 'SUB_RESOURCE_TYPE_DATASET';
/**
* For rest of the other categories.
*/
public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_OTHER = 'SUB_RESOURCE_TYPE_OTHER';
/**
* Suspension reason is unspecified.
*/
public const SUSPENSION_REASON_SUSPENSION_REASON_UNSPECIFIED = 'SUSPENSION_REASON_UNSPECIFIED';
/**
* Wipeout hide event.
*/
public const SUSPENSION_REASON_WIPEOUT_HIDE_EVENT = 'WIPEOUT_HIDE_EVENT';
/**
* Wipeout purge event.
*/
public const SUSPENSION_REASON_WIPEOUT_PURGE_EVENT = 'WIPEOUT_PURGE_EVENT';
/**
* Billing disabled for project
*/
public const SUSPENSION_REASON_BILLING_DISABLED = 'BILLING_DISABLED';
/**
* Abuse detected for resource
*/
public const SUSPENSION_REASON_ABUSER_DETECTED = 'ABUSER_DETECTED';
/**
* Encryption key inaccessible.
*/
public const SUSPENSION_REASON_ENCRYPTION_KEY_INACCESSIBLE = 'ENCRYPTION_KEY_INACCESSIBLE';
/**
* Replicated cluster encryption key inaccessible.
*/
public const SUSPENSION_REASON_REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE = 'REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE';
protected $collection_key = 'resourceFlags';
protected $availabilityConfigurationType = AvailabilityConfiguration::class;
protected $availabilityConfigurationDataType = '';
protected $backupConfigurationType = BackupConfiguration::class;
protected $backupConfigurationDataType = '';
protected $backupRunType = BackupRun::class;
protected $backupRunDataType = '';
protected $backupdrConfigurationType = BackupDRConfiguration::class;
protected $backupdrConfigurationDataType = '';
/**
* The creation time of the resource, i.e. the time when resource is created
* and recorded in partner service.
*
* @var string
*/
public $creationTime;
/**
* Current state of the instance.
*
* @var string
*/
public $currentState;
protected $customMetadataType = CustomMetadataData::class;
protected $customMetadataDataType = '';
/**
* Optional. Edition represents whether the instance is ENTERPRISE or
* ENTERPRISE_PLUS. This information is core to Cloud SQL only and is used to
* identify the edition of the instance.
*
* @var string
*/
public $edition;
protected $entitlementsType = Entitlement::class;
protected $entitlementsDataType = 'array';
/**
* The state that the instance is expected to be in. For example, an instance
* state can transition to UNHEALTHY due to wrong patch update, while the
* expected state will remain at the HEALTHY.
*
* @var string
*/
public $expectedState;
protected $gcbdrConfigurationType = GCBDRConfiguration::class;
protected $gcbdrConfigurationDataType = '';
protected $idType = DatabaseResourceId::class;
protected $idDataType = '';
/**
* The type of the instance. Specified at creation time.
*
* @var string
*/
public $instanceType;
/**
* Optional. Whether deletion protection is enabled for this resource.
*
* @var bool
*/
public $isDeletionProtectionEnabled;
/**
* The resource location. REQUIRED
*
* @var string
*/
public $location;
protected $machineConfigurationType = MachineConfiguration::class;
protected $machineConfigurationDataType = '';
protected $maintenanceInfoType = ResourceMaintenanceInfo::class;
protected $maintenanceInfoDataType = '';
/**
* Optional. The modes of the database resource.
*
* @var string[]
*/
public $modes;
protected $primaryResourceIdType = DatabaseResourceId::class;
protected $primaryResourceIdDataType = '';
/**
* Primary resource location. REQUIRED if the immediate parent exists when
* first time resource is getting ingested, otherwise optional.
*
* @var string
*/
public $primaryResourceLocation;
protected $productType = Product::class;
protected $productDataType = '';
/**
* Closest parent Cloud Resource Manager container of this resource. It must
* be resource name of a Cloud Resource Manager project with the format of
* "/", such as "projects/123". For GCP provided resources, number should be
* project number.
*
* @var string
*/
public $resourceContainer;
protected $resourceFlagsType = ResourceFlags::class;
protected $resourceFlagsDataType = 'array';
/**
* Required. Different from DatabaseResourceId.unique_id, a resource name can
* be reused over time. That is, after a resource named "ABC" is deleted, the
* name "ABC" can be used to to create a new resource within the same source.
* Resource name to follow CAIS resource_name format as noted here go/condor-
* common-datamodel
*
* @var string
*/
public $resourceName;
/**
* Optional. Suspension reason for the resource.
*
* @var string
*/
public $suspensionReason;
protected $tagsSetType = Tags::class;
protected $tagsSetDataType = '';
/**
* The time at which the resource was updated and recorded at partner service.
*
* @var string
*/
public $updationTime;
protected $userLabelSetType = UserLabels::class;
protected $userLabelSetDataType = '';
/**
* The resource zone. This is only applicable for zonal resources and will be
* empty for regional and multi-regional resources.
*
* @var string
*/
public $zone;
/**
* Availability configuration for this instance
*
* @param AvailabilityConfiguration $availabilityConfiguration
*/
public function setAvailabilityConfiguration(AvailabilityConfiguration $availabilityConfiguration)
{
$this->availabilityConfiguration = $availabilityConfiguration;
}
/**
* @return AvailabilityConfiguration
*/
public function getAvailabilityConfiguration()
{
return $this->availabilityConfiguration;
}
/**
* Backup configuration for this instance
*
* @param BackupConfiguration $backupConfiguration
*/
public function setBackupConfiguration(BackupConfiguration $backupConfiguration)
{
$this->backupConfiguration = $backupConfiguration;
}
/**
* @return BackupConfiguration
*/
public function getBackupConfiguration()
{
return $this->backupConfiguration;
}
/**
* Latest backup run information for this instance
*
* @param BackupRun $backupRun
*/
public function setBackupRun(BackupRun $backupRun)
{
$this->backupRun = $backupRun;
}
/**
* @return BackupRun
*/
public function getBackupRun()
{
return $this->backupRun;
}
/**
* Optional. BackupDR Configuration for the resource.
*
* @param BackupDRConfiguration $backupdrConfiguration
*/
public function setBackupdrConfiguration(BackupDRConfiguration $backupdrConfiguration)
{
$this->backupdrConfiguration = $backupdrConfiguration;
}
/**
* @return BackupDRConfiguration
*/
public function getBackupdrConfiguration()
{
return $this->backupdrConfiguration;
}
/**
* The creation time of the resource, i.e. the time when resource is created
* and recorded in partner service.
*
* @param string $creationTime
*/
public function setCreationTime($creationTime)
{
$this->creationTime = $creationTime;
}
/**
* @return string
*/
public function getCreationTime()
{
return $this->creationTime;
}
/**
* Current state of the instance.
*
* Accepted values: STATE_UNSPECIFIED, HEALTHY, UNHEALTHY, SUSPENDED, DELETED,
* STATE_OTHER, STOPPED
*
* @param self::CURRENT_STATE_* $currentState
*/
public function setCurrentState($currentState)
{
$this->currentState = $currentState;
}
/**
* @return self::CURRENT_STATE_*
*/
public function getCurrentState()
{
return $this->currentState;
}
/**
* Any custom metadata associated with the resource
*
* @param CustomMetadataData $customMetadata
*/
public function setCustomMetadata(CustomMetadataData $customMetadata)
{
$this->customMetadata = $customMetadata;
}
/**
* @return CustomMetadataData
*/
public function getCustomMetadata()
{
return $this->customMetadata;
}
/**
* Optional. Edition represents whether the instance is ENTERPRISE or
* ENTERPRISE_PLUS. This information is core to Cloud SQL only and is used to
* identify the edition of the instance.
*
* Accepted values: EDITION_UNSPECIFIED, EDITION_ENTERPRISE,
* EDITION_ENTERPRISE_PLUS, EDITION_STANDARD
*
* @param self::EDITION_* $edition
*/
public function setEdition($edition)
{
$this->edition = $edition;
}
/**
* @return self::EDITION_*
*/
public function getEdition()
{
return $this->edition;
}
/**
* Entitlements associated with the resource
*
* @param Entitlement[] $entitlements
*/
public function setEntitlements($entitlements)
{
$this->entitlements = $entitlements;
}
/**
* @return Entitlement[]
*/
public function getEntitlements()
{
return $this->entitlements;
}
/**
* The state that the instance is expected to be in. For example, an instance
* state can transition to UNHEALTHY due to wrong patch update, while the
* expected state will remain at the HEALTHY.
*
* Accepted values: STATE_UNSPECIFIED, HEALTHY, UNHEALTHY, SUSPENDED, DELETED,
* STATE_OTHER, STOPPED
*
* @param self::EXPECTED_STATE_* $expectedState
*/
public function setExpectedState($expectedState)
{
$this->expectedState = $expectedState;
}
/**
* @return self::EXPECTED_STATE_*
*/
public function getExpectedState()
{
return $this->expectedState;
}
/**
* GCBDR configuration for the resource.
*
* @deprecated
* @param GCBDRConfiguration $gcbdrConfiguration
*/
public function setGcbdrConfiguration(GCBDRConfiguration $gcbdrConfiguration)
{
$this->gcbdrConfiguration = $gcbdrConfiguration;
}
/**
* @deprecated
* @return GCBDRConfiguration
*/
public function getGcbdrConfiguration()
{
return $this->gcbdrConfiguration;
}
/**
* Required. Unique identifier for a Database resource
*
* @param DatabaseResourceId $id
*/
public function setId(DatabaseResourceId $id)
{
$this->id = $id;
}
/**
* @return DatabaseResourceId
*/
public function getId()
{
return $this->id;
}
/**
* The type of the instance. Specified at creation time.
*
* Accepted values: INSTANCE_TYPE_UNSPECIFIED, SUB_RESOURCE_TYPE_UNSPECIFIED,
* PRIMARY, SECONDARY, READ_REPLICA, OTHER, SUB_RESOURCE_TYPE_PRIMARY,
* SUB_RESOURCE_TYPE_SECONDARY, SUB_RESOURCE_TYPE_READ_REPLICA,
* SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY, SUB_RESOURCE_TYPE_READ_POOL,
* SUB_RESOURCE_TYPE_RESERVATION, SUB_RESOURCE_TYPE_DATASET,
* SUB_RESOURCE_TYPE_OTHER
*
* @param self::INSTANCE_TYPE_* $instanceType
*/
public function setInstanceType($instanceType)
{
$this->instanceType = $instanceType;
}
/**
* @return self::INSTANCE_TYPE_*
*/
public function getInstanceType()
{
return $this->instanceType;
}
/**
* Optional. Whether deletion protection is enabled for this resource.
*
* @param bool $isDeletionProtectionEnabled
*/
public function setIsDeletionProtectionEnabled($isDeletionProtectionEnabled)
{
$this->isDeletionProtectionEnabled = $isDeletionProtectionEnabled;
}
/**
* @return bool
*/
public function getIsDeletionProtectionEnabled()
{
return $this->isDeletionProtectionEnabled;
}
/**
* The resource location. REQUIRED
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* Machine configuration for this resource.
*
* @param MachineConfiguration $machineConfiguration
*/
public function setMachineConfiguration(MachineConfiguration $machineConfiguration)
{
$this->machineConfiguration = $machineConfiguration;
}
/**
* @return MachineConfiguration
*/
public function getMachineConfiguration()
{
return $this->machineConfiguration;
}
/**
* Optional. Maintenance info for the resource.
*
* @param ResourceMaintenanceInfo $maintenanceInfo
*/
public function setMaintenanceInfo(ResourceMaintenanceInfo $maintenanceInfo)
{
$this->maintenanceInfo = $maintenanceInfo;
}
/**
* @return ResourceMaintenanceInfo
*/
public function getMaintenanceInfo()
{
return $this->maintenanceInfo;
}
/**
* Optional. The modes of the database resource.
*
* @param string[] $modes
*/
public function setModes($modes)
{
$this->modes = $modes;
}
/**
* @return string[]
*/
public function getModes()
{
return $this->modes;
}
/**
* Identifier for this resource's immediate parent/primary resource if the
* current resource is a replica or derived form of another Database resource.
* Else it would be NULL. REQUIRED if the immediate parent exists when first
* time resource is getting ingested, otherwise optional.
*
* @param DatabaseResourceId $primaryResourceId
*/
public function setPrimaryResourceId(DatabaseResourceId $primaryResourceId)
{
$this->primaryResourceId = $primaryResourceId;
}
/**
* @return DatabaseResourceId
*/
public function getPrimaryResourceId()
{
return $this->primaryResourceId;
}
/**
* Primary resource location. REQUIRED if the immediate parent exists when
* first time resource is getting ingested, otherwise optional.
*
* @param string $primaryResourceLocation
*/
public function setPrimaryResourceLocation($primaryResourceLocation)
{
$this->primaryResourceLocation = $primaryResourceLocation;
}
/**
* @return string
*/
public function getPrimaryResourceLocation()
{
return $this->primaryResourceLocation;
}
/**
* The product this resource represents.
*
* @param Product $product
*/
public function setProduct(Product $product)
{
$this->product = $product;
}
/**
* @return Product
*/
public function getProduct()
{
return $this->product;
}
/**
* Closest parent Cloud Resource Manager container of this resource. It must
* be resource name of a Cloud Resource Manager project with the format of
* "/", such as "projects/123". For GCP provided resources, number should be
* project number.
*
* @param string $resourceContainer
*/
public function setResourceContainer($resourceContainer)
{
$this->resourceContainer = $resourceContainer;
}
/**
* @return string
*/
public function getResourceContainer()
{
return $this->resourceContainer;
}
/**
* Optional. List of resource flags for the database resource.
*
* @param ResourceFlags[] $resourceFlags
*/
public function setResourceFlags($resourceFlags)
{
$this->resourceFlags = $resourceFlags;
}
/**
* @return ResourceFlags[]
*/
public function getResourceFlags()
{
return $this->resourceFlags;
}
/**
* Required. Different from DatabaseResourceId.unique_id, a resource name can
* be reused over time. That is, after a resource named "ABC" is deleted, the
* name "ABC" can be used to to create a new resource within the same source.
* Resource name to follow CAIS resource_name format as noted here go/condor-
* common-datamodel
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* Optional. Suspension reason for the resource.
*
* Accepted values: SUSPENSION_REASON_UNSPECIFIED, WIPEOUT_HIDE_EVENT,
* WIPEOUT_PURGE_EVENT, BILLING_DISABLED, ABUSER_DETECTED,
* ENCRYPTION_KEY_INACCESSIBLE, REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE
*
* @param self::SUSPENSION_REASON_* $suspensionReason
*/
public function setSuspensionReason($suspensionReason)
{
$this->suspensionReason = $suspensionReason;
}
/**
* @return self::SUSPENSION_REASON_*
*/
public function getSuspensionReason()
{
return $this->suspensionReason;
}
/**
* Optional. Tags associated with this resources.
*
* @param Tags $tagsSet
*/
public function setTagsSet(Tags $tagsSet)
{
$this->tagsSet = $tagsSet;
}
/**
* @return Tags
*/
public function getTagsSet()
{
return $this->tagsSet;
}
/**
* The time at which the resource was updated and recorded at partner service.
*
* @param string $updationTime
*/
public function setUpdationTime($updationTime)
{
$this->updationTime = $updationTime;
}
/**
* @return string
*/
public function getUpdationTime()
{
return $this->updationTime;
}
/**
* User-provided labels associated with the resource
*
* @param UserLabels $userLabelSet
*/
public function setUserLabelSet(UserLabels $userLabelSet)
{
$this->userLabelSet = $userLabelSet;
}
/**
* @return UserLabels
*/
public function getUserLabelSet()
{
return $this->userLabelSet;
}
/**
* The resource zone. This is only applicable for zonal resources and will be
* empty for regional and multi-regional resources.
*
* @param string $zone
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseResourceMetadata::class, 'Google_Service_CloudRedis_DatabaseResourceMetadata');
@@ -0,0 +1,816 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class DatabaseResourceRecommendationSignalData extends \Google\Model
{
public const RECOMMENDATION_STATE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Recommendation is active and can be applied. ACTIVE recommendations can be
* marked as CLAIMED, SUCCEEDED, or FAILED.
*/
public const RECOMMENDATION_STATE_ACTIVE = 'ACTIVE';
/**
* Recommendation is in claimed state. Recommendations content is immutable
* and cannot be updated by Google. CLAIMED recommendations can be marked as
* CLAIMED, SUCCEEDED, or FAILED.
*/
public const RECOMMENDATION_STATE_CLAIMED = 'CLAIMED';
/**
* Recommendation is in succeeded state. Recommendations content is immutable
* and cannot be updated by Google. SUCCEEDED recommendations can be marked as
* SUCCEEDED, or FAILED.
*/
public const RECOMMENDATION_STATE_SUCCEEDED = 'SUCCEEDED';
/**
* Recommendation is in failed state. Recommendations content is immutable and
* cannot be updated by Google. FAILED recommendations can be marked as
* SUCCEEDED, or FAILED.
*/
public const RECOMMENDATION_STATE_FAILED = 'FAILED';
/**
* Recommendation is in dismissed state. Recommendation content can be updated
* by Google. DISMISSED recommendations can be marked as ACTIVE.
*/
public const RECOMMENDATION_STATE_DISMISSED = 'DISMISSED';
/**
* Unspecified.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_UNSPECIFIED = 'SIGNAL_TYPE_UNSPECIFIED';
/**
* Represents if a resource is protected by automatic failover. Checks for
* resources that are configured to have redundancy within a region that
* enables automatic failover.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER = 'SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER';
/**
* Represents if a group is replicating across regions. Checks for resources
* that are configured to have redundancy, and ongoing replication, across
* regions.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS = 'SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS';
/**
* Represents if the resource is available in multiple zones or not.
*
* @deprecated
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES = 'SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES';
/**
* Represents if a resource is available in multiple regions.
*
* @deprecated
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS = 'SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS';
/**
* Represents if a resource has a promotable replica.
*
* @deprecated
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NO_PROMOTABLE_REPLICA = 'SIGNAL_TYPE_NO_PROMOTABLE_REPLICA';
/**
* Represents if a resource has an automated backup policy.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY = 'SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY';
/**
* Represents if a resources has a short backup retention period.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_SHORT_BACKUP_RETENTION = 'SIGNAL_TYPE_SHORT_BACKUP_RETENTION';
/**
* Represents if the last backup of a resource failed.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_LAST_BACKUP_FAILED = 'SIGNAL_TYPE_LAST_BACKUP_FAILED';
/**
* Represents if the last backup of a resource is older than some threshold
* value.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_LAST_BACKUP_OLD = 'SIGNAL_TYPE_LAST_BACKUP_OLD';
/**
* Represents if a resource violates CIS GCP Foundation 2.0.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0 = 'SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0';
/**
* Represents if a resource violates CIS GCP Foundation 1.3.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3 = 'SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3';
/**
* Represents if a resource violates CIS GCP Foundation 1.2.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2 = 'SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2';
/**
* Represents if a resource violates CIS GCP Foundation 1.1.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1 = 'SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1';
/**
* Represents if a resource violates CIS GCP Foundation 1.0.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0 = 'SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0';
/**
* Represents if a resource violates CIS Controls 8.0.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0 = 'SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0';
/**
* Represents if a resource violates NIST 800-53.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_NIST_800_53 = 'SIGNAL_TYPE_VIOLATES_NIST_800_53';
/**
* Represents if a resource violates NIST 800-53 R5.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_NIST_800_53_R5 = 'SIGNAL_TYPE_VIOLATES_NIST_800_53_R5';
/**
* Represents if a resource violates NIST Cybersecurity Framework 1.0.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0 = 'SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0';
/**
* Represents if a resource violates ISO-27001.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_ISO_27001 = 'SIGNAL_TYPE_VIOLATES_ISO_27001';
/**
* Represents if a resource violates ISO 27001 2022.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_ISO_27001_V2022 = 'SIGNAL_TYPE_VIOLATES_ISO_27001_V2022';
/**
* Represents if a resource violates PCI-DSS v3.2.1.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1 = 'SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1';
/**
* Represents if a resource violates PCI-DSS v4.0.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0 = 'SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0';
/**
* Represents if a resource violates Cloud Controls Matrix v4.0.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4 = 'SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4';
/**
* Represents if a resource violates HIPAA.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_HIPAA = 'SIGNAL_TYPE_VIOLATES_HIPAA';
/**
* Represents if a resource violates SOC2 v2017.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATES_SOC2_V2017 = 'SIGNAL_TYPE_VIOLATES_SOC2_V2017';
/**
* Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL
* instance is not set to on.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING = 'SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING';
/**
* Represents if the log_duration database flag for a Cloud SQL for PostgreSQL
* instance is not set to on.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED = 'SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED';
/**
* Represents if the log_error_verbosity database flag for a Cloud SQL for
* PostgreSQL instance is not set to default or stricter (default or terse).
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VERBOSE_ERROR_LOGGING = 'SIGNAL_TYPE_VERBOSE_ERROR_LOGGING';
/**
* Represents if the log_lock_waits database flag for a Cloud SQL for
* PostgreSQL instance is not set to on.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED = 'SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED';
/**
* Represents if the log_min_error_statement database flag for a Cloud SQL for
* PostgreSQL instance is not set appropriately.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_LOGGING_MOST_ERRORS = 'SIGNAL_TYPE_LOGGING_MOST_ERRORS';
/**
* Represents if the log_min_error_statement database flag for a Cloud SQL for
* PostgreSQL instance does not have an appropriate severity level.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS = 'SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS';
/**
* Represents if the log_min_messages database flag for a Cloud SQL for
* PostgreSQL instance is not set to warning or another recommended value.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_MINIMAL_ERROR_LOGGING = 'SIGNAL_TYPE_MINIMAL_ERROR_LOGGING';
/**
* Represents if the databaseFlags property of instance metadata for the
* log_executor_status field is set to on.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_QUERY_STATISTICS_LOGGED = 'SIGNAL_TYPE_QUERY_STATISTICS_LOGGED';
/**
* Represents if the log_hostname database flag for a Cloud SQL for PostgreSQL
* instance is not set to off.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME = 'SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME';
/**
* Represents if the log_parser_stats database flag for a Cloud SQL for
* PostgreSQL instance is not set to off.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATISTICS = 'SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATISTICS';
/**
* Represents if the log_planner_stats database flag for a Cloud SQL for
* PostgreSQL instance is not set to off.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATISTICS = 'SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATISTICS';
/**
* Represents if the log_statement database flag for a Cloud SQL for
* PostgreSQL instance is not set to DDL (all data definition statements).
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS = 'SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS';
/**
* Represents if the log_statement_stats database flag for a Cloud SQL for
* PostgreSQL instance is not set to off.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_LOGGING_QUERY_STATISTICS = 'SIGNAL_TYPE_LOGGING_QUERY_STATISTICS';
/**
* Represents if the log_temp_files database flag for a Cloud SQL for
* PostgreSQL instance is not set to "0". (NOTE: 0 = ON)
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES = 'SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES';
/**
* Represents if the user connections database flag for a Cloud SQL for SQL
* Server instance is configured.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_CONNECTION_MAX_NOT_CONFIGURED = 'SIGNAL_TYPE_CONNECTION_MAX_NOT_CONFIGURED';
/**
* Represents if the user options database flag for Cloud SQL SQL Server
* instance is configured or not.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_USER_OPTIONS_CONFIGURED = 'SIGNAL_TYPE_USER_OPTIONS_CONFIGURED';
/**
* Represents if a resource is exposed to public access.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS = 'SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS';
/**
* Represents if a resources requires all incoming connections to use SSL or
* not.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS = 'SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS';
/**
* Represents if a Cloud SQL database has a password configured for the root
* account or not.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NO_ROOT_PASSWORD = 'SIGNAL_TYPE_NO_ROOT_PASSWORD';
/**
* Represents if a Cloud SQL database has a weak password configured for the
* root account.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_WEAK_ROOT_PASSWORD = 'SIGNAL_TYPE_WEAK_ROOT_PASSWORD';
/**
* Represents if a SQL database instance is not encrypted with customer-
* managed encryption keys (CMEK).
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED = 'SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED';
/**
* Represents if The contained database authentication database flag for a
* Cloud SQL for SQL Server instance is not set to off.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED = 'SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED';
/**
* Represents if the cross_db_ownership_chaining database flag for a Cloud SQL
* for SQL Server instance is not set to off.
*
* @deprecated
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING = 'SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING';
/**
* Represents if he external scripts enabled database flag for a Cloud SQL for
* SQL Server instance is not set to off.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_EXPOSED_TO_EXTERNAL_SCRIPTS = 'SIGNAL_TYPE_EXPOSED_TO_EXTERNAL_SCRIPTS';
/**
* Represents if the local_infile database flag for a Cloud SQL for MySQL
* instance is not set to off.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS = 'SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS';
/**
* Represents if the log_connections database flag for a Cloud SQL for
* PostgreSQL instance is not set to on.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_CONNECTION_ATTEMPTS_NOT_LOGGED = 'SIGNAL_TYPE_CONNECTION_ATTEMPTS_NOT_LOGGED';
/**
* Represents if the log_disconnections database flag for a Cloud SQL for
* PostgreSQL instance is not set to on.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED = 'SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED';
/**
* Represents if the log_min_duration_statement database flag for a Cloud SQL
* for PostgreSQL instance is not set to -1.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO = 'SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO';
/**
* Represents if the remote access database flag for a Cloud SQL for SQL
* Server instance is not set to off.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS = 'SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS';
/**
* Represents if the skip_show_database database flag for a Cloud SQL for
* MySQL instance is not set to on.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_DATABASE_NAMES_EXPOSED = 'SIGNAL_TYPE_DATABASE_NAMES_EXPOSED';
/**
* Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL
* Server instance is not set to on.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED = 'SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED';
/**
* Represents if public IP is enabled.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_PUBLIC_IP_ENABLED = 'SIGNAL_TYPE_PUBLIC_IP_ENABLED';
/**
* Represents Idle instance helps to reduce costs.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_IDLE = 'SIGNAL_TYPE_IDLE';
/**
* Represents instances that are unnecessarily large for given workload.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_OVERPROVISIONED = 'SIGNAL_TYPE_OVERPROVISIONED';
/**
* Represents high number of concurrently opened tables.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES = 'SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES';
/**
* Represents high table count close to SLA limit.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES = 'SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES';
/**
* Represents high number of unvacuumed transactions
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION = 'SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION';
/**
* Represents need for more CPU and/or memory
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_UNDERPROVISIONED = 'SIGNAL_TYPE_UNDERPROVISIONED';
/**
* Represents out of disk.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_OUT_OF_DISK = 'SIGNAL_TYPE_OUT_OF_DISK';
/**
* Represents server certificate is near expiry.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY = 'SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY';
/**
* Represents database auditing is disabled.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_DATABASE_AUDITING_DISABLED = 'SIGNAL_TYPE_DATABASE_AUDITING_DISABLED';
/**
* Represents not restricted to authorized networks.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS = 'SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS';
/**
* Represents violate org policy restrict public ip.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP = 'SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP';
/**
* Cluster nearing quota limit
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_QUOTA_LIMIT = 'SIGNAL_TYPE_QUOTA_LIMIT';
/**
* No password policy set on resources
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NO_PASSWORD_POLICY = 'SIGNAL_TYPE_NO_PASSWORD_POLICY';
/**
* Performance impact of connections settings
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT = 'SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT';
/**
* Performance impact of temporary tables settings
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT = 'SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT';
/**
* Performance impact of transaction logs settings
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT = 'SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT';
/**
* Performance impact of high joins without indexes
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES = 'SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES';
/**
* Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers
* or root for MySQL users) writes to non-system tables.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES = 'SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES';
/**
* Detects events where a database user or role has been granted all
* privileges to a database, or to all tables, procedures, or functions in a
* schema.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS = 'SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS';
/**
* Detects if database instance data exported to a Cloud Storage bucket
* outside of the organization.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET = 'SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET';
/**
* Detects if database instance data exported to a Cloud Storage bucket that
* is owned by the organization and is publicly accessible.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET = 'SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET';
/**
* Detects if a database instance is using a weak password hash algorithm.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM = 'SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM';
/**
* Detects if a database instance has no user password policy set.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NO_USER_PASSWORD_POLICY = 'SIGNAL_TYPE_NO_USER_PASSWORD_POLICY';
/**
* Detects if a database instance/cluster has a hot node.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_HOT_NODE = 'SIGNAL_TYPE_HOT_NODE';
/**
* Detects if a database instance has no point in time recovery enabled.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY = 'SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY';
/**
* Detects if a database instance/cluster is suspended.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_RESOURCE_SUSPENDED = 'SIGNAL_TYPE_RESOURCE_SUSPENDED';
/**
* Detects that expensive commands are being run on a database instance
* impacting overall performance.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_EXPENSIVE_COMMANDS = 'SIGNAL_TYPE_EXPENSIVE_COMMANDS';
/**
* Indicates that the instance does not have a maintenance policy configured.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED = 'SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED';
/**
* Deletion Protection Disabled for the resource
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NO_DELETION_PROTECTION = 'SIGNAL_TYPE_NO_DELETION_PROTECTION';
/**
* Indicates that the instance has inefficient queries detected.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_INEFFICIENT_QUERY = 'SIGNAL_TYPE_INEFFICIENT_QUERY';
/**
* Indicates that the instance has read intensive workload.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD = 'SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD';
/**
* Indicates that the instance is nearing memory limit.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_MEMORY_LIMIT = 'SIGNAL_TYPE_MEMORY_LIMIT';
/**
* Indicates that the instance's max server memory is configured higher than
* the recommended value.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_MAX_SERVER_MEMORY = 'SIGNAL_TYPE_MAX_SERVER_MEMORY';
/**
* Indicates that the database has large rows beyond the recommended limit.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_LARGE_ROWS = 'SIGNAL_TYPE_LARGE_ROWS';
/**
* Heavy write pressure on the database rows.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_HIGH_WRITE_PRESSURE = 'SIGNAL_TYPE_HIGH_WRITE_PRESSURE';
/**
* Heavy read pressure on the database rows.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_HIGH_READ_PRESSURE = 'SIGNAL_TYPE_HIGH_READ_PRESSURE';
/**
* Encryption org policy not satisfied.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED = 'SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED';
/**
* Location org policy not satisfied.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED = 'SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED';
/**
* Outdated DB minor version.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_OUTDATED_MINOR_VERSION = 'SIGNAL_TYPE_OUTDATED_MINOR_VERSION';
/**
* Schema not optimized.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED = 'SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED';
/**
* High number of idle connections.
*
* @deprecated
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_MANY_IDLE_CONNECTIONS = 'SIGNAL_TYPE_MANY_IDLE_CONNECTIONS';
/**
* Replication delay.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_REPLICATION_LAG = 'SIGNAL_TYPE_REPLICATION_LAG';
/**
* Outdated version.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_OUTDATED_VERSION = 'SIGNAL_TYPE_OUTDATED_VERSION';
/**
* Outdated client.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_OUTDATED_CLIENT = 'SIGNAL_TYPE_OUTDATED_CLIENT';
/**
* Databoost is disabled.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_DATABOOST_DISABLED = 'SIGNAL_TYPE_DATABOOST_DISABLED';
/**
* Recommended maintenance policy.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES = 'SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES';
/**
* Resource version is in extended support.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_EXTENDED_SUPPORT = 'SIGNAL_TYPE_EXTENDED_SUPPORT';
/**
* Change in performance KPIs.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE = 'SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE';
/**
* Database version nearing end of life.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE = 'SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE';
/**
* Optional. Any other additional metadata specific to recommendation
*
* @var array[]
*/
public $additionalMetadata;
/**
* Required. last time recommendationw as refreshed
*
* @var string
*/
public $lastRefreshTime;
/**
* Required. Recommendation state
*
* @var string
*/
public $recommendationState;
/**
* Required. Name of recommendation. Examples:
* organizations/1234/locations/us-central1/recommenders/google.cloudsql.insta
* nce.PerformanceRecommender/recommendations/9876
*
* @var string
*/
public $recommender;
/**
* Required. ID of recommender. Examples:
* "google.cloudsql.instance.PerformanceRecommender"
*
* @var string
*/
public $recommenderId;
/**
* Required. Contains an identifier for a subtype of recommendations produced
* for the same recommender. Subtype is a function of content and impact,
* meaning a new subtype might be added when significant changes to `content`
* or `primary_impact.category` are introduced. See the Recommenders section
* to see a list of subtypes for a given Recommender. Examples: For
* recommender = "google.cloudsql.instance.PerformanceRecommender",
* recommender_subtype can be "MYSQL_HIGH_NUMBER_OF_OPEN_TABLES_BEST_PRACTICE"
* /"POSTGRES_HIGH_TRANSACTION_ID_UTILIZATION_BEST_PRACTICE"
*
* @var string
*/
public $recommenderSubtype;
/**
* Required. Database resource name associated with the signal. Resource name
* to follow CAIS resource_name format as noted here go/condor-common-
* datamodel
*
* @var string
*/
public $resourceName;
/**
* Required. Type of signal, for example, `SIGNAL_TYPE_IDLE`,
* `SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES`, etc.
*
* @var string
*/
public $signalType;
/**
* Optional. Any other additional metadata specific to recommendation
*
* @param array[] $additionalMetadata
*/
public function setAdditionalMetadata($additionalMetadata)
{
$this->additionalMetadata = $additionalMetadata;
}
/**
* @return array[]
*/
public function getAdditionalMetadata()
{
return $this->additionalMetadata;
}
/**
* Required. last time recommendationw as refreshed
*
* @param string $lastRefreshTime
*/
public function setLastRefreshTime($lastRefreshTime)
{
$this->lastRefreshTime = $lastRefreshTime;
}
/**
* @return string
*/
public function getLastRefreshTime()
{
return $this->lastRefreshTime;
}
/**
* Required. Recommendation state
*
* Accepted values: UNSPECIFIED, ACTIVE, CLAIMED, SUCCEEDED, FAILED, DISMISSED
*
* @param self::RECOMMENDATION_STATE_* $recommendationState
*/
public function setRecommendationState($recommendationState)
{
$this->recommendationState = $recommendationState;
}
/**
* @return self::RECOMMENDATION_STATE_*
*/
public function getRecommendationState()
{
return $this->recommendationState;
}
/**
* Required. Name of recommendation. Examples:
* organizations/1234/locations/us-central1/recommenders/google.cloudsql.insta
* nce.PerformanceRecommender/recommendations/9876
*
* @param string $recommender
*/
public function setRecommender($recommender)
{
$this->recommender = $recommender;
}
/**
* @return string
*/
public function getRecommender()
{
return $this->recommender;
}
/**
* Required. ID of recommender. Examples:
* "google.cloudsql.instance.PerformanceRecommender"
*
* @param string $recommenderId
*/
public function setRecommenderId($recommenderId)
{
$this->recommenderId = $recommenderId;
}
/**
* @return string
*/
public function getRecommenderId()
{
return $this->recommenderId;
}
/**
* Required. Contains an identifier for a subtype of recommendations produced
* for the same recommender. Subtype is a function of content and impact,
* meaning a new subtype might be added when significant changes to `content`
* or `primary_impact.category` are introduced. See the Recommenders section
* to see a list of subtypes for a given Recommender. Examples: For
* recommender = "google.cloudsql.instance.PerformanceRecommender",
* recommender_subtype can be "MYSQL_HIGH_NUMBER_OF_OPEN_TABLES_BEST_PRACTICE"
* /"POSTGRES_HIGH_TRANSACTION_ID_UTILIZATION_BEST_PRACTICE"
*
* @param string $recommenderSubtype
*/
public function setRecommenderSubtype($recommenderSubtype)
{
$this->recommenderSubtype = $recommenderSubtype;
}
/**
* @return string
*/
public function getRecommenderSubtype()
{
return $this->recommenderSubtype;
}
/**
* Required. Database resource name associated with the signal. Resource name
* to follow CAIS resource_name format as noted here go/condor-common-
* datamodel
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* Required. Type of signal, for example, `SIGNAL_TYPE_IDLE`,
* `SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES`, etc.
*
* Accepted values: SIGNAL_TYPE_UNSPECIFIED,
* SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER,
* SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS,
* SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES,
* SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS,
* SIGNAL_TYPE_NO_PROMOTABLE_REPLICA, SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY,
* SIGNAL_TYPE_SHORT_BACKUP_RETENTION, SIGNAL_TYPE_LAST_BACKUP_FAILED,
* SIGNAL_TYPE_LAST_BACKUP_OLD, SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0,
* SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3,
* SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2,
* SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1,
* SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0,
* SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0, SIGNAL_TYPE_VIOLATES_NIST_800_53,
* SIGNAL_TYPE_VIOLATES_NIST_800_53_R5,
* SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0,
* SIGNAL_TYPE_VIOLATES_ISO_27001, SIGNAL_TYPE_VIOLATES_ISO_27001_V2022,
* SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1, SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0,
* SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4, SIGNAL_TYPE_VIOLATES_HIPAA,
* SIGNAL_TYPE_VIOLATES_SOC2_V2017,
* SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING,
* SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED, SIGNAL_TYPE_VERBOSE_ERROR_LOGGING,
* SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED, SIGNAL_TYPE_LOGGING_MOST_ERRORS,
* SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS,
* SIGNAL_TYPE_MINIMAL_ERROR_LOGGING, SIGNAL_TYPE_QUERY_STATISTICS_LOGGED,
* SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME,
* SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATISTICS,
* SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATISTICS,
* SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS,
* SIGNAL_TYPE_LOGGING_QUERY_STATISTICS,
* SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES,
* SIGNAL_TYPE_CONNECTION_MAX_NOT_CONFIGURED,
* SIGNAL_TYPE_USER_OPTIONS_CONFIGURED, SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS,
* SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS, SIGNAL_TYPE_NO_ROOT_PASSWORD,
* SIGNAL_TYPE_WEAK_ROOT_PASSWORD,
* SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED,
* SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED,
* SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING,
* SIGNAL_TYPE_EXPOSED_TO_EXTERNAL_SCRIPTS,
* SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS,
* SIGNAL_TYPE_CONNECTION_ATTEMPTS_NOT_LOGGED,
* SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED,
* SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO,
* SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS, SIGNAL_TYPE_DATABASE_NAMES_EXPOSED,
* SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED, SIGNAL_TYPE_PUBLIC_IP_ENABLED,
* SIGNAL_TYPE_IDLE, SIGNAL_TYPE_OVERPROVISIONED,
* SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES, SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES,
* SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION, SIGNAL_TYPE_UNDERPROVISIONED,
* SIGNAL_TYPE_OUT_OF_DISK, SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY,
* SIGNAL_TYPE_DATABASE_AUDITING_DISABLED,
* SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS,
* SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP, SIGNAL_TYPE_QUOTA_LIMIT,
* SIGNAL_TYPE_NO_PASSWORD_POLICY, SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT,
* SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT,
* SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT,
* SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES,
* SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES,
* SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS,
* SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET,
* SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET,
* SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM,
* SIGNAL_TYPE_NO_USER_PASSWORD_POLICY, SIGNAL_TYPE_HOT_NODE,
* SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY, SIGNAL_TYPE_RESOURCE_SUSPENDED,
* SIGNAL_TYPE_EXPENSIVE_COMMANDS,
* SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED,
* SIGNAL_TYPE_NO_DELETION_PROTECTION, SIGNAL_TYPE_INEFFICIENT_QUERY,
* SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD, SIGNAL_TYPE_MEMORY_LIMIT,
* SIGNAL_TYPE_MAX_SERVER_MEMORY, SIGNAL_TYPE_LARGE_ROWS,
* SIGNAL_TYPE_HIGH_WRITE_PRESSURE, SIGNAL_TYPE_HIGH_READ_PRESSURE,
* SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED,
* SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED,
* SIGNAL_TYPE_OUTDATED_MINOR_VERSION, SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED,
* SIGNAL_TYPE_MANY_IDLE_CONNECTIONS, SIGNAL_TYPE_REPLICATION_LAG,
* SIGNAL_TYPE_OUTDATED_VERSION, SIGNAL_TYPE_OUTDATED_CLIENT,
* SIGNAL_TYPE_DATABOOST_DISABLED,
* SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES, SIGNAL_TYPE_EXTENDED_SUPPORT,
* SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE, SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE
*
* @param self::SIGNAL_TYPE_* $signalType
*/
public function setSignalType($signalType)
{
$this->signalType = $signalType;
}
/**
* @return self::SIGNAL_TYPE_*
*/
public function getSignalType()
{
return $this->signalType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseResourceRecommendationSignalData::class, 'Google_Service_CloudRedis_DatabaseResourceRecommendationSignalData');
@@ -0,0 +1,291 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class DatabaseResourceSignalData extends \Google\Collection
{
/**
* Unspecified signal state.
*/
public const SIGNAL_STATE_SIGNAL_STATE_UNSPECIFIED = 'SIGNAL_STATE_UNSPECIFIED';
/**
* Signal is active and requires attention.
*/
public const SIGNAL_STATE_ACTIVE = 'ACTIVE';
/**
* Signal is inactive and does not require attention.
*/
public const SIGNAL_STATE_INACTIVE = 'INACTIVE';
/**
* Signal is dismissed by the user and should not be shown to the user again.
*/
public const SIGNAL_STATE_DISMISSED = 'DISMISSED';
/**
* Unspecified signal type.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_UNSPECIFIED = 'SIGNAL_TYPE_UNSPECIFIED';
/**
* Outdated Minor Version
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_OUTDATED_MINOR_VERSION = 'SIGNAL_TYPE_OUTDATED_MINOR_VERSION';
/**
* Represents database auditing is disabled.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_DATABASE_AUDITING_DISABLED = 'SIGNAL_TYPE_DATABASE_AUDITING_DISABLED';
/**
* Represents if a database has a password configured for the root account or
* not.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NO_ROOT_PASSWORD = 'SIGNAL_TYPE_NO_ROOT_PASSWORD';
/**
* Represents if a resource is exposed to public access.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS = 'SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS';
/**
* Represents if a resources requires all incoming connections to use SSL or
* not.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS = 'SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS';
/**
* Represents if a resource version is in extended support.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_EXTENDED_SUPPORT = 'SIGNAL_TYPE_EXTENDED_SUPPORT';
/**
* Represents if a resource has no automated backup policy.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY = 'SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY';
/**
* Represents if a resource version is nearing end of life.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE = 'SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE';
/**
* Represents if the last backup of a resource is older than 24 hours.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_LAST_BACKUP_OLD = 'SIGNAL_TYPE_LAST_BACKUP_OLD';
/**
* Represents if a resource is not protected by automatic failover.
*/
public const SIGNAL_TYPE_SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER = 'SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER';
protected $collection_key = 'signalMetadataList';
protected $backupRunType = BackupRun::class;
protected $backupRunDataType = '';
/**
* Required. Full Resource name of the source resource.
*
* @var string
*/
public $fullResourceName;
/**
* Required. Last time signal was refreshed
*
* @var string
*/
public $lastRefreshTime;
/**
* Required. Resource location.
*
* @var string
*/
public $location;
protected $resourceIdType = DatabaseResourceId::class;
protected $resourceIdDataType = '';
/**
* Deprecated: Use signal_metadata_list instead.
*
* @deprecated
* @var bool
*/
public $signalBoolValue;
protected $signalMetadataListType = SignalMetadata::class;
protected $signalMetadataListDataType = 'array';
/**
* Required. Output only. Signal state of the signal
*
* @var string
*/
public $signalState;
/**
* Required. Signal type of the signal
*
* @var string
*/
public $signalType;
/**
* Deprecated: Use signal_metadata_list instead.
*
* @deprecated
* @param BackupRun $backupRun
*/
public function setBackupRun(BackupRun $backupRun)
{
$this->backupRun = $backupRun;
}
/**
* @deprecated
* @return BackupRun
*/
public function getBackupRun()
{
return $this->backupRun;
}
/**
* Required. Full Resource name of the source resource.
*
* @param string $fullResourceName
*/
public function setFullResourceName($fullResourceName)
{
$this->fullResourceName = $fullResourceName;
}
/**
* @return string
*/
public function getFullResourceName()
{
return $this->fullResourceName;
}
/**
* Required. Last time signal was refreshed
*
* @param string $lastRefreshTime
*/
public function setLastRefreshTime($lastRefreshTime)
{
$this->lastRefreshTime = $lastRefreshTime;
}
/**
* @return string
*/
public function getLastRefreshTime()
{
return $this->lastRefreshTime;
}
/**
* Required. Resource location.
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* Database resource id.
*
* @param DatabaseResourceId $resourceId
*/
public function setResourceId(DatabaseResourceId $resourceId)
{
$this->resourceId = $resourceId;
}
/**
* @return DatabaseResourceId
*/
public function getResourceId()
{
return $this->resourceId;
}
/**
* Deprecated: Use signal_metadata_list instead.
*
* @deprecated
* @param bool $signalBoolValue
*/
public function setSignalBoolValue($signalBoolValue)
{
$this->signalBoolValue = $signalBoolValue;
}
/**
* @deprecated
* @return bool
*/
public function getSignalBoolValue()
{
return $this->signalBoolValue;
}
/**
* This will support array of OneOf signal metadata information for a given
* signal type.
*
* @param SignalMetadata[] $signalMetadataList
*/
public function setSignalMetadataList($signalMetadataList)
{
$this->signalMetadataList = $signalMetadataList;
}
/**
* @return SignalMetadata[]
*/
public function getSignalMetadataList()
{
return $this->signalMetadataList;
}
/**
* Required. Output only. Signal state of the signal
*
* Accepted values: SIGNAL_STATE_UNSPECIFIED, ACTIVE, INACTIVE, DISMISSED
*
* @param self::SIGNAL_STATE_* $signalState
*/
public function setSignalState($signalState)
{
$this->signalState = $signalState;
}
/**
* @return self::SIGNAL_STATE_*
*/
public function getSignalState()
{
return $this->signalState;
}
/**
* Required. Signal type of the signal
*
* Accepted values: SIGNAL_TYPE_UNSPECIFIED,
* SIGNAL_TYPE_OUTDATED_MINOR_VERSION, SIGNAL_TYPE_DATABASE_AUDITING_DISABLED,
* SIGNAL_TYPE_NO_ROOT_PASSWORD, SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS,
* SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS, SIGNAL_TYPE_EXTENDED_SUPPORT,
* SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY,
* SIGNAL_TYPE_VERSION_NEARING_END_OF_LIFE, SIGNAL_TYPE_LAST_BACKUP_OLD,
* SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER
*
* @param self::SIGNAL_TYPE_* $signalType
*/
public function setSignalType($signalType)
{
$this->signalType = $signalType;
}
/**
* @return self::SIGNAL_TYPE_*
*/
public function getSignalType()
{
return $this->signalType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatabaseResourceSignalData::class, 'Google_Service_CloudRedis_DatabaseResourceSignalData');
+100
View File
@@ -0,0 +1,100 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class Date extends \Google\Model
{
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't
* significant.
*
* @var int
*/
public $day;
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @var int
*/
public $month;
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @var int
*/
public $year;
/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
* to specify a year by itself or a year and month where the day isn't
* significant.
*
* @param int $day
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @param int $month
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @param int $year
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Date::class, 'Google_Service_CloudRedis_Date');
@@ -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\CloudRedis;
class DirectLocationAssignment extends \Google\Collection
{
protected $collection_key = 'location';
protected $locationType = LocationAssignment::class;
protected $locationDataType = 'array';
/**
* @param LocationAssignment[]
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return LocationAssignment[]
*/
public function getLocation()
{
return $this->location;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DirectLocationAssignment::class, 'Google_Service_CloudRedis_DirectLocationAssignment');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class DiscoveryEndpoint extends \Google\Model
{
/**
* Output only. Address of the exposed Redis endpoint used by clients to
* connect to the service. The address could be either IP or hostname.
*
* @var string
*/
public $address;
/**
* Output only. The port number of the exposed Redis endpoint.
*
* @var int
*/
public $port;
protected $pscConfigType = PscConfig::class;
protected $pscConfigDataType = '';
/**
* Output only. Address of the exposed Redis endpoint used by clients to
* connect to the service. The address could be either IP or hostname.
*
* @param string $address
*/
public function setAddress($address)
{
$this->address = $address;
}
/**
* @return string
*/
public function getAddress()
{
return $this->address;
}
/**
* Output only. The port number of the exposed Redis endpoint.
*
* @param int $port
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* Output only. Customer configuration for where the endpoint is created and
* accessed from.
*
* @param PscConfig $pscConfig
*/
public function setPscConfig(PscConfig $pscConfig)
{
$this->pscConfig = $pscConfig;
}
/**
* @return PscConfig
*/
public function getPscConfig()
{
return $this->pscConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiscoveryEndpoint::class, 'Google_Service_CloudRedis_DiscoveryEndpoint');
@@ -0,0 +1,176 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class EncryptionInfo extends \Google\Collection
{
/**
* Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
*/
public const ENCRYPTION_TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* The data is encrypted at rest with a key that is fully managed by Google.
* No key version will be populated. This is the default state.
*/
public const ENCRYPTION_TYPE_GOOGLE_DEFAULT_ENCRYPTION = 'GOOGLE_DEFAULT_ENCRYPTION';
/**
* The data is encrypted at rest with a key that is managed by the customer.
* KMS key versions will be populated.
*/
public const ENCRYPTION_TYPE_CUSTOMER_MANAGED_ENCRYPTION = 'CUSTOMER_MANAGED_ENCRYPTION';
/**
* The default value. This value is unused.
*/
public const KMS_KEY_PRIMARY_STATE_KMS_KEY_STATE_UNSPECIFIED = 'KMS_KEY_STATE_UNSPECIFIED';
/**
* The KMS key is enabled and correctly configured.
*/
public const KMS_KEY_PRIMARY_STATE_ENABLED = 'ENABLED';
/**
* Permission denied on the KMS key.
*/
public const KMS_KEY_PRIMARY_STATE_PERMISSION_DENIED = 'PERMISSION_DENIED';
/**
* The KMS key is disabled.
*/
public const KMS_KEY_PRIMARY_STATE_DISABLED = 'DISABLED';
/**
* The KMS key is destroyed.
*/
public const KMS_KEY_PRIMARY_STATE_DESTROYED = 'DESTROYED';
/**
* The KMS key is scheduled to be destroyed.
*/
public const KMS_KEY_PRIMARY_STATE_DESTROY_SCHEDULED = 'DESTROY_SCHEDULED';
/**
* The EKM key is unreachable.
*/
public const KMS_KEY_PRIMARY_STATE_EKM_KEY_UNREACHABLE_DETECTED = 'EKM_KEY_UNREACHABLE_DETECTED';
/**
* Billing is disabled for the project.
*/
public const KMS_KEY_PRIMARY_STATE_BILLING_DISABLED = 'BILLING_DISABLED';
/**
* All other unknown failures.
*/
public const KMS_KEY_PRIMARY_STATE_UNKNOWN_FAILURE = 'UNKNOWN_FAILURE';
protected $collection_key = 'kmsKeyVersions';
/**
* Output only. Type of encryption.
*
* @var string
*/
public $encryptionType;
/**
* Output only. The state of the primary version of the KMS key perceived by
* the system. This field is not populated in backups.
*
* @var string
*/
public $kmsKeyPrimaryState;
/**
* Output only. KMS key versions that are being used to protect the data at-
* rest.
*
* @var string[]
*/
public $kmsKeyVersions;
/**
* Output only. The most recent time when the encryption info was updated.
*
* @var string
*/
public $lastUpdateTime;
/**
* Output only. Type of encryption.
*
* Accepted values: TYPE_UNSPECIFIED, GOOGLE_DEFAULT_ENCRYPTION,
* CUSTOMER_MANAGED_ENCRYPTION
*
* @param self::ENCRYPTION_TYPE_* $encryptionType
*/
public function setEncryptionType($encryptionType)
{
$this->encryptionType = $encryptionType;
}
/**
* @return self::ENCRYPTION_TYPE_*
*/
public function getEncryptionType()
{
return $this->encryptionType;
}
/**
* Output only. The state of the primary version of the KMS key perceived by
* the system. This field is not populated in backups.
*
* Accepted values: KMS_KEY_STATE_UNSPECIFIED, ENABLED, PERMISSION_DENIED,
* DISABLED, DESTROYED, DESTROY_SCHEDULED, EKM_KEY_UNREACHABLE_DETECTED,
* BILLING_DISABLED, UNKNOWN_FAILURE
*
* @param self::KMS_KEY_PRIMARY_STATE_* $kmsKeyPrimaryState
*/
public function setKmsKeyPrimaryState($kmsKeyPrimaryState)
{
$this->kmsKeyPrimaryState = $kmsKeyPrimaryState;
}
/**
* @return self::KMS_KEY_PRIMARY_STATE_*
*/
public function getKmsKeyPrimaryState()
{
return $this->kmsKeyPrimaryState;
}
/**
* Output only. KMS key versions that are being used to protect the data at-
* rest.
*
* @param string[] $kmsKeyVersions
*/
public function setKmsKeyVersions($kmsKeyVersions)
{
$this->kmsKeyVersions = $kmsKeyVersions;
}
/**
* @return string[]
*/
public function getKmsKeyVersions()
{
return $this->kmsKeyVersions;
}
/**
* Output only. The most recent time when the encryption info was updated.
*
* @param string $lastUpdateTime
*/
public function setLastUpdateTime($lastUpdateTime)
{
$this->lastUpdateTime = $lastUpdateTime;
}
/**
* @return string
*/
public function getLastUpdateTime()
{
return $this->lastUpdateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EncryptionInfo::class, 'Google_Service_CloudRedis_EncryptionInfo');
@@ -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\CloudRedis;
class Endpoint extends \Google\Model
{
/**
* @var string
*/
public $host;
/**
* @var int
*/
public $port;
/**
* @param string
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Endpoint::class, 'Google_Service_CloudRedis_Endpoint');
@@ -0,0 +1,105 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class Entitlement extends \Google\Model
{
public const ENTITLEMENT_STATE_ENTITLEMENT_STATE_UNSPECIFIED = 'ENTITLEMENT_STATE_UNSPECIFIED';
/**
* User is entitled to a feature/benefit, but whether it has been successfully
* provisioned is decided by provisioning state.
*/
public const ENTITLEMENT_STATE_ENTITLED = 'ENTITLED';
/**
* User is entitled to a feature/benefit, but it was requested to be revoked.
* Whether the revoke has been successful is decided by provisioning state.
*/
public const ENTITLEMENT_STATE_REVOKED = 'REVOKED';
/**
* The entitlement type is unspecified.
*/
public const TYPE_ENTITLEMENT_TYPE_UNSPECIFIED = 'ENTITLEMENT_TYPE_UNSPECIFIED';
/**
* The root entitlement representing Gemini package ownership.This will no
* longer be supported in the future.
*
* @deprecated
*/
public const TYPE_GEMINI = 'GEMINI';
/**
* The entitlement representing Native Tier, This will be the default
* Entitlement going forward with GCA Enablement.
*/
public const TYPE_NATIVE = 'NATIVE';
/**
* The entitlement representing GCA-Standard Tier.
*/
public const TYPE_GCA_STANDARD = 'GCA_STANDARD';
/**
* The current state of user's accessibility to a feature/benefit.
*
* @var string
*/
public $entitlementState;
/**
* An enum that represents the type of this entitlement.
*
* @var string
*/
public $type;
/**
* The current state of user's accessibility to a feature/benefit.
*
* Accepted values: ENTITLEMENT_STATE_UNSPECIFIED, ENTITLED, REVOKED
*
* @param self::ENTITLEMENT_STATE_* $entitlementState
*/
public function setEntitlementState($entitlementState)
{
$this->entitlementState = $entitlementState;
}
/**
* @return self::ENTITLEMENT_STATE_*
*/
public function getEntitlementState()
{
return $this->entitlementState;
}
/**
* An enum that represents the type of this entitlement.
*
* Accepted values: ENTITLEMENT_TYPE_UNSPECIFIED, GEMINI, NATIVE, GCA_STANDARD
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Entitlement::class, 'Google_Service_CloudRedis_Entitlement');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class ExportBackupRequest extends \Google\Model
{
/**
* Google Cloud Storage bucket, like "my-bucket".
*
* @var string
*/
public $gcsBucket;
/**
* Google Cloud Storage bucket, like "my-bucket".
*
* @param string $gcsBucket
*/
public function setGcsBucket($gcsBucket)
{
$this->gcsBucket = $gcsBucket;
}
/**
* @return string
*/
public function getGcsBucket()
{
return $this->gcsBucket;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExportBackupRequest::class, 'Google_Service_CloudRedis_ExportBackupRequest');
@@ -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\CloudRedis;
class ExportInstanceRequest extends \Google\Model
{
protected $outputConfigType = OutputConfig::class;
protected $outputConfigDataType = '';
/**
* Required. Specify data to be exported.
*
* @param OutputConfig $outputConfig
*/
public function setOutputConfig(OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return OutputConfig
*/
public function getOutputConfig()
{
return $this->outputConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExportInstanceRequest::class, 'Google_Service_CloudRedis_ExportInstanceRequest');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class ExtraParameter extends \Google\Model
{
protected $regionalMigDistributionPolicyType = RegionalMigDistributionPolicy::class;
protected $regionalMigDistributionPolicyDataType = '';
/**
* @param RegionalMigDistributionPolicy
*/
public function setRegionalMigDistributionPolicy(RegionalMigDistributionPolicy $regionalMigDistributionPolicy)
{
$this->regionalMigDistributionPolicy = $regionalMigDistributionPolicy;
}
/**
* @return RegionalMigDistributionPolicy
*/
public function getRegionalMigDistributionPolicy()
{
return $this->regionalMigDistributionPolicy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExtraParameter::class, 'Google_Service_CloudRedis_ExtraParameter');
@@ -0,0 +1,68 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class FailoverInstanceRequest extends \Google\Model
{
/**
* Defaults to LIMITED_DATA_LOSS if a data protection mode is not specified.
*/
public const DATA_PROTECTION_MODE_DATA_PROTECTION_MODE_UNSPECIFIED = 'DATA_PROTECTION_MODE_UNSPECIFIED';
/**
* Instance failover will be protected with data loss control. More
* specifically, the failover will only be performed if the current
* replication offset diff between primary and replica is under a certain
* threshold.
*/
public const DATA_PROTECTION_MODE_LIMITED_DATA_LOSS = 'LIMITED_DATA_LOSS';
/**
* Instance failover will be performed without data loss control.
*/
public const DATA_PROTECTION_MODE_FORCE_DATA_LOSS = 'FORCE_DATA_LOSS';
/**
* Optional. Available data protection modes that the user can choose. If it's
* unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
*
* @var string
*/
public $dataProtectionMode;
/**
* Optional. Available data protection modes that the user can choose. If it's
* unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
*
* Accepted values: DATA_PROTECTION_MODE_UNSPECIFIED, LIMITED_DATA_LOSS,
* FORCE_DATA_LOSS
*
* @param self::DATA_PROTECTION_MODE_* $dataProtectionMode
*/
public function setDataProtectionMode($dataProtectionMode)
{
$this->dataProtectionMode = $dataProtectionMode;
}
/**
* @return self::DATA_PROTECTION_MODE_*
*/
public function getDataProtectionMode()
{
return $this->dataProtectionMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FailoverInstanceRequest::class, 'Google_Service_CloudRedis_FailoverInstanceRequest');
@@ -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\CloudRedis;
class FixedFrequencySchedule extends \Google\Model
{
protected $startTimeType = TimeOfDay::class;
protected $startTimeDataType = '';
/**
* Required. The start time of every automated backup in UTC. It must be set
* to the start of an hour. This field is required.
*
* @param TimeOfDay $startTime
*/
public function setStartTime(TimeOfDay $startTime)
{
$this->startTime = $startTime;
}
/**
* @return TimeOfDay
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FixedFrequencySchedule::class, 'Google_Service_CloudRedis_FixedFrequencySchedule');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class GCBDRConfiguration extends \Google\Model
{
/**
* Whether the resource is managed by GCBDR.
*
* @var bool
*/
public $gcbdrManaged;
/**
* Whether the resource is managed by GCBDR.
*
* @param bool $gcbdrManaged
*/
public function setGcbdrManaged($gcbdrManaged)
{
$this->gcbdrManaged = $gcbdrManaged;
}
/**
* @return bool
*/
public function getGcbdrManaged()
{
return $this->gcbdrManaged;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GCBDRConfiguration::class, 'Google_Service_CloudRedis_GCBDRConfiguration');
@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class GcsBackupSource extends \Google\Collection
{
protected $collection_key = 'uris';
/**
* Optional. URIs of the Cloud Storage objects to import. Example:
* gs://bucket1/object1, gs://bucket2/folder2/object2
*
* @var string[]
*/
public $uris;
/**
* Optional. URIs of the Cloud Storage objects to import. Example:
* gs://bucket1/object1, gs://bucket2/folder2/object2
*
* @param string[] $uris
*/
public function setUris($uris)
{
$this->uris = $uris;
}
/**
* @return string[]
*/
public function getUris()
{
return $this->uris;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcsBackupSource::class, 'Google_Service_CloudRedis_GcsBackupSource');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class GcsDestination extends \Google\Model
{
/**
* Required. Data destination URI (e.g. 'gs://my_bucket/my_object'). Existing
* files will be overwritten.
*
* @var string
*/
public $uri;
/**
* Required. Data destination URI (e.g. 'gs://my_bucket/my_object'). Existing
* files will be overwritten.
*
* @param string $uri
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcsDestination::class, 'Google_Service_CloudRedis_GcsDestination');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class GcsSource extends \Google\Model
{
/**
* Required. Source data URI. (e.g. 'gs://my_bucket/my_object').
*
* @var string
*/
public $uri;
/**
* Required. Source data URI. (e.g. 'gs://my_bucket/my_object').
*
* @param string $uri
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcsSource::class, 'Google_Service_CloudRedis_GcsSource');
@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class GoogleCloudRedisV1LocationMetadata extends \Google\Model
{
protected $availableZonesType = GoogleCloudRedisV1ZoneMetadata::class;
protected $availableZonesDataType = 'map';
/**
* Output only. The set of available zones in the location. The map is keyed
* by the lowercase ID of each zone, as defined by GCE. These keys can be
* specified in `location_id` or `alternative_location_id` fields when
* creating a Redis instance.
*
* @param GoogleCloudRedisV1ZoneMetadata[] $availableZones
*/
public function setAvailableZones($availableZones)
{
$this->availableZones = $availableZones;
}
/**
* @return GoogleCloudRedisV1ZoneMetadata[]
*/
public function getAvailableZones()
{
return $this->availableZones;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRedisV1LocationMetadata::class, 'Google_Service_CloudRedis_GoogleCloudRedisV1LocationMetadata');
@@ -0,0 +1,180 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class GoogleCloudRedisV1OperationMetadata extends \Google\Model
{
/**
* API version.
*
* @var string
*/
public $apiVersion;
/**
* Specifies if cancellation was requested for the operation.
*
* @var bool
*/
public $cancelRequested;
/**
* Creation timestamp.
*
* @var string
*/
public $createTime;
/**
* End timestamp.
*
* @var string
*/
public $endTime;
/**
* Operation status details.
*
* @var string
*/
public $statusDetail;
/**
* Operation target.
*
* @var string
*/
public $target;
/**
* Operation verb.
*
* @var string
*/
public $verb;
/**
* API version.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Specifies if cancellation was requested for the operation.
*
* @param bool $cancelRequested
*/
public function setCancelRequested($cancelRequested)
{
$this->cancelRequested = $cancelRequested;
}
/**
* @return bool
*/
public function getCancelRequested()
{
return $this->cancelRequested;
}
/**
* Creation timestamp.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* End timestamp.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Operation status details.
*
* @param string $statusDetail
*/
public function setStatusDetail($statusDetail)
{
$this->statusDetail = $statusDetail;
}
/**
* @return string
*/
public function getStatusDetail()
{
return $this->statusDetail;
}
/**
* Operation target.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Operation verb.
*
* @param string $verb
*/
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(GoogleCloudRedisV1OperationMetadata::class, 'Google_Service_CloudRedis_GoogleCloudRedisV1OperationMetadata');
@@ -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\CloudRedis;
class GoogleCloudRedisV1ZoneMetadata extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRedisV1ZoneMetadata::class, 'Google_Service_CloudRedis_GoogleCloudRedisV1ZoneMetadata');
@@ -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\CloudRedis;
class ImportInstanceRequest extends \Google\Model
{
protected $inputConfigType = InputConfig::class;
protected $inputConfigDataType = '';
/**
* Required. Specify data to be imported.
*
* @param InputConfig $inputConfig
*/
public function setInputConfig(InputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return InputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ImportInstanceRequest::class, 'Google_Service_CloudRedis_ImportInstanceRequest');
@@ -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\CloudRedis;
class InputConfig extends \Google\Model
{
protected $gcsSourceType = GcsSource::class;
protected $gcsSourceDataType = '';
/**
* Google Cloud Storage location where input content is located.
*
* @param GcsSource $gcsSource
*/
public function setGcsSource(GcsSource $gcsSource)
{
$this->gcsSource = $gcsSource;
}
/**
* @return GcsSource
*/
public function getGcsSource()
{
return $this->gcsSource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InputConfig::class, 'Google_Service_CloudRedis_InputConfig');
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class InstanceAuthString extends \Google\Model
{
/**
* AUTH string set on the instance.
*
* @var string
*/
public $authString;
/**
* AUTH string set on the instance.
*
* @param string $authString
*/
public function setAuthString($authString)
{
$this->authString = $authString;
}
/**
* @return string
*/
public function getAuthString()
{
return $this->authString;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstanceAuthString::class, 'Google_Service_CloudRedis_InstanceAuthString');
@@ -0,0 +1,140 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class InternalResourceMetadata extends \Google\Model
{
protected $backupConfigurationType = BackupConfiguration::class;
protected $backupConfigurationDataType = '';
protected $backupRunType = BackupRun::class;
protected $backupRunDataType = '';
/**
* Whether deletion protection is enabled for this internal resource.
*
* @var bool
*/
public $isDeletionProtectionEnabled;
protected $productType = Product::class;
protected $productDataType = '';
protected $resourceIdType = DatabaseResourceId::class;
protected $resourceIdDataType = '';
/**
* Required. internal resource name for spanner this will be database name
* e.g."spanner.googleapis.com/projects/123/abc/instances/inst1/databases/db1"
*
* @var string
*/
public $resourceName;
/**
* Backup configuration for this database
*
* @param BackupConfiguration $backupConfiguration
*/
public function setBackupConfiguration(BackupConfiguration $backupConfiguration)
{
$this->backupConfiguration = $backupConfiguration;
}
/**
* @return BackupConfiguration
*/
public function getBackupConfiguration()
{
return $this->backupConfiguration;
}
/**
* Information about the last backup attempt for this database
*
* @param BackupRun $backupRun
*/
public function setBackupRun(BackupRun $backupRun)
{
$this->backupRun = $backupRun;
}
/**
* @return BackupRun
*/
public function getBackupRun()
{
return $this->backupRun;
}
/**
* Whether deletion protection is enabled for this internal resource.
*
* @param bool $isDeletionProtectionEnabled
*/
public function setIsDeletionProtectionEnabled($isDeletionProtectionEnabled)
{
$this->isDeletionProtectionEnabled = $isDeletionProtectionEnabled;
}
/**
* @return bool
*/
public function getIsDeletionProtectionEnabled()
{
return $this->isDeletionProtectionEnabled;
}
/**
* @param Product $product
*/
public function setProduct(Product $product)
{
$this->product = $product;
}
/**
* @return Product
*/
public function getProduct()
{
return $this->product;
}
/**
* @param DatabaseResourceId $resourceId
*/
public function setResourceId(DatabaseResourceId $resourceId)
{
$this->resourceId = $resourceId;
}
/**
* @return DatabaseResourceId
*/
public function getResourceId()
{
return $this->resourceId;
}
/**
* Required. internal resource name for spanner this will be database name
* e.g."spanner.googleapis.com/projects/123/abc/instances/inst1/databases/db1"
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InternalResourceMetadata::class, 'Google_Service_CloudRedis_InternalResourceMetadata');
@@ -0,0 +1,168 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class IsolationExpectations extends \Google\Model
{
protected $requirementOverrideType = RequirementOverride::class;
protected $requirementOverrideDataType = '';
/**
* @var string
*/
public $ziOrgPolicy;
/**
* @var string
*/
public $ziRegionPolicy;
/**
* @var string
*/
public $ziRegionState;
/**
* @var string
*/
public $zoneIsolation;
/**
* @var string
*/
public $zoneSeparation;
/**
* @var string
*/
public $zsOrgPolicy;
/**
* @var string
*/
public $zsRegionState;
/**
* @param RequirementOverride
*/
public function setRequirementOverride(RequirementOverride $requirementOverride)
{
$this->requirementOverride = $requirementOverride;
}
/**
* @return RequirementOverride
*/
public function getRequirementOverride()
{
return $this->requirementOverride;
}
/**
* @param string
*/
public function setZiOrgPolicy($ziOrgPolicy)
{
$this->ziOrgPolicy = $ziOrgPolicy;
}
/**
* @return string
*/
public function getZiOrgPolicy()
{
return $this->ziOrgPolicy;
}
/**
* @param string
*/
public function setZiRegionPolicy($ziRegionPolicy)
{
$this->ziRegionPolicy = $ziRegionPolicy;
}
/**
* @return string
*/
public function getZiRegionPolicy()
{
return $this->ziRegionPolicy;
}
/**
* @param string
*/
public function setZiRegionState($ziRegionState)
{
$this->ziRegionState = $ziRegionState;
}
/**
* @return string
*/
public function getZiRegionState()
{
return $this->ziRegionState;
}
/**
* @param string
*/
public function setZoneIsolation($zoneIsolation)
{
$this->zoneIsolation = $zoneIsolation;
}
/**
* @return string
*/
public function getZoneIsolation()
{
return $this->zoneIsolation;
}
/**
* @param string
*/
public function setZoneSeparation($zoneSeparation)
{
$this->zoneSeparation = $zoneSeparation;
}
/**
* @return string
*/
public function getZoneSeparation()
{
return $this->zoneSeparation;
}
/**
* @param string
*/
public function setZsOrgPolicy($zsOrgPolicy)
{
$this->zsOrgPolicy = $zsOrgPolicy;
}
/**
* @return string
*/
public function getZsOrgPolicy()
{
return $this->zsOrgPolicy;
}
/**
* @param string
*/
public function setZsRegionState($zsRegionState)
{
$this->zsRegionState = $zsRegionState;
}
/**
* @return string
*/
public function getZsRegionState()
{
return $this->zsRegionState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IsolationExpectations::class, 'Google_Service_CloudRedis_IsolationExpectations');
@@ -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\CloudRedis;
class ListAclPoliciesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $aclPoliciesType = AclPolicy::class;
protected $aclPoliciesDataType = 'array';
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A list of ACL policies in the project in the specified location, or across
* all locations. If the `location_id` in the parent field of the request is
* "-", all regions available to the project are queried, and the results
* aggregated.
*
* @param AclPolicy[] $aclPolicies
*/
public function setAclPolicies($aclPolicies)
{
$this->aclPolicies = $aclPolicies;
}
/**
* @return AclPolicy[]
*/
public function getAclPolicies()
{
return $this->aclPolicies;
}
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
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(ListAclPoliciesResponse::class, 'Google_Service_CloudRedis_ListAclPoliciesResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class ListAuthTokensResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $authTokensType = AuthToken::class;
protected $authTokensDataType = 'array';
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
/**
* Unordered list. Auth tokens that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A list of auth tokens in the project.
*
* @param AuthToken[] $authTokens
*/
public function setAuthTokens($authTokens)
{
$this->authTokens = $authTokens;
}
/**
* @return AuthToken[]
*/
public function getAuthTokens()
{
return $this->authTokens;
}
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Unordered list. Auth tokens that could not be reached.
*
* @param string[] $unreachable
*/
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(ListAuthTokensResponse::class, 'Google_Service_CloudRedis_ListAuthTokensResponse');
@@ -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\CloudRedis;
class ListBackupCollectionsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $backupCollectionsType = BackupCollection::class;
protected $backupCollectionsDataType = 'array';
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A list of backupCollections in the project. If the `location_id` in the
* parent field of the request is "-", all regions available to the project
* are queried, and the results aggregated. If in such an aggregated query a
* location is unavailable, a placeholder backupCollection entry is included
* in the response with the `name` field set to a value of the form
* `projects/{project_id}/locations/{location_id}/backupCollections/`- and the
* `status` field set to ERROR and `status_message` field set to "location not
* available for ListBackupCollections".
*
* @param BackupCollection[] $backupCollections
*/
public function setBackupCollections($backupCollections)
{
$this->backupCollections = $backupCollections;
}
/**
* @return BackupCollection[]
*/
public function getBackupCollections()
{
return $this->backupCollections;
}
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
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(ListBackupCollectionsResponse::class, 'Google_Service_CloudRedis_ListBackupCollectionsResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class ListBackupsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $backupsType = Backup::class;
protected $backupsDataType = 'array';
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
/**
* Backups that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A list of backups in the project.
*
* @param Backup[] $backups
*/
public function setBackups($backups)
{
$this->backups = $backups;
}
/**
* @return Backup[]
*/
public function getBackups()
{
return $this->backups;
}
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Backups that could not be reached.
*
* @param string[] $unreachable
*/
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(ListBackupsResponse::class, 'Google_Service_CloudRedis_ListBackupsResponse');
@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class ListClustersResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $clustersType = Cluster::class;
protected $clustersDataType = 'array';
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A list of Redis clusters in the project in the specified location, or
* across all locations. If the `location_id` in the parent field of the
* request is "-", all regions available to the project are queried, and the
* results aggregated. If in such an aggregated query a location is
* unavailable, a placeholder Redis entry is included in the response with the
* `name` field set to a value of the form
* `projects/{project_id}/locations/{location_id}/clusters/`- and the `status`
* field set to ERROR and `status_message` field set to "location not
* available for ListClusters".
*
* @param Cluster[] $clusters
*/
public function setClusters($clusters)
{
$this->clusters = $clusters;
}
/**
* @return Cluster[]
*/
public function getClusters()
{
return $this->clusters;
}
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
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(ListClustersResponse::class, 'Google_Service_CloudRedis_ListClustersResponse');
@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class ListInstancesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $instancesType = Instance::class;
protected $instancesDataType = 'array';
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
/**
* Locations that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* A list of Redis instances in the project in the specified location, or
* across all locations. If the `location_id` in the parent field of the
* request is "-", all regions available to the project are queried, and the
* results aggregated. If in such an aggregated query a location is
* unavailable, a placeholder Redis entry is included in the response with the
* `name` field set to a value of the form
* `projects/{project_id}/locations/{location_id}/instances/`- and the
* `status` field set to ERROR and `status_message` field set to "location not
* available for ListInstances".
*
* @param Instance[] $instances
*/
public function setInstances($instances)
{
$this->instances = $instances;
}
/**
* @return Instance[]
*/
public function getInstances()
{
return $this->instances;
}
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Locations that could not be reached.
*
* @param string[] $unreachable
*/
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(ListInstancesResponse::class, 'Google_Service_CloudRedis_ListInstancesResponse');
@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
/**
* A list of locations that matches the specified filter in the request.
*
* @param Location[] $locations
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* The standard List next-page token.
*
* @param string $nextPageToken
*/
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_CloudRedis_ListLocationsResponse');
@@ -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\CloudRedis;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* The standard List next-page token.
*
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @var string[]
*/
public $unreachable;
/**
* The standard List next-page token.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of operations that matches the specified filter in the request.
*
* @param Operation[] $operations
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @param string[] $unreachable
*/
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(ListOperationsResponse::class, 'Google_Service_CloudRedis_ListOperationsResponse');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class ListTokenAuthUsersResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @var string
*/
public $nextPageToken;
protected $tokenAuthUsersType = TokenAuthUser::class;
protected $tokenAuthUsersDataType = 'array';
/**
* Unordered list. Token auth users that could not be reached.
*
* @var string[]
*/
public $unreachable;
/**
* Token to retrieve the next page of results, or empty if there are no more
* results in the list.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* A list of token auth users in the project.
*
* @param TokenAuthUser[] $tokenAuthUsers
*/
public function setTokenAuthUsers($tokenAuthUsers)
{
$this->tokenAuthUsers = $tokenAuthUsers;
}
/**
* @return TokenAuthUser[]
*/
public function getTokenAuthUsers()
{
return $this->tokenAuthUsers;
}
/**
* Unordered list. Token auth users that could not be reached.
*
* @param string[] $unreachable
*/
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(ListTokenAuthUsersResponse::class, 'Google_Service_CloudRedis_ListTokenAuthUsersResponse');
@@ -0,0 +1,148 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class Location extends \Google\Model
{
/**
* The friendly name for this location, typically a nearby city name. For
* example, "Tokyo".
*
* @var string
*/
public $displayName;
/**
* Cross-service attributes for the location. For example
* {"cloud.googleapis.com/region": "us-east1"}
*
* @var string[]
*/
public $labels;
/**
* Resource ID for the region. For example: "us-east1".
*
* @var string
*/
public $locationId;
/**
* Output only. The set of available zones in the location. The map is keyed
* by the lowercase ID of each zone, as defined by Compute Engine. These keys
* can be specified in `location_id` or `alternative_location_id` fields when
* creating a Redis instance.
*
* @var array[]
*/
public $metadata;
/**
* Full resource name for the region. For example: "projects/example-
* project/locations/us-east1".
*
* @var string
*/
public $name;
/**
* The friendly name for this location, typically a nearby city name. For
* example, "Tokyo".
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Cross-service attributes for the location. For example
* {"cloud.googleapis.com/region": "us-east1"}
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Resource ID for the region. For example: "us-east1".
*
* @param string $locationId
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* Output only. The set of available zones in the location. The map is keyed
* by the lowercase ID of each zone, as defined by Compute Engine. These keys
* can be specified in `location_id` or `alternative_location_id` fields when
* creating a Redis instance.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Full resource name for the region. For example: "projects/example-
* project/locations/us-east1".
*
* @param string $name
*/
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_CloudRedis_Location');
@@ -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\CloudRedis;
class LocationAssignment extends \Google\Model
{
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $locationType;
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setLocationType($locationType)
{
$this->locationType = $locationType;
}
/**
* @return string
*/
public function getLocationType()
{
return $this->locationType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocationAssignment::class, 'Google_Service_CloudRedis_LocationAssignment');
@@ -0,0 +1,122 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class LocationData extends \Google\Model
{
protected $blobstoreLocationType = BlobstoreLocation::class;
protected $blobstoreLocationDataType = '';
protected $childAssetLocationType = CloudAssetComposition::class;
protected $childAssetLocationDataType = '';
protected $directLocationType = DirectLocationAssignment::class;
protected $directLocationDataType = '';
protected $gcpProjectProxyType = TenantProjectProxy::class;
protected $gcpProjectProxyDataType = '';
protected $placerLocationType = PlacerLocation::class;
protected $placerLocationDataType = '';
protected $spannerLocationType = SpannerLocation::class;
protected $spannerLocationDataType = '';
/**
* @param BlobstoreLocation
*/
public function setBlobstoreLocation(BlobstoreLocation $blobstoreLocation)
{
$this->blobstoreLocation = $blobstoreLocation;
}
/**
* @return BlobstoreLocation
*/
public function getBlobstoreLocation()
{
return $this->blobstoreLocation;
}
/**
* @param CloudAssetComposition
*/
public function setChildAssetLocation(CloudAssetComposition $childAssetLocation)
{
$this->childAssetLocation = $childAssetLocation;
}
/**
* @return CloudAssetComposition
*/
public function getChildAssetLocation()
{
return $this->childAssetLocation;
}
/**
* @param DirectLocationAssignment
*/
public function setDirectLocation(DirectLocationAssignment $directLocation)
{
$this->directLocation = $directLocation;
}
/**
* @return DirectLocationAssignment
*/
public function getDirectLocation()
{
return $this->directLocation;
}
/**
* @param TenantProjectProxy
*/
public function setGcpProjectProxy(TenantProjectProxy $gcpProjectProxy)
{
$this->gcpProjectProxy = $gcpProjectProxy;
}
/**
* @return TenantProjectProxy
*/
public function getGcpProjectProxy()
{
return $this->gcpProjectProxy;
}
/**
* @param PlacerLocation
*/
public function setPlacerLocation(PlacerLocation $placerLocation)
{
$this->placerLocation = $placerLocation;
}
/**
* @return PlacerLocation
*/
public function getPlacerLocation()
{
return $this->placerLocation;
}
/**
* @param SpannerLocation
*/
public function setSpannerLocation(SpannerLocation $spannerLocation)
{
$this->spannerLocation = $spannerLocation;
}
/**
* @return SpannerLocation
*/
public function getSpannerLocation()
{
return $this->spannerLocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocationData::class, 'Google_Service_CloudRedis_LocationData');
@@ -0,0 +1,162 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class MachineConfiguration extends \Google\Model
{
/**
* Optional. Baseline slots for BigQuery Reservations. Baseline slots are in
* increments of 50.
*
* @var string
*/
public $baselineSlots;
/**
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482)
* add proto validations again after bug fix.
*
* @deprecated
* @var int
*/
public $cpuCount;
/**
* Optional. Max slots for BigQuery Reservations. Max slots are in increments
* of 50.
*
* @var string
*/
public $maxReservationSlots;
/**
* Memory size in bytes. TODO(b/342344482) add proto validations again after
* bug fix.
*
* @var string
*/
public $memorySizeInBytes;
/**
* Optional. Number of shards (if applicable).
*
* @var int
*/
public $shardCount;
/**
* Optional. The number of vCPUs. TODO(b/342344482) add proto validations
* again after bug fix.
*
* @var
*/
public $vcpuCount;
/**
* Optional. Baseline slots for BigQuery Reservations. Baseline slots are in
* increments of 50.
*
* @param string $baselineSlots
*/
public function setBaselineSlots($baselineSlots)
{
$this->baselineSlots = $baselineSlots;
}
/**
* @return string
*/
public function getBaselineSlots()
{
return $this->baselineSlots;
}
/**
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482)
* add proto validations again after bug fix.
*
* @deprecated
* @param int $cpuCount
*/
public function setCpuCount($cpuCount)
{
$this->cpuCount = $cpuCount;
}
/**
* @deprecated
* @return int
*/
public function getCpuCount()
{
return $this->cpuCount;
}
/**
* Optional. Max slots for BigQuery Reservations. Max slots are in increments
* of 50.
*
* @param string $maxReservationSlots
*/
public function setMaxReservationSlots($maxReservationSlots)
{
$this->maxReservationSlots = $maxReservationSlots;
}
/**
* @return string
*/
public function getMaxReservationSlots()
{
return $this->maxReservationSlots;
}
/**
* Memory size in bytes. TODO(b/342344482) add proto validations again after
* bug fix.
*
* @param string $memorySizeInBytes
*/
public function setMemorySizeInBytes($memorySizeInBytes)
{
$this->memorySizeInBytes = $memorySizeInBytes;
}
/**
* @return string
*/
public function getMemorySizeInBytes()
{
return $this->memorySizeInBytes;
}
/**
* Optional. Number of shards (if applicable).
*
* @param int $shardCount
*/
public function setShardCount($shardCount)
{
$this->shardCount = $shardCount;
}
/**
* @return int
*/
public function getShardCount()
{
return $this->shardCount;
}
public function setVcpuCount($vcpuCount)
{
$this->vcpuCount = $vcpuCount;
}
public function getVcpuCount()
{
return $this->vcpuCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MachineConfiguration::class, 'Google_Service_CloudRedis_MachineConfiguration');
@@ -0,0 +1,115 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class MaintenancePolicy extends \Google\Collection
{
protected $collection_key = 'weeklyMaintenanceWindow';
/**
* Output only. The time when the policy was created.
*
* @var string
*/
public $createTime;
/**
* Optional. Description of what this policy is for. Create/Update methods
* return INVALID_ARGUMENT if the length is greater than 512.
*
* @var string
*/
public $description;
/**
* Output only. The time when the policy was last updated.
*
* @var string
*/
public $updateTime;
protected $weeklyMaintenanceWindowType = WeeklyMaintenanceWindow::class;
protected $weeklyMaintenanceWindowDataType = 'array';
/**
* Output only. The time when the policy was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. Description of what this policy is for. Create/Update methods
* return INVALID_ARGUMENT if the length is greater than 512.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Output only. The time when the policy was last updated.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* Optional. Maintenance window that is applied to resources covered by this
* policy. Minimum 1. For the current version, the maximum number of
* weekly_window is expected to be one.
*
* @param WeeklyMaintenanceWindow[] $weeklyMaintenanceWindow
*/
public function setWeeklyMaintenanceWindow($weeklyMaintenanceWindow)
{
$this->weeklyMaintenanceWindow = $weeklyMaintenanceWindow;
}
/**
* @return WeeklyMaintenanceWindow[]
*/
public function getWeeklyMaintenanceWindow()
{
return $this->weeklyMaintenanceWindow;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MaintenancePolicy::class, 'Google_Service_CloudRedis_MaintenancePolicy');
@@ -0,0 +1,123 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class MaintenanceSchedule extends \Google\Model
{
/**
* If the scheduled maintenance can be rescheduled, default is true.
*
* @deprecated
* @var bool
*/
public $canReschedule;
/**
* Output only. The end time of any upcoming scheduled maintenance for this
* instance.
*
* @var string
*/
public $endTime;
/**
* Output only. The deadline that the maintenance schedule start time can not
* go beyond, including reschedule.
*
* @var string
*/
public $scheduleDeadlineTime;
/**
* Output only. The start time of any upcoming scheduled maintenance for this
* instance.
*
* @var string
*/
public $startTime;
/**
* If the scheduled maintenance can be rescheduled, default is true.
*
* @deprecated
* @param bool $canReschedule
*/
public function setCanReschedule($canReschedule)
{
$this->canReschedule = $canReschedule;
}
/**
* @deprecated
* @return bool
*/
public function getCanReschedule()
{
return $this->canReschedule;
}
/**
* Output only. The end time of any upcoming scheduled maintenance for this
* instance.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. The deadline that the maintenance schedule start time can not
* go beyond, including reschedule.
*
* @param string $scheduleDeadlineTime
*/
public function setScheduleDeadlineTime($scheduleDeadlineTime)
{
$this->scheduleDeadlineTime = $scheduleDeadlineTime;
}
/**
* @return string
*/
public function getScheduleDeadlineTime()
{
return $this->scheduleDeadlineTime;
}
/**
* Output only. The start time of any upcoming scheduled maintenance for this
* instance.
*
* @param string $startTime
*/
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(MaintenanceSchedule::class, 'Google_Service_CloudRedis_MaintenanceSchedule');
@@ -0,0 +1,56 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class ManagedBackupSource extends \Google\Model
{
/**
* Optional. Example: //redis.googleapis.com/projects/{project}/locations/{loc
* ation}/backupCollections/{collection}/backups/{backup} A shorter version
* (without the prefix) of the backup name is also supported, like projects/{p
* roject}/locations/{location}/backupCollections/{collection}/backups/{backup
* _id} In this case, it assumes the backup is under redis.googleapis.com.
*
* @var string
*/
public $backup;
/**
* Optional. Example: //redis.googleapis.com/projects/{project}/locations/{loc
* ation}/backupCollections/{collection}/backups/{backup} A shorter version
* (without the prefix) of the backup name is also supported, like projects/{p
* roject}/locations/{location}/backupCollections/{collection}/backups/{backup
* _id} In this case, it assumes the backup is under redis.googleapis.com.
*
* @param string $backup
*/
public function setBackup($backup)
{
$this->backup = $backup;
}
/**
* @return string
*/
public function getBackup()
{
return $this->backup;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedBackupSource::class, 'Google_Service_CloudRedis_ManagedBackupSource');
@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class ManagedCertificateAuthority extends \Google\Collection
{
protected $collection_key = 'caCerts';
protected $caCertsType = CertChain::class;
protected $caCertsDataType = 'array';
/**
* The PEM encoded CA certificate chains for redis managed server
* authentication
*
* @param CertChain[] $caCerts
*/
public function setCaCerts($caCerts)
{
$this->caCerts = $caCerts;
}
/**
* @return CertChain[]
*/
public function getCaCerts()
{
return $this->caCerts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedCertificateAuthority::class, 'Google_Service_CloudRedis_ManagedCertificateAuthority');
@@ -0,0 +1,65 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class Membership extends \Google\Collection
{
protected $collection_key = 'secondaryClusters';
protected $primaryClusterType = RemoteCluster::class;
protected $primaryClusterDataType = '';
protected $secondaryClustersType = RemoteCluster::class;
protected $secondaryClustersDataType = 'array';
/**
* Output only. The primary cluster that acts as the source of replication for
* the secondary clusters.
*
* @param RemoteCluster $primaryCluster
*/
public function setPrimaryCluster(RemoteCluster $primaryCluster)
{
$this->primaryCluster = $primaryCluster;
}
/**
* @return RemoteCluster
*/
public function getPrimaryCluster()
{
return $this->primaryCluster;
}
/**
* Output only. The list of secondary clusters replicating from the primary
* cluster.
*
* @param RemoteCluster[] $secondaryClusters
*/
public function setSecondaryClusters($secondaryClusters)
{
$this->secondaryClusters = $secondaryClusters;
}
/**
* @return RemoteCluster[]
*/
public function getSecondaryClusters()
{
return $this->secondaryClusters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Membership::class, 'Google_Service_CloudRedis_Membership');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class NodeInfo extends \Google\Model
{
/**
* Output only. Node identifying string. e.g. 'node-0', 'node-1'
*
* @var string
*/
public $id;
/**
* Output only. Location of the node.
*
* @var string
*/
public $zone;
/**
* Output only. Node identifying string. e.g. 'node-0', 'node-1'
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Output only. Location of the node.
*
* @param string $zone
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NodeInfo::class, 'Google_Service_CloudRedis_NodeInfo');
@@ -0,0 +1,203 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class ObservabilityMetricData extends \Google\Model
{
/**
* Unspecified aggregation type.
*/
public const AGGREGATION_TYPE_AGGREGATION_TYPE_UNSPECIFIED = 'AGGREGATION_TYPE_UNSPECIFIED';
/**
* PEAK aggregation type.
*/
public const AGGREGATION_TYPE_PEAK = 'PEAK';
/**
* P99 aggregation type.
*/
public const AGGREGATION_TYPE_P99 = 'P99';
/**
* P95 aggregation type.
*/
public const AGGREGATION_TYPE_P95 = 'P95';
/**
* current aggregation type.
*/
public const AGGREGATION_TYPE_CURRENT = 'CURRENT';
/**
* Unspecified metric type.
*/
public const METRIC_TYPE_METRIC_TYPE_UNSPECIFIED = 'METRIC_TYPE_UNSPECIFIED';
/**
* CPU utilization for a resource. The value is a fraction between 0.0 and 1.0
* (may momentarily exceed 1.0 in some cases).
*/
public const METRIC_TYPE_CPU_UTILIZATION = 'CPU_UTILIZATION';
/**
* Memory utilization for a resource. The value is a fraction between 0.0 and
* 1.0 (may momentarily exceed 1.0 in some cases).
*/
public const METRIC_TYPE_MEMORY_UTILIZATION = 'MEMORY_UTILIZATION';
/**
* Number of network connections for a resource.
*/
public const METRIC_TYPE_NETWORK_CONNECTIONS = 'NETWORK_CONNECTIONS';
/**
* Storage utilization for a resource. The value is a fraction between 0.0 and
* 1.0 (may momentarily exceed 1.0 in some cases).
*/
public const METRIC_TYPE_STORAGE_UTILIZATION = 'STORAGE_UTILIZATION';
/**
* Sotrage used by a resource.
*/
public const METRIC_TYPE_STORAGE_USED_BYTES = 'STORAGE_USED_BYTES';
/**
* Node count for a resource. It represents the number of node units in a
* bigtable/spanner instance.
*/
public const METRIC_TYPE_NODE_COUNT = 'NODE_COUNT';
/**
* Memory used by a resource (in bytes).
*/
public const METRIC_TYPE_MEMORY_USED_BYTES = 'MEMORY_USED_BYTES';
/**
* Processing units used by a resource. It represents the number of processing
* units in a spanner instance.
*/
public const METRIC_TYPE_PROCESSING_UNIT_COUNT = 'PROCESSING_UNIT_COUNT';
/**
* Required. Type of aggregation performed on the metric.
*
* @var string
*/
public $aggregationType;
/**
* Required. Type of metric like CPU, Memory, etc.
*
* @var string
*/
public $metricType;
/**
* Required. The time the metric value was observed.
*
* @var string
*/
public $observationTime;
/**
* Required. Database resource name associated with the signal. Resource name
* to follow CAIS resource_name format as noted here go/condor-common-
* datamodel
*
* @var string
*/
public $resourceName;
protected $valueType = TypedValue::class;
protected $valueDataType = '';
/**
* Required. Type of aggregation performed on the metric.
*
* Accepted values: AGGREGATION_TYPE_UNSPECIFIED, PEAK, P99, P95, CURRENT
*
* @param self::AGGREGATION_TYPE_* $aggregationType
*/
public function setAggregationType($aggregationType)
{
$this->aggregationType = $aggregationType;
}
/**
* @return self::AGGREGATION_TYPE_*
*/
public function getAggregationType()
{
return $this->aggregationType;
}
/**
* Required. Type of metric like CPU, Memory, etc.
*
* Accepted values: METRIC_TYPE_UNSPECIFIED, CPU_UTILIZATION,
* MEMORY_UTILIZATION, NETWORK_CONNECTIONS, STORAGE_UTILIZATION,
* STORAGE_USED_BYTES, NODE_COUNT, MEMORY_USED_BYTES, PROCESSING_UNIT_COUNT
*
* @param self::METRIC_TYPE_* $metricType
*/
public function setMetricType($metricType)
{
$this->metricType = $metricType;
}
/**
* @return self::METRIC_TYPE_*
*/
public function getMetricType()
{
return $this->metricType;
}
/**
* Required. The time the metric value was observed.
*
* @param string $observationTime
*/
public function setObservationTime($observationTime)
{
$this->observationTime = $observationTime;
}
/**
* @return string
*/
public function getObservationTime()
{
return $this->observationTime;
}
/**
* Required. Database resource name associated with the signal. Resource name
* to follow CAIS resource_name format as noted here go/condor-common-
* datamodel
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* Required. Value of the metric type.
*
* @param TypedValue $value
*/
public function setValue(TypedValue $value)
{
$this->value = $value;
}
/**
* @return TypedValue
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ObservabilityMetricData::class, 'Google_Service_CloudRedis_ObservabilityMetricData');
@@ -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\CloudRedis;
class Operation extends \Google\Model
{
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* { `createTime`: The time the operation was created. `endTime`: The time the
* operation finished running. `target`: Server-defined resource path for the
* target of the operation. `verb`: Name of the verb executed by the
* operation. `statusDetail`: Human-readable status of the operation, if any.
* `cancelRequested`: Identifies whether the user has requested cancellation
* of the operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`. `apiVersion`: API version used to start the operation. }
*
* @var array[]
*/
public $metadata;
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @var string
*/
public $name;
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @var array[]
*/
public $response;
/**
* If the value is `false`, it means the operation is still in progress. If
* `true`, the operation is completed, and either `error` or `response` is
* available.
*
* @param bool $done
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* The error result of the operation in case of failure or cancellation.
*
* @param Status $error
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* { `createTime`: The time the operation was created. `endTime`: The time the
* operation finished running. `target`: Server-defined resource path for the
* target of the operation. `verb`: Name of the verb executed by the
* operation. `statusDetail`: Human-readable status of the operation, if any.
* `cancelRequested`: Identifies whether the user has requested cancellation
* of the operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`. `apiVersion`: API version used to start the operation. }
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the `name`
* should be a resource name ending with `operations/{unique_id}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The normal, successful response of the operation. If the original method
* returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx` is
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*
* @param array[] $response
*/
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_CloudRedis_Operation');
@@ -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\CloudRedis;
class OperationError extends \Google\Model
{
/**
* UNSPECIFIED means product type is not known or available.
*/
public const ERROR_TYPE_OPERATION_ERROR_TYPE_UNSPECIFIED = 'OPERATION_ERROR_TYPE_UNSPECIFIED';
/**
* key destroyed, expired, not found, unreachable or permission denied.
*/
public const ERROR_TYPE_KMS_KEY_ERROR = 'KMS_KEY_ERROR';
/**
* Database is not accessible
*/
public const ERROR_TYPE_DATABASE_ERROR = 'DATABASE_ERROR';
/**
* The zone or region does not have sufficient resources to handle the request
* at the moment
*/
public const ERROR_TYPE_STOCKOUT_ERROR = 'STOCKOUT_ERROR';
/**
* User initiated cancellation
*/
public const ERROR_TYPE_CANCELLATION_ERROR = 'CANCELLATION_ERROR';
/**
* SQL server specific error
*/
public const ERROR_TYPE_SQLSERVER_ERROR = 'SQLSERVER_ERROR';
/**
* Any other internal error.
*/
public const ERROR_TYPE_INTERNAL_ERROR = 'INTERNAL_ERROR';
/**
* Identifies the specific error that occurred. REQUIRED
*
* @var string
*/
public $code;
/**
* @var string
*/
public $errorType;
/**
* Additional information about the error encountered. REQUIRED
*
* @var string
*/
public $message;
/**
* Identifies the specific error that occurred. REQUIRED
*
* @param string $code
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param self::ERROR_TYPE_* $errorType
*/
public function setErrorType($errorType)
{
$this->errorType = $errorType;
}
/**
* @return self::ERROR_TYPE_*
*/
public function getErrorType()
{
return $this->errorType;
}
/**
* Additional information about the error encountered. REQUIRED
*
* @param string $message
*/
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(OperationError::class, 'Google_Service_CloudRedis_OperationError');
@@ -0,0 +1,186 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class OperationMetadata extends \Google\Model
{
/**
* Output only. API version used to start the operation.
*
* @var string
*/
public $apiVersion;
/**
* Output only. The time the operation was created.
*
* @var string
*/
public $createTime;
/**
* Output only. The time the operation finished running.
*
* @var string
*/
public $endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @var bool
*/
public $requestedCancellation;
/**
* Output only. Human-readable status of the operation, if any.
*
* @var string
*/
public $statusMessage;
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @var string
*/
public $target;
/**
* Output only. Name of the verb executed by the operation.
*
* @var string
*/
public $verb;
/**
* Output only. API version used to start the operation.
*
* @param string $apiVersion
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* Output only. The time the operation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. The time the operation finished running.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Identifies whether the user has requested cancellation of the
* operation. Operations that have successfully been cancelled have
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`.
*
* @param bool $requestedCancellation
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* Output only. Human-readable status of the operation, if any.
*
* @param string $statusMessage
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* Output only. Server-defined resource path for the target of the operation.
*
* @param string $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* Output only. Name of the verb executed by the operation.
*
* @param string $verb
*/
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_CloudRedis_OperationMetadata');
@@ -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\CloudRedis;
class OutputConfig extends \Google\Model
{
protected $gcsDestinationType = GcsDestination::class;
protected $gcsDestinationDataType = '';
/**
* Google Cloud Storage destination for output content.
*
* @param GcsDestination $gcsDestination
*/
public function setGcsDestination(GcsDestination $gcsDestination)
{
$this->gcsDestination = $gcsDestination;
}
/**
* @return GcsDestination
*/
public function getGcsDestination()
{
return $this->gcsDestination;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OutputConfig::class, 'Google_Service_CloudRedis_OutputConfig');
@@ -0,0 +1,168 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class PersistenceConfig extends \Google\Model
{
/**
* Not set.
*/
public const PERSISTENCE_MODE_PERSISTENCE_MODE_UNSPECIFIED = 'PERSISTENCE_MODE_UNSPECIFIED';
/**
* Persistence is disabled for the instance, and any existing snapshots are
* deleted.
*/
public const PERSISTENCE_MODE_DISABLED = 'DISABLED';
/**
* RDB based Persistence is enabled.
*/
public const PERSISTENCE_MODE_RDB = 'RDB';
/**
* Not set.
*/
public const RDB_SNAPSHOT_PERIOD_SNAPSHOT_PERIOD_UNSPECIFIED = 'SNAPSHOT_PERIOD_UNSPECIFIED';
/**
* Snapshot every 1 hour.
*/
public const RDB_SNAPSHOT_PERIOD_ONE_HOUR = 'ONE_HOUR';
/**
* Snapshot every 6 hours.
*/
public const RDB_SNAPSHOT_PERIOD_SIX_HOURS = 'SIX_HOURS';
/**
* Snapshot every 12 hours.
*/
public const RDB_SNAPSHOT_PERIOD_TWELVE_HOURS = 'TWELVE_HOURS';
/**
* Snapshot every 24 hours.
*/
public const RDB_SNAPSHOT_PERIOD_TWENTY_FOUR_HOURS = 'TWENTY_FOUR_HOURS';
/**
* Optional. Controls whether Persistence features are enabled. If not
* provided, the existing value will be used.
*
* @var string
*/
public $persistenceMode;
/**
* Output only. The next time that a snapshot attempt is scheduled to occur.
*
* @var string
*/
public $rdbNextSnapshotTime;
/**
* Optional. Period between RDB snapshots. Snapshots will be attempted every
* period starting from the provided snapshot start time. For example, a start
* time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing
* until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45,
* 18:45, and 00:45 the next day, and so on. If not provided,
* TWENTY_FOUR_HOURS will be used as default.
*
* @var string
*/
public $rdbSnapshotPeriod;
/**
* Optional. Date and time that the first snapshot was/will be attempted, and
* to which future snapshots will be aligned. If not provided, the current
* time will be used.
*
* @var string
*/
public $rdbSnapshotStartTime;
/**
* Optional. Controls whether Persistence features are enabled. If not
* provided, the existing value will be used.
*
* Accepted values: PERSISTENCE_MODE_UNSPECIFIED, DISABLED, RDB
*
* @param self::PERSISTENCE_MODE_* $persistenceMode
*/
public function setPersistenceMode($persistenceMode)
{
$this->persistenceMode = $persistenceMode;
}
/**
* @return self::PERSISTENCE_MODE_*
*/
public function getPersistenceMode()
{
return $this->persistenceMode;
}
/**
* Output only. The next time that a snapshot attempt is scheduled to occur.
*
* @param string $rdbNextSnapshotTime
*/
public function setRdbNextSnapshotTime($rdbNextSnapshotTime)
{
$this->rdbNextSnapshotTime = $rdbNextSnapshotTime;
}
/**
* @return string
*/
public function getRdbNextSnapshotTime()
{
return $this->rdbNextSnapshotTime;
}
/**
* Optional. Period between RDB snapshots. Snapshots will be attempted every
* period starting from the provided snapshot start time. For example, a start
* time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing
* until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45,
* 18:45, and 00:45 the next day, and so on. If not provided,
* TWENTY_FOUR_HOURS will be used as default.
*
* Accepted values: SNAPSHOT_PERIOD_UNSPECIFIED, ONE_HOUR, SIX_HOURS,
* TWELVE_HOURS, TWENTY_FOUR_HOURS
*
* @param self::RDB_SNAPSHOT_PERIOD_* $rdbSnapshotPeriod
*/
public function setRdbSnapshotPeriod($rdbSnapshotPeriod)
{
$this->rdbSnapshotPeriod = $rdbSnapshotPeriod;
}
/**
* @return self::RDB_SNAPSHOT_PERIOD_*
*/
public function getRdbSnapshotPeriod()
{
return $this->rdbSnapshotPeriod;
}
/**
* Optional. Date and time that the first snapshot was/will be attempted, and
* to which future snapshots will be aligned. If not provided, the current
* time will be used.
*
* @param string $rdbSnapshotStartTime
*/
public function setRdbSnapshotStartTime($rdbSnapshotStartTime)
{
$this->rdbSnapshotStartTime = $rdbSnapshotStartTime;
}
/**
* @return string
*/
public function getRdbSnapshotStartTime()
{
return $this->rdbSnapshotStartTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PersistenceConfig::class, 'Google_Service_CloudRedis_PersistenceConfig');
@@ -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\CloudRedis;
class PlacerLocation extends \Google\Model
{
/**
* @var string
*/
public $placerConfig;
/**
* @param string
*/
public function setPlacerConfig($placerConfig)
{
$this->placerConfig = $placerConfig;
}
/**
* @return string
*/
public function getPlacerConfig()
{
return $this->placerConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PlacerLocation::class, 'Google_Service_CloudRedis_PlacerLocation');
@@ -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\CloudRedis;
class PrivateServiceConnect extends \Google\Model
{
/**
* @var string
*/
public $pscService;
/**
* @var string
*/
public $pscServiceRoute;
/**
* @param string
*/
public function setPscService($pscService)
{
$this->pscService = $pscService;
}
/**
* @return string
*/
public function getPscService()
{
return $this->pscService;
}
/**
* @param string
*/
public function setPscServiceRoute($pscServiceRoute)
{
$this->pscServiceRoute = $pscServiceRoute;
}
/**
* @return string
*/
public function getPscServiceRoute()
{
return $this->pscServiceRoute;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrivateServiceConnect::class, 'Google_Service_CloudRedis_PrivateServiceConnect');
@@ -0,0 +1,287 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class Product extends \Google\Model
{
/**
* UNSPECIFIED means engine type is not known or available.
*/
public const ENGINE_ENGINE_UNSPECIFIED = 'ENGINE_UNSPECIFIED';
/**
* MySQL binary running as an engine in the database instance.
*/
public const ENGINE_ENGINE_MYSQL = 'ENGINE_MYSQL';
/**
* MySQL binary running as engine in database instance.
*
* @deprecated
*/
public const ENGINE_MYSQL = 'MYSQL';
/**
* Postgres binary running as engine in database instance.
*/
public const ENGINE_ENGINE_POSTGRES = 'ENGINE_POSTGRES';
/**
* Postgres binary running as engine in database instance.
*
* @deprecated
*/
public const ENGINE_POSTGRES = 'POSTGRES';
/**
* SQLServer binary running as engine in database instance.
*/
public const ENGINE_ENGINE_SQL_SERVER = 'ENGINE_SQL_SERVER';
/**
* SQLServer binary running as engine in database instance.
*
* @deprecated
*/
public const ENGINE_SQL_SERVER = 'SQL_SERVER';
/**
* Native database binary running as engine in instance.
*/
public const ENGINE_ENGINE_NATIVE = 'ENGINE_NATIVE';
/**
* Native database binary running as engine in instance.
*
* @deprecated
*/
public const ENGINE_NATIVE = 'NATIVE';
/**
* Cloud Spanner with PostgreSQL dialect.
*/
public const ENGINE_ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT = 'ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT';
/**
* Cloud Spanner with Google SQL dialect.
*/
public const ENGINE_ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT = 'ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT';
/**
* Memorystore with Redis dialect.
*/
public const ENGINE_ENGINE_MEMORYSTORE_FOR_REDIS = 'ENGINE_MEMORYSTORE_FOR_REDIS';
/**
* Memorystore with Redis cluster dialect.
*/
public const ENGINE_ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER = 'ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER';
/**
* Other refers to rest of other database engine. This is to be when engine is
* known, but it is not present in this enum.
*/
public const ENGINE_ENGINE_OTHER = 'ENGINE_OTHER';
/**
* Firestore with native mode.
*/
public const ENGINE_ENGINE_FIRESTORE_WITH_NATIVE_MODE = 'ENGINE_FIRESTORE_WITH_NATIVE_MODE';
/**
* Firestore with datastore mode.
*/
public const ENGINE_ENGINE_FIRESTORE_WITH_DATASTORE_MODE = 'ENGINE_FIRESTORE_WITH_DATASTORE_MODE';
/**
* Firestore with MongoDB compatibility mode.
*/
public const ENGINE_ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE = 'ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE';
/**
* Oracle Exadata engine.
*/
public const ENGINE_ENGINE_EXADATA_ORACLE = 'ENGINE_EXADATA_ORACLE';
/**
* Oracle Autonomous DB Serverless engine.
*/
public const ENGINE_ENGINE_ADB_SERVERLESS_ORACLE = 'ENGINE_ADB_SERVERLESS_ORACLE';
/**
* UNSPECIFIED means product type is not known or available.
*/
public const TYPE_PRODUCT_TYPE_UNSPECIFIED = 'PRODUCT_TYPE_UNSPECIFIED';
/**
* Cloud SQL product area in GCP
*/
public const TYPE_PRODUCT_TYPE_CLOUD_SQL = 'PRODUCT_TYPE_CLOUD_SQL';
/**
* Cloud SQL product area in GCP
*
* @deprecated
*/
public const TYPE_CLOUD_SQL = 'CLOUD_SQL';
/**
* AlloyDB product area in GCP
*/
public const TYPE_PRODUCT_TYPE_ALLOYDB = 'PRODUCT_TYPE_ALLOYDB';
/**
* AlloyDB product area in GCP
*
* @deprecated
*/
public const TYPE_ALLOYDB = 'ALLOYDB';
/**
* Spanner product area in GCP
*/
public const TYPE_PRODUCT_TYPE_SPANNER = 'PRODUCT_TYPE_SPANNER';
/**
* On premises database product.
*/
public const TYPE_PRODUCT_TYPE_ON_PREM = 'PRODUCT_TYPE_ON_PREM';
/**
* On premises database product.
*
* @deprecated
*/
public const TYPE_ON_PREM = 'ON_PREM';
/**
* Memorystore product area in GCP
*/
public const TYPE_PRODUCT_TYPE_MEMORYSTORE = 'PRODUCT_TYPE_MEMORYSTORE';
/**
* Bigtable product area in GCP
*/
public const TYPE_PRODUCT_TYPE_BIGTABLE = 'PRODUCT_TYPE_BIGTABLE';
/**
* Firestore product area in GCP.
*/
public const TYPE_PRODUCT_TYPE_FIRESTORE = 'PRODUCT_TYPE_FIRESTORE';
/**
* Compute Engine self managed databases
*/
public const TYPE_PRODUCT_TYPE_COMPUTE_ENGINE = 'PRODUCT_TYPE_COMPUTE_ENGINE';
/**
* Oracle product area in GCP
*/
public const TYPE_PRODUCT_TYPE_ORACLE_ON_GCP = 'PRODUCT_TYPE_ORACLE_ON_GCP';
/**
* BigQuery product area in GCP
*/
public const TYPE_PRODUCT_TYPE_BIGQUERY = 'PRODUCT_TYPE_BIGQUERY';
/**
* Other refers to rest of other product type. This is to be when product type
* is known, but it is not present in this enum.
*/
public const TYPE_PRODUCT_TYPE_OTHER = 'PRODUCT_TYPE_OTHER';
/**
* The specific engine that the underlying database is running.
*
* @var string
*/
public $engine;
/**
* Minor version of the underlying database engine. Example values: For MySQL,
* it could be "8.0.32", "5.7.32" etc.. For Postgres, it could be "14.3",
* "15.3" etc..
*
* @var string
*/
public $minorVersion;
/**
* Type of specific database product. It could be CloudSQL, AlloyDB etc..
*
* @var string
*/
public $type;
/**
* Version of the underlying database engine. Example values: For MySQL, it
* could be "8.0", "5.7" etc.. For Postgres, it could be "14", "15" etc..
*
* @var string
*/
public $version;
/**
* The specific engine that the underlying database is running.
*
* Accepted values: ENGINE_UNSPECIFIED, ENGINE_MYSQL, MYSQL, ENGINE_POSTGRES,
* POSTGRES, ENGINE_SQL_SERVER, SQL_SERVER, ENGINE_NATIVE, NATIVE,
* ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT,
* ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT, ENGINE_MEMORYSTORE_FOR_REDIS,
* ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER, ENGINE_OTHER,
* ENGINE_FIRESTORE_WITH_NATIVE_MODE, ENGINE_FIRESTORE_WITH_DATASTORE_MODE,
* ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE, ENGINE_EXADATA_ORACLE,
* ENGINE_ADB_SERVERLESS_ORACLE
*
* @param self::ENGINE_* $engine
*/
public function setEngine($engine)
{
$this->engine = $engine;
}
/**
* @return self::ENGINE_*
*/
public function getEngine()
{
return $this->engine;
}
/**
* Minor version of the underlying database engine. Example values: For MySQL,
* it could be "8.0.32", "5.7.32" etc.. For Postgres, it could be "14.3",
* "15.3" etc..
*
* @param string $minorVersion
*/
public function setMinorVersion($minorVersion)
{
$this->minorVersion = $minorVersion;
}
/**
* @return string
*/
public function getMinorVersion()
{
return $this->minorVersion;
}
/**
* Type of specific database product. It could be CloudSQL, AlloyDB etc..
*
* Accepted values: PRODUCT_TYPE_UNSPECIFIED, PRODUCT_TYPE_CLOUD_SQL,
* CLOUD_SQL, PRODUCT_TYPE_ALLOYDB, ALLOYDB, PRODUCT_TYPE_SPANNER,
* PRODUCT_TYPE_ON_PREM, ON_PREM, PRODUCT_TYPE_MEMORYSTORE,
* PRODUCT_TYPE_BIGTABLE, PRODUCT_TYPE_FIRESTORE, PRODUCT_TYPE_COMPUTE_ENGINE,
* PRODUCT_TYPE_ORACLE_ON_GCP, PRODUCT_TYPE_BIGQUERY, PRODUCT_TYPE_OTHER
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* Version of the underlying database engine. Example values: For MySQL, it
* could be "8.0", "5.7" etc.. For Postgres, it could be "14", "15" etc..
*
* @param string $version
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Product::class, 'Google_Service_CloudRedis_Product');
@@ -0,0 +1,254 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class PscAutoConnection extends \Google\Model
{
/**
* Cluster endpoint Type is not set
*/
public const CONNECTION_TYPE_CONNECTION_TYPE_UNSPECIFIED = 'CONNECTION_TYPE_UNSPECIFIED';
/**
* Cluster endpoint that will be used as for cluster topology discovery.
*/
public const CONNECTION_TYPE_CONNECTION_TYPE_DISCOVERY = 'CONNECTION_TYPE_DISCOVERY';
/**
* Cluster endpoint that will be used as primary endpoint to access primary.
*/
public const CONNECTION_TYPE_CONNECTION_TYPE_PRIMARY = 'CONNECTION_TYPE_PRIMARY';
/**
* Cluster endpoint that will be used as reader endpoint to access replicas.
*/
public const CONNECTION_TYPE_CONNECTION_TYPE_READER = 'CONNECTION_TYPE_READER';
/**
* PSC connection status is not specified.
*/
public const PSC_CONNECTION_STATUS_PSC_CONNECTION_STATUS_UNSPECIFIED = 'PSC_CONNECTION_STATUS_UNSPECIFIED';
/**
* The connection is active
*/
public const PSC_CONNECTION_STATUS_PSC_CONNECTION_STATUS_ACTIVE = 'PSC_CONNECTION_STATUS_ACTIVE';
/**
* Connection not found
*/
public const PSC_CONNECTION_STATUS_PSC_CONNECTION_STATUS_NOT_FOUND = 'PSC_CONNECTION_STATUS_NOT_FOUND';
/**
* Output only. The IP allocated on the consumer network for the PSC
* forwarding rule.
*
* @var string
*/
public $address;
/**
* Output only. Type of the PSC connection.
*
* @var string
*/
public $connectionType;
/**
* Output only. The URI of the consumer side forwarding rule. Example:
* projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
*
* @var string
*/
public $forwardingRule;
/**
* Required. The consumer network where the IP address resides, in the form of
* projects/{project_id}/global/networks/{network_id}.
*
* @var string
*/
public $network;
/**
* Required. The consumer project_id where the forwarding rule is created
* from.
*
* @var string
*/
public $projectId;
/**
* Output only. The PSC connection id of the forwarding rule connected to the
* service attachment.
*
* @var string
*/
public $pscConnectionId;
/**
* Output only. The status of the PSC connection. Please note that this value
* is updated periodically. Please use Private Service Connect APIs for the
* latest status.
*
* @var string
*/
public $pscConnectionStatus;
/**
* Output only. The service attachment which is the target of the PSC
* connection, in the form of projects/{project-
* id}/regions/{region}/serviceAttachments/{service-attachment-id}.
*
* @var string
*/
public $serviceAttachment;
/**
* Output only. The IP allocated on the consumer network for the PSC
* forwarding rule.
*
* @param string $address
*/
public function setAddress($address)
{
$this->address = $address;
}
/**
* @return string
*/
public function getAddress()
{
return $this->address;
}
/**
* Output only. Type of the PSC connection.
*
* Accepted values: CONNECTION_TYPE_UNSPECIFIED, CONNECTION_TYPE_DISCOVERY,
* CONNECTION_TYPE_PRIMARY, CONNECTION_TYPE_READER
*
* @param self::CONNECTION_TYPE_* $connectionType
*/
public function setConnectionType($connectionType)
{
$this->connectionType = $connectionType;
}
/**
* @return self::CONNECTION_TYPE_*
*/
public function getConnectionType()
{
return $this->connectionType;
}
/**
* Output only. The URI of the consumer side forwarding rule. Example:
* projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
*
* @param string $forwardingRule
*/
public function setForwardingRule($forwardingRule)
{
$this->forwardingRule = $forwardingRule;
}
/**
* @return string
*/
public function getForwardingRule()
{
return $this->forwardingRule;
}
/**
* Required. The consumer network where the IP address resides, in the form of
* projects/{project_id}/global/networks/{network_id}.
*
* @param string $network
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* Required. The consumer project_id where the forwarding rule is created
* from.
*
* @param string $projectId
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* Output only. The PSC connection id of the forwarding rule connected to the
* service attachment.
*
* @param string $pscConnectionId
*/
public function setPscConnectionId($pscConnectionId)
{
$this->pscConnectionId = $pscConnectionId;
}
/**
* @return string
*/
public function getPscConnectionId()
{
return $this->pscConnectionId;
}
/**
* Output only. The status of the PSC connection. Please note that this value
* is updated periodically. Please use Private Service Connect APIs for the
* latest status.
*
* Accepted values: PSC_CONNECTION_STATUS_UNSPECIFIED,
* PSC_CONNECTION_STATUS_ACTIVE, PSC_CONNECTION_STATUS_NOT_FOUND
*
* @param self::PSC_CONNECTION_STATUS_* $pscConnectionStatus
*/
public function setPscConnectionStatus($pscConnectionStatus)
{
$this->pscConnectionStatus = $pscConnectionStatus;
}
/**
* @return self::PSC_CONNECTION_STATUS_*
*/
public function getPscConnectionStatus()
{
return $this->pscConnectionStatus;
}
/**
* Output only. The service attachment which is the target of the PSC
* connection, in the form of projects/{project-
* id}/regions/{region}/serviceAttachments/{service-attachment-id}.
*
* @param string $serviceAttachment
*/
public function setServiceAttachment($serviceAttachment)
{
$this->serviceAttachment = $serviceAttachment;
}
/**
* @return string
*/
public function getServiceAttachment()
{
return $this->serviceAttachment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PscAutoConnection::class, 'Google_Service_CloudRedis_PscAutoConnection');
@@ -0,0 +1,52 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class PscConfig extends \Google\Model
{
/**
* Required. The network where the IP address of the discovery endpoint will
* be reserved, in the form of
* projects/{network_project}/global/networks/{network_id}.
*
* @var string
*/
public $network;
/**
* Required. The network where the IP address of the discovery endpoint will
* be reserved, in the form of
* projects/{network_project}/global/networks/{network_id}.
*
* @param string $network
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PscConfig::class, 'Google_Service_CloudRedis_PscConfig');
@@ -0,0 +1,280 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class PscConnection extends \Google\Model
{
/**
* Cluster endpoint Type is not set
*/
public const CONNECTION_TYPE_CONNECTION_TYPE_UNSPECIFIED = 'CONNECTION_TYPE_UNSPECIFIED';
/**
* Cluster endpoint that will be used as for cluster topology discovery.
*/
public const CONNECTION_TYPE_CONNECTION_TYPE_DISCOVERY = 'CONNECTION_TYPE_DISCOVERY';
/**
* Cluster endpoint that will be used as primary endpoint to access primary.
*/
public const CONNECTION_TYPE_CONNECTION_TYPE_PRIMARY = 'CONNECTION_TYPE_PRIMARY';
/**
* Cluster endpoint that will be used as reader endpoint to access replicas.
*/
public const CONNECTION_TYPE_CONNECTION_TYPE_READER = 'CONNECTION_TYPE_READER';
/**
* PSC connection status is not specified.
*/
public const PSC_CONNECTION_STATUS_PSC_CONNECTION_STATUS_UNSPECIFIED = 'PSC_CONNECTION_STATUS_UNSPECIFIED';
/**
* The connection is active
*/
public const PSC_CONNECTION_STATUS_PSC_CONNECTION_STATUS_ACTIVE = 'PSC_CONNECTION_STATUS_ACTIVE';
/**
* Connection not found
*/
public const PSC_CONNECTION_STATUS_PSC_CONNECTION_STATUS_NOT_FOUND = 'PSC_CONNECTION_STATUS_NOT_FOUND';
/**
* Required. The IP allocated on the consumer network for the PSC forwarding
* rule.
*
* @var string
*/
public $address;
/**
* Output only. Type of the PSC connection.
*
* @var string
*/
public $connectionType;
/**
* Required. The URI of the consumer side forwarding rule. Example:
* projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
*
* @var string
*/
public $forwardingRule;
/**
* Required. The consumer network where the IP address resides, in the form of
* projects/{project_id}/global/networks/{network_id}.
*
* @var string
*/
public $network;
/**
* Output only. port will only be set for Primary/Reader or Discovery
* endpoint.
*
* @var int
*/
public $port;
/**
* Optional. Project ID of the consumer project where the forwarding rule is
* created in.
*
* @var string
*/
public $projectId;
/**
* Required. The PSC connection id of the forwarding rule connected to the
* service attachment.
*
* @var string
*/
public $pscConnectionId;
/**
* Output only. The status of the PSC connection. Please note that this value
* is updated periodically. To get the latest status of a PSC connection,
* follow https://cloud.google.com/vpc/docs/configure-private-service-connect-
* services#endpoint-details.
*
* @var string
*/
public $pscConnectionStatus;
/**
* Required. The service attachment which is the target of the PSC connection,
* in the form of projects/{project-
* id}/regions/{region}/serviceAttachments/{service-attachment-id}.
*
* @var string
*/
public $serviceAttachment;
/**
* Required. The IP allocated on the consumer network for the PSC forwarding
* rule.
*
* @param string $address
*/
public function setAddress($address)
{
$this->address = $address;
}
/**
* @return string
*/
public function getAddress()
{
return $this->address;
}
/**
* Output only. Type of the PSC connection.
*
* Accepted values: CONNECTION_TYPE_UNSPECIFIED, CONNECTION_TYPE_DISCOVERY,
* CONNECTION_TYPE_PRIMARY, CONNECTION_TYPE_READER
*
* @param self::CONNECTION_TYPE_* $connectionType
*/
public function setConnectionType($connectionType)
{
$this->connectionType = $connectionType;
}
/**
* @return self::CONNECTION_TYPE_*
*/
public function getConnectionType()
{
return $this->connectionType;
}
/**
* Required. The URI of the consumer side forwarding rule. Example:
* projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
*
* @param string $forwardingRule
*/
public function setForwardingRule($forwardingRule)
{
$this->forwardingRule = $forwardingRule;
}
/**
* @return string
*/
public function getForwardingRule()
{
return $this->forwardingRule;
}
/**
* Required. The consumer network where the IP address resides, in the form of
* projects/{project_id}/global/networks/{network_id}.
*
* @param string $network
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* Output only. port will only be set for Primary/Reader or Discovery
* endpoint.
*
* @param int $port
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* Optional. Project ID of the consumer project where the forwarding rule is
* created in.
*
* @param string $projectId
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* Required. The PSC connection id of the forwarding rule connected to the
* service attachment.
*
* @param string $pscConnectionId
*/
public function setPscConnectionId($pscConnectionId)
{
$this->pscConnectionId = $pscConnectionId;
}
/**
* @return string
*/
public function getPscConnectionId()
{
return $this->pscConnectionId;
}
/**
* Output only. The status of the PSC connection. Please note that this value
* is updated periodically. To get the latest status of a PSC connection,
* follow https://cloud.google.com/vpc/docs/configure-private-service-connect-
* services#endpoint-details.
*
* Accepted values: PSC_CONNECTION_STATUS_UNSPECIFIED,
* PSC_CONNECTION_STATUS_ACTIVE, PSC_CONNECTION_STATUS_NOT_FOUND
*
* @param self::PSC_CONNECTION_STATUS_* $pscConnectionStatus
*/
public function setPscConnectionStatus($pscConnectionStatus)
{
$this->pscConnectionStatus = $pscConnectionStatus;
}
/**
* @return self::PSC_CONNECTION_STATUS_*
*/
public function getPscConnectionStatus()
{
return $this->pscConnectionStatus;
}
/**
* Required. The service attachment which is the target of the PSC connection,
* in the form of projects/{project-
* id}/regions/{region}/serviceAttachments/{service-attachment-id}.
*
* @param string $serviceAttachment
*/
public function setServiceAttachment($serviceAttachment)
{
$this->serviceAttachment = $serviceAttachment;
}
/**
* @return string
*/
public function getServiceAttachment()
{
return $this->serviceAttachment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PscConnection::class, 'Google_Service_CloudRedis_PscConnection');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\CloudRedis;
class PscServiceAttachment extends \Google\Model
{
/**
* Cluster endpoint Type is not set
*/
public const CONNECTION_TYPE_CONNECTION_TYPE_UNSPECIFIED = 'CONNECTION_TYPE_UNSPECIFIED';
/**
* Cluster endpoint that will be used as for cluster topology discovery.
*/
public const CONNECTION_TYPE_CONNECTION_TYPE_DISCOVERY = 'CONNECTION_TYPE_DISCOVERY';
/**
* Cluster endpoint that will be used as primary endpoint to access primary.
*/
public const CONNECTION_TYPE_CONNECTION_TYPE_PRIMARY = 'CONNECTION_TYPE_PRIMARY';
/**
* Cluster endpoint that will be used as reader endpoint to access replicas.
*/
public const CONNECTION_TYPE_CONNECTION_TYPE_READER = 'CONNECTION_TYPE_READER';
/**
* Output only. Type of a PSC connection targeting this service attachment.
*
* @var string
*/
public $connectionType;
/**
* Output only. Service attachment URI which your self-created PscConnection
* should use as target
*
* @var string
*/
public $serviceAttachment;
/**
* Output only. Type of a PSC connection targeting this service attachment.
*
* Accepted values: CONNECTION_TYPE_UNSPECIFIED, CONNECTION_TYPE_DISCOVERY,
* CONNECTION_TYPE_PRIMARY, CONNECTION_TYPE_READER
*
* @param self::CONNECTION_TYPE_* $connectionType
*/
public function setConnectionType($connectionType)
{
$this->connectionType = $connectionType;
}
/**
* @return self::CONNECTION_TYPE_*
*/
public function getConnectionType()
{
return $this->connectionType;
}
/**
* Output only. Service attachment URI which your self-created PscConnection
* should use as target
*
* @param string $serviceAttachment
*/
public function setServiceAttachment($serviceAttachment)
{
$this->serviceAttachment = $serviceAttachment;
}
/**
* @return string
*/
public function getServiceAttachment()
{
return $this->serviceAttachment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PscServiceAttachment::class, 'Google_Service_CloudRedis_PscServiceAttachment');
@@ -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\CloudRedis;
class RDBConfig extends \Google\Model
{
/**
* Not set.
*/
public const RDB_SNAPSHOT_PERIOD_SNAPSHOT_PERIOD_UNSPECIFIED = 'SNAPSHOT_PERIOD_UNSPECIFIED';
/**
* One hour.
*/
public const RDB_SNAPSHOT_PERIOD_ONE_HOUR = 'ONE_HOUR';
/**
* Six hours.
*/
public const RDB_SNAPSHOT_PERIOD_SIX_HOURS = 'SIX_HOURS';
/**
* Twelve hours.
*/
public const RDB_SNAPSHOT_PERIOD_TWELVE_HOURS = 'TWELVE_HOURS';
/**
* Twenty four hours.
*/
public const RDB_SNAPSHOT_PERIOD_TWENTY_FOUR_HOURS = 'TWENTY_FOUR_HOURS';
/**
* Optional. Period between RDB snapshots.
*
* @var string
*/
public $rdbSnapshotPeriod;
/**
* Optional. The time that the first snapshot was/will be attempted, and to
* which future snapshots will be aligned. If not provided, the current time
* will be used.
*
* @var string
*/
public $rdbSnapshotStartTime;
/**
* Optional. Period between RDB snapshots.
*
* Accepted values: SNAPSHOT_PERIOD_UNSPECIFIED, ONE_HOUR, SIX_HOURS,
* TWELVE_HOURS, TWENTY_FOUR_HOURS
*
* @param self::RDB_SNAPSHOT_PERIOD_* $rdbSnapshotPeriod
*/
public function setRdbSnapshotPeriod($rdbSnapshotPeriod)
{
$this->rdbSnapshotPeriod = $rdbSnapshotPeriod;
}
/**
* @return self::RDB_SNAPSHOT_PERIOD_*
*/
public function getRdbSnapshotPeriod()
{
return $this->rdbSnapshotPeriod;
}
/**
* Optional. The time that the first snapshot was/will be attempted, and to
* which future snapshots will be aligned. If not provided, the current time
* will be used.
*
* @param string $rdbSnapshotStartTime
*/
public function setRdbSnapshotStartTime($rdbSnapshotStartTime)
{
$this->rdbSnapshotStartTime = $rdbSnapshotStartTime;
}
/**
* @return string
*/
public function getRdbSnapshotStartTime()
{
return $this->rdbSnapshotStartTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RDBConfig::class, 'Google_Service_CloudRedis_RDBConfig');
@@ -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\CloudRedis;
class ReconciliationOperationMetadata extends \Google\Model
{
/**
* Unknown repair action.
*/
public const EXCLUSIVE_ACTION_UNKNOWN_REPAIR_ACTION = 'UNKNOWN_REPAIR_ACTION';
/**
* The resource has to be deleted. When using this bit, the CLH should fail
* the operation. DEPRECATED. Instead use DELETE_RESOURCE OperationSignal in
* SideChannel.
*
* @deprecated
*/
public const EXCLUSIVE_ACTION_DELETE = 'DELETE';
/**
* This resource could not be repaired but the repair should be tried again at
* a later time. This can happen if there is a dependency that needs to be
* resolved first- e.g. if a parent resource must be repaired before a child
* resource.
*/
public const EXCLUSIVE_ACTION_RETRY = 'RETRY';
/**
* DEPRECATED. Use exclusive_action instead.
*
* @deprecated
* @var bool
*/
public $deleteResource;
/**
* Excluisive action returned by the CLH.
*
* @var string
*/
public $exclusiveAction;
/**
* DEPRECATED. Use exclusive_action instead.
*
* @deprecated
* @param bool $deleteResource
*/
public function setDeleteResource($deleteResource)
{
$this->deleteResource = $deleteResource;
}
/**
* @deprecated
* @return bool
*/
public function getDeleteResource()
{
return $this->deleteResource;
}
/**
* Excluisive action returned by the CLH.
*
* Accepted values: UNKNOWN_REPAIR_ACTION, DELETE, RETRY
*
* @param self::EXCLUSIVE_ACTION_* $exclusiveAction
*/
public function setExclusiveAction($exclusiveAction)
{
$this->exclusiveAction = $exclusiveAction;
}
/**
* @return self::EXCLUSIVE_ACTION_*
*/
public function getExclusiveAction()
{
return $this->exclusiveAction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReconciliationOperationMetadata::class, 'Google_Service_CloudRedis_ReconciliationOperationMetadata');
@@ -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\CloudRedis;
class RedisEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RedisEmpty::class, 'Google_Service_CloudRedis_RedisEmpty');

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