@@ -173,7 +173,7 @@ class AutoscalingTargets(proto.Message):
173173 The storage utilization that the Autoscaler should be trying
174174 to achieve. This number is limited between 2560 (2.5TiB) and
175175 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and
176- 16384 (16TiB) for an HDD cluster; otherwise it will return
176+ 16384 (16TiB) for an HDD cluster, otherwise it will return
177177 INVALID_ARGUMENT error. If this value is set to 0, it will
178178 be treated as if it were set to the default value: 2560 for
179179 SSD, 8192 for HDD.
@@ -419,8 +419,43 @@ class AppProfile(proto.Message):
419419 Use a single-cluster routing policy.
420420
421421 This field is a member of `oneof`_ ``routing_policy``.
422+ priority (google.cloud.bigtable_admin_v2.types.AppProfile.Priority):
423+ This field has been deprecated in favor of
424+ ``standard_isolation.priority``. If you set this field,
425+ ``standard_isolation.priority`` will be set instead.
426+
427+ The priority of requests sent using this app profile.
428+
429+ This field is a member of `oneof`_ ``isolation``.
430+ standard_isolation (google.cloud.bigtable_admin_v2.types.AppProfile.StandardIsolation):
431+ The standard options used for isolating this
432+ app profile's traffic from other use cases.
433+
434+ This field is a member of `oneof`_ ``isolation``.
422435 """
423436
437+ class Priority (proto .Enum ):
438+ r"""Possible priorities for an app profile. Note that higher
439+ priority writes can sometimes queue behind lower priority writes
440+ to the same tablet, as writes must be strictly sequenced in the
441+ durability log.
442+
443+ Values:
444+ PRIORITY_UNSPECIFIED (0):
445+ Default value. Mapped to PRIORITY_HIGH (the legacy behavior)
446+ on creation.
447+ PRIORITY_LOW (1):
448+ No description available.
449+ PRIORITY_MEDIUM (2):
450+ No description available.
451+ PRIORITY_HIGH (3):
452+ No description available.
453+ """
454+ PRIORITY_UNSPECIFIED = 0
455+ PRIORITY_LOW = 1
456+ PRIORITY_MEDIUM = 2
457+ PRIORITY_HIGH = 3
458+
424459 class MultiClusterRoutingUseAny (proto .Message ):
425460 r"""Read/write requests are routed to the nearest cluster in the
426461 instance, and will fail over to the nearest cluster that is
@@ -466,6 +501,22 @@ class SingleClusterRouting(proto.Message):
466501 number = 2 ,
467502 )
468503
504+ class StandardIsolation (proto .Message ):
505+ r"""Standard options for isolating this app profile's traffic
506+ from other use cases.
507+
508+ Attributes:
509+ priority (google.cloud.bigtable_admin_v2.types.AppProfile.Priority):
510+ The priority of requests sent using this app
511+ profile.
512+ """
513+
514+ priority : "AppProfile.Priority" = proto .Field (
515+ proto .ENUM ,
516+ number = 1 ,
517+ enum = "AppProfile.Priority" ,
518+ )
519+
469520 name : str = proto .Field (
470521 proto .STRING ,
471522 number = 1 ,
@@ -490,6 +541,18 @@ class SingleClusterRouting(proto.Message):
490541 oneof = "routing_policy" ,
491542 message = SingleClusterRouting ,
492543 )
544+ priority : Priority = proto .Field (
545+ proto .ENUM ,
546+ number = 7 ,
547+ oneof = "isolation" ,
548+ enum = Priority ,
549+ )
550+ standard_isolation : StandardIsolation = proto .Field (
551+ proto .MESSAGE ,
552+ number = 11 ,
553+ oneof = "isolation" ,
554+ message = StandardIsolation ,
555+ )
493556
494557
495558class HotTablet (proto .Message ):
0 commit comments