Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

from typing import MutableMapping, MutableSequence

from google.protobuf import timestamp_pb2 # type: ignore
import proto # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore

__protobuf__ = proto.module(
package="google.cloud.gkehub.configmanagement.v1",
Expand Down Expand Up @@ -68,6 +68,7 @@ class DeploymentState(proto.Enum):
PENDING (4):
Deployment is installing or terminating
"""

DEPLOYMENT_STATE_UNSPECIFIED = 0
NOT_INSTALLED = 1
INSTALLED = 2
Expand Down Expand Up @@ -174,6 +175,7 @@ class Management(proto.Enum):
User will manually manage the Feature for the
cluster.
"""

MANAGEMENT_UNSPECIFIED = 0
MANAGEMENT_AUTOMATIC = 1
MANAGEMENT_MANUAL = 2
Expand Down Expand Up @@ -629,6 +631,7 @@ class CRDState(proto.Enum):
INSTALLING (4):
CRD is installing
"""

CRD_STATE_UNSPECIFIED = 0
NOT_INSTALLED = 1
INSTALLED = 2
Expand All @@ -651,6 +654,7 @@ class State(proto.Enum):
CONFIG_SYNC_PENDING (4):
CS is installing or terminating.
"""

STATE_UNSPECIFIED = 0
CONFIG_SYNC_NOT_INSTALLED = 1
CONFIG_SYNC_INSTALLED = 2
Expand Down Expand Up @@ -872,6 +876,7 @@ class SyncCode(proto.Enum):
UNREACHABLE (7):
Cluster could not be reached
"""

SYNC_CODE_UNSPECIFIED = 0
SYNCED = 1
PENDING = 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.gkehub_v1 import gapic_version as package_version
import sys

import google.api_core as api_core
import sys

from google.cloud.gkehub_v1 import gapic_version as package_version

__version__ = package_version.__version__

Expand All @@ -28,20 +29,21 @@
import importlib_metadata as metadata


from .types.rbacrolebindingactuation import FeatureSpec
from .types.rbacrolebindingactuation import FeatureState
from .types.rbacrolebindingactuation import FeatureSpec, FeatureState

if hasattr(api_core, "check_python_version") and hasattr(
api_core, "check_dependency_versions"
): # pragma: NO COVER
api_core.check_python_version("google.cloud.gkehub.rbacrolebindingactuation_v1") # type: ignore
api_core.check_dependency_versions("google.cloud.gkehub.rbacrolebindingactuation_v1") # type: ignore
api_core.check_dependency_versions(
"google.cloud.gkehub.rbacrolebindingactuation_v1"
) # type: ignore
else: # pragma: NO COVER
# An older version of api_core is installed which does not define the
# functions above. We do equivalent checks manually.
try:
import warnings
import sys
import warnings

_py_version_str = sys.version.split()[0]
_package_label = "google.cloud.gkehub.rbacrolebindingactuation_v1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

import proto # type: ignore


__protobuf__ = proto.module(
package="google.cloud.gkehub.rbacrolebindingactuation.v1",
manifest={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
import google.protobuf.timestamp_pb2 as timestamp_pb2 # type: ignore
import proto # type: ignore

from google.cloud.gkehub_v1 import configmanagement_v1 # type: ignore
from google.cloud.gkehub_v1 import multiclusteringress_v1 # type: ignore
from google.cloud.gkehub_v1 import rbacrolebindingactuation_v1 # type: ignore
from google.cloud.gkehub_v1 import (
configmanagement_v1, # type: ignore
multiclusteringress_v1, # type: ignore
rbacrolebindingactuation_v1, # type: ignore
)

__protobuf__ = proto.module(
package="google.cloud.gkehub.v1",
Expand Down
Loading