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,217 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class AppProfile extends \Google\Model
{
/**
* Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation.
*/
public const PRIORITY_PRIORITY_UNSPECIFIED = 'PRIORITY_UNSPECIFIED';
public const PRIORITY_PRIORITY_LOW = 'PRIORITY_LOW';
public const PRIORITY_PRIORITY_MEDIUM = 'PRIORITY_MEDIUM';
public const PRIORITY_PRIORITY_HIGH = 'PRIORITY_HIGH';
protected $dataBoostIsolationReadOnlyType = DataBoostIsolationReadOnly::class;
protected $dataBoostIsolationReadOnlyDataType = '';
/**
* Long form description of the use case for this AppProfile.
*
* @var string
*/
public $description;
/**
* Strongly validated etag for optimistic concurrency control. Preserve the
* value returned from `GetAppProfile` when calling `UpdateAppProfile` to fail
* the request if there has been a modification in the meantime. The
* `update_mask` of the request need not include `etag` for this protection to
* apply. See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and [RFC
* 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more details.
*
* @var string
*/
public $etag;
protected $multiClusterRoutingUseAnyType = MultiClusterRoutingUseAny::class;
protected $multiClusterRoutingUseAnyDataType = '';
/**
* The unique name of the app profile, up to 50 characters long. Values are of
* the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.
*
* @var string
*/
public $name;
/**
* This field has been deprecated in favor of `standard_isolation.priority`.
* If you set this field, `standard_isolation.priority` will be set instead.
* The priority of requests sent using this app profile.
*
* @deprecated
* @var string
*/
public $priority;
protected $singleClusterRoutingType = SingleClusterRouting::class;
protected $singleClusterRoutingDataType = '';
protected $standardIsolationType = StandardIsolation::class;
protected $standardIsolationDataType = '';
/**
* Specifies that this app profile is intended for read-only usage via the
* Data Boost feature.
*
* @param DataBoostIsolationReadOnly $dataBoostIsolationReadOnly
*/
public function setDataBoostIsolationReadOnly(DataBoostIsolationReadOnly $dataBoostIsolationReadOnly)
{
$this->dataBoostIsolationReadOnly = $dataBoostIsolationReadOnly;
}
/**
* @return DataBoostIsolationReadOnly
*/
public function getDataBoostIsolationReadOnly()
{
return $this->dataBoostIsolationReadOnly;
}
/**
* Long form description of the use case for this AppProfile.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Strongly validated etag for optimistic concurrency control. Preserve the
* value returned from `GetAppProfile` when calling `UpdateAppProfile` to fail
* the request if there has been a modification in the meantime. The
* `update_mask` of the request need not include `etag` for this protection to
* apply. See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and [RFC
* 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more details.
*
* @param string $etag
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* Use a multi-cluster routing policy.
*
* @param MultiClusterRoutingUseAny $multiClusterRoutingUseAny
*/
public function setMultiClusterRoutingUseAny(MultiClusterRoutingUseAny $multiClusterRoutingUseAny)
{
$this->multiClusterRoutingUseAny = $multiClusterRoutingUseAny;
}
/**
* @return MultiClusterRoutingUseAny
*/
public function getMultiClusterRoutingUseAny()
{
return $this->multiClusterRoutingUseAny;
}
/**
* The unique name of the app profile, up to 50 characters long. Values are of
* the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* This field has been deprecated in favor of `standard_isolation.priority`.
* If you set this field, `standard_isolation.priority` will be set instead.
* The priority of requests sent using this app profile.
*
* Accepted values: PRIORITY_UNSPECIFIED, PRIORITY_LOW, PRIORITY_MEDIUM,
* PRIORITY_HIGH
*
* @deprecated
* @param self::PRIORITY_* $priority
*/
public function setPriority($priority)
{
$this->priority = $priority;
}
/**
* @deprecated
* @return self::PRIORITY_*
*/
public function getPriority()
{
return $this->priority;
}
/**
* Use a single-cluster routing policy.
*
* @param SingleClusterRouting $singleClusterRouting
*/
public function setSingleClusterRouting(SingleClusterRouting $singleClusterRouting)
{
$this->singleClusterRouting = $singleClusterRouting;
}
/**
* @return SingleClusterRouting
*/
public function getSingleClusterRouting()
{
return $this->singleClusterRouting;
}
/**
* The standard options used for isolating this app profile's traffic from
* other use cases.
*
* @param StandardIsolation $standardIsolation
*/
public function setStandardIsolation(StandardIsolation $standardIsolation)
{
$this->standardIsolation = $standardIsolation;
}
/**
* @return StandardIsolation
*/
public function getStandardIsolation()
{
return $this->standardIsolation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppProfile::class, 'Google_Service_BigtableAdmin_AppProfile');
@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class AuditConfig extends \Google\Collection
{
protected $collection_key = 'auditLogConfigs';
protected $auditLogConfigsType = AuditLogConfig::class;
protected $auditLogConfigsDataType = 'array';
/**
* Specifies a service that will be enabled for audit logging. For example,
* `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a
* special value that covers all services.
*
* @var string
*/
public $service;
/**
* The configuration for logging of each type of permission.
*
* @param AuditLogConfig[] $auditLogConfigs
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return AuditLogConfig[]
*/
public function getAuditLogConfigs()
{
return $this->auditLogConfigs;
}
/**
* Specifies a service that will be enabled for audit logging. For example,
* `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a
* special value that covers all services.
*
* @param string $service
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditConfig::class, 'Google_Service_BigtableAdmin_AuditConfig');
@@ -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\BigtableAdmin;
class AuditLogConfig extends \Google\Collection
{
/**
* Default case. Should never be this.
*/
public const LOG_TYPE_LOG_TYPE_UNSPECIFIED = 'LOG_TYPE_UNSPECIFIED';
/**
* Admin reads. Example: CloudIAM getIamPolicy
*/
public const LOG_TYPE_ADMIN_READ = 'ADMIN_READ';
/**
* Data writes. Example: CloudSQL Users create
*/
public const LOG_TYPE_DATA_WRITE = 'DATA_WRITE';
/**
* Data reads. Example: CloudSQL Users list
*/
public const LOG_TYPE_DATA_READ = 'DATA_READ';
protected $collection_key = 'exemptedMembers';
/**
* Specifies the identities that do not cause logging for this type of
* permission. Follows the same format of Binding.members.
*
* @var string[]
*/
public $exemptedMembers;
/**
* The log type that this config enables.
*
* @var string
*/
public $logType;
/**
* Specifies the identities that do not cause logging for this type of
* permission. Follows the same format of Binding.members.
*
* @param string[] $exemptedMembers
*/
public function setExemptedMembers($exemptedMembers)
{
$this->exemptedMembers = $exemptedMembers;
}
/**
* @return string[]
*/
public function getExemptedMembers()
{
return $this->exemptedMembers;
}
/**
* The log type that this config enables.
*
* Accepted values: LOG_TYPE_UNSPECIFIED, ADMIN_READ, DATA_WRITE, DATA_READ
*
* @param self::LOG_TYPE_* $logType
*/
public function setLogType($logType)
{
$this->logType = $logType;
}
/**
* @return self::LOG_TYPE_*
*/
public function getLogType()
{
return $this->logType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditLogConfig::class, 'Google_Service_BigtableAdmin_AuditLogConfig');
@@ -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\BigtableAdmin;
class AuthorizedView extends \Google\Model
{
/**
* Set to true to make the AuthorizedView protected against deletion. The
* parent Table and containing Instance cannot be deleted if an AuthorizedView
* has this bit set.
*
* @var bool
*/
public $deletionProtection;
/**
* The etag for this AuthorizedView. If this is provided on update, it must
* match the server's etag. The server returns ABORTED error on a mismatched
* etag.
*
* @var string
*/
public $etag;
/**
* Identifier. The name of this AuthorizedView. Values are of the form `projec
* ts/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorize
* d_view}`
*
* @var string
*/
public $name;
protected $subsetViewType = GoogleBigtableAdminV2AuthorizedViewSubsetView::class;
protected $subsetViewDataType = '';
/**
* Set to true to make the AuthorizedView protected against deletion. The
* parent Table and containing Instance cannot be deleted if an AuthorizedView
* has this bit set.
*
* @param bool $deletionProtection
*/
public function setDeletionProtection($deletionProtection)
{
$this->deletionProtection = $deletionProtection;
}
/**
* @return bool
*/
public function getDeletionProtection()
{
return $this->deletionProtection;
}
/**
* The etag for this AuthorizedView. If this is provided on update, it must
* match the server's etag. The server returns ABORTED error on a mismatched
* etag.
*
* @param string $etag
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* Identifier. The name of this AuthorizedView. Values are of the form `projec
* ts/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorize
* d_view}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* An AuthorizedView permitting access to an explicit subset of a Table.
*
* @param GoogleBigtableAdminV2AuthorizedViewSubsetView $subsetView
*/
public function setSubsetView(GoogleBigtableAdminV2AuthorizedViewSubsetView $subsetView)
{
$this->subsetView = $subsetView;
}
/**
* @return GoogleBigtableAdminV2AuthorizedViewSubsetView
*/
public function getSubsetView()
{
return $this->subsetView;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthorizedView::class, 'Google_Service_BigtableAdmin_AuthorizedView');
@@ -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\BigtableAdmin;
class AutomatedBackupPolicy extends \Google\Collection
{
protected $collection_key = 'locations';
/**
* How frequently automated backups should occur. The only supported value at
* this time is 24 hours. An undefined frequency is treated as 24 hours.
*
* @var string
*/
public $frequency;
/**
* Optional. A list of Cloud Bigtable zones where automated backups are
* allowed to be created. If empty, automated backups will be created in all
* zones of the instance. Locations are in the format
* `projects/{project}/locations/{zone}`. You can set this field only for
* tables in Enterprise Plus instances.
*
* @var string[]
*/
public $locations;
/**
* Required. How long the automated backups should be retained. Values must be
* at least 3 days and at most 90 days.
*
* @var string
*/
public $retentionPeriod;
/**
* How frequently automated backups should occur. The only supported value at
* this time is 24 hours. An undefined frequency is treated as 24 hours.
*
* @param string $frequency
*/
public function setFrequency($frequency)
{
$this->frequency = $frequency;
}
/**
* @return string
*/
public function getFrequency()
{
return $this->frequency;
}
/**
* Optional. A list of Cloud Bigtable zones where automated backups are
* allowed to be created. If empty, automated backups will be created in all
* zones of the instance. Locations are in the format
* `projects/{project}/locations/{zone}`. You can set this field only for
* tables in Enterprise Plus instances.
*
* @param string[] $locations
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return string[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* Required. How long the automated backups should be retained. Values must be
* at least 3 days and at most 90 days.
*
* @param string $retentionPeriod
*/
public function setRetentionPeriod($retentionPeriod)
{
$this->retentionPeriod = $retentionPeriod;
}
/**
* @return string
*/
public function getRetentionPeriod()
{
return $this->retentionPeriod;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutomatedBackupPolicy::class, 'Google_Service_BigtableAdmin_AutomatedBackupPolicy');
@@ -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\BigtableAdmin;
class AutoscalingLimits extends \Google\Model
{
/**
* Required. Maximum number of nodes to scale up to.
*
* @var int
*/
public $maxServeNodes;
/**
* Required. Minimum number of nodes to scale down to.
*
* @var int
*/
public $minServeNodes;
/**
* Required. Maximum number of nodes to scale up to.
*
* @param int $maxServeNodes
*/
public function setMaxServeNodes($maxServeNodes)
{
$this->maxServeNodes = $maxServeNodes;
}
/**
* @return int
*/
public function getMaxServeNodes()
{
return $this->maxServeNodes;
}
/**
* Required. Minimum number of nodes to scale down to.
*
* @param int $minServeNodes
*/
public function setMinServeNodes($minServeNodes)
{
$this->minServeNodes = $minServeNodes;
}
/**
* @return int
*/
public function getMinServeNodes()
{
return $this->minServeNodes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalingLimits::class, 'Google_Service_BigtableAdmin_AutoscalingLimits');
@@ -0,0 +1,86 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class AutoscalingTargets extends \Google\Model
{
/**
* The cpu utilization that the Autoscaler should be trying to achieve. This
* number is on a scale from 0 (no utilization) to 100 (total utilization),
* and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT
* error.
*
* @var int
*/
public $cpuUtilizationPercent;
/**
* The storage utilization that the Autoscaler should be trying to achieve.
* This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
* cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster,
* otherwise it will return INVALID_ARGUMENT error. If this value is set to 0,
* it will be treated as if it were set to the default value: 2560 for SSD,
* 8192 for HDD.
*
* @var int
*/
public $storageUtilizationGibPerNode;
/**
* The cpu utilization that the Autoscaler should be trying to achieve. This
* number is on a scale from 0 (no utilization) to 100 (total utilization),
* and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT
* error.
*
* @param int $cpuUtilizationPercent
*/
public function setCpuUtilizationPercent($cpuUtilizationPercent)
{
$this->cpuUtilizationPercent = $cpuUtilizationPercent;
}
/**
* @return int
*/
public function getCpuUtilizationPercent()
{
return $this->cpuUtilizationPercent;
}
/**
* The storage utilization that the Autoscaler should be trying to achieve.
* This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
* cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster,
* otherwise it will return INVALID_ARGUMENT error. If this value is set to 0,
* it will be treated as if it were set to the default value: 2560 for SSD,
* 8192 for HDD.
*
* @param int $storageUtilizationGibPerNode
*/
public function setStorageUtilizationGibPerNode($storageUtilizationGibPerNode)
{
$this->storageUtilizationGibPerNode = $storageUtilizationGibPerNode;
}
/**
* @return int
*/
public function getStorageUtilizationGibPerNode()
{
return $this->storageUtilizationGibPerNode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalingTargets::class, 'Google_Service_BigtableAdmin_AutoscalingTargets');
@@ -0,0 +1,339 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class Backup extends \Google\Model
{
/**
* Not specified.
*/
public const BACKUP_TYPE_BACKUP_TYPE_UNSPECIFIED = 'BACKUP_TYPE_UNSPECIFIED';
/**
* The default type for Cloud Bigtable managed backups. Supported for backups
* created in both HDD and SSD instances. Requires optimization when restored
* to a table in an SSD instance.
*/
public const BACKUP_TYPE_STANDARD = 'STANDARD';
/**
* A backup type with faster restore to SSD performance. Only supported for
* backups created in SSD instances. A new SSD table restored from a hot
* backup reaches production performance more quickly than a standard backup.
*/
public const BACKUP_TYPE_HOT = 'HOT';
/**
* Not specified.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The pending backup is still being created. Operations on the backup may
* fail with `FAILED_PRECONDITION` in this state.
*/
public const STATE_CREATING = 'CREATING';
/**
* The backup is complete and ready for use.
*/
public const STATE_READY = 'READY';
/**
* Indicates the backup type of the backup.
*
* @var string
*/
public $backupType;
protected $encryptionInfoType = EncryptionInfo::class;
protected $encryptionInfoDataType = '';
/**
* Output only. `end_time` is the time that the backup was finished. The row
* data in the backup will be no newer than this timestamp.
*
* @var string
*/
public $endTime;
/**
* Required. The expiration time of the backup. When creating a backup or
* updating its `expire_time`, the value must be greater than the backup
* creation time by: - At least 6 hours - At most 90 days Once the
* `expire_time` has passed, Cloud Bigtable will delete the backup.
*
* @var string
*/
public $expireTime;
/**
* The time at which the hot backup will be converted to a standard backup.
* Once the `hot_to_standard_time` has passed, Cloud Bigtable will convert the
* hot backup to a standard backup. This value must be greater than the backup
* creation time by: - At least 24 hours This field only applies for hot
* backups. When creating or updating a standard backup, attempting to set
* this field will fail the request.
*
* @var string
*/
public $hotToStandardTime;
/**
* A globally unique identifier for the backup which cannot be changed. Values
* are of the form
* `projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-
* zA-Z0-9*` The final segment of the name must be between 1 and 50 characters
* in length. The backup is stored in the cluster identified by the prefix of
* the backup name of the form
* `projects/{project}/instances/{instance}/clusters/{cluster}`.
*
* @var string
*/
public $name;
/**
* Output only. Size of the backup in bytes.
*
* @var string
*/
public $sizeBytes;
/**
* Output only. Name of the backup from which this backup was copied. If a
* backup is not created by copying a backup, this field will be empty. Values
* are of the form: projects//instances//clusters//backups/
*
* @var string
*/
public $sourceBackup;
/**
* Required. Immutable. Name of the table from which this backup was created.
* This needs to be in the same instance as the backup. Values are of the form
* `projects/{project}/instances/{instance}/tables/{source_table}`.
*
* @var string
*/
public $sourceTable;
/**
* Output only. `start_time` is the time that the backup was started (i.e.
* approximately the time the CreateBackup request is received). The row data
* in this backup will be no older than this timestamp.
*
* @var string
*/
public $startTime;
/**
* Output only. The current state of the backup.
*
* @var string
*/
public $state;
/**
* Indicates the backup type of the backup.
*
* Accepted values: BACKUP_TYPE_UNSPECIFIED, STANDARD, HOT
*
* @param self::BACKUP_TYPE_* $backupType
*/
public function setBackupType($backupType)
{
$this->backupType = $backupType;
}
/**
* @return self::BACKUP_TYPE_*
*/
public function getBackupType()
{
return $this->backupType;
}
/**
* Output only. The encryption information for the backup.
*
* @param EncryptionInfo $encryptionInfo
*/
public function setEncryptionInfo(EncryptionInfo $encryptionInfo)
{
$this->encryptionInfo = $encryptionInfo;
}
/**
* @return EncryptionInfo
*/
public function getEncryptionInfo()
{
return $this->encryptionInfo;
}
/**
* Output only. `end_time` is the time that the backup was finished. The row
* data in the backup will be no newer than this timestamp.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Required. The expiration time of the backup. When creating a backup or
* updating its `expire_time`, the value must be greater than the backup
* creation time by: - At least 6 hours - At most 90 days Once the
* `expire_time` has passed, Cloud Bigtable will delete the backup.
*
* @param string $expireTime
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* The time at which the hot backup will be converted to a standard backup.
* Once the `hot_to_standard_time` has passed, Cloud Bigtable will convert the
* hot backup to a standard backup. This value must be greater than the backup
* creation time by: - At least 24 hours This field only applies for hot
* backups. When creating or updating a standard backup, attempting to set
* this field will fail the request.
*
* @param string $hotToStandardTime
*/
public function setHotToStandardTime($hotToStandardTime)
{
$this->hotToStandardTime = $hotToStandardTime;
}
/**
* @return string
*/
public function getHotToStandardTime()
{
return $this->hotToStandardTime;
}
/**
* A globally unique identifier for the backup which cannot be changed. Values
* are of the form
* `projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-
* zA-Z0-9*` The final segment of the name must be between 1 and 50 characters
* in length. The backup is stored in the cluster identified by the prefix of
* the backup name of the form
* `projects/{project}/instances/{instance}/clusters/{cluster}`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Size of the backup in bytes.
*
* @param string $sizeBytes
*/
public function setSizeBytes($sizeBytes)
{
$this->sizeBytes = $sizeBytes;
}
/**
* @return string
*/
public function getSizeBytes()
{
return $this->sizeBytes;
}
/**
* Output only. Name of the backup from which this backup was copied. If a
* backup is not created by copying a backup, this field will be empty. Values
* are of the form: projects//instances//clusters//backups/
*
* @param string $sourceBackup
*/
public function setSourceBackup($sourceBackup)
{
$this->sourceBackup = $sourceBackup;
}
/**
* @return string
*/
public function getSourceBackup()
{
return $this->sourceBackup;
}
/**
* Required. Immutable. Name of the table from which this backup was created.
* This needs to be in the same instance as the backup. Values are of the form
* `projects/{project}/instances/{instance}/tables/{source_table}`.
*
* @param string $sourceTable
*/
public function setSourceTable($sourceTable)
{
$this->sourceTable = $sourceTable;
}
/**
* @return string
*/
public function getSourceTable()
{
return $this->sourceTable;
}
/**
* Output only. `start_time` is the time that the backup was started (i.e.
* approximately the time the CreateBackup request is received). The row data
* in this backup will be no older than this timestamp.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* Output only. The current state of the backup.
*
* Accepted values: STATE_UNSPECIFIED, CREATING, READY
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Backup::class, 'Google_Service_BigtableAdmin_Backup');
@@ -0,0 +1,144 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class BackupInfo extends \Google\Model
{
/**
* Output only. Name of the backup.
*
* @var string
*/
public $backup;
/**
* Output only. This time that the backup was finished. Row data in the backup
* will be no newer than this timestamp.
*
* @var string
*/
public $endTime;
/**
* Output only. Name of the backup from which this backup was copied. If a
* backup is not created by copying a backup, this field will be empty. Values
* are of the form: projects//instances//clusters//backups/
*
* @var string
*/
public $sourceBackup;
/**
* Output only. Name of the table the backup was created from.
*
* @var string
*/
public $sourceTable;
/**
* Output only. The time that the backup was started. Row data in the backup
* will be no older than this timestamp.
*
* @var string
*/
public $startTime;
/**
* Output only. Name of the backup.
*
* @param string $backup
*/
public function setBackup($backup)
{
$this->backup = $backup;
}
/**
* @return string
*/
public function getBackup()
{
return $this->backup;
}
/**
* Output only. This time that the backup was finished. Row data in the backup
* will be no newer than this timestamp.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Name of the backup from which this backup was copied. If a
* backup is not created by copying a backup, this field will be empty. Values
* are of the form: projects//instances//clusters//backups/
*
* @param string $sourceBackup
*/
public function setSourceBackup($sourceBackup)
{
$this->sourceBackup = $sourceBackup;
}
/**
* @return string
*/
public function getSourceBackup()
{
return $this->sourceBackup;
}
/**
* Output only. Name of the table the backup was created from.
*
* @param string $sourceTable
*/
public function setSourceTable($sourceTable)
{
$this->sourceTable = $sourceTable;
}
/**
* @return string
*/
public function getSourceTable()
{
return $this->sourceTable;
}
/**
* Output only. The time that the backup was started. Row data in the backup
* will be no older than this timestamp.
*
* @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(BackupInfo::class, 'Google_Service_BigtableAdmin_BackupInfo');
@@ -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\BigtableAdmin;
class BigtableadminEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BigtableadminEmpty::class, 'Google_Service_BigtableAdmin_BigtableadminEmpty');
@@ -0,0 +1,216 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class Binding extends \Google\Collection
{
protected $collection_key = 'members';
protected $conditionType = Expr::class;
protected $conditionDataType = '';
/**
* Specifies the principals requesting access for a Google Cloud resource.
* `members` can have the following values: * `allUsers`: A special identifier
* that represents anyone who is on the internet; with or without a Google
* account. * `allAuthenticatedUsers`: A special identifier that represents
* anyone who is authenticated with a Google account or a service account.
* Does not include identities that come from external identity providers
* (IdPs) through identity federation. * `user:{emailid}`: An email address
* that represents a specific Google account. For example, `alice@example.com`
* . * `serviceAccount:{emailid}`: An email address that represents a Google
* service account. For example, `my-other-app@appspot.gserviceaccount.com`. *
* `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An
* identifier for a [Kubernetes service
* account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-
* service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-
* kubernetes-sa]`. * `group:{emailid}`: An email address that represents a
* Google group. For example, `admins@example.com`. * `domain:{domain}`: The G
* Suite domain (primary) that represents all the users of that domain. For
* example, `google.com` or `example.com`. * `principal://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`
* : A single identity in a workforce identity pool. * `principalSet://iam.goo
* gleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`:
* All workforce identities in a group. * `principalSet://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attrib
* ute_value}`: All workforce identities with a specific attribute value. * `p
* rincipalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}`
* : All identities in a workforce identity pool. * `principal://iam.googleapi
* s.com/projects/{project_number}/locations/global/workloadIdentityPools/{poo
* l_id}/subject/{subject_attribute_value}`: A single identity in a workload
* identity pool. * `principalSet://iam.googleapis.com/projects/{project_numbe
* r}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A
* workload identity pool group. * `principalSet://iam.googleapis.com/projects
* /{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribut
* e.{attribute_name}/{attribute_value}`: All identities in a workload
* identity pool with a certain attribute. * `principalSet://iam.googleapis.co
* m/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id
* }`: All identities in a workload identity pool. *
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a user that has been recently deleted. For
* example, `alice@example.com?uid=123456789012345678901`. If the user is
* recovered, this value reverts to `user:{emailid}` and the recovered user
* retains the role in the binding. *
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
* unique identifier) representing a service account that has been recently
* deleted. For example, `my-other-
* app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service
* account is undeleted, this value reverts to `serviceAccount:{emailid}` and
* the undeleted service account retains the role in the binding. *
* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a Google group that has been recently deleted. For
* example, `admins@example.com?uid=123456789012345678901`. If the group is
* recovered, this value reverts to `group:{emailid}` and the recovered group
* retains the role in the binding. * `deleted:principal://iam.googleapis.com/
* locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}
* `: Deleted single identity in a workforce identity pool. For example,
* `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-
* pool-id/subject/my-subject-attribute-value`.
*
* @var string[]
*/
public $members;
/**
* Role that is assigned to the list of `members`, or principals. For example,
* `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the
* IAM roles and permissions, see the [IAM
* documentation](https://cloud.google.com/iam/docs/roles-overview). For a
* list of the available pre-defined roles, see
* [here](https://cloud.google.com/iam/docs/understanding-roles).
*
* @var string
*/
public $role;
/**
* The condition that is associated with this binding. If the condition
* evaluates to `true`, then this binding applies to the current request. If
* the condition evaluates to `false`, then this binding does not apply to the
* current request. However, a different role binding might grant the same
* role to one or more of the principals in this binding. To learn which
* resources support conditions in their IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
*
* @param Expr $condition
*/
public function setCondition(Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Expr
*/
public function getCondition()
{
return $this->condition;
}
/**
* Specifies the principals requesting access for a Google Cloud resource.
* `members` can have the following values: * `allUsers`: A special identifier
* that represents anyone who is on the internet; with or without a Google
* account. * `allAuthenticatedUsers`: A special identifier that represents
* anyone who is authenticated with a Google account or a service account.
* Does not include identities that come from external identity providers
* (IdPs) through identity federation. * `user:{emailid}`: An email address
* that represents a specific Google account. For example, `alice@example.com`
* . * `serviceAccount:{emailid}`: An email address that represents a Google
* service account. For example, `my-other-app@appspot.gserviceaccount.com`. *
* `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An
* identifier for a [Kubernetes service
* account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-
* service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-
* kubernetes-sa]`. * `group:{emailid}`: An email address that represents a
* Google group. For example, `admins@example.com`. * `domain:{domain}`: The G
* Suite domain (primary) that represents all the users of that domain. For
* example, `google.com` or `example.com`. * `principal://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`
* : A single identity in a workforce identity pool. * `principalSet://iam.goo
* gleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`:
* All workforce identities in a group. * `principalSet://iam.googleapis.com/l
* ocations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attrib
* ute_value}`: All workforce identities with a specific attribute value. * `p
* rincipalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}`
* : All identities in a workforce identity pool. * `principal://iam.googleapi
* s.com/projects/{project_number}/locations/global/workloadIdentityPools/{poo
* l_id}/subject/{subject_attribute_value}`: A single identity in a workload
* identity pool. * `principalSet://iam.googleapis.com/projects/{project_numbe
* r}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A
* workload identity pool group. * `principalSet://iam.googleapis.com/projects
* /{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribut
* e.{attribute_name}/{attribute_value}`: All identities in a workload
* identity pool with a certain attribute. * `principalSet://iam.googleapis.co
* m/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id
* }`: All identities in a workload identity pool. *
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a user that has been recently deleted. For
* example, `alice@example.com?uid=123456789012345678901`. If the user is
* recovered, this value reverts to `user:{emailid}` and the recovered user
* retains the role in the binding. *
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
* unique identifier) representing a service account that has been recently
* deleted. For example, `my-other-
* app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service
* account is undeleted, this value reverts to `serviceAccount:{emailid}` and
* the undeleted service account retains the role in the binding. *
* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
* identifier) representing a Google group that has been recently deleted. For
* example, `admins@example.com?uid=123456789012345678901`. If the group is
* recovered, this value reverts to `group:{emailid}` and the recovered group
* retains the role in the binding. * `deleted:principal://iam.googleapis.com/
* locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}
* `: Deleted single identity in a workforce identity pool. For example,
* `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-
* pool-id/subject/my-subject-attribute-value`.
*
* @param string[] $members
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* Role that is assigned to the list of `members`, or principals. For example,
* `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the
* IAM roles and permissions, see the [IAM
* documentation](https://cloud.google.com/iam/docs/roles-overview). For a
* list of the available pre-defined roles, see
* [here](https://cloud.google.com/iam/docs/understanding-roles).
*
* @param string $role
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Binding::class, 'Google_Service_BigtableAdmin_Binding');
@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigtableAdmin;
class ChangeStreamConfig extends \Google\Model
{
/**
* How long the change stream should be retained. Change stream data older
* than the retention period will not be returned when reading the change
* stream from the table. Values must be at least 1 day and at most 7 days,
* and will be truncated to microsecond granularity.
*
* @var string
*/
public $retentionPeriod;
/**
* How long the change stream should be retained. Change stream data older
* than the retention period will not be returned when reading the change
* stream from the table. Values must be at least 1 day and at most 7 days,
* and will be truncated to microsecond granularity.
*
* @param string $retentionPeriod
*/
public function setRetentionPeriod($retentionPeriod)
{
$this->retentionPeriod = $retentionPeriod;
}
/**
* @return string
*/
public function getRetentionPeriod()
{
return $this->retentionPeriod;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChangeStreamConfig::class, 'Google_Service_BigtableAdmin_ChangeStreamConfig');
@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigtableAdmin;
class CheckConsistencyRequest extends \Google\Model
{
/**
* Required. The token created using GenerateConsistencyToken for the Table.
*
* @var string
*/
public $consistencyToken;
protected $dataBoostReadLocalWritesType = DataBoostReadLocalWrites::class;
protected $dataBoostReadLocalWritesDataType = '';
protected $standardReadRemoteWritesType = StandardReadRemoteWrites::class;
protected $standardReadRemoteWritesDataType = '';
/**
* Required. The token created using GenerateConsistencyToken for the Table.
*
* @param string $consistencyToken
*/
public function setConsistencyToken($consistencyToken)
{
$this->consistencyToken = $consistencyToken;
}
/**
* @return string
*/
public function getConsistencyToken()
{
return $this->consistencyToken;
}
/**
* Checks that reads using an app profile with `DataBoostIsolationReadOnly`
* can see all writes committed before the token was created, but only if the
* read and write target the same cluster.
*
* @param DataBoostReadLocalWrites $dataBoostReadLocalWrites
*/
public function setDataBoostReadLocalWrites(DataBoostReadLocalWrites $dataBoostReadLocalWrites)
{
$this->dataBoostReadLocalWrites = $dataBoostReadLocalWrites;
}
/**
* @return DataBoostReadLocalWrites
*/
public function getDataBoostReadLocalWrites()
{
return $this->dataBoostReadLocalWrites;
}
/**
* Checks that reads using an app profile with `StandardIsolation` can see all
* writes committed before the token was created, even if the read and write
* target different clusters.
*
* @param StandardReadRemoteWrites $standardReadRemoteWrites
*/
public function setStandardReadRemoteWrites(StandardReadRemoteWrites $standardReadRemoteWrites)
{
$this->standardReadRemoteWrites = $standardReadRemoteWrites;
}
/**
* @return StandardReadRemoteWrites
*/
public function getStandardReadRemoteWrites()
{
return $this->standardReadRemoteWrites;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckConsistencyRequest::class, 'Google_Service_BigtableAdmin_CheckConsistencyRequest');
@@ -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\BigtableAdmin;
class CheckConsistencyResponse extends \Google\Model
{
/**
* True only if the token is consistent. A token is consistent if replication
* has caught up with the restrictions specified in the request.
*
* @var bool
*/
public $consistent;
/**
* True only if the token is consistent. A token is consistent if replication
* has caught up with the restrictions specified in the request.
*
* @param bool $consistent
*/
public function setConsistent($consistent)
{
$this->consistent = $consistent;
}
/**
* @return bool
*/
public function getConsistent()
{
return $this->consistent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CheckConsistencyResponse::class, 'Google_Service_BigtableAdmin_CheckConsistencyResponse');
@@ -0,0 +1,267 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class Cluster extends \Google\Model
{
/**
* The user did not specify a storage type.
*/
public const DEFAULT_STORAGE_TYPE_STORAGE_TYPE_UNSPECIFIED = 'STORAGE_TYPE_UNSPECIFIED';
/**
* Flash (SSD) storage should be used.
*/
public const DEFAULT_STORAGE_TYPE_SSD = 'SSD';
/**
* Magnetic drive (HDD) storage should be used.
*/
public const DEFAULT_STORAGE_TYPE_HDD = 'HDD';
/**
* No node scaling specified. Defaults to NODE_SCALING_FACTOR_1X.
*/
public const NODE_SCALING_FACTOR_NODE_SCALING_FACTOR_UNSPECIFIED = 'NODE_SCALING_FACTOR_UNSPECIFIED';
/**
* The cluster is running with a scaling factor of 1.
*/
public const NODE_SCALING_FACTOR_NODE_SCALING_FACTOR_1X = 'NODE_SCALING_FACTOR_1X';
/**
* The cluster is running with a scaling factor of 2. All node count values
* must be in increments of 2 with this scaling factor enabled, otherwise an
* INVALID_ARGUMENT error will be returned.
*/
public const NODE_SCALING_FACTOR_NODE_SCALING_FACTOR_2X = 'NODE_SCALING_FACTOR_2X';
/**
* The state of the cluster could not be determined.
*/
public const STATE_STATE_NOT_KNOWN = 'STATE_NOT_KNOWN';
/**
* The cluster has been successfully created and is ready to serve requests.
*/
public const STATE_READY = 'READY';
/**
* The cluster is currently being created, and may be destroyed if the
* creation process encounters an error. A cluster may not be able to serve
* requests while being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* The cluster is currently being resized, and may revert to its previous node
* count if the process encounters an error. A cluster is still capable of
* serving requests while being resized, but may exhibit performance as if its
* number of allocated nodes is between the starting and requested states.
*/
public const STATE_RESIZING = 'RESIZING';
/**
* The cluster has no backing nodes. The data (tables) still exist, but no
* operations can be performed on the cluster.
*/
public const STATE_DISABLED = 'DISABLED';
protected $clusterConfigType = ClusterConfig::class;
protected $clusterConfigDataType = '';
/**
* Immutable. The type of storage used by this cluster to serve its parent
* instance's tables, unless explicitly overridden.
*
* @var string
*/
public $defaultStorageType;
protected $encryptionConfigType = EncryptionConfig::class;
protected $encryptionConfigDataType = '';
/**
* Immutable. The location where this cluster's nodes and storage reside. For
* best performance, clients should be located as close as possible to this
* cluster. Currently only zones are supported, so values should be of the
* form `projects/{project}/locations/{zone}`.
*
* @var string
*/
public $location;
/**
* The unique name of the cluster. Values are of the form
* `projects/{project}/instances/{instance}/clusters/a-z*`.
*
* @var string
*/
public $name;
/**
* Immutable. The node scaling factor of this cluster.
*
* @var string
*/
public $nodeScalingFactor;
/**
* The number of nodes in the cluster. If no value is set, Cloud Bigtable
* automatically allocates nodes based on your data footprint and optimized
* for 50% storage utilization.
*
* @var int
*/
public $serveNodes;
/**
* Output only. The current state of the cluster.
*
* @var string
*/
public $state;
/**
* Configuration for this cluster.
*
* @param ClusterConfig $clusterConfig
*/
public function setClusterConfig(ClusterConfig $clusterConfig)
{
$this->clusterConfig = $clusterConfig;
}
/**
* @return ClusterConfig
*/
public function getClusterConfig()
{
return $this->clusterConfig;
}
/**
* Immutable. The type of storage used by this cluster to serve its parent
* instance's tables, unless explicitly overridden.
*
* Accepted values: STORAGE_TYPE_UNSPECIFIED, SSD, HDD
*
* @param self::DEFAULT_STORAGE_TYPE_* $defaultStorageType
*/
public function setDefaultStorageType($defaultStorageType)
{
$this->defaultStorageType = $defaultStorageType;
}
/**
* @return self::DEFAULT_STORAGE_TYPE_*
*/
public function getDefaultStorageType()
{
return $this->defaultStorageType;
}
/**
* Immutable. The encryption configuration for CMEK-protected clusters.
*
* @param EncryptionConfig $encryptionConfig
*/
public function setEncryptionConfig(EncryptionConfig $encryptionConfig)
{
$this->encryptionConfig = $encryptionConfig;
}
/**
* @return EncryptionConfig
*/
public function getEncryptionConfig()
{
return $this->encryptionConfig;
}
/**
* Immutable. The location where this cluster's nodes and storage reside. For
* best performance, clients should be located as close as possible to this
* cluster. Currently only zones are supported, so values should be of the
* form `projects/{project}/locations/{zone}`.
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* The unique name of the cluster. Values are of the form
* `projects/{project}/instances/{instance}/clusters/a-z*`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Immutable. The node scaling factor of this cluster.
*
* Accepted values: NODE_SCALING_FACTOR_UNSPECIFIED, NODE_SCALING_FACTOR_1X,
* NODE_SCALING_FACTOR_2X
*
* @param self::NODE_SCALING_FACTOR_* $nodeScalingFactor
*/
public function setNodeScalingFactor($nodeScalingFactor)
{
$this->nodeScalingFactor = $nodeScalingFactor;
}
/**
* @return self::NODE_SCALING_FACTOR_*
*/
public function getNodeScalingFactor()
{
return $this->nodeScalingFactor;
}
/**
* The number of nodes in the cluster. If no value is set, Cloud Bigtable
* automatically allocates nodes based on your data footprint and optimized
* for 50% storage utilization.
*
* @param int $serveNodes
*/
public function setServeNodes($serveNodes)
{
$this->serveNodes = $serveNodes;
}
/**
* @return int
*/
public function getServeNodes()
{
return $this->serveNodes;
}
/**
* Output only. The current state of the cluster.
*
* Accepted values: STATE_NOT_KNOWN, READY, CREATING, RESIZING, DISABLED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Cluster::class, 'Google_Service_BigtableAdmin_Cluster');
@@ -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\BigtableAdmin;
class ClusterAutoscalingConfig extends \Google\Model
{
protected $autoscalingLimitsType = AutoscalingLimits::class;
protected $autoscalingLimitsDataType = '';
protected $autoscalingTargetsType = AutoscalingTargets::class;
protected $autoscalingTargetsDataType = '';
/**
* Required. Autoscaling limits for this cluster.
*
* @param AutoscalingLimits $autoscalingLimits
*/
public function setAutoscalingLimits(AutoscalingLimits $autoscalingLimits)
{
$this->autoscalingLimits = $autoscalingLimits;
}
/**
* @return AutoscalingLimits
*/
public function getAutoscalingLimits()
{
return $this->autoscalingLimits;
}
/**
* Required. Autoscaling targets for this cluster.
*
* @param AutoscalingTargets $autoscalingTargets
*/
public function setAutoscalingTargets(AutoscalingTargets $autoscalingTargets)
{
$this->autoscalingTargets = $autoscalingTargets;
}
/**
* @return AutoscalingTargets
*/
public function getAutoscalingTargets()
{
return $this->autoscalingTargets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterAutoscalingConfig::class, 'Google_Service_BigtableAdmin_ClusterAutoscalingConfig');
@@ -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\BigtableAdmin;
class ClusterConfig extends \Google\Model
{
protected $clusterAutoscalingConfigType = ClusterAutoscalingConfig::class;
protected $clusterAutoscalingConfigDataType = '';
/**
* Autoscaling configuration for this cluster.
*
* @param ClusterAutoscalingConfig $clusterAutoscalingConfig
*/
public function setClusterAutoscalingConfig(ClusterAutoscalingConfig $clusterAutoscalingConfig)
{
$this->clusterAutoscalingConfig = $clusterAutoscalingConfig;
}
/**
* @return ClusterAutoscalingConfig
*/
public function getClusterAutoscalingConfig()
{
return $this->clusterAutoscalingConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterConfig::class, 'Google_Service_BigtableAdmin_ClusterConfig');
@@ -0,0 +1,106 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class ClusterState extends \Google\Collection
{
/**
* The replication state of the table is unknown in this cluster.
*/
public const REPLICATION_STATE_STATE_NOT_KNOWN = 'STATE_NOT_KNOWN';
/**
* The cluster was recently created, and the table must finish copying over
* pre-existing data from other clusters before it can begin receiving live
* replication updates and serving Data API requests.
*/
public const REPLICATION_STATE_INITIALIZING = 'INITIALIZING';
/**
* The table is temporarily unable to serve Data API requests from this
* cluster due to planned internal maintenance.
*/
public const REPLICATION_STATE_PLANNED_MAINTENANCE = 'PLANNED_MAINTENANCE';
/**
* The table is temporarily unable to serve Data API requests from this
* cluster due to unplanned or emergency maintenance.
*/
public const REPLICATION_STATE_UNPLANNED_MAINTENANCE = 'UNPLANNED_MAINTENANCE';
/**
* The table can serve Data API requests from this cluster. Depending on
* replication delay, reads may not immediately reflect the state of the table
* in other clusters.
*/
public const REPLICATION_STATE_READY = 'READY';
/**
* The table is fully created and ready for use after a restore, and is being
* optimized for performance. When optimizations are complete, the table will
* transition to `READY` state.
*/
public const REPLICATION_STATE_READY_OPTIMIZING = 'READY_OPTIMIZING';
protected $collection_key = 'encryptionInfo';
protected $encryptionInfoType = EncryptionInfo::class;
protected $encryptionInfoDataType = 'array';
/**
* Output only. The state of replication for the table in this cluster.
*
* @var string
*/
public $replicationState;
/**
* Output only. The encryption information for the table in this cluster. If
* the encryption key protecting this resource is customer managed, then its
* version can be rotated in Cloud Key Management Service (Cloud KMS). The
* primary version of the key and its status will be reflected here when
* changes propagate from Cloud KMS.
*
* @param EncryptionInfo[] $encryptionInfo
*/
public function setEncryptionInfo($encryptionInfo)
{
$this->encryptionInfo = $encryptionInfo;
}
/**
* @return EncryptionInfo[]
*/
public function getEncryptionInfo()
{
return $this->encryptionInfo;
}
/**
* Output only. The state of replication for the table in this cluster.
*
* Accepted values: STATE_NOT_KNOWN, INITIALIZING, PLANNED_MAINTENANCE,
* UNPLANNED_MAINTENANCE, READY, READY_OPTIMIZING
*
* @param self::REPLICATION_STATE_* $replicationState
*/
public function setReplicationState($replicationState)
{
$this->replicationState = $replicationState;
}
/**
* @return self::REPLICATION_STATE_*
*/
public function getReplicationState()
{
return $this->replicationState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterState::class, 'Google_Service_BigtableAdmin_ClusterState');
@@ -0,0 +1,90 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class ColumnFamily extends \Google\Model
{
protected $gcRuleType = GcRule::class;
protected $gcRuleDataType = '';
protected $statsType = ColumnFamilyStats::class;
protected $statsDataType = '';
protected $valueTypeType = Type::class;
protected $valueTypeDataType = '';
/**
* Garbage collection rule specified as a protobuf. Must serialize to at most
* 500 bytes. NOTE: Garbage collection executes opportunistically in the
* background, and so it's possible for reads to return a cell even if it
* matches the active GC expression for its family.
*
* @param GcRule $gcRule
*/
public function setGcRule(GcRule $gcRule)
{
$this->gcRule = $gcRule;
}
/**
* @return GcRule
*/
public function getGcRule()
{
return $this->gcRule;
}
/**
* Output only. Only available with STATS_VIEW, this includes summary
* statistics about column family contents. For statistics over an entire
* table, see TableStats above.
*
* @param ColumnFamilyStats $stats
*/
public function setStats(ColumnFamilyStats $stats)
{
$this->stats = $stats;
}
/**
* @return ColumnFamilyStats
*/
public function getStats()
{
return $this->stats;
}
/**
* The type of data stored in each of this family's cell values, including its
* full encoding. If omitted, the family only serves raw untyped bytes. For
* now, only the `Aggregate` type is supported. `Aggregate` can only be set at
* family creation and is immutable afterwards. This field is mutually
* exclusive with `sql_type`. If `value_type` is `Aggregate`, written data
* must be compatible with: * `value_type.input_type` for `AddInput` mutations
*
* @param Type $valueType
*/
public function setValueType(Type $valueType)
{
$this->valueType = $valueType;
}
/**
* @return Type
*/
public function getValueType()
{
return $this->valueType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ColumnFamily::class, 'Google_Service_BigtableAdmin_ColumnFamily');
@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class ColumnFamilyStats extends \Google\Model
{
/**
* How many cells are present per column qualifier in this column family,
* averaged over all rows containing any column in the column family. e.g. For
* column family "family" in a table with 3 rows: * A row with 3 cells in
* "family:col" and 1 cell in "other:col" (3 cells / 1 column in "family") * A
* row with 1 cell in "family:col", 7 cells in "family:other_col", and 7 cells
* in "other:data" (8 cells / 2 columns in "family") * A row with 3 cells in
* "other:col" (0 columns in "family", "family" not present) would report (3 +
* 8 + 0)/(1 + 2 + 0) = 3.66 in this field.
*
* @var
*/
public $averageCellsPerColumn;
/**
* How many column qualifiers are present in this column family, averaged over
* all rows in the table. e.g. For column family "family" in a table with 3
* rows: * A row with cells in "family:col" and "other:col" (1 column in
* "family") * A row with cells in "family:col", "family:other_col", and
* "other:data" (2 columns in "family") * A row with cells in "other:col" (0
* columns in "family", "family" not present) would report (1 + 2 + 0)/3 = 1.5
* in this field.
*
* @var
*/
public $averageColumnsPerRow;
/**
* How much space the data in the column family occupies. This is roughly how
* many bytes would be needed to read the contents of the entire column family
* (e.g. by streaming all contents out).
*
* @var string
*/
public $logicalDataBytes;
public function setAverageCellsPerColumn($averageCellsPerColumn)
{
$this->averageCellsPerColumn = $averageCellsPerColumn;
}
public function getAverageCellsPerColumn()
{
return $this->averageCellsPerColumn;
}
public function setAverageColumnsPerRow($averageColumnsPerRow)
{
$this->averageColumnsPerRow = $averageColumnsPerRow;
}
public function getAverageColumnsPerRow()
{
return $this->averageColumnsPerRow;
}
/**
* How much space the data in the column family occupies. This is roughly how
* many bytes would be needed to read the contents of the entire column family
* (e.g. by streaming all contents out).
*
* @param string $logicalDataBytes
*/
public function setLogicalDataBytes($logicalDataBytes)
{
$this->logicalDataBytes = $logicalDataBytes;
}
/**
* @return string
*/
public function getLogicalDataBytes()
{
return $this->logicalDataBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ColumnFamilyStats::class, 'Google_Service_BigtableAdmin_ColumnFamilyStats');
@@ -0,0 +1,86 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class CopyBackupMetadata extends \Google\Model
{
/**
* The name of the backup being created through the copy operation. Values are
* of the form `projects//instances//clusters//backups/`.
*
* @var string
*/
public $name;
protected $progressType = OperationProgress::class;
protected $progressDataType = '';
protected $sourceBackupInfoType = BackupInfo::class;
protected $sourceBackupInfoDataType = '';
/**
* The name of the backup being created through the copy operation. Values are
* of the form `projects//instances//clusters//backups/`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The progress of the CopyBackup operation.
*
* @param OperationProgress $progress
*/
public function setProgress(OperationProgress $progress)
{
$this->progress = $progress;
}
/**
* @return OperationProgress
*/
public function getProgress()
{
return $this->progress;
}
/**
* Information about the source backup that is being copied from.
*
* @param BackupInfo $sourceBackupInfo
*/
public function setSourceBackupInfo(BackupInfo $sourceBackupInfo)
{
$this->sourceBackupInfo = $sourceBackupInfo;
}
/**
* @return BackupInfo
*/
public function getSourceBackupInfo()
{
return $this->sourceBackupInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CopyBackupMetadata::class, 'Google_Service_BigtableAdmin_CopyBackupMetadata');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigtableAdmin;
class CopyBackupRequest extends \Google\Model
{
/**
* Required. The id of the new backup. The `backup_id` along with `parent` are
* combined as {parent}/backups/{backup_id} to create the full backup name, of
* the form: `projects/{project}/instances/{instance}/clusters/{cluster}/backu
* ps/{backup_id}`. This string must be between 1 and 50 characters in length
* and match the regex _a-zA-Z0-9*.
*
* @var string
*/
public $backupId;
/**
* Required. Required. The expiration time of the copied backup with
* microsecond granularity that must be at least 6 hours and at most 30 days
* from the time the request is received. Once the `expire_time` has passed,
* Cloud Bigtable will delete the backup and free the resources used by the
* backup.
*
* @var string
*/
public $expireTime;
/**
* Required. The source backup to be copied from. The source backup needs to
* be in READY state for it to be copied. Copying a copied backup is not
* allowed. Once CopyBackup is in progress, the source backup cannot be
* deleted or cleaned up on expiration until CopyBackup is finished. Values
* are of the form: `projects//instances//clusters//backups/`.
*
* @var string
*/
public $sourceBackup;
/**
* Required. The id of the new backup. The `backup_id` along with `parent` are
* combined as {parent}/backups/{backup_id} to create the full backup name, of
* the form: `projects/{project}/instances/{instance}/clusters/{cluster}/backu
* ps/{backup_id}`. This string must be between 1 and 50 characters in length
* and match the regex _a-zA-Z0-9*.
*
* @param string $backupId
*/
public function setBackupId($backupId)
{
$this->backupId = $backupId;
}
/**
* @return string
*/
public function getBackupId()
{
return $this->backupId;
}
/**
* Required. Required. The expiration time of the copied backup with
* microsecond granularity that must be at least 6 hours and at most 30 days
* from the time the request is received. Once the `expire_time` has passed,
* Cloud Bigtable will delete the backup and free the resources used by the
* backup.
*
* @param string $expireTime
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* Required. The source backup to be copied from. The source backup needs to
* be in READY state for it to be copied. Copying a copied backup is not
* allowed. Once CopyBackup is in progress, the source backup cannot be
* deleted or cleaned up on expiration until CopyBackup is finished. Values
* are of the form: `projects//instances//clusters//backups/`.
*
* @param string $sourceBackup
*/
public function setSourceBackup($sourceBackup)
{
$this->sourceBackup = $sourceBackup;
}
/**
* @return string
*/
public function getSourceBackup()
{
return $this->sourceBackup;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CopyBackupRequest::class, 'Google_Service_BigtableAdmin_CopyBackupRequest');
@@ -0,0 +1,89 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class CreateAuthorizedViewMetadata extends \Google\Model
{
/**
* The time at which the operation failed or was completed successfully.
*
* @var string
*/
public $finishTime;
protected $originalRequestType = CreateAuthorizedViewRequest::class;
protected $originalRequestDataType = '';
/**
* The time at which the original request was received.
*
* @var string
*/
public $requestTime;
/**
* The time at which the operation failed or was completed successfully.
*
* @param string $finishTime
*/
public function setFinishTime($finishTime)
{
$this->finishTime = $finishTime;
}
/**
* @return string
*/
public function getFinishTime()
{
return $this->finishTime;
}
/**
* The request that prompted the initiation of this CreateAuthorizedView
* operation.
*
* @param CreateAuthorizedViewRequest $originalRequest
*/
public function setOriginalRequest(CreateAuthorizedViewRequest $originalRequest)
{
$this->originalRequest = $originalRequest;
}
/**
* @return CreateAuthorizedViewRequest
*/
public function getOriginalRequest()
{
return $this->originalRequest;
}
/**
* The time at which the original request was received.
*
* @param string $requestTime
*/
public function setRequestTime($requestTime)
{
$this->requestTime = $requestTime;
}
/**
* @return string
*/
public function getRequestTime()
{
return $this->requestTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateAuthorizedViewMetadata::class, 'Google_Service_BigtableAdmin_CreateAuthorizedViewMetadata');
@@ -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\BigtableAdmin;
class CreateAuthorizedViewRequest extends \Google\Model
{
protected $authorizedViewType = AuthorizedView::class;
protected $authorizedViewDataType = '';
/**
* Required. The id of the AuthorizedView to create. This AuthorizedView must
* not already exist. The `authorized_view_id` appended to `parent` forms the
* full AuthorizedView name of the form `projects/{project}/instances/{instanc
* e}/tables/{table}/authorizedView/{authorized_view}`.
*
* @var string
*/
public $authorizedViewId;
/**
* Required. This is the name of the table the AuthorizedView belongs to.
* Values are of the form
* `projects/{project}/instances/{instance}/tables/{table}`.
*
* @var string
*/
public $parent;
/**
* Required. The AuthorizedView to create.
*
* @param AuthorizedView $authorizedView
*/
public function setAuthorizedView(AuthorizedView $authorizedView)
{
$this->authorizedView = $authorizedView;
}
/**
* @return AuthorizedView
*/
public function getAuthorizedView()
{
return $this->authorizedView;
}
/**
* Required. The id of the AuthorizedView to create. This AuthorizedView must
* not already exist. The `authorized_view_id` appended to `parent` forms the
* full AuthorizedView name of the form `projects/{project}/instances/{instanc
* e}/tables/{table}/authorizedView/{authorized_view}`.
*
* @param string $authorizedViewId
*/
public function setAuthorizedViewId($authorizedViewId)
{
$this->authorizedViewId = $authorizedViewId;
}
/**
* @return string
*/
public function getAuthorizedViewId()
{
return $this->authorizedViewId;
}
/**
* Required. This is the name of the table the AuthorizedView belongs to.
* Values are of the form
* `projects/{project}/instances/{instance}/tables/{table}`.
*
* @param string $parent
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateAuthorizedViewRequest::class, 'Google_Service_BigtableAdmin_CreateAuthorizedViewRequest');
@@ -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\BigtableAdmin;
class CreateBackupMetadata extends \Google\Model
{
/**
* If set, the time at which this operation finished or was cancelled.
* DEPRECATED: Use finish_time instead.
*
* @deprecated
* @var string
*/
public $endTime;
/**
* The time at which the operation failed or was completed successfully.
*
* @var string
*/
public $finishTime;
/**
* The name of the backup being created.
*
* @var string
*/
public $name;
/**
* The time at which the original request was received.
*
* @var string
*/
public $requestTime;
/**
* The name of the table the backup is created from.
*
* @var string
*/
public $sourceTable;
/**
* The time at which this operation started. DEPRECATED: Use request_time
* instead.
*
* @deprecated
* @var string
*/
public $startTime;
/**
* If set, the time at which this operation finished or was cancelled.
* DEPRECATED: Use finish_time instead.
*
* @deprecated
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @deprecated
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* The time at which the operation failed or was completed successfully.
*
* @param string $finishTime
*/
public function setFinishTime($finishTime)
{
$this->finishTime = $finishTime;
}
/**
* @return string
*/
public function getFinishTime()
{
return $this->finishTime;
}
/**
* The name of the backup being created.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The time at which the original request was received.
*
* @param string $requestTime
*/
public function setRequestTime($requestTime)
{
$this->requestTime = $requestTime;
}
/**
* @return string
*/
public function getRequestTime()
{
return $this->requestTime;
}
/**
* The name of the table the backup is created from.
*
* @param string $sourceTable
*/
public function setSourceTable($sourceTable)
{
$this->sourceTable = $sourceTable;
}
/**
* @return string
*/
public function getSourceTable()
{
return $this->sourceTable;
}
/**
* The time at which this operation started. DEPRECATED: Use request_time
* instead.
*
* @deprecated
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @deprecated
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateBackupMetadata::class, 'Google_Service_BigtableAdmin_CreateBackupMetadata');
@@ -0,0 +1,110 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigtableAdmin;
class CreateClusterMetadata extends \Google\Model
{
/**
* The time at which the operation failed or was completed successfully.
*
* @var string
*/
public $finishTime;
protected $originalRequestType = CreateClusterRequest::class;
protected $originalRequestDataType = '';
/**
* The time at which the original request was received.
*
* @var string
*/
public $requestTime;
protected $tablesType = TableProgress::class;
protected $tablesDataType = 'map';
/**
* The time at which the operation failed or was completed successfully.
*
* @param string $finishTime
*/
public function setFinishTime($finishTime)
{
$this->finishTime = $finishTime;
}
/**
* @return string
*/
public function getFinishTime()
{
return $this->finishTime;
}
/**
* The request that prompted the initiation of this CreateCluster operation.
*
* @param CreateClusterRequest $originalRequest
*/
public function setOriginalRequest(CreateClusterRequest $originalRequest)
{
$this->originalRequest = $originalRequest;
}
/**
* @return CreateClusterRequest
*/
public function getOriginalRequest()
{
return $this->originalRequest;
}
/**
* The time at which the original request was received.
*
* @param string $requestTime
*/
public function setRequestTime($requestTime)
{
$this->requestTime = $requestTime;
}
/**
* @return string
*/
public function getRequestTime()
{
return $this->requestTime;
}
/**
* Keys: the full `name` of each table that existed in the instance when
* CreateCluster was first called, i.e. `projects//instances//tables/`. Any
* table added to the instance by a later API call will be created in the new
* cluster by that API call, not this one. Values: information on how much of
* a table's data has been copied to the newly-created cluster so far.
*
* @param TableProgress[] $tables
*/
public function setTables($tables)
{
$this->tables = $tables;
}
/**
* @return TableProgress[]
*/
public function getTables()
{
return $this->tables;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateClusterMetadata::class, 'Google_Service_BigtableAdmin_CreateClusterMetadata');
@@ -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\BigtableAdmin;
class CreateClusterRequest extends \Google\Model
{
protected $clusterType = Cluster::class;
protected $clusterDataType = '';
/**
* Required. The ID to be used when referring to the new cluster within its
* instance, e.g., just `mycluster` rather than
* `projects/myproject/instances/myinstance/clusters/mycluster`.
*
* @var string
*/
public $clusterId;
/**
* Required. The unique name of the instance in which to create the new
* cluster. Values are of the form `projects/{project}/instances/{instance}`.
*
* @var string
*/
public $parent;
/**
* Required. The cluster to be created. Fields marked `OutputOnly` must be
* left blank.
*
* @param Cluster $cluster
*/
public function setCluster(Cluster $cluster)
{
$this->cluster = $cluster;
}
/**
* @return Cluster
*/
public function getCluster()
{
return $this->cluster;
}
/**
* Required. The ID to be used when referring to the new cluster within its
* instance, e.g., just `mycluster` rather than
* `projects/myproject/instances/myinstance/clusters/mycluster`.
*
* @param string $clusterId
*/
public function setClusterId($clusterId)
{
$this->clusterId = $clusterId;
}
/**
* @return string
*/
public function getClusterId()
{
return $this->clusterId;
}
/**
* Required. The unique name of the instance in which to create the new
* cluster. Values are of the form `projects/{project}/instances/{instance}`.
*
* @param string $parent
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateClusterRequest::class, 'Google_Service_BigtableAdmin_CreateClusterRequest');
@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigtableAdmin;
class CreateInstanceMetadata extends \Google\Model
{
/**
* The time at which the operation failed or was completed successfully.
*
* @var string
*/
public $finishTime;
protected $originalRequestType = CreateInstanceRequest::class;
protected $originalRequestDataType = '';
/**
* The time at which the original request was received.
*
* @var string
*/
public $requestTime;
/**
* The time at which the operation failed or was completed successfully.
*
* @param string $finishTime
*/
public function setFinishTime($finishTime)
{
$this->finishTime = $finishTime;
}
/**
* @return string
*/
public function getFinishTime()
{
return $this->finishTime;
}
/**
* The request that prompted the initiation of this CreateInstance operation.
*
* @param CreateInstanceRequest $originalRequest
*/
public function setOriginalRequest(CreateInstanceRequest $originalRequest)
{
$this->originalRequest = $originalRequest;
}
/**
* @return CreateInstanceRequest
*/
public function getOriginalRequest()
{
return $this->originalRequest;
}
/**
* The time at which the original request was received.
*
* @param string $requestTime
*/
public function setRequestTime($requestTime)
{
$this->requestTime = $requestTime;
}
/**
* @return string
*/
public function getRequestTime()
{
return $this->requestTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateInstanceMetadata::class, 'Google_Service_BigtableAdmin_CreateInstanceMetadata');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigtableAdmin;
class CreateInstanceRequest extends \Google\Model
{
protected $clustersType = Cluster::class;
protected $clustersDataType = 'map';
protected $instanceType = Instance::class;
protected $instanceDataType = '';
/**
* Required. The ID to be used when referring to the new instance within its
* project, e.g., just `myinstance` rather than
* `projects/myproject/instances/myinstance`.
*
* @var string
*/
public $instanceId;
/**
* Required. The unique name of the project in which to create the new
* instance. Values are of the form `projects/{project}`.
*
* @var string
*/
public $parent;
/**
* Required. The clusters to be created within the instance, mapped by desired
* cluster ID, e.g., just `mycluster` rather than
* `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked
* `OutputOnly` must be left blank.
*
* @param Cluster[] $clusters
*/
public function setClusters($clusters)
{
$this->clusters = $clusters;
}
/**
* @return Cluster[]
*/
public function getClusters()
{
return $this->clusters;
}
/**
* Required. The instance to create. Fields marked `OutputOnly` must be left
* blank.
*
* @param Instance $instance
*/
public function setInstance(Instance $instance)
{
$this->instance = $instance;
}
/**
* @return Instance
*/
public function getInstance()
{
return $this->instance;
}
/**
* Required. The ID to be used when referring to the new instance within its
* project, e.g., just `myinstance` rather than
* `projects/myproject/instances/myinstance`.
*
* @param string $instanceId
*/
public function setInstanceId($instanceId)
{
$this->instanceId = $instanceId;
}
/**
* @return string
*/
public function getInstanceId()
{
return $this->instanceId;
}
/**
* Required. The unique name of the project in which to create the new
* instance. Values are of the form `projects/{project}`.
*
* @param string $parent
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateInstanceRequest::class, 'Google_Service_BigtableAdmin_CreateInstanceRequest');
@@ -0,0 +1,139 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class CreateLogicalViewMetadata extends \Google\Model
{
/**
* DEPRECATED: Use finish_time instead.
*
* @deprecated
* @var string
*/
public $endTime;
/**
* The time at which the operation failed or was completed successfully.
*
* @var string
*/
public $finishTime;
protected $originalRequestType = CreateLogicalViewRequest::class;
protected $originalRequestDataType = '';
/**
* The time at which the original request was received.
*
* @var string
*/
public $requestTime;
/**
* DEPRECATED: Use request_time instead.
*
* @deprecated
* @var string
*/
public $startTime;
/**
* DEPRECATED: Use finish_time instead.
*
* @deprecated
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @deprecated
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* The time at which the operation failed or was completed successfully.
*
* @param string $finishTime
*/
public function setFinishTime($finishTime)
{
$this->finishTime = $finishTime;
}
/**
* @return string
*/
public function getFinishTime()
{
return $this->finishTime;
}
/**
* The request that prompted the initiation of this CreateLogicalView
* operation.
*
* @param CreateLogicalViewRequest $originalRequest
*/
public function setOriginalRequest(CreateLogicalViewRequest $originalRequest)
{
$this->originalRequest = $originalRequest;
}
/**
* @return CreateLogicalViewRequest
*/
public function getOriginalRequest()
{
return $this->originalRequest;
}
/**
* The time at which the original request was received.
*
* @param string $requestTime
*/
public function setRequestTime($requestTime)
{
$this->requestTime = $requestTime;
}
/**
* @return string
*/
public function getRequestTime()
{
return $this->requestTime;
}
/**
* DEPRECATED: Use request_time instead.
*
* @deprecated
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @deprecated
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateLogicalViewMetadata::class, 'Google_Service_BigtableAdmin_CreateLogicalViewMetadata');
@@ -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\BigtableAdmin;
class CreateLogicalViewRequest extends \Google\Model
{
protected $logicalViewType = LogicalView::class;
protected $logicalViewDataType = '';
/**
* Required. The ID to use for the logical view, which will become the final
* component of the logical view's resource name.
*
* @var string
*/
public $logicalViewId;
/**
* Required. The parent instance where this logical view will be created.
* Format: `projects/{project}/instances/{instance}`.
*
* @var string
*/
public $parent;
/**
* Required. The logical view to create.
*
* @param LogicalView $logicalView
*/
public function setLogicalView(LogicalView $logicalView)
{
$this->logicalView = $logicalView;
}
/**
* @return LogicalView
*/
public function getLogicalView()
{
return $this->logicalView;
}
/**
* Required. The ID to use for the logical view, which will become the final
* component of the logical view's resource name.
*
* @param string $logicalViewId
*/
public function setLogicalViewId($logicalViewId)
{
$this->logicalViewId = $logicalViewId;
}
/**
* @return string
*/
public function getLogicalViewId()
{
return $this->logicalViewId;
}
/**
* Required. The parent instance where this logical view will be created.
* Format: `projects/{project}/instances/{instance}`.
*
* @param string $parent
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateLogicalViewRequest::class, 'Google_Service_BigtableAdmin_CreateLogicalViewRequest');
@@ -0,0 +1,143 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class CreateMaterializedViewMetadata extends \Google\Model
{
/**
* If set, the time at which this operation finished or was canceled.
* DEPRECATED: Use finish_time instead.
*
* @deprecated
* @var string
*/
public $endTime;
/**
* The time at which the operation failed or was completed successfully.
*
* @var string
*/
public $finishTime;
protected $originalRequestType = CreateMaterializedViewRequest::class;
protected $originalRequestDataType = '';
/**
* The time at which the original request was received.
*
* @var string
*/
public $requestTime;
/**
* The time at which this operation started. DEPRECATED: Use request_time
* instead.
*
* @deprecated
* @var string
*/
public $startTime;
/**
* If set, the time at which this operation finished or was canceled.
* DEPRECATED: Use finish_time instead.
*
* @deprecated
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @deprecated
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* The time at which the operation failed or was completed successfully.
*
* @param string $finishTime
*/
public function setFinishTime($finishTime)
{
$this->finishTime = $finishTime;
}
/**
* @return string
*/
public function getFinishTime()
{
return $this->finishTime;
}
/**
* The request that prompted the initiation of this CreateMaterializedView
* operation.
*
* @param CreateMaterializedViewRequest $originalRequest
*/
public function setOriginalRequest(CreateMaterializedViewRequest $originalRequest)
{
$this->originalRequest = $originalRequest;
}
/**
* @return CreateMaterializedViewRequest
*/
public function getOriginalRequest()
{
return $this->originalRequest;
}
/**
* The time at which the original request was received.
*
* @param string $requestTime
*/
public function setRequestTime($requestTime)
{
$this->requestTime = $requestTime;
}
/**
* @return string
*/
public function getRequestTime()
{
return $this->requestTime;
}
/**
* The time at which this operation started. DEPRECATED: Use request_time
* instead.
*
* @deprecated
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @deprecated
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateMaterializedViewMetadata::class, 'Google_Service_BigtableAdmin_CreateMaterializedViewMetadata');
@@ -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\BigtableAdmin;
class CreateMaterializedViewRequest extends \Google\Model
{
protected $materializedViewType = MaterializedView::class;
protected $materializedViewDataType = '';
/**
* Required. The ID to use for the materialized view, which will become the
* final component of the materialized view's resource name.
*
* @var string
*/
public $materializedViewId;
/**
* Required. The parent instance where this materialized view will be created.
* Format: `projects/{project}/instances/{instance}`.
*
* @var string
*/
public $parent;
/**
* Required. The materialized view to create.
*
* @param MaterializedView $materializedView
*/
public function setMaterializedView(MaterializedView $materializedView)
{
$this->materializedView = $materializedView;
}
/**
* @return MaterializedView
*/
public function getMaterializedView()
{
return $this->materializedView;
}
/**
* Required. The ID to use for the materialized view, which will become the
* final component of the materialized view's resource name.
*
* @param string $materializedViewId
*/
public function setMaterializedViewId($materializedViewId)
{
$this->materializedViewId = $materializedViewId;
}
/**
* @return string
*/
public function getMaterializedViewId()
{
return $this->materializedViewId;
}
/**
* Required. The parent instance where this materialized view will be created.
* Format: `projects/{project}/instances/{instance}`.
*
* @param string $parent
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateMaterializedViewRequest::class, 'Google_Service_BigtableAdmin_CreateMaterializedViewRequest');
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class CreateSchemaBundleMetadata extends \Google\Model
{
/**
* The time at which the operation failed or was completed successfully.
*
* @var string
*/
public $finishTime;
/**
* The unique name identifying this schema bundle. Values are of the form `pro
* jects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_b
* undle}`
*
* @var string
*/
public $name;
/**
* The time at which the original request was received.
*
* @var string
*/
public $requestTime;
/**
* The time at which the operation failed or was completed successfully.
*
* @param string $finishTime
*/
public function setFinishTime($finishTime)
{
$this->finishTime = $finishTime;
}
/**
* @return string
*/
public function getFinishTime()
{
return $this->finishTime;
}
/**
* The unique name identifying this schema bundle. Values are of the form `pro
* jects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_b
* undle}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The time at which the original request was received.
*
* @param string $requestTime
*/
public function setRequestTime($requestTime)
{
$this->requestTime = $requestTime;
}
/**
* @return string
*/
public function getRequestTime()
{
return $this->requestTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateSchemaBundleMetadata::class, 'Google_Service_BigtableAdmin_CreateSchemaBundleMetadata');
@@ -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\BigtableAdmin;
class CreateTableRequest extends \Google\Collection
{
protected $collection_key = 'initialSplits';
protected $initialSplitsType = Split::class;
protected $initialSplitsDataType = 'array';
protected $tableType = Table::class;
protected $tableDataType = '';
/**
* Required. The name by which the new table should be referred to within the
* parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
* Maximum 50 characters.
*
* @var string
*/
public $tableId;
/**
* The optional list of row keys that will be used to initially split the
* table into several tablets (tablets are similar to HBase regions). Given
* two split keys, `s1` and `s2`, three tablets will be created, spanning the
* key ranges: `[, s1), [s1, s2), [s2, )`. Example: * Row keys := `["a",
* "apple", "custom", "customer_1", "customer_2",` `"other", "zz"]` *
* initial_split_keys := `["apple", "customer_1", "customer_2", "other"]` *
* Key assignment: - Tablet 1 `[, apple) => {"a"}.` - Tablet 2 `[apple,
* customer_1) => {"apple", "custom"}.` - Tablet 3 `[customer_1, customer_2)
* => {"customer_1"}.` - Tablet 4 `[customer_2, other) => {"customer_2"}.` -
* Tablet 5 `[other, ) => {"other", "zz"}.`
*
* @param Split[] $initialSplits
*/
public function setInitialSplits($initialSplits)
{
$this->initialSplits = $initialSplits;
}
/**
* @return Split[]
*/
public function getInitialSplits()
{
return $this->initialSplits;
}
/**
* Required. The Table to create.
*
* @param Table $table
*/
public function setTable(Table $table)
{
$this->table = $table;
}
/**
* @return Table
*/
public function getTable()
{
return $this->table;
}
/**
* Required. The name by which the new table should be referred to within the
* parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
* Maximum 50 characters.
*
* @param string $tableId
*/
public function setTableId($tableId)
{
$this->tableId = $tableId;
}
/**
* @return string
*/
public function getTableId()
{
return $this->tableId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateTableRequest::class, 'Google_Service_BigtableAdmin_CreateTableRequest');
@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class DataBoostIsolationReadOnly extends \Google\Model
{
/**
* Unspecified value.
*/
public const COMPUTE_BILLING_OWNER_COMPUTE_BILLING_OWNER_UNSPECIFIED = 'COMPUTE_BILLING_OWNER_UNSPECIFIED';
/**
* The host Cloud Project containing the targeted Bigtable Instance / Table
* pays for compute.
*/
public const COMPUTE_BILLING_OWNER_HOST_PAYS = 'HOST_PAYS';
/**
* The Compute Billing Owner for this Data Boost App Profile.
*
* @var string
*/
public $computeBillingOwner;
/**
* The Compute Billing Owner for this Data Boost App Profile.
*
* Accepted values: COMPUTE_BILLING_OWNER_UNSPECIFIED, HOST_PAYS
*
* @param self::COMPUTE_BILLING_OWNER_* $computeBillingOwner
*/
public function setComputeBillingOwner($computeBillingOwner)
{
$this->computeBillingOwner = $computeBillingOwner;
}
/**
* @return self::COMPUTE_BILLING_OWNER_*
*/
public function getComputeBillingOwner()
{
return $this->computeBillingOwner;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataBoostIsolationReadOnly::class, 'Google_Service_BigtableAdmin_DataBoostIsolationReadOnly');
@@ -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\BigtableAdmin;
class DataBoostReadLocalWrites extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataBoostReadLocalWrites::class, 'Google_Service_BigtableAdmin_DataBoostReadLocalWrites');
@@ -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\BigtableAdmin;
class DropRowRangeRequest extends \Google\Model
{
/**
* Delete all rows in the table. Setting this to false is a no-op.
*
* @var bool
*/
public $deleteAllDataFromTable;
/**
* Delete all rows that start with this row key prefix. Prefix cannot be zero
* length.
*
* @var string
*/
public $rowKeyPrefix;
/**
* Delete all rows in the table. Setting this to false is a no-op.
*
* @param bool $deleteAllDataFromTable
*/
public function setDeleteAllDataFromTable($deleteAllDataFromTable)
{
$this->deleteAllDataFromTable = $deleteAllDataFromTable;
}
/**
* @return bool
*/
public function getDeleteAllDataFromTable()
{
return $this->deleteAllDataFromTable;
}
/**
* Delete all rows that start with this row key prefix. Prefix cannot be zero
* length.
*
* @param string $rowKeyPrefix
*/
public function setRowKeyPrefix($rowKeyPrefix)
{
$this->rowKeyPrefix = $rowKeyPrefix;
}
/**
* @return string
*/
public function getRowKeyPrefix()
{
return $this->rowKeyPrefix;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DropRowRangeRequest::class, 'Google_Service_BigtableAdmin_DropRowRangeRequest');
@@ -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\BigtableAdmin;
class EncryptionConfig extends \Google\Model
{
/**
* Describes the Cloud KMS encryption key that will be used to protect the
* destination Bigtable cluster. The requirements for this key are: 1) The
* Cloud Bigtable service account associated with the project that contains
* this cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter`
* role on the CMEK key. 2) Only regional keys can be used and the region of
* the CMEK key must match the region of the cluster. Values are of the form `
* projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}
* `
*
* @var string
*/
public $kmsKeyName;
/**
* Describes the Cloud KMS encryption key that will be used to protect the
* destination Bigtable cluster. The requirements for this key are: 1) The
* Cloud Bigtable service account associated with the project that contains
* this cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter`
* role on the CMEK key. 2) Only regional keys can be used and the region of
* the CMEK key must match the region of the cluster. Values are of the form `
* projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}
* `
*
* @param string $kmsKeyName
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EncryptionConfig::class, 'Google_Service_BigtableAdmin_EncryptionConfig');
@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigtableAdmin;
class EncryptionInfo extends \Google\Model
{
/**
* Encryption type was not specified, though data at rest remains encrypted.
*/
public const ENCRYPTION_TYPE_ENCRYPTION_TYPE_UNSPECIFIED = 'ENCRYPTION_TYPE_UNSPECIFIED';
/**
* The data backing this resource is encrypted at rest with a key that is
* fully managed by Google. No key version or status will be populated. This
* is the default state.
*/
public const ENCRYPTION_TYPE_GOOGLE_DEFAULT_ENCRYPTION = 'GOOGLE_DEFAULT_ENCRYPTION';
/**
* The data backing this resource is encrypted at rest with a key that is
* managed by the customer. The in-use version of the key and its status are
* populated for CMEK-protected tables. CMEK-protected backups are pinned to
* the key version that was in use at the time the backup was taken. This key
* version is populated but its status is not tracked and is reported as
* `UNKNOWN`.
*/
public const ENCRYPTION_TYPE_CUSTOMER_MANAGED_ENCRYPTION = 'CUSTOMER_MANAGED_ENCRYPTION';
protected $encryptionStatusType = Status::class;
protected $encryptionStatusDataType = '';
/**
* Output only. The type of encryption used to protect this resource.
*
* @var string
*/
public $encryptionType;
/**
* Output only. The version of the Cloud KMS key specified in the parent
* cluster that is in use for the data underlying this table.
*
* @var string
*/
public $kmsKeyVersion;
/**
* Output only. The status of encrypt/decrypt calls on underlying data for
* this resource. Regardless of status, the existing data is always encrypted
* at rest.
*
* @param Status $encryptionStatus
*/
public function setEncryptionStatus(Status $encryptionStatus)
{
$this->encryptionStatus = $encryptionStatus;
}
/**
* @return Status
*/
public function getEncryptionStatus()
{
return $this->encryptionStatus;
}
/**
* Output only. The type of encryption used to protect this resource.
*
* Accepted values: ENCRYPTION_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 version of the Cloud KMS key specified in the parent
* cluster that is in use for the data underlying this table.
*
* @param string $kmsKeyVersion
*/
public function setKmsKeyVersion($kmsKeyVersion)
{
$this->kmsKeyVersion = $kmsKeyVersion;
}
/**
* @return string
*/
public function getKmsKeyVersion()
{
return $this->kmsKeyVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EncryptionInfo::class, 'Google_Service_BigtableAdmin_EncryptionInfo');
@@ -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\BigtableAdmin;
class Expr extends \Google\Model
{
/**
* Optional. Description of the expression. This is a longer text which
* describes the expression, e.g. when hovered over it in a UI.
*
* @var string
*/
public $description;
/**
* Textual representation of an expression in Common Expression Language
* syntax.
*
* @var string
*/
public $expression;
/**
* Optional. String indicating the location of the expression for error
* reporting, e.g. a file name and a position in the file.
*
* @var string
*/
public $location;
/**
* Optional. Title for the expression, i.e. a short string describing its
* purpose. This can be used e.g. in UIs which allow to enter the expression.
*
* @var string
*/
public $title;
/**
* Optional. Description of the expression. This is a longer text which
* describes the expression, e.g. when hovered over it in a UI.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Textual representation of an expression in Common Expression Language
* syntax.
*
* @param string $expression
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* Optional. String indicating the location of the expression for error
* reporting, e.g. a file name and a position in the file.
*
* @param string $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* Optional. Title for the expression, i.e. a short string describing its
* purpose. This can be used e.g. in UIs which allow to enter the expression.
*
* @param string $title
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Expr::class, 'Google_Service_BigtableAdmin_Expr');
@@ -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\BigtableAdmin;
class FailureTrace extends \Google\Collection
{
protected $collection_key = 'frames';
protected $framesType = Frame::class;
protected $framesDataType = 'array';
/**
* @param Frame[]
*/
public function setFrames($frames)
{
$this->frames = $frames;
}
/**
* @return Frame[]
*/
public function getFrames()
{
return $this->frames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FailureTrace::class, 'Google_Service_BigtableAdmin_FailureTrace');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigtableAdmin;
class Frame extends \Google\Model
{
/**
* @var string
*/
public $targetName;
/**
* @var string
*/
public $workflowGuid;
/**
* @var string
*/
public $zoneId;
/**
* @param string
*/
public function setTargetName($targetName)
{
$this->targetName = $targetName;
}
/**
* @return string
*/
public function getTargetName()
{
return $this->targetName;
}
/**
* @param string
*/
public function setWorkflowGuid($workflowGuid)
{
$this->workflowGuid = $workflowGuid;
}
/**
* @return string
*/
public function getWorkflowGuid()
{
return $this->workflowGuid;
}
/**
* @param string
*/
public function setZoneId($zoneId)
{
$this->zoneId = $zoneId;
}
/**
* @return string
*/
public function getZoneId()
{
return $this->zoneId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Frame::class, 'Google_Service_BigtableAdmin_Frame');
@@ -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\BigtableAdmin;
class GcRule extends \Google\Model
{
protected $intersectionType = Intersection::class;
protected $intersectionDataType = '';
/**
* Delete cells in a column older than the given age. Values must be at least
* one millisecond, and will be truncated to microsecond granularity.
*
* @var string
*/
public $maxAge;
/**
* Delete all cells in a column except the most recent N.
*
* @var int
*/
public $maxNumVersions;
protected $unionType = Union::class;
protected $unionDataType = '';
/**
* Delete cells that would be deleted by every nested rule.
*
* @param Intersection $intersection
*/
public function setIntersection(Intersection $intersection)
{
$this->intersection = $intersection;
}
/**
* @return Intersection
*/
public function getIntersection()
{
return $this->intersection;
}
/**
* Delete cells in a column older than the given age. Values must be at least
* one millisecond, and will be truncated to microsecond granularity.
*
* @param string $maxAge
*/
public function setMaxAge($maxAge)
{
$this->maxAge = $maxAge;
}
/**
* @return string
*/
public function getMaxAge()
{
return $this->maxAge;
}
/**
* Delete all cells in a column except the most recent N.
*
* @param int $maxNumVersions
*/
public function setMaxNumVersions($maxNumVersions)
{
$this->maxNumVersions = $maxNumVersions;
}
/**
* @return int
*/
public function getMaxNumVersions()
{
return $this->maxNumVersions;
}
/**
* Delete cells that would be deleted by any nested rule.
*
* @param Union $union
*/
public function setUnion(Union $union)
{
$this->union = $union;
}
/**
* @return Union
*/
public function getUnion()
{
return $this->union;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcRule::class, 'Google_Service_BigtableAdmin_GcRule');
@@ -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\BigtableAdmin;
class GenerateConsistencyTokenRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateConsistencyTokenRequest::class, 'Google_Service_BigtableAdmin_GenerateConsistencyTokenRequest');
@@ -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\BigtableAdmin;
class GenerateConsistencyTokenResponse extends \Google\Model
{
/**
* The generated consistency token.
*
* @var string
*/
public $consistencyToken;
/**
* The generated consistency token.
*
* @param string $consistencyToken
*/
public function setConsistencyToken($consistencyToken)
{
$this->consistencyToken = $consistencyToken;
}
/**
* @return string
*/
public function getConsistencyToken()
{
return $this->consistencyToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateConsistencyTokenResponse::class, 'Google_Service_BigtableAdmin_GenerateConsistencyTokenResponse');
@@ -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\BigtableAdmin;
class GetIamPolicyRequest extends \Google\Model
{
protected $optionsType = GetPolicyOptions::class;
protected $optionsDataType = '';
/**
* OPTIONAL: A `GetPolicyOptions` object for specifying options to
* `GetIamPolicy`.
*
* @param GetPolicyOptions $options
*/
public function setOptions(GetPolicyOptions $options)
{
$this->options = $options;
}
/**
* @return GetPolicyOptions
*/
public function getOptions()
{
return $this->options;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetIamPolicyRequest::class, 'Google_Service_BigtableAdmin_GetIamPolicyRequest');
@@ -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\BigtableAdmin;
class GetPolicyOptions extends \Google\Model
{
/**
* Optional. The maximum policy version that will be used to format the
* policy. Valid values are 0, 1, and 3. Requests specifying an invalid value
* will be rejected. Requests for policies with any conditional role bindings
* must specify version 3. Policies with no conditional role bindings may
* specify any valid value or leave the field unset. The policy in the
* response might use the policy version that you specified, or it might use a
* lower policy version. For example, if you specify version 3, but the policy
* has no conditional role bindings, the response uses version 1. To learn
* which resources support conditions in their IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
*
* @var int
*/
public $requestedPolicyVersion;
/**
* Optional. The maximum policy version that will be used to format the
* policy. Valid values are 0, 1, and 3. Requests specifying an invalid value
* will be rejected. Requests for policies with any conditional role bindings
* must specify version 3. Policies with no conditional role bindings may
* specify any valid value or leave the field unset. The policy in the
* response might use the policy version that you specified, or it might use a
* lower policy version. For example, if you specify version 3, but the policy
* has no conditional role bindings, the response uses version 1. To learn
* which resources support conditions in their IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
*
* @param int $requestedPolicyVersion
*/
public function setRequestedPolicyVersion($requestedPolicyVersion)
{
$this->requestedPolicyVersion = $requestedPolicyVersion;
}
/**
* @return int
*/
public function getRequestedPolicyVersion()
{
return $this->requestedPolicyVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetPolicyOptions::class, 'Google_Service_BigtableAdmin_GetPolicyOptions');
@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigtableAdmin;
class GoogleBigtableAdminV2AuthorizedViewFamilySubsets extends \Google\Collection
{
protected $collection_key = 'qualifiers';
/**
* Prefixes for qualifiers to be included in the AuthorizedView. Every
* qualifier starting with one of these prefixes is included in the
* AuthorizedView. To provide access to all qualifiers, include the empty
* string as a prefix ("").
*
* @var string[]
*/
public $qualifierPrefixes;
/**
* Individual exact column qualifiers to be included in the AuthorizedView.
*
* @var string[]
*/
public $qualifiers;
/**
* Prefixes for qualifiers to be included in the AuthorizedView. Every
* qualifier starting with one of these prefixes is included in the
* AuthorizedView. To provide access to all qualifiers, include the empty
* string as a prefix ("").
*
* @param string[] $qualifierPrefixes
*/
public function setQualifierPrefixes($qualifierPrefixes)
{
$this->qualifierPrefixes = $qualifierPrefixes;
}
/**
* @return string[]
*/
public function getQualifierPrefixes()
{
return $this->qualifierPrefixes;
}
/**
* Individual exact column qualifiers to be included in the AuthorizedView.
*
* @param string[] $qualifiers
*/
public function setQualifiers($qualifiers)
{
$this->qualifiers = $qualifiers;
}
/**
* @return string[]
*/
public function getQualifiers()
{
return $this->qualifiers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2AuthorizedViewFamilySubsets::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2AuthorizedViewFamilySubsets');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2AuthorizedViewSubsetView extends \Google\Collection
{
protected $collection_key = 'rowPrefixes';
protected $familySubsetsType = GoogleBigtableAdminV2AuthorizedViewFamilySubsets::class;
protected $familySubsetsDataType = 'map';
/**
* Row prefixes to be included in the AuthorizedView. To provide access to all
* rows, include the empty string as a prefix ("").
*
* @var string[]
*/
public $rowPrefixes;
/**
* Map from column family name to the columns in this family to be included in
* the AuthorizedView.
*
* @param GoogleBigtableAdminV2AuthorizedViewFamilySubsets[] $familySubsets
*/
public function setFamilySubsets($familySubsets)
{
$this->familySubsets = $familySubsets;
}
/**
* @return GoogleBigtableAdminV2AuthorizedViewFamilySubsets[]
*/
public function getFamilySubsets()
{
return $this->familySubsets;
}
/**
* Row prefixes to be included in the AuthorizedView. To provide access to all
* rows, include the empty string as a prefix ("").
*
* @param string[] $rowPrefixes
*/
public function setRowPrefixes($rowPrefixes)
{
$this->rowPrefixes = $rowPrefixes;
}
/**
* @return string[]
*/
public function getRowPrefixes()
{
return $this->rowPrefixes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2AuthorizedViewSubsetView::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2AuthorizedViewSubsetView');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2MaterializedViewClusterState extends \Google\Model
{
/**
* The state of the materialized view is unknown in this cluster.
*/
public const REPLICATION_STATE_STATE_NOT_KNOWN = 'STATE_NOT_KNOWN';
/**
* The cluster or view was recently created, and the materialized view must
* finish backfilling before it can begin serving Data API requests.
*/
public const REPLICATION_STATE_INITIALIZING = 'INITIALIZING';
/**
* The materialized view can serve Data API requests from this cluster.
* Depending on materialization and replication delay, reads may not
* immediately reflect the state of the materialized view in other clusters.
*/
public const REPLICATION_STATE_READY = 'READY';
/**
* Output only. The state of the materialized view in this cluster.
*
* @var string
*/
public $replicationState;
/**
* Output only. The state of the materialized view in this cluster.
*
* Accepted values: STATE_NOT_KNOWN, INITIALIZING, READY
*
* @param self::REPLICATION_STATE_* $replicationState
*/
public function setReplicationState($replicationState)
{
$this->replicationState = $replicationState;
}
/**
* @return self::REPLICATION_STATE_*
*/
public function getReplicationState()
{
return $this->replicationState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2MaterializedViewClusterState::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2MaterializedViewClusterState');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2MemoryLayerMemoryConfig extends \Google\Model
{
/**
* Output only. Reporting the current size of the memory layer in GiB.
*
* @var int
*/
public $storageSizeGib;
/**
* Output only. Reporting the current size of the memory layer in GiB.
*
* @param int $storageSizeGib
*/
public function setStorageSizeGib($storageSizeGib)
{
$this->storageSizeGib = $storageSizeGib;
}
/**
* @return int
*/
public function getStorageSizeGib()
{
return $this->storageSizeGib;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2MemoryLayerMemoryConfig::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2MemoryLayerMemoryConfig');
@@ -0,0 +1,137 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class GoogleBigtableAdminV2TypeAggregate extends \Google\Model
{
protected $hllppUniqueCountType = GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount::class;
protected $hllppUniqueCountDataType = '';
protected $inputTypeType = Type::class;
protected $inputTypeDataType = '';
protected $maxType = GoogleBigtableAdminV2TypeAggregateMax::class;
protected $maxDataType = '';
protected $minType = GoogleBigtableAdminV2TypeAggregateMin::class;
protected $minDataType = '';
protected $stateTypeType = Type::class;
protected $stateTypeDataType = '';
protected $sumType = GoogleBigtableAdminV2TypeAggregateSum::class;
protected $sumDataType = '';
/**
* HyperLogLogPlusPlusUniqueCount aggregator.
*
* @param GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount $hllppUniqueCount
*/
public function setHllppUniqueCount(GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount $hllppUniqueCount)
{
$this->hllppUniqueCount = $hllppUniqueCount;
}
/**
* @return GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount
*/
public function getHllppUniqueCount()
{
return $this->hllppUniqueCount;
}
/**
* Type of the inputs that are accumulated by this `Aggregate`. Use `AddInput`
* mutations to accumulate new inputs.
*
* @param Type $inputType
*/
public function setInputType(Type $inputType)
{
$this->inputType = $inputType;
}
/**
* @return Type
*/
public function getInputType()
{
return $this->inputType;
}
/**
* Max aggregator.
*
* @param GoogleBigtableAdminV2TypeAggregateMax $max
*/
public function setMax(GoogleBigtableAdminV2TypeAggregateMax $max)
{
$this->max = $max;
}
/**
* @return GoogleBigtableAdminV2TypeAggregateMax
*/
public function getMax()
{
return $this->max;
}
/**
* Min aggregator.
*
* @param GoogleBigtableAdminV2TypeAggregateMin $min
*/
public function setMin(GoogleBigtableAdminV2TypeAggregateMin $min)
{
$this->min = $min;
}
/**
* @return GoogleBigtableAdminV2TypeAggregateMin
*/
public function getMin()
{
return $this->min;
}
/**
* Output only. Type that holds the internal accumulator state for the
* `Aggregate`. This is a function of the `input_type` and `aggregator`
* chosen.
*
* @param Type $stateType
*/
public function setStateType(Type $stateType)
{
$this->stateType = $stateType;
}
/**
* @return Type
*/
public function getStateType()
{
return $this->stateType;
}
/**
* Sum aggregator.
*
* @param GoogleBigtableAdminV2TypeAggregateSum $sum
*/
public function setSum(GoogleBigtableAdminV2TypeAggregateSum $sum)
{
$this->sum = $sum;
}
/**
* @return GoogleBigtableAdminV2TypeAggregateSum
*/
public function getSum()
{
return $this->sum;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeAggregate::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeAggregate');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeAggregateMax extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeAggregateMax::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeAggregateMax');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeAggregateMin extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeAggregateMin::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeAggregateMin');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeAggregateSum extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeAggregateSum::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeAggregateSum');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeArray extends \Google\Model
{
protected $elementTypeType = Type::class;
protected $elementTypeDataType = '';
/**
* The type of the elements in the array. This must not be `Array`.
*
* @param Type $elementType
*/
public function setElementType(Type $elementType)
{
$this->elementType = $elementType;
}
/**
* @return Type
*/
public function getElementType()
{
return $this->elementType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeArray::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeArray');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeBool extends \Google\Model
{
protected $encodingType = GoogleBigtableAdminV2TypeBoolEncoding::class;
protected $encodingDataType = '';
/**
* Specifies the encoding to use when converting to or from lower level types.
*
* @param GoogleBigtableAdminV2TypeBoolEncoding $encoding
*/
public function setEncoding(GoogleBigtableAdminV2TypeBoolEncoding $encoding)
{
$this->encoding = $encoding;
}
/**
* @return GoogleBigtableAdminV2TypeBoolEncoding
*/
public function getEncoding()
{
return $this->encoding;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeBool::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeBool');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeBoolEncoding extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeBoolEncoding::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeBoolEncoding');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeBytes extends \Google\Model
{
protected $encodingType = GoogleBigtableAdminV2TypeBytesEncoding::class;
protected $encodingDataType = '';
/**
* The encoding to use when converting to or from lower level types.
*
* @param GoogleBigtableAdminV2TypeBytesEncoding $encoding
*/
public function setEncoding(GoogleBigtableAdminV2TypeBytesEncoding $encoding)
{
$this->encoding = $encoding;
}
/**
* @return GoogleBigtableAdminV2TypeBytesEncoding
*/
public function getEncoding()
{
return $this->encoding;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeBytes::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeBytes');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeBytesEncoding extends \Google\Model
{
protected $rawType = GoogleBigtableAdminV2TypeBytesEncodingRaw::class;
protected $rawDataType = '';
/**
* Use `Raw` encoding.
*
* @param GoogleBigtableAdminV2TypeBytesEncodingRaw $raw
*/
public function setRaw(GoogleBigtableAdminV2TypeBytesEncodingRaw $raw)
{
$this->raw = $raw;
}
/**
* @return GoogleBigtableAdminV2TypeBytesEncodingRaw
*/
public function getRaw()
{
return $this->raw;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeBytesEncoding::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeBytesEncoding');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeBytesEncodingRaw extends \Google\Model
{
/**
* If set, allows NULL values to be encoded as the empty string "". The actual
* empty string, or any value which only contains the null byte `0x00`, has
* one more null byte appended.
*
* @var bool
*/
public $escapeNulls;
/**
* If set, allows NULL values to be encoded as the empty string "". The actual
* empty string, or any value which only contains the null byte `0x00`, has
* one more null byte appended.
*
* @param bool $escapeNulls
*/
public function setEscapeNulls($escapeNulls)
{
$this->escapeNulls = $escapeNulls;
}
/**
* @return bool
*/
public function getEscapeNulls()
{
return $this->escapeNulls;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeBytesEncodingRaw::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeBytesEncodingRaw');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeDate extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeDate::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeDate');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeEnum extends \Google\Model
{
/**
* The fully qualified name of the protobuf enum message, including package.
* In the format of "foo.bar.EnumMessage".
*
* @var string
*/
public $enumName;
/**
* The ID of the schema bundle that this enum is defined in.
*
* @var string
*/
public $schemaBundleId;
/**
* The fully qualified name of the protobuf enum message, including package.
* In the format of "foo.bar.EnumMessage".
*
* @param string $enumName
*/
public function setEnumName($enumName)
{
$this->enumName = $enumName;
}
/**
* @return string
*/
public function getEnumName()
{
return $this->enumName;
}
/**
* The ID of the schema bundle that this enum is defined in.
*
* @param string $schemaBundleId
*/
public function setSchemaBundleId($schemaBundleId)
{
$this->schemaBundleId = $schemaBundleId;
}
/**
* @return string
*/
public function getSchemaBundleId()
{
return $this->schemaBundleId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeEnum::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeEnum');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeFloat32 extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeFloat32::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeFloat32');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeFloat64 extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeFloat64::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeFloat64');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeGeography extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeGeography::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeGeography');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeInt32 extends \Google\Model
{
protected $encodingType = GoogleBigtableAdminV2TypeInt32Encoding::class;
protected $encodingDataType = '';
/**
* The encoding to use when converting to or from lower level types.
*
* @param GoogleBigtableAdminV2TypeInt32Encoding $encoding
*/
public function setEncoding(GoogleBigtableAdminV2TypeInt32Encoding $encoding)
{
$this->encoding = $encoding;
}
/**
* @return GoogleBigtableAdminV2TypeInt32Encoding
*/
public function getEncoding()
{
return $this->encoding;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeInt32::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeInt32');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeInt32Encoding extends \Google\Model
{
protected $bigEndianBytesType = GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes::class;
protected $bigEndianBytesDataType = '';
protected $orderedCodeBytesType = GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes::class;
protected $orderedCodeBytesDataType = '';
/**
* Use `BigEndianBytes` encoding.
*
* @param GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes $bigEndianBytes
*/
public function setBigEndianBytes(GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes $bigEndianBytes)
{
$this->bigEndianBytes = $bigEndianBytes;
}
/**
* @return GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes
*/
public function getBigEndianBytes()
{
return $this->bigEndianBytes;
}
/**
* Use `OrderedCodeBytes` encoding.
*
* @param GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes $orderedCodeBytes
*/
public function setOrderedCodeBytes(GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes $orderedCodeBytes)
{
$this->orderedCodeBytes = $orderedCodeBytes;
}
/**
* @return GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes
*/
public function getOrderedCodeBytes()
{
return $this->orderedCodeBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeInt32Encoding::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeInt32Encoding');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeInt64 extends \Google\Model
{
protected $encodingType = GoogleBigtableAdminV2TypeInt64Encoding::class;
protected $encodingDataType = '';
/**
* The encoding to use when converting to or from lower level types.
*
* @param GoogleBigtableAdminV2TypeInt64Encoding $encoding
*/
public function setEncoding(GoogleBigtableAdminV2TypeInt64Encoding $encoding)
{
$this->encoding = $encoding;
}
/**
* @return GoogleBigtableAdminV2TypeInt64Encoding
*/
public function getEncoding()
{
return $this->encoding;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeInt64::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeInt64');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeInt64Encoding extends \Google\Model
{
protected $bigEndianBytesType = GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes::class;
protected $bigEndianBytesDataType = '';
protected $orderedCodeBytesType = GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes::class;
protected $orderedCodeBytesDataType = '';
/**
* Use `BigEndianBytes` encoding.
*
* @param GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes $bigEndianBytes
*/
public function setBigEndianBytes(GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes $bigEndianBytes)
{
$this->bigEndianBytes = $bigEndianBytes;
}
/**
* @return GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes
*/
public function getBigEndianBytes()
{
return $this->bigEndianBytes;
}
/**
* Use `OrderedCodeBytes` encoding.
*
* @param GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes $orderedCodeBytes
*/
public function setOrderedCodeBytes(GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes $orderedCodeBytes)
{
$this->orderedCodeBytes = $orderedCodeBytes;
}
/**
* @return GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes
*/
public function getOrderedCodeBytes()
{
return $this->orderedCodeBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeInt64Encoding::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeInt64Encoding');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes extends \Google\Model
{
protected $bytesTypeType = GoogleBigtableAdminV2TypeBytes::class;
protected $bytesTypeDataType = '';
/**
* Deprecated: ignored if set.
*
* @deprecated
* @param GoogleBigtableAdminV2TypeBytes $bytesType
*/
public function setBytesType(GoogleBigtableAdminV2TypeBytes $bytesType)
{
$this->bytesType = $bytesType;
}
/**
* @deprecated
* @return GoogleBigtableAdminV2TypeBytes
*/
public function getBytesType()
{
return $this->bytesType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes');
@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigtableAdmin;
class GoogleBigtableAdminV2TypeMap extends \Google\Model
{
protected $keyTypeType = Type::class;
protected $keyTypeDataType = '';
protected $valueTypeType = Type::class;
protected $valueTypeDataType = '';
/**
* The type of a map key. Only `Bytes`, `String`, and `Int64` are allowed as
* key types.
*
* @param Type $keyType
*/
public function setKeyType(Type $keyType)
{
$this->keyType = $keyType;
}
/**
* @return Type
*/
public function getKeyType()
{
return $this->keyType;
}
/**
* The type of the values in a map.
*
* @param Type $valueType
*/
public function setValueType(Type $valueType)
{
$this->valueType = $valueType;
}
/**
* @return Type
*/
public function getValueType()
{
return $this->valueType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeMap::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeMap');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeProto extends \Google\Model
{
/**
* The fully qualified name of the protobuf message, including package. In the
* format of "foo.bar.Message".
*
* @var string
*/
public $messageName;
/**
* The ID of the schema bundle that this proto is defined in.
*
* @var string
*/
public $schemaBundleId;
/**
* The fully qualified name of the protobuf message, including package. In the
* format of "foo.bar.Message".
*
* @param string $messageName
*/
public function setMessageName($messageName)
{
$this->messageName = $messageName;
}
/**
* @return string
*/
public function getMessageName()
{
return $this->messageName;
}
/**
* The ID of the schema bundle that this proto is defined in.
*
* @param string $schemaBundleId
*/
public function setSchemaBundleId($schemaBundleId)
{
$this->schemaBundleId = $schemaBundleId;
}
/**
* @return string
*/
public function getSchemaBundleId()
{
return $this->schemaBundleId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeProto::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeProto');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeString extends \Google\Model
{
protected $encodingType = GoogleBigtableAdminV2TypeStringEncoding::class;
protected $encodingDataType = '';
/**
* The encoding to use when converting to or from lower level types.
*
* @param GoogleBigtableAdminV2TypeStringEncoding $encoding
*/
public function setEncoding(GoogleBigtableAdminV2TypeStringEncoding $encoding)
{
$this->encoding = $encoding;
}
/**
* @return GoogleBigtableAdminV2TypeStringEncoding
*/
public function getEncoding()
{
return $this->encoding;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeString::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeString');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeStringEncoding extends \Google\Model
{
protected $utf8BytesType = GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes::class;
protected $utf8BytesDataType = '';
protected $utf8RawType = GoogleBigtableAdminV2TypeStringEncodingUtf8Raw::class;
protected $utf8RawDataType = '';
/**
* Use `Utf8Bytes` encoding.
*
* @param GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes $utf8Bytes
*/
public function setUtf8Bytes(GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes $utf8Bytes)
{
$this->utf8Bytes = $utf8Bytes;
}
/**
* @return GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes
*/
public function getUtf8Bytes()
{
return $this->utf8Bytes;
}
/**
* Deprecated: if set, converts to an empty `utf8_bytes`.
*
* @deprecated
* @param GoogleBigtableAdminV2TypeStringEncodingUtf8Raw $utf8Raw
*/
public function setUtf8Raw(GoogleBigtableAdminV2TypeStringEncodingUtf8Raw $utf8Raw)
{
$this->utf8Raw = $utf8Raw;
}
/**
* @deprecated
* @return GoogleBigtableAdminV2TypeStringEncodingUtf8Raw
*/
public function getUtf8Raw()
{
return $this->utf8Raw;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeStringEncoding::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeStringEncoding');
@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigtableAdmin;
class GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes extends \Google\Model
{
/**
* Single-character escape sequence used to support NULL values. If set,
* allows NULL values to be encoded as the empty string "". The actual empty
* string, or any value where every character equals `null_escape_char`, has
* one more `null_escape_char` appended. If `null_escape_char` is set and does
* not equal the ASCII null character `0x00`, then the encoding will not
* support sorted mode. .
*
* @var string
*/
public $nullEscapeChar;
/**
* Single-character escape sequence used to support NULL values. If set,
* allows NULL values to be encoded as the empty string "". The actual empty
* string, or any value where every character equals `null_escape_char`, has
* one more `null_escape_char` appended. If `null_escape_char` is set and does
* not equal the ASCII null character `0x00`, then the encoding will not
* support sorted mode. .
*
* @param string $nullEscapeChar
*/
public function setNullEscapeChar($nullEscapeChar)
{
$this->nullEscapeChar = $nullEscapeChar;
}
/**
* @return string
*/
public function getNullEscapeChar()
{
return $this->nullEscapeChar;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeStringEncodingUtf8Raw extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeStringEncodingUtf8Raw::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeStringEncodingUtf8Raw');
@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigtableAdmin;
class GoogleBigtableAdminV2TypeStruct extends \Google\Collection
{
protected $collection_key = 'fields';
protected $encodingType = GoogleBigtableAdminV2TypeStructEncoding::class;
protected $encodingDataType = '';
protected $fieldsType = GoogleBigtableAdminV2TypeStructField::class;
protected $fieldsDataType = 'array';
/**
* The encoding to use when converting to or from lower level types.
*
* @param GoogleBigtableAdminV2TypeStructEncoding $encoding
*/
public function setEncoding(GoogleBigtableAdminV2TypeStructEncoding $encoding)
{
$this->encoding = $encoding;
}
/**
* @return GoogleBigtableAdminV2TypeStructEncoding
*/
public function getEncoding()
{
return $this->encoding;
}
/**
* The names and types of the fields in this struct.
*
* @param GoogleBigtableAdminV2TypeStructField[] $fields
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return GoogleBigtableAdminV2TypeStructField[]
*/
public function getFields()
{
return $this->fields;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeStruct::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeStruct');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigtableAdmin;
class GoogleBigtableAdminV2TypeStructEncoding extends \Google\Model
{
protected $delimitedBytesType = GoogleBigtableAdminV2TypeStructEncodingDelimitedBytes::class;
protected $delimitedBytesDataType = '';
protected $orderedCodeBytesType = GoogleBigtableAdminV2TypeStructEncodingOrderedCodeBytes::class;
protected $orderedCodeBytesDataType = '';
protected $singletonType = GoogleBigtableAdminV2TypeStructEncodingSingleton::class;
protected $singletonDataType = '';
/**
* Use `DelimitedBytes` encoding.
*
* @param GoogleBigtableAdminV2TypeStructEncodingDelimitedBytes $delimitedBytes
*/
public function setDelimitedBytes(GoogleBigtableAdminV2TypeStructEncodingDelimitedBytes $delimitedBytes)
{
$this->delimitedBytes = $delimitedBytes;
}
/**
* @return GoogleBigtableAdminV2TypeStructEncodingDelimitedBytes
*/
public function getDelimitedBytes()
{
return $this->delimitedBytes;
}
/**
* User `OrderedCodeBytes` encoding.
*
* @param GoogleBigtableAdminV2TypeStructEncodingOrderedCodeBytes $orderedCodeBytes
*/
public function setOrderedCodeBytes(GoogleBigtableAdminV2TypeStructEncodingOrderedCodeBytes $orderedCodeBytes)
{
$this->orderedCodeBytes = $orderedCodeBytes;
}
/**
* @return GoogleBigtableAdminV2TypeStructEncodingOrderedCodeBytes
*/
public function getOrderedCodeBytes()
{
return $this->orderedCodeBytes;
}
/**
* Use `Singleton` encoding.
*
* @param GoogleBigtableAdminV2TypeStructEncodingSingleton $singleton
*/
public function setSingleton(GoogleBigtableAdminV2TypeStructEncodingSingleton $singleton)
{
$this->singleton = $singleton;
}
/**
* @return GoogleBigtableAdminV2TypeStructEncodingSingleton
*/
public function getSingleton()
{
return $this->singleton;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeStructEncoding::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeStructEncoding');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeStructEncodingDelimitedBytes extends \Google\Model
{
/**
* Byte sequence used to delimit concatenated fields. The delimiter must
* contain at least 1 character and at most 50 characters.
*
* @var string
*/
public $delimiter;
/**
* Byte sequence used to delimit concatenated fields. The delimiter must
* contain at least 1 character and at most 50 characters.
*
* @param string $delimiter
*/
public function setDelimiter($delimiter)
{
$this->delimiter = $delimiter;
}
/**
* @return string
*/
public function getDelimiter()
{
return $this->delimiter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeStructEncodingDelimitedBytes::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeStructEncodingDelimitedBytes');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeStructEncodingOrderedCodeBytes extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeStructEncodingOrderedCodeBytes::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeStructEncodingOrderedCodeBytes');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeStructEncodingSingleton extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeStructEncodingSingleton::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeStructEncodingSingleton');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeStructField extends \Google\Model
{
/**
* The field name (optional). Fields without a `field_name` are considered
* anonymous and cannot be referenced by name.
*
* @var string
*/
public $fieldName;
protected $typeType = Type::class;
protected $typeDataType = '';
/**
* The field name (optional). Fields without a `field_name` are considered
* anonymous and cannot be referenced by name.
*
* @param string $fieldName
*/
public function setFieldName($fieldName)
{
$this->fieldName = $fieldName;
}
/**
* @return string
*/
public function getFieldName()
{
return $this->fieldName;
}
/**
* The type of values in this field.
*
* @param Type $type
*/
public function setType(Type $type)
{
$this->type = $type;
}
/**
* @return Type
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeStructField::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeStructField');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeTimestamp extends \Google\Model
{
protected $encodingType = GoogleBigtableAdminV2TypeTimestampEncoding::class;
protected $encodingDataType = '';
/**
* The encoding to use when converting to or from lower level types.
*
* @param GoogleBigtableAdminV2TypeTimestampEncoding $encoding
*/
public function setEncoding(GoogleBigtableAdminV2TypeTimestampEncoding $encoding)
{
$this->encoding = $encoding;
}
/**
* @return GoogleBigtableAdminV2TypeTimestampEncoding
*/
public function getEncoding()
{
return $this->encoding;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeTimestamp::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeTimestamp');
@@ -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\BigtableAdmin;
class GoogleBigtableAdminV2TypeTimestampEncoding extends \Google\Model
{
protected $unixMicrosInt64Type = GoogleBigtableAdminV2TypeInt64Encoding::class;
protected $unixMicrosInt64DataType = '';
/**
* Encodes the number of microseconds since the Unix epoch using the given
* `Int64` encoding. Values must be microsecond-aligned. Compatible with: -
* Java `Instant.truncatedTo()` with `ChronoUnit.MICROS`
*
* @param GoogleBigtableAdminV2TypeInt64Encoding $unixMicrosInt64
*/
public function setUnixMicrosInt64(GoogleBigtableAdminV2TypeInt64Encoding $unixMicrosInt64)
{
$this->unixMicrosInt64 = $unixMicrosInt64;
}
/**
* @return GoogleBigtableAdminV2TypeInt64Encoding
*/
public function getUnixMicrosInt64()
{
return $this->unixMicrosInt64;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleBigtableAdminV2TypeTimestampEncoding::class, 'Google_Service_BigtableAdmin_GoogleBigtableAdminV2TypeTimestampEncoding');
@@ -0,0 +1,190 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class HotTablet extends \Google\Model
{
/**
* Tablet End Key (inclusive).
*
* @var string
*/
public $endKey;
/**
* Output only. The end time of the hot tablet.
*
* @var string
*/
public $endTime;
/**
* The unique name of the hot tablet. Values are of the form `projects/{projec
* t}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
*
* @var string
*/
public $name;
/**
* Output only. The average CPU usage spent by a node on this tablet over the
* start_time to end_time time range. The percentage is the amount of CPU used
* by the node to serve the tablet, from 0% (tablet was not interacted with)
* to 100% (the node spent all cycles serving the hot tablet).
*
* @var float
*/
public $nodeCpuUsagePercent;
/**
* Tablet Start Key (inclusive).
*
* @var string
*/
public $startKey;
/**
* Output only. The start time of the hot tablet.
*
* @var string
*/
public $startTime;
/**
* Name of the table that contains the tablet. Values are of the form
* `projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*`.
*
* @var string
*/
public $tableName;
/**
* Tablet End Key (inclusive).
*
* @param string $endKey
*/
public function setEndKey($endKey)
{
$this->endKey = $endKey;
}
/**
* @return string
*/
public function getEndKey()
{
return $this->endKey;
}
/**
* Output only. The end time of the hot tablet.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* The unique name of the hot tablet. Values are of the form `projects/{projec
* t}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The average CPU usage spent by a node on this tablet over the
* start_time to end_time time range. The percentage is the amount of CPU used
* by the node to serve the tablet, from 0% (tablet was not interacted with)
* to 100% (the node spent all cycles serving the hot tablet).
*
* @param float $nodeCpuUsagePercent
*/
public function setNodeCpuUsagePercent($nodeCpuUsagePercent)
{
$this->nodeCpuUsagePercent = $nodeCpuUsagePercent;
}
/**
* @return float
*/
public function getNodeCpuUsagePercent()
{
return $this->nodeCpuUsagePercent;
}
/**
* Tablet Start Key (inclusive).
*
* @param string $startKey
*/
public function setStartKey($startKey)
{
$this->startKey = $startKey;
}
/**
* @return string
*/
public function getStartKey()
{
return $this->startKey;
}
/**
* Output only. The start time of the hot tablet.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* Name of the table that contains the tablet. Values are of the form
* `projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*`.
*
* @param string $tableName
*/
public function setTableName($tableName)
{
$this->tableName = $tableName;
}
/**
* @return string
*/
public function getTableName()
{
return $this->tableName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HotTablet::class, 'Google_Service_BigtableAdmin_HotTablet');
@@ -0,0 +1,335 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* 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\BigtableAdmin;
class Instance extends \Google\Model
{
/**
* The edition is unspecified. This is treated as `ENTERPRISE`.
*/
public const EDITION_EDITION_UNSPECIFIED = 'EDITION_UNSPECIFIED';
/**
* The Enterprise edition. This is the default offering that is designed to
* meet the needs of most enterprise workloads.
*/
public const EDITION_ENTERPRISE = 'ENTERPRISE';
/**
* The Enterprise Plus edition. This is a premium tier that is designed for
* demanding, multi-tenant workloads requiring the highest levels of
* performance, scale, and global availability. The nodes in the Enterprise
* Plus tier come at a higher cost than the Enterprise tier. Any Enterprise
* Plus features must be disabled before downgrading to Enterprise.
*/
public const EDITION_ENTERPRISE_PLUS = 'ENTERPRISE_PLUS';
/**
* The state of the instance could not be determined.
*/
public const STATE_STATE_NOT_KNOWN = 'STATE_NOT_KNOWN';
/**
* The instance has been successfully created and can serve requests to its
* tables.
*/
public const STATE_READY = 'READY';
/**
* The instance is currently being created, and may be destroyed if the
* creation process encounters an error.
*/
public const STATE_CREATING = 'CREATING';
/**
* The type of the instance is unspecified. If set when creating an instance,
* a `PRODUCTION` instance will be created. If set when updating an instance,
* the type will be left unchanged.
*/
public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
/**
* An instance meant for production use. `serve_nodes` must be set on the
* cluster.
*/
public const TYPE_PRODUCTION = 'PRODUCTION';
/**
* DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces a
* higher minimum node count than DEVELOPMENT.
*/
public const TYPE_DEVELOPMENT = 'DEVELOPMENT';
/**
* Output only. A commit timestamp representing when this Instance was
* created. For instances created before this field was added (August 2021),
* this value is `seconds: 0, nanos: 1`.
*
* @var string
*/
public $createTime;
/**
* Required. The descriptive name for this instance as it appears in UIs. Can
* be changed at any time, but should be kept globally unique to avoid
* confusion.
*
* @var string
*/
public $displayName;
/**
* Optional. The edition of the instance. See Edition for details.
*
* @var string
*/
public $edition;
/**
* Labels are a flexible and lightweight mechanism for organizing cloud
* resources into groups that reflect a customer's organizational needs and
* deployment strategies. They can be used to filter resources and aggregate
* metrics. * Label keys must be between 1 and 63 characters long and must
* conform to the regular expression: `\p{Ll}\p{Lo}{0,62}`. * Label values
* must be between 0 and 63 characters long and must conform to the regular
* expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`. * No more than 64 labels can be
* associated with a given resource. * Keys and values must both be under 128
* bytes.
*
* @var string[]
*/
public $labels;
/**
* The unique name of the instance. Values are of the form
* `projects/{project}/instances/a-z+[a-z0-9]`.
*
* @var string
*/
public $name;
/**
* Output only. Reserved for future use.
*
* @var bool
*/
public $satisfiesPzi;
/**
* Output only. Reserved for future use.
*
* @var bool
*/
public $satisfiesPzs;
/**
* Output only. The current state of the instance.
*
* @var string
*/
public $state;
/**
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example: - "123/environment": "production", -
* "123/costCenter": "marketing" Tags and Labels (above) are both used to bind
* metadata to resources, with different use-cases. See
* https://cloud.google.com/resource-manager/docs/tags/tags-overview for an
* in-depth overview on the difference between tags and labels.
*
* @var string[]
*/
public $tags;
/**
* The type of the instance. Defaults to `PRODUCTION`.
*
* @var string
*/
public $type;
/**
* Output only. A commit timestamp representing when this Instance was
* created. For instances created before this field was added (August 2021),
* this value is `seconds: 0, nanos: 1`.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Required. The descriptive name for this instance as it appears in UIs. Can
* be changed at any time, but should be kept globally unique to avoid
* confusion.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. The edition of the instance. See Edition for details.
*
* Accepted values: EDITION_UNSPECIFIED, ENTERPRISE, ENTERPRISE_PLUS
*
* @param self::EDITION_* $edition
*/
public function setEdition($edition)
{
$this->edition = $edition;
}
/**
* @return self::EDITION_*
*/
public function getEdition()
{
return $this->edition;
}
/**
* Labels are a flexible and lightweight mechanism for organizing cloud
* resources into groups that reflect a customer's organizational needs and
* deployment strategies. They can be used to filter resources and aggregate
* metrics. * Label keys must be between 1 and 63 characters long and must
* conform to the regular expression: `\p{Ll}\p{Lo}{0,62}`. * Label values
* must be between 0 and 63 characters long and must conform to the regular
* expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`. * No more than 64 labels can be
* associated with a given resource. * Keys and values must both be under 128
* bytes.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* The unique name of the instance. Values are of the form
* `projects/{project}/instances/a-z+[a-z0-9]`.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Reserved for future use.
*
* @param bool $satisfiesPzi
*/
public function setSatisfiesPzi($satisfiesPzi)
{
$this->satisfiesPzi = $satisfiesPzi;
}
/**
* @return bool
*/
public function getSatisfiesPzi()
{
return $this->satisfiesPzi;
}
/**
* Output only. Reserved for future use.
*
* @param bool $satisfiesPzs
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* Output only. The current state of the instance.
*
* Accepted values: STATE_NOT_KNOWN, READY, CREATING
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example: - "123/environment": "production", -
* "123/costCenter": "marketing" Tags and Labels (above) are both used to bind
* metadata to resources, with different use-cases. See
* https://cloud.google.com/resource-manager/docs/tags/tags-overview for an
* in-depth overview on the difference between tags and labels.
*
* @param string[] $tags
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* The type of the instance. Defaults to `PRODUCTION`.
*
* Accepted values: TYPE_UNSPECIFIED, PRODUCTION, DEVELOPMENT
*
* @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(Instance::class, 'Google_Service_BigtableAdmin_Instance');
@@ -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\BigtableAdmin;
class Intersection extends \Google\Collection
{
protected $collection_key = 'rules';
protected $rulesType = GcRule::class;
protected $rulesDataType = 'array';
/**
* Only delete cells which would be deleted by every element of `rules`.
*
* @param GcRule[] $rules
*/
public function setRules($rules)
{
$this->rules = $rules;
}
/**
* @return GcRule[]
*/
public function getRules()
{
return $this->rules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Intersection::class, 'Google_Service_BigtableAdmin_Intersection');
@@ -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\BigtableAdmin;
class ListAppProfilesResponse extends \Google\Collection
{
protected $collection_key = 'failedLocations';
protected $appProfilesType = AppProfile::class;
protected $appProfilesDataType = 'array';
/**
* Locations from which AppProfile information could not be retrieved, due to
* an outage or some other transient condition. AppProfiles from these
* locations may be missing from `app_profiles`. Values are of the form
* `projects//locations/`
*
* @var string[]
*/
public $failedLocations;
/**
* Set if not all app profiles could be returned in a single response. Pass
* this value to `page_token` in another request to get the next page of
* results.
*
* @var string
*/
public $nextPageToken;
/**
* The list of requested app profiles.
*
* @param AppProfile[] $appProfiles
*/
public function setAppProfiles($appProfiles)
{
$this->appProfiles = $appProfiles;
}
/**
* @return AppProfile[]
*/
public function getAppProfiles()
{
return $this->appProfiles;
}
/**
* Locations from which AppProfile information could not be retrieved, due to
* an outage or some other transient condition. AppProfiles from these
* locations may be missing from `app_profiles`. Values are of the form
* `projects//locations/`
*
* @param string[] $failedLocations
*/
public function setFailedLocations($failedLocations)
{
$this->failedLocations = $failedLocations;
}
/**
* @return string[]
*/
public function getFailedLocations()
{
return $this->failedLocations;
}
/**
* Set if not all app profiles could be returned in a single response. Pass
* this value to `page_token` in another request to get the next page of
* results.
*
* @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(ListAppProfilesResponse::class, 'Google_Service_BigtableAdmin_ListAppProfilesResponse');
@@ -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\BigtableAdmin;
class ListAuthorizedViewsResponse extends \Google\Collection
{
protected $collection_key = 'authorizedViews';
protected $authorizedViewsType = AuthorizedView::class;
protected $authorizedViewsDataType = 'array';
/**
* Set if not all tables could be returned in a single response. Pass this
* value to `page_token` in another request to get the next page of results.
*
* @var string
*/
public $nextPageToken;
/**
* The AuthorizedViews present in the requested table.
*
* @param AuthorizedView[] $authorizedViews
*/
public function setAuthorizedViews($authorizedViews)
{
$this->authorizedViews = $authorizedViews;
}
/**
* @return AuthorizedView[]
*/
public function getAuthorizedViews()
{
return $this->authorizedViews;
}
/**
* Set if not all tables could be returned in a single response. Pass this
* value to `page_token` in another request to get the next page of results.
*
* @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(ListAuthorizedViewsResponse::class, 'Google_Service_BigtableAdmin_ListAuthorizedViewsResponse');
@@ -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\BigtableAdmin;
class ListBackupsResponse extends \Google\Collection
{
protected $collection_key = 'backups';
protected $backupsType = Backup::class;
protected $backupsDataType = 'array';
/**
* `next_page_token` can be sent in a subsequent ListBackups call to fetch
* more of the matching backups.
*
* @var string
*/
public $nextPageToken;
/**
* The list of matching backups.
*
* @param Backup[] $backups
*/
public function setBackups($backups)
{
$this->backups = $backups;
}
/**
* @return Backup[]
*/
public function getBackups()
{
return $this->backups;
}
/**
* `next_page_token` can be sent in a subsequent ListBackups call to fetch
* more of the matching backups.
*
* @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(ListBackupsResponse::class, 'Google_Service_BigtableAdmin_ListBackupsResponse');
@@ -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\BigtableAdmin;
class ListClustersResponse extends \Google\Collection
{
protected $collection_key = 'failedLocations';
protected $clustersType = Cluster::class;
protected $clustersDataType = 'array';
/**
* Locations from which Cluster information could not be retrieved, due to an
* outage or some other transient condition. Clusters from these locations may
* be missing from `clusters`, or may only have partial information returned.
* Values are of the form `projects//locations/`
*
* @var string[]
*/
public $failedLocations;
/**
* DEPRECATED: This field is unused and ignored.
*
* @deprecated
* @var string
*/
public $nextPageToken;
/**
* The list of requested clusters.
*
* @param Cluster[] $clusters
*/
public function setClusters($clusters)
{
$this->clusters = $clusters;
}
/**
* @return Cluster[]
*/
public function getClusters()
{
return $this->clusters;
}
/**
* Locations from which Cluster information could not be retrieved, due to an
* outage or some other transient condition. Clusters from these locations may
* be missing from `clusters`, or may only have partial information returned.
* Values are of the form `projects//locations/`
*
* @param string[] $failedLocations
*/
public function setFailedLocations($failedLocations)
{
$this->failedLocations = $failedLocations;
}
/**
* @return string[]
*/
public function getFailedLocations()
{
return $this->failedLocations;
}
/**
* DEPRECATED: This field is unused and ignored.
*
* @deprecated
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @deprecated
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListClustersResponse::class, 'Google_Service_BigtableAdmin_ListClustersResponse');
@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BigtableAdmin;
class ListHotTabletsResponse extends \Google\Collection
{
protected $collection_key = 'hotTablets';
protected $hotTabletsType = HotTablet::class;
protected $hotTabletsDataType = 'array';
/**
* Set if not all hot tablets could be returned in a single response. Pass
* this value to `page_token` in another request to get the next page of
* results.
*
* @var string
*/
public $nextPageToken;
/**
* List of hot tablets in the tables of the requested cluster that fall within
* the requested time range. Hot tablets are ordered by node cpu usage
* percent. If there are multiple hot tablets that correspond to the same
* tablet within a 15-minute interval, only the hot tablet with the highest
* node cpu usage will be included in the response.
*
* @param HotTablet[] $hotTablets
*/
public function setHotTablets($hotTablets)
{
$this->hotTablets = $hotTablets;
}
/**
* @return HotTablet[]
*/
public function getHotTablets()
{
return $this->hotTablets;
}
/**
* Set if not all hot tablets could be returned in a single response. Pass
* this value to `page_token` in another request to get the next page of
* results.
*
* @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(ListHotTabletsResponse::class, 'Google_Service_BigtableAdmin_ListHotTabletsResponse');
@@ -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\BigtableAdmin;
class ListInstancesResponse extends \Google\Collection
{
protected $collection_key = 'instances';
/**
* Locations from which Instance information could not be retrieved, due to an
* outage or some other transient condition. Instances whose Clusters are all
* in one of the failed locations may be missing from `instances`, and
* Instances with at least one Cluster in a failed location may only have
* partial information returned. Values are of the form `projects//locations/`
*
* @var string[]
*/
public $failedLocations;
protected $instancesType = Instance::class;
protected $instancesDataType = 'array';
/**
* DEPRECATED: This field is unused and ignored.
*
* @deprecated
* @var string
*/
public $nextPageToken;
/**
* Locations from which Instance information could not be retrieved, due to an
* outage or some other transient condition. Instances whose Clusters are all
* in one of the failed locations may be missing from `instances`, and
* Instances with at least one Cluster in a failed location may only have
* partial information returned. Values are of the form `projects//locations/`
*
* @param string[] $failedLocations
*/
public function setFailedLocations($failedLocations)
{
$this->failedLocations = $failedLocations;
}
/**
* @return string[]
*/
public function getFailedLocations()
{
return $this->failedLocations;
}
/**
* The list of requested instances.
*
* @param Instance[] $instances
*/
public function setInstances($instances)
{
$this->instances = $instances;
}
/**
* @return Instance[]
*/
public function getInstances()
{
return $this->instances;
}
/**
* DEPRECATED: This field is unused and ignored.
*
* @deprecated
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @deprecated
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListInstancesResponse::class, 'Google_Service_BigtableAdmin_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\BigtableAdmin;
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_BigtableAdmin_ListLocationsResponse');

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