# Path: google/cloud/orchestration/airflow/service_v1/types/environments.py
# class CreateEnvironmentRequest(proto.Message):
# class GetEnvironmentRequest(proto.Message):
# class ListEnvironmentsRequest(proto.Message):
# class ListEnvironmentsResponse(proto.Message):
# class DeleteEnvironmentRequest(proto.Message):
# class UpdateEnvironmentRequest(proto.Message):
# class EnvironmentConfig(proto.Message):
# class WebServerNetworkAccessControl(proto.Message):
#     class AllowedIpRange(proto.Message):
# class DatabaseConfig(proto.Message):
# class WebServerConfig(proto.Message):
# class EncryptionConfig(proto.Message):
# class SoftwareConfig(proto.Message):
# class IPAllocationPolicy(proto.Message):
# class NodeConfig(proto.Message):
# class PrivateClusterConfig(proto.Message):
# class PrivateEnvironmentConfig(proto.Message):
# class Environment(proto.Message):
#     class State(proto.Enum):
# class CheckUpgradeResponse(proto.Message):
#     class ConflictResult(proto.Enum):
#     def raw_page(self):
#         STATE_UNSPECIFIED = 0
#         CREATING = 1
#         RUNNING = 2
#         UPDATING = 3
#         DELETING = 4
#         ERROR = 5
#         CONFLICT_RESULT_UNSPECIFIED = 0
#         CONFLICT = 1
#         NO_CONFLICT = 2


import abc
import pkg_resources
import google.auth  # type: ignore
import google.api_core
from typing import Awaitable, Callable, Dict, Optional, Sequence, Union
from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
from google.api_core import retry as retries
from google.api_core import operations_v1
from google.auth import credentials as ga_credentials  # type: ignore
from google.oauth2 import service_account  # type: ignore
from google.cloud.orchestration.airflow.service_v1.types import environments
from google.longrunning import operations_pb2  # type: ignore
# -*- coding: utf-8 -*-
# Copyright 2022 Google LLC
#
# 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.
#



try:
    DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
        gapic_version=pkg_resources.get_distribution(
            "google-cloud-orchestration-airflow",
        ).version,
    )

# Path: google/cloud/orchestration/airflow/service_v1/types/environments.py
# class CreateEnvironmentRequest(proto.Message):
# class GetEnvironmentRequest(proto.Message):
# class ListEnvironmentsRequest(proto.Message):
# class ListEnvironmentsResponse(proto.Message):
# class DeleteEnvironmentRequest(proto.Message):
# class UpdateEnvironmentRequest(proto.Message):
# class EnvironmentConfig(proto.Message):
# class WebServerNetworkAccessControl(proto.Message):
#     class AllowedIpRange(proto.Message):
# class DatabaseConfig(proto.Message):
# class WebServerConfig(proto.Message):
# class EncryptionConfig(proto.Message):
# class SoftwareConfig(proto.Message):
# class IPAllocationPolicy(proto.Message):
# class NodeConfig(proto.Message):
# class PrivateClusterConfig(proto.Message):
# class PrivateEnvironmentConfig(proto.Message):
# class Environment(proto.Message):
#     class State(proto.Enum):
# class CheckUpgradeResponse(proto.Message):
#     class ConflictResult(proto.Enum):
#     def raw_page(self):
#         STATE_UNSPECIFIED = 0
#         CREATING = 1
#         RUNNING = 2
#         UPDATING = 3
#         DELETING = 4
#         ERROR = 5
#         CONFLICT_RESULT_UNSPECIFIED = 0
#         CONFLICT = 1
#         NO_CONFLICT = 2


# Path: google/cloud/orchestration/airflow/service_v1/services/environments/transports/base.py
import abc
import pkg_resources
import google.auth  # type: ignore
import google.api_core
from typing import Awaitable, Callable, Dict, Optional, Sequence, Union
from google.api_core import exceptions as core_exceptions
from google.api_core import gapic_v1
from google.api_core import retry as retries
from google.api_core import operations_v1
from google.auth import credentials as ga_credentials  # type: ignore
from google.oauth2 import service_account  # type: ignore
from google.cloud.orchestration.airflow.service_v1.types import environments
from google.longrunning import operations_pb2  # type: ignore

# -*- coding: utf-8 -*-
# Copyright 2022 Google LLC
#
# 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.
#



try:
    DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
        gapic_version=pkg_resources.get_distribution(
            "google-cloud-orchestration-airflow",
        ).version,
    )

except pkg_resources.DistributionNotFound: