From 668b03025f01493b9c0bcd1366558f0dfd31291a Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 6 Oct 2023 11:48:24 -0700 Subject: [PATCH] feat: Add support for Cloud Bigtable Request Priorities in App Profiles (#6682) PiperOrigin-RevId: 571158646 Source-Link: https://github.com/googleapis/googleapis/commit/bc3c83b41b1589cca21f713a500f179ef86a7e18 Source-Link: https://github.com/googleapis/googleapis-gen/commit/93366e84e4e6861e2e580eb000721d99bf54a0a4 Copy-Tag: eyJwIjoiQmlndGFibGUvLk93bEJvdC55YW1sIiwiaCI6IjkzMzY2ZTg0ZTRlNjg2MWUyZTU4MGViMDAwNzIxZDk5YmY1NGEwYTQifQ== --- Bigtable/metadata/Admin/V2/Instance.php | Bin 3969 -> 4321 bytes Bigtable/src/Admin/V2/AppProfile.php | 89 ++++++++++++++++++ Bigtable/src/Admin/V2/AppProfile/Priority.php | 67 +++++++++++++ .../Admin/V2/AppProfile/StandardIsolation.php | 71 ++++++++++++++ Bigtable/src/Admin/V2/AutoscalingTargets.php | 8 +- Bigtable/src/Admin/V2/Cluster.php | 16 ++-- .../src/Admin/V2/CreateAppProfileRequest.php | 45 ++++----- .../src/Admin/V2/CreateClusterRequest.php | 45 ++++----- .../src/Admin/V2/CreateInstanceRequest.php | 40 ++++---- .../src/Admin/V2/DeleteAppProfileRequest.php | 15 ++- .../src/Admin/V2/DeleteClusterRequest.php | 20 ++-- .../BigtableInstanceAdminGapicClient.php | 68 ++++++------- .../src/Admin/V2/GetAppProfileRequest.php | 20 ++-- Bigtable/src/Admin/V2/HotTablet.php | 32 +++---- Bigtable/src/Admin/V2/Instance.php | 24 ++--- .../src/Admin/V2/ListAppProfilesRequest.php | 20 ++-- Bigtable/src/Admin/V2/ListClustersRequest.php | 45 +++++---- .../src/Admin/V2/ListInstancesRequest.php | 20 ++-- .../Admin/V2/PartialUpdateClusterRequest.php | 20 ++-- 19 files changed, 446 insertions(+), 219 deletions(-) create mode 100644 Bigtable/src/Admin/V2/AppProfile/Priority.php create mode 100644 Bigtable/src/Admin/V2/AppProfile/StandardIsolation.php diff --git a/Bigtable/metadata/Admin/V2/Instance.php b/Bigtable/metadata/Admin/V2/Instance.php index 7d4fa2b478446f027d2d9e6a807823a10890a1fc..0a3f9c79aa42510524ce47675f623def8faf1da6 100644 GIT binary patch delta 294 zcmZpaf2g?O6cf`i>CI=Ds@R!cux<9>VrCQ(a^>PED9X$)$}FjrU{_$&;4{*lEWoX* z695%-Vv=C=U=#}B5-Ki9%u7iuN{P=b&d*6K$;{7_;09{oHZlWhP!od6dcq_<7$LS1( zB*4W3m+|or7hn_;=HiEo_`14yhWZLH2?=uX!Ua7%-8}@DC!ghR;dSEX;)MHUb0Cia FGXS+mQ}h4; delta 36 scmaE;*eJi@6cf`kiOpx2s@R!2ST=ibF*8nn!QC`jfwyJzMqUGE0Q-Opr~m)} diff --git a/Bigtable/src/Admin/V2/AppProfile.php b/Bigtable/src/Admin/V2/AppProfile.php index 4c9fcc1d52a6..645c6ac2a02d 100644 --- a/Bigtable/src/Admin/V2/AppProfile.php +++ b/Bigtable/src/Admin/V2/AppProfile.php @@ -43,6 +43,7 @@ class AppProfile extends \Google\Protobuf\Internal\Message */ private $description = ''; protected $routing_policy; + protected $isolation; /** * Constructor. @@ -68,6 +69,13 @@ class AppProfile extends \Google\Protobuf\Internal\Message * Use a multi-cluster routing policy. * @type \Google\Cloud\Bigtable\Admin\V2\AppProfile\SingleClusterRouting $single_cluster_routing * Use a single-cluster routing policy. + * @type int $priority + * 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. + * @type \Google\Cloud\Bigtable\Admin\V2\AppProfile\StandardIsolation $standard_isolation + * The standard options used for isolating this app profile's traffic from + * other use cases. * } */ public function __construct($data = NULL) { @@ -231,6 +239,79 @@ public function setSingleClusterRouting($var) return $this; } + /** + * 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. + * + * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true]; + * @return int + * @deprecated + */ + public function getPriority() + { + @trigger_error('priority is deprecated.', E_USER_DEPRECATED); + return $this->readOneof(7); + } + + public function hasPriority() + { + @trigger_error('priority is deprecated.', E_USER_DEPRECATED); + return $this->hasOneof(7); + } + + /** + * 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. + * + * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true]; + * @param int $var + * @return $this + * @deprecated + */ + public function setPriority($var) + { + @trigger_error('priority is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\AppProfile\Priority::class); + $this->writeOneof(7, $var); + + return $this; + } + + /** + * The standard options used for isolating this app profile's traffic from + * other use cases. + * + * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11; + * @return \Google\Cloud\Bigtable\Admin\V2\AppProfile\StandardIsolation|null + */ + public function getStandardIsolation() + { + return $this->readOneof(11); + } + + public function hasStandardIsolation() + { + return $this->hasOneof(11); + } + + /** + * The standard options used for isolating this app profile's traffic from + * other use cases. + * + * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11; + * @param \Google\Cloud\Bigtable\Admin\V2\AppProfile\StandardIsolation $var + * @return $this + */ + public function setStandardIsolation($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\AppProfile\StandardIsolation::class); + $this->writeOneof(11, $var); + + return $this; + } + /** * @return string */ @@ -239,5 +320,13 @@ public function getRoutingPolicy() return $this->whichOneof("routing_policy"); } + /** + * @return string + */ + public function getIsolation() + { + return $this->whichOneof("isolation"); + } + } diff --git a/Bigtable/src/Admin/V2/AppProfile/Priority.php b/Bigtable/src/Admin/V2/AppProfile/Priority.php new file mode 100644 index 000000000000..df376e17c64e --- /dev/null +++ b/Bigtable/src/Admin/V2/AppProfile/Priority.php @@ -0,0 +1,67 @@ +google.bigtable.admin.v2.AppProfile.Priority + */ +class Priority +{ + /** + * Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation. + * + * Generated from protobuf enum PRIORITY_UNSPECIFIED = 0; + */ + const PRIORITY_UNSPECIFIED = 0; + /** + * Generated from protobuf enum PRIORITY_LOW = 1; + */ + const PRIORITY_LOW = 1; + /** + * Generated from protobuf enum PRIORITY_MEDIUM = 2; + */ + const PRIORITY_MEDIUM = 2; + /** + * Generated from protobuf enum PRIORITY_HIGH = 3; + */ + const PRIORITY_HIGH = 3; + + private static $valueToName = [ + self::PRIORITY_UNSPECIFIED => 'PRIORITY_UNSPECIFIED', + self::PRIORITY_LOW => 'PRIORITY_LOW', + self::PRIORITY_MEDIUM => 'PRIORITY_MEDIUM', + self::PRIORITY_HIGH => 'PRIORITY_HIGH', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Priority::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_Priority::class); + diff --git a/Bigtable/src/Admin/V2/AppProfile/StandardIsolation.php b/Bigtable/src/Admin/V2/AppProfile/StandardIsolation.php new file mode 100644 index 000000000000..42e7b0d4dbb5 --- /dev/null +++ b/Bigtable/src/Admin/V2/AppProfile/StandardIsolation.php @@ -0,0 +1,71 @@ +google.bigtable.admin.v2.AppProfile.StandardIsolation + */ +class StandardIsolation extends \Google\Protobuf\Internal\Message +{ + /** + * The priority of requests sent using this app profile. + * + * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.Priority priority = 1; + */ + private $priority = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $priority + * The priority of requests sent using this app profile. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Bigtable\Admin\V2\Instance::initOnce(); + parent::__construct($data); + } + + /** + * The priority of requests sent using this app profile. + * + * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.Priority priority = 1; + * @return int + */ + public function getPriority() + { + return $this->priority; + } + + /** + * The priority of requests sent using this app profile. + * + * Generated from protobuf field .google.bigtable.admin.v2.AppProfile.Priority priority = 1; + * @param int $var + * @return $this + */ + public function setPriority($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\AppProfile\Priority::class); + $this->priority = $var; + + return $this; + } + +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(StandardIsolation::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_StandardIsolation::class); + diff --git a/Bigtable/src/Admin/V2/AutoscalingTargets.php b/Bigtable/src/Admin/V2/AutoscalingTargets.php index 1772596d015c..7faa6668dd66 100644 --- a/Bigtable/src/Admin/V2/AutoscalingTargets.php +++ b/Bigtable/src/Admin/V2/AutoscalingTargets.php @@ -27,7 +27,7 @@ class AutoscalingTargets extends \Google\Protobuf\Internal\Message /** * 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; + * 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. @@ -50,7 +50,7 @@ class AutoscalingTargets extends \Google\Protobuf\Internal\Message * @type int $storage_utilization_gib_per_node * 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; + * 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. @@ -96,7 +96,7 @@ public function setCpuUtilizationPercent($var) /** * 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; + * 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. @@ -112,7 +112,7 @@ public function getStorageUtilizationGibPerNode() /** * 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; + * 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. diff --git a/Bigtable/src/Admin/V2/Cluster.php b/Bigtable/src/Admin/V2/Cluster.php index 48f9f80a2826..21ebc80ddbdf 100644 --- a/Bigtable/src/Admin/V2/Cluster.php +++ b/Bigtable/src/Admin/V2/Cluster.php @@ -25,8 +25,8 @@ class Cluster extends \Google\Protobuf\Internal\Message */ private $name = ''; /** - * Immutable. The location where this cluster's nodes and storage reside. For best - * performance, clients should be located as close as possible to this + * 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}`. * @@ -71,8 +71,8 @@ class Cluster extends \Google\Protobuf\Internal\Message * The unique name of the cluster. Values are of the form * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`. * @type string $location - * Immutable. The location where this cluster's nodes and storage reside. For best - * performance, clients should be located as close as possible to this + * 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}`. * @type int $state @@ -123,8 +123,8 @@ public function setName($var) } /** - * Immutable. The location where this cluster's nodes and storage reside. For best - * performance, clients should be located as close as possible to this + * 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}`. * @@ -137,8 +137,8 @@ public function getLocation() } /** - * Immutable. The location where this cluster's nodes and storage reside. For best - * performance, clients should be located as close as possible to this + * 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}`. * diff --git a/Bigtable/src/Admin/V2/CreateAppProfileRequest.php b/Bigtable/src/Admin/V2/CreateAppProfileRequest.php index 4b19e43ba658..3495b4a6bced 100644 --- a/Bigtable/src/Admin/V2/CreateAppProfileRequest.php +++ b/Bigtable/src/Admin/V2/CreateAppProfileRequest.php @@ -16,16 +16,15 @@ class CreateAppProfileRequest extends \Google\Protobuf\Internal\Message { /** - * Required. The unique name of the instance in which to create the new app profile. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new app + * profile. Values are of the form `projects/{project}/instances/{instance}`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $parent = ''; /** - * Required. The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. * * Generated from protobuf field string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -46,12 +45,11 @@ class CreateAppProfileRequest extends \Google\Protobuf\Internal\Message private $ignore_warnings = false; /** - * @param string $parent Required. The unique name of the instance in which to create the new app profile. - * Values are of the form - * `projects/{project}/instances/{instance}`. Please see + * @param string $parent Required. The unique name of the instance in which to create the new app + * profile. Values are of the form `projects/{project}/instances/{instance}`. Please see * {@see BigtableInstanceAdminClient::instanceName()} for help formatting this field. - * @param string $appProfileId Required. The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * @param string $appProfileId Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. * @param \Google\Cloud\Bigtable\Admin\V2\AppProfile $appProfile Required. The app profile to be created. * Fields marked `OutputOnly` will be ignored. @@ -75,12 +73,11 @@ public static function build(string $parent, string $appProfileId, \Google\Cloud * Optional. Data for populating the Message object. * * @type string $parent - * Required. The unique name of the instance in which to create the new app profile. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new app + * profile. Values are of the form `projects/{project}/instances/{instance}`. * @type string $app_profile_id - * Required. The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. * @type \Google\Cloud\Bigtable\Admin\V2\AppProfile $app_profile * Required. The app profile to be created. @@ -95,9 +92,8 @@ public function __construct($data = NULL) { } /** - * Required. The unique name of the instance in which to create the new app profile. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new app + * profile. Values are of the form `projects/{project}/instances/{instance}`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -108,9 +104,8 @@ public function getParent() } /** - * Required. The unique name of the instance in which to create the new app profile. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new app + * profile. Values are of the form `projects/{project}/instances/{instance}`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var @@ -125,8 +120,8 @@ public function setParent($var) } /** - * Required. The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. * * Generated from protobuf field string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -138,8 +133,8 @@ public function getAppProfileId() } /** - * Required. The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. * * Generated from protobuf field string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/Bigtable/src/Admin/V2/CreateClusterRequest.php b/Bigtable/src/Admin/V2/CreateClusterRequest.php index 02d9f012ded6..7f851c492e46 100644 --- a/Bigtable/src/Admin/V2/CreateClusterRequest.php +++ b/Bigtable/src/Admin/V2/CreateClusterRequest.php @@ -16,16 +16,15 @@ class CreateClusterRequest extends \Google\Protobuf\Internal\Message { /** - * Required. The unique name of the instance in which to create the new cluster. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new + * cluster. Values are of the form `projects/{project}/instances/{instance}`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $parent = ''; /** - * Required. The ID to be used when referring to the new cluster within its instance, - * e.g., just `mycluster` rather than + * 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`. * * Generated from protobuf field string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -40,12 +39,11 @@ class CreateClusterRequest extends \Google\Protobuf\Internal\Message private $cluster = null; /** - * @param string $parent Required. The unique name of the instance in which to create the new cluster. - * Values are of the form - * `projects/{project}/instances/{instance}`. Please see + * @param string $parent Required. The unique name of the instance in which to create the new + * cluster. Values are of the form `projects/{project}/instances/{instance}`. Please see * {@see BigtableInstanceAdminClient::instanceName()} for help formatting this field. - * @param string $clusterId Required. The ID to be used when referring to the new cluster within its instance, - * e.g., just `mycluster` rather than + * @param string $clusterId 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 \Google\Cloud\Bigtable\Admin\V2\Cluster $cluster Required. The cluster to be created. * Fields marked `OutputOnly` must be left blank. @@ -69,12 +67,11 @@ public static function build(string $parent, string $clusterId, \Google\Cloud\Bi * Optional. Data for populating the Message object. * * @type string $parent - * Required. The unique name of the instance in which to create the new cluster. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new + * cluster. Values are of the form `projects/{project}/instances/{instance}`. * @type string $cluster_id - * Required. The ID to be used when referring to the new cluster within its instance, - * e.g., just `mycluster` rather than + * 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`. * @type \Google\Cloud\Bigtable\Admin\V2\Cluster $cluster * Required. The cluster to be created. @@ -87,9 +84,8 @@ public function __construct($data = NULL) { } /** - * Required. The unique name of the instance in which to create the new cluster. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new + * cluster. Values are of the form `projects/{project}/instances/{instance}`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -100,9 +96,8 @@ public function getParent() } /** - * Required. The unique name of the instance in which to create the new cluster. - * Values are of the form - * `projects/{project}/instances/{instance}`. + * Required. The unique name of the instance in which to create the new + * cluster. Values are of the form `projects/{project}/instances/{instance}`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var @@ -117,8 +112,8 @@ public function setParent($var) } /** - * Required. The ID to be used when referring to the new cluster within its instance, - * e.g., just `mycluster` rather than + * 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`. * * Generated from protobuf field string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -130,8 +125,8 @@ public function getClusterId() } /** - * Required. The ID to be used when referring to the new cluster within its instance, - * e.g., just `mycluster` rather than + * 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`. * * Generated from protobuf field string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/Bigtable/src/Admin/V2/CreateInstanceRequest.php b/Bigtable/src/Admin/V2/CreateInstanceRequest.php index 4c526c27deff..5649c4eed16f 100644 --- a/Bigtable/src/Admin/V2/CreateInstanceRequest.php +++ b/Bigtable/src/Admin/V2/CreateInstanceRequest.php @@ -16,15 +16,15 @@ class CreateInstanceRequest extends \Google\Protobuf\Internal\Message { /** - * Required. The unique name of the project in which to create the new instance. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project in which to create the new + * instance. Values are of the form `projects/{project}`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $parent = ''; /** - * Required. The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than + * 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`. * * Generated from protobuf field string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -49,11 +49,11 @@ class CreateInstanceRequest extends \Google\Protobuf\Internal\Message private $clusters; /** - * @param string $parent Required. The unique name of the project in which to create the new instance. - * Values are of the form `projects/{project}`. Please see + * @param string $parent Required. The unique name of the project in which to create the new + * instance. Values are of the form `projects/{project}`. Please see * {@see BigtableInstanceAdminClient::projectName()} for help formatting this field. - * @param string $instanceId Required. The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than + * @param string $instanceId 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 \Google\Cloud\Bigtable\Admin\V2\Instance $instance Required. The instance to create. * Fields marked `OutputOnly` must be left blank. @@ -83,11 +83,11 @@ public static function build(string $parent, string $instanceId, \Google\Cloud\B * Optional. Data for populating the Message object. * * @type string $parent - * Required. The unique name of the project in which to create the new instance. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project in which to create the new + * instance. Values are of the form `projects/{project}`. * @type string $instance_id - * Required. The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than + * 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`. * @type \Google\Cloud\Bigtable\Admin\V2\Instance $instance * Required. The instance to create. @@ -106,8 +106,8 @@ public function __construct($data = NULL) { } /** - * Required. The unique name of the project in which to create the new instance. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project in which to create the new + * instance. Values are of the form `projects/{project}`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -118,8 +118,8 @@ public function getParent() } /** - * Required. The unique name of the project in which to create the new instance. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project in which to create the new + * instance. Values are of the form `projects/{project}`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var @@ -134,8 +134,8 @@ public function setParent($var) } /** - * Required. The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than + * 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`. * * Generated from protobuf field string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -147,8 +147,8 @@ public function getInstanceId() } /** - * Required. The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than + * 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`. * * Generated from protobuf field string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/Bigtable/src/Admin/V2/DeleteAppProfileRequest.php b/Bigtable/src/Admin/V2/DeleteAppProfileRequest.php index 6d19b576f881..4122b01fc891 100644 --- a/Bigtable/src/Admin/V2/DeleteAppProfileRequest.php +++ b/Bigtable/src/Admin/V2/DeleteAppProfileRequest.php @@ -16,7 +16,8 @@ class DeleteAppProfileRequest extends \Google\Protobuf\Internal\Message { /** - * Required. The unique name of the app profile to be deleted. Values are of the form + * Required. The unique name of the app profile to be deleted. Values are of + * the form * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -30,7 +31,8 @@ class DeleteAppProfileRequest extends \Google\Protobuf\Internal\Message private $ignore_warnings = false; /** - * @param string $name Required. The unique name of the app profile to be deleted. Values are of the form + * @param string $name Required. The unique name of the app profile to be deleted. Values are of + * the form * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. Please see * {@see BigtableInstanceAdminClient::appProfileName()} for help formatting this field. * @@ -51,7 +53,8 @@ public static function build(string $name): self * Optional. Data for populating the Message object. * * @type string $name - * Required. The unique name of the app profile to be deleted. Values are of the form + * Required. The unique name of the app profile to be deleted. Values are of + * the form * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. * @type bool $ignore_warnings * Required. If true, ignore safety checks when deleting the app profile. @@ -63,7 +66,8 @@ public function __construct($data = NULL) { } /** - * Required. The unique name of the app profile to be deleted. Values are of the form + * Required. The unique name of the app profile to be deleted. Values are of + * the form * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -75,7 +79,8 @@ public function getName() } /** - * Required. The unique name of the app profile to be deleted. Values are of the form + * Required. The unique name of the app profile to be deleted. Values are of + * the form * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { diff --git a/Bigtable/src/Admin/V2/DeleteClusterRequest.php b/Bigtable/src/Admin/V2/DeleteClusterRequest.php index 54aa06180071..7f83bd0b9c61 100644 --- a/Bigtable/src/Admin/V2/DeleteClusterRequest.php +++ b/Bigtable/src/Admin/V2/DeleteClusterRequest.php @@ -16,16 +16,16 @@ class DeleteClusterRequest extends \Google\Protobuf\Internal\Message { /** - * Required. The unique name of the cluster to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * Required. The unique name of the cluster to be deleted. Values are of the + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; /** - * @param string $name Required. The unique name of the cluster to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. Please see + * @param string $name Required. The unique name of the cluster to be deleted. Values are of the + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. Please see * {@see BigtableInstanceAdminClient::clusterName()} for help formatting this field. * * @return \Google\Cloud\Bigtable\Admin\V2\DeleteClusterRequest @@ -45,8 +45,8 @@ public static function build(string $name): self * Optional. Data for populating the Message object. * * @type string $name - * Required. The unique name of the cluster to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * Required. The unique name of the cluster to be deleted. Values are of the + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. * } */ public function __construct($data = NULL) { @@ -55,8 +55,8 @@ public function __construct($data = NULL) { } /** - * Required. The unique name of the cluster to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * Required. The unique name of the cluster to be deleted. Values are of the + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -67,8 +67,8 @@ public function getName() } /** - * Required. The unique name of the cluster to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * Required. The unique name of the cluster to be deleted. Values are of the + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Bigtable/src/Admin/V2/Gapic/BigtableInstanceAdminGapicClient.php b/Bigtable/src/Admin/V2/Gapic/BigtableInstanceAdminGapicClient.php index 63bca441d831..2a88c3530bea 100644 --- a/Bigtable/src/Admin/V2/Gapic/BigtableInstanceAdminGapicClient.php +++ b/Bigtable/src/Admin/V2/Gapic/BigtableInstanceAdminGapicClient.php @@ -494,11 +494,10 @@ public function __construct(array $options = []) * } * ``` * - * @param string $parent Required. The unique name of the instance in which to create the new app profile. - * Values are of the form - * `projects/{project}/instances/{instance}`. - * @param string $appProfileId Required. The ID to be used when referring to the new app profile within its - * instance, e.g., just `myprofile` rather than + * @param string $parent Required. The unique name of the instance in which to create the new app + * profile. Values are of the form `projects/{project}/instances/{instance}`. + * @param string $appProfileId Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. * @param AppProfile $appProfile Required. The app profile to be created. * Fields marked `OutputOnly` will be ignored. @@ -581,11 +580,10 @@ public function createAppProfile($parent, $appProfileId, $appProfile, array $opt * } * ``` * - * @param string $parent 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 $clusterId Required. The ID to be used when referring to the new cluster within its instance, - * e.g., just `mycluster` rather than + * @param string $parent 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 $clusterId 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 Cluster $cluster Required. The cluster to be created. * Fields marked `OutputOnly` must be left blank. @@ -663,10 +661,10 @@ public function createCluster($parent, $clusterId, $cluster, array $optionalArgs * } * ``` * - * @param string $parent Required. The unique name of the project in which to create the new instance. - * Values are of the form `projects/{project}`. - * @param string $instanceId Required. The ID to be used when referring to the new instance within its project, - * e.g., just `myinstance` rather than + * @param string $parent Required. The unique name of the project in which to create the new + * instance. Values are of the form `projects/{project}`. + * @param string $instanceId 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 Instance $instance Required. The instance to create. * Fields marked `OutputOnly` must be left blank. @@ -717,7 +715,8 @@ public function createInstance($parent, $instanceId, $instance, $clusters, array * } * ``` * - * @param string $name Required. The unique name of the app profile to be deleted. Values are of the form + * @param string $name Required. The unique name of the app profile to be deleted. Values are of + * the form * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. * @param bool $ignoreWarnings Required. If true, ignore safety checks when deleting the app profile. * @param array $optionalArgs { @@ -757,8 +756,8 @@ public function deleteAppProfile($name, $ignoreWarnings, array $optionalArgs = [ * } * ``` * - * @param string $name Required. The unique name of the cluster to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param string $name Required. The unique name of the cluster to be deleted. Values are of the + * form `projects/{project}/instances/{instance}/clusters/{cluster}`. * @param array $optionalArgs { * Optional. * @@ -833,8 +832,8 @@ public function deleteInstance($name, array $optionalArgs = []) * } * ``` * - * @param string $name Required. The unique name of the requested app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * @param string $name Required. The unique name of the requested app profile. Values are of the + * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. * @param array $optionalArgs { * Optional. * @@ -1013,8 +1012,8 @@ public function getInstance($name, array $optionalArgs = []) * } * ``` * - * @param string $parent Required. The unique name of the instance for which a list of app profiles is - * requested. Values are of the form + * @param string $parent Required. The unique name of the instance for which a list of app profiles + * is requested. Values are of the form * `projects/{project}/instances/{instance}`. * Use `{instance} = '-'` to list AppProfiles for all Instances in a project, * e.g., `projects/myproject/instances/-`. @@ -1073,10 +1072,11 @@ public function listAppProfiles($parent, array $optionalArgs = []) * } * ``` * - * @param string $parent Required. The unique name of the instance for which a list of clusters is requested. - * Values are of the form `projects/{project}/instances/{instance}`. - * Use `{instance} = '-'` to list Clusters for all Instances in a project, - * e.g., `projects/myproject/instances/-`. + * @param string $parent Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form + * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + * Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. * @param array $optionalArgs { * Optional. * @@ -1209,8 +1209,8 @@ public function listHotTablets($parent, array $optionalArgs = []) * } * ``` * - * @param string $parent Required. The unique name of the project for which a list of instances is requested. - * Values are of the form `projects/{project}`. + * @param string $parent Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. * @param array $optionalArgs { * Optional. * @@ -1292,8 +1292,8 @@ public function listInstances($parent, array $optionalArgs = []) * } * ``` * - * @param Cluster $cluster Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * @param Cluster $cluster Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. * @param FieldMask $updateMask Required. The subset of Cluster fields which should be replaced. * @param array $optionalArgs { * Optional. @@ -1618,8 +1618,8 @@ public function updateAppProfile($appProfile, $updateMask, array $optionalArgs = * Optional. * * @type string $location - * Immutable. The location where this cluster's nodes and storage reside. For best - * performance, clients should be located as close as possible to this + * 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}`. * @type int $state @@ -1720,9 +1720,9 @@ public function updateCluster($name, $serveNodes, array $optionalArgs = []) * The current state of the instance. * For allowed values, use constants defined on {@see \Google\Cloud\Bigtable\Admin\V2\Instance\State} * @type Timestamp $createTime - * Output only. A server-assigned timestamp representing when this Instance was created. - * For instances created before this field was added (August 2021), this value - * is `seconds: 0, nanos: 1`. + * Output only. A server-assigned timestamp representing when this Instance + * was created. For instances created before this field was added (August + * 2021), this value is `seconds: 0, nanos: 1`. * @type bool $satisfiesPzs * Output only. Reserved for future use. * @type RetrySettings|array $retrySettings diff --git a/Bigtable/src/Admin/V2/GetAppProfileRequest.php b/Bigtable/src/Admin/V2/GetAppProfileRequest.php index f3b4ead92ce9..de9af9eb1acd 100644 --- a/Bigtable/src/Admin/V2/GetAppProfileRequest.php +++ b/Bigtable/src/Admin/V2/GetAppProfileRequest.php @@ -16,16 +16,16 @@ class GetAppProfileRequest extends \Google\Protobuf\Internal\Message { /** - * Required. The unique name of the requested app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * Required. The unique name of the requested app profile. Values are of the + * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; /** - * @param string $name Required. The unique name of the requested app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. Please see + * @param string $name Required. The unique name of the requested app profile. Values are of the + * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. Please see * {@see BigtableInstanceAdminClient::appProfileName()} for help formatting this field. * * @return \Google\Cloud\Bigtable\Admin\V2\GetAppProfileRequest @@ -45,8 +45,8 @@ public static function build(string $name): self * Optional. Data for populating the Message object. * * @type string $name - * Required. The unique name of the requested app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * Required. The unique name of the requested app profile. Values are of the + * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. * } */ public function __construct($data = NULL) { @@ -55,8 +55,8 @@ public function __construct($data = NULL) { } /** - * Required. The unique name of the requested app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * Required. The unique name of the requested app profile. Values are of the + * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -67,8 +67,8 @@ public function getName() } /** - * Required. The unique name of the requested app profile. Values are of the form - * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * Required. The unique name of the requested app profile. Values are of the + * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Bigtable/src/Admin/V2/HotTablet.php b/Bigtable/src/Admin/V2/HotTablet.php index e3e13a3a8ab2..fed0f7cc296c 100644 --- a/Bigtable/src/Admin/V2/HotTablet.php +++ b/Bigtable/src/Admin/V2/HotTablet.php @@ -58,10 +58,10 @@ class HotTablet extends \Google\Protobuf\Internal\Message */ private $end_key = ''; /** - * 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). + * 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). * * Generated from protobuf field float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -88,10 +88,10 @@ class HotTablet extends \Google\Protobuf\Internal\Message * @type string $end_key * Tablet End Key (inclusive). * @type float $node_cpu_usage_percent - * 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). + * 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). * } */ public function __construct($data = NULL) { @@ -280,10 +280,10 @@ public function setEndKey($var) } /** - * 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). + * 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). * * Generated from protobuf field float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return float @@ -294,10 +294,10 @@ public function getNodeCpuUsagePercent() } /** - * 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). + * 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). * * Generated from protobuf field float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param float $var diff --git a/Bigtable/src/Admin/V2/Instance.php b/Bigtable/src/Admin/V2/Instance.php index 1427584e47a6..ba69bf7c6cf6 100644 --- a/Bigtable/src/Admin/V2/Instance.php +++ b/Bigtable/src/Admin/V2/Instance.php @@ -62,9 +62,9 @@ class Instance extends \Google\Protobuf\Internal\Message */ private $labels; /** - * Output only. A server-assigned timestamp representing when this Instance was created. - * For instances created before this field was added (August 2021), this value - * is `seconds: 0, nanos: 1`. + * Output only. A server-assigned timestamp representing when this Instance + * was created. For instances created before this field was added (August + * 2021), this value is `seconds: 0, nanos: 1`. * * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -106,9 +106,9 @@ class Instance extends \Google\Protobuf\Internal\Message * * No more than 64 labels can be associated with a given resource. * * Keys and values must both be under 128 bytes. * @type \Google\Protobuf\Timestamp $create_time - * Output only. A server-assigned timestamp representing when this Instance was created. - * For instances created before this field was added (August 2021), this value - * is `seconds: 0, nanos: 1`. + * Output only. A server-assigned timestamp representing when this Instance + * was created. For instances created before this field was added (August + * 2021), this value is `seconds: 0, nanos: 1`. * @type bool $satisfies_pzs * Output only. Reserved for future use. * } @@ -275,9 +275,9 @@ public function setLabels($var) } /** - * Output only. A server-assigned timestamp representing when this Instance was created. - * For instances created before this field was added (August 2021), this value - * is `seconds: 0, nanos: 1`. + * Output only. A server-assigned timestamp representing when this Instance + * was created. For instances created before this field was added (August + * 2021), this value is `seconds: 0, nanos: 1`. * * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp|null @@ -298,9 +298,9 @@ public function clearCreateTime() } /** - * Output only. A server-assigned timestamp representing when this Instance was created. - * For instances created before this field was added (August 2021), this value - * is `seconds: 0, nanos: 1`. + * Output only. A server-assigned timestamp representing when this Instance + * was created. For instances created before this field was added (August + * 2021), this value is `seconds: 0, nanos: 1`. * * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var diff --git a/Bigtable/src/Admin/V2/ListAppProfilesRequest.php b/Bigtable/src/Admin/V2/ListAppProfilesRequest.php index aa5346ff4497..24de37843fbf 100644 --- a/Bigtable/src/Admin/V2/ListAppProfilesRequest.php +++ b/Bigtable/src/Admin/V2/ListAppProfilesRequest.php @@ -16,8 +16,8 @@ class ListAppProfilesRequest extends \Google\Protobuf\Internal\Message { /** - * Required. The unique name of the instance for which a list of app profiles is - * requested. Values are of the form + * Required. The unique name of the instance for which a list of app profiles + * is requested. Values are of the form * `projects/{project}/instances/{instance}`. * Use `{instance} = '-'` to list AppProfiles for all Instances in a project, * e.g., `projects/myproject/instances/-`. @@ -45,8 +45,8 @@ class ListAppProfilesRequest extends \Google\Protobuf\Internal\Message private $page_token = ''; /** - * @param string $parent Required. The unique name of the instance for which a list of app profiles is - * requested. Values are of the form + * @param string $parent Required. The unique name of the instance for which a list of app profiles + * is requested. Values are of the form * `projects/{project}/instances/{instance}`. * Use `{instance} = '-'` to list AppProfiles for all Instances in a project, * e.g., `projects/myproject/instances/-`. Please see @@ -69,8 +69,8 @@ public static function build(string $parent): self * Optional. Data for populating the Message object. * * @type string $parent - * Required. The unique name of the instance for which a list of app profiles is - * requested. Values are of the form + * Required. The unique name of the instance for which a list of app profiles + * is requested. Values are of the form * `projects/{project}/instances/{instance}`. * Use `{instance} = '-'` to list AppProfiles for all Instances in a project, * e.g., `projects/myproject/instances/-`. @@ -92,8 +92,8 @@ public function __construct($data = NULL) { } /** - * Required. The unique name of the instance for which a list of app profiles is - * requested. Values are of the form + * Required. The unique name of the instance for which a list of app profiles + * is requested. Values are of the form * `projects/{project}/instances/{instance}`. * Use `{instance} = '-'` to list AppProfiles for all Instances in a project, * e.g., `projects/myproject/instances/-`. @@ -107,8 +107,8 @@ public function getParent() } /** - * Required. The unique name of the instance for which a list of app profiles is - * requested. Values are of the form + * Required. The unique name of the instance for which a list of app profiles + * is requested. Values are of the form * `projects/{project}/instances/{instance}`. * Use `{instance} = '-'` to list AppProfiles for all Instances in a project, * e.g., `projects/myproject/instances/-`. diff --git a/Bigtable/src/Admin/V2/ListClustersRequest.php b/Bigtable/src/Admin/V2/ListClustersRequest.php index a84b55c0c9e4..8376ed2de6bb 100644 --- a/Bigtable/src/Admin/V2/ListClustersRequest.php +++ b/Bigtable/src/Admin/V2/ListClustersRequest.php @@ -16,10 +16,11 @@ class ListClustersRequest extends \Google\Protobuf\Internal\Message { /** - * Required. The unique name of the instance for which a list of clusters is requested. - * Values are of the form `projects/{project}/instances/{instance}`. - * Use `{instance} = '-'` to list Clusters for all Instances in a project, - * e.g., `projects/myproject/instances/-`. + * Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form + * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + * Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -32,10 +33,11 @@ class ListClustersRequest extends \Google\Protobuf\Internal\Message private $page_token = ''; /** - * @param string $parent Required. The unique name of the instance for which a list of clusters is requested. - * Values are of the form `projects/{project}/instances/{instance}`. - * Use `{instance} = '-'` to list Clusters for all Instances in a project, - * e.g., `projects/myproject/instances/-`. Please see + * @param string $parent Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form + * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + * Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. Please see * {@see BigtableInstanceAdminClient::instanceName()} for help formatting this field. * * @return \Google\Cloud\Bigtable\Admin\V2\ListClustersRequest @@ -55,10 +57,11 @@ public static function build(string $parent): self * Optional. Data for populating the Message object. * * @type string $parent - * Required. The unique name of the instance for which a list of clusters is requested. - * Values are of the form `projects/{project}/instances/{instance}`. - * Use `{instance} = '-'` to list Clusters for all Instances in a project, - * e.g., `projects/myproject/instances/-`. + * Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form + * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + * Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. * @type string $page_token * DEPRECATED: This field is unused and ignored. * } @@ -69,10 +72,11 @@ public function __construct($data = NULL) { } /** - * Required. The unique name of the instance for which a list of clusters is requested. - * Values are of the form `projects/{project}/instances/{instance}`. - * Use `{instance} = '-'` to list Clusters for all Instances in a project, - * e.g., `projects/myproject/instances/-`. + * Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form + * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + * Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -83,10 +87,11 @@ public function getParent() } /** - * Required. The unique name of the instance for which a list of clusters is requested. - * Values are of the form `projects/{project}/instances/{instance}`. - * Use `{instance} = '-'` to list Clusters for all Instances in a project, - * e.g., `projects/myproject/instances/-`. + * Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form + * `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + * Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Bigtable/src/Admin/V2/ListInstancesRequest.php b/Bigtable/src/Admin/V2/ListInstancesRequest.php index b65aff330037..e87c9af9c131 100644 --- a/Bigtable/src/Admin/V2/ListInstancesRequest.php +++ b/Bigtable/src/Admin/V2/ListInstancesRequest.php @@ -16,8 +16,8 @@ class ListInstancesRequest extends \Google\Protobuf\Internal\Message { /** - * Required. The unique name of the project for which a list of instances is requested. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -30,8 +30,8 @@ class ListInstancesRequest extends \Google\Protobuf\Internal\Message private $page_token = ''; /** - * @param string $parent Required. The unique name of the project for which a list of instances is requested. - * Values are of the form `projects/{project}`. Please see + * @param string $parent Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. Please see * {@see BigtableInstanceAdminClient::projectName()} for help formatting this field. * * @return \Google\Cloud\Bigtable\Admin\V2\ListInstancesRequest @@ -51,8 +51,8 @@ public static function build(string $parent): self * Optional. Data for populating the Message object. * * @type string $parent - * Required. The unique name of the project for which a list of instances is requested. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. * @type string $page_token * DEPRECATED: This field is unused and ignored. * } @@ -63,8 +63,8 @@ public function __construct($data = NULL) { } /** - * Required. The unique name of the project for which a list of instances is requested. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -75,8 +75,8 @@ public function getParent() } /** - * Required. The unique name of the project for which a list of instances is requested. - * Values are of the form `projects/{project}`. + * Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Bigtable/src/Admin/V2/PartialUpdateClusterRequest.php b/Bigtable/src/Admin/V2/PartialUpdateClusterRequest.php index 7c0d70d10db4..d9d6c1483e99 100644 --- a/Bigtable/src/Admin/V2/PartialUpdateClusterRequest.php +++ b/Bigtable/src/Admin/V2/PartialUpdateClusterRequest.php @@ -16,8 +16,8 @@ class PartialUpdateClusterRequest extends \Google\Protobuf\Internal\Message { /** - * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. * * Generated from protobuf field .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ @@ -30,8 +30,8 @@ class PartialUpdateClusterRequest extends \Google\Protobuf\Internal\Message private $update_mask = null; /** - * @param \Google\Cloud\Bigtable\Admin\V2\Cluster $cluster Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * @param \Google\Cloud\Bigtable\Admin\V2\Cluster $cluster Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. * @param \Google\Protobuf\FieldMask $updateMask Required. The subset of Cluster fields which should be replaced. * * @return \Google\Cloud\Bigtable\Admin\V2\PartialUpdateClusterRequest @@ -52,8 +52,8 @@ public static function build(\Google\Cloud\Bigtable\Admin\V2\Cluster $cluster, \ * Optional. Data for populating the Message object. * * @type \Google\Cloud\Bigtable\Admin\V2\Cluster $cluster - * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. * @type \Google\Protobuf\FieldMask $update_mask * Required. The subset of Cluster fields which should be replaced. * } @@ -64,8 +64,8 @@ public function __construct($data = NULL) { } /** - * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. * * Generated from protobuf field .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\Bigtable\Admin\V2\Cluster|null @@ -86,8 +86,8 @@ public function clearCluster() } /** - * Required. The Cluster which contains the partial updates to be applied, subject to - * the update_mask. + * Required. The Cluster which contains the partial updates to be applied, + * subject to the update_mask. * * Generated from protobuf field .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\Bigtable\Admin\V2\Cluster $var