Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Oct 6, 2023
1 parent 7bc2cbb commit a622918
Show file tree
Hide file tree
Showing 108 changed files with 76 additions and 68,387 deletions.
65 changes: 64 additions & 1 deletion google/cloud/bigtable_admin_v2/types/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class AutoscalingTargets(proto.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; otherwise it will return
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.
Expand Down Expand Up @@ -419,8 +419,43 @@ class AppProfile(proto.Message):
Use a single-cluster routing policy.
This field is a member of `oneof`_ ``routing_policy``.
priority (google.cloud.bigtable_admin_v2.types.AppProfile.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.
This field is a member of `oneof`_ ``isolation``.
standard_isolation (google.cloud.bigtable_admin_v2.types.AppProfile.StandardIsolation):
The standard options used for isolating this
app profile's traffic from other use cases.
This field is a member of `oneof`_ ``isolation``.
"""

class Priority(proto.Enum):
r"""Possible priorities for an app profile. Note that higher
priority writes can sometimes queue behind lower priority writes
to the same tablet, as writes must be strictly sequenced in the
durability log.
Values:
PRIORITY_UNSPECIFIED (0):
Default value. Mapped to PRIORITY_HIGH (the legacy behavior)
on creation.
PRIORITY_LOW (1):
No description available.
PRIORITY_MEDIUM (2):
No description available.
PRIORITY_HIGH (3):
No description available.
"""
PRIORITY_UNSPECIFIED = 0
PRIORITY_LOW = 1
PRIORITY_MEDIUM = 2
PRIORITY_HIGH = 3

class MultiClusterRoutingUseAny(proto.Message):
r"""Read/write requests are routed to the nearest cluster in the
instance, and will fail over to the nearest cluster that is
Expand Down Expand Up @@ -466,6 +501,22 @@ class SingleClusterRouting(proto.Message):
number=2,
)

class StandardIsolation(proto.Message):
r"""Standard options for isolating this app profile's traffic
from other use cases.
Attributes:
priority (google.cloud.bigtable_admin_v2.types.AppProfile.Priority):
The priority of requests sent using this app
profile.
"""

priority: "AppProfile.Priority" = proto.Field(
proto.ENUM,
number=1,
enum="AppProfile.Priority",
)

name: str = proto.Field(
proto.STRING,
number=1,
Expand All @@ -490,6 +541,18 @@ class SingleClusterRouting(proto.Message):
oneof="routing_policy",
message=SingleClusterRouting,
)
priority: Priority = proto.Field(
proto.ENUM,
number=7,
oneof="isolation",
enum=Priority,
)
standard_isolation: StandardIsolation = proto.Field(
proto.MESSAGE,
number=11,
oneof="isolation",
message=StandardIsolation,
)


class HotTablet(proto.Message):
Expand Down
13 changes: 0 additions & 13 deletions owl-bot-staging/bigtable/v2/.coveragerc

This file was deleted.

33 changes: 0 additions & 33 deletions owl-bot-staging/bigtable/v2/.flake8

This file was deleted.

2 changes: 0 additions & 2 deletions owl-bot-staging/bigtable/v2/MANIFEST.in

This file was deleted.

49 changes: 0 additions & 49 deletions owl-bot-staging/bigtable/v2/README.rst

This file was deleted.

3 changes: 0 additions & 3 deletions owl-bot-staging/bigtable/v2/docs/_static/custom.css

This file was deleted.

6 changes: 0 additions & 6 deletions owl-bot-staging/bigtable/v2/docs/bigtable_v2/bigtable.rst

This file was deleted.

6 changes: 0 additions & 6 deletions owl-bot-staging/bigtable/v2/docs/bigtable_v2/services.rst

This file was deleted.

6 changes: 0 additions & 6 deletions owl-bot-staging/bigtable/v2/docs/bigtable_v2/types.rst

This file was deleted.

Loading

0 comments on commit a622918

Please sign in to comment.