# Path: google/cloud/orchestration/airflow/service_v1beta1/types/image_versions.py
# class ListImageVersionsRequest(proto.Message):
# class ListImageVersionsResponse(proto.Message):
# class ImageVersion(proto.Message):
#     def raw_page(self):


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.auth import credentials as ga_credentials  # type: ignore
from google.oauth2 import service_account  # type: ignore
from google.cloud.orchestration.airflow.service_v1beta1.types import image_versions
        ):
            credentials = credentials.with_always_use_jwt_access(True)

        # Save the credentials.
        self._credentials = credentials

    def _prep_wrapped_messages(self, client_info):
        # Precompute the wrapped methods.
        self._wrapped_methods = {
            self.list_image_versions: gapic_v1.method.wrap_method(
                self.list_image_versions, default_timeout=None, client_info=client_info,
            ),
        }

    def close(self):
        """Closes resources associated with the transport.

       .. warning::
            Only call this method if the transport is NOT shared
            with other clients - this may cause errors in other clients!
        """
        raise NotImplementedError()

    @property
    def list_image_versions(
        self,
    ) -> Callable[
        [image_versions.ListImageVersionsRequest],
        Union[
            image_versions.ListImageVersionsResponse,

# Path: google/cloud/orchestration/airflow/service_v1beta1/types/image_versions.py
# class ListImageVersionsRequest(proto.Message):
# class ListImageVersionsResponse(proto.Message):
# class ImageVersion(proto.Message):
#     def raw_page(self):


# Path: google/cloud/orchestration/airflow/service_v1beta1/services/image_versions/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.auth import credentials as ga_credentials  # type: ignore
from google.oauth2 import service_account  # type: ignore
from google.cloud.orchestration.airflow.service_v1beta1.types import image_versions

        ):
            credentials = credentials.with_always_use_jwt_access(True)

        # Save the credentials.
        self._credentials = credentials

    def _prep_wrapped_messages(self, client_info):
        # Precompute the wrapped methods.
        self._wrapped_methods = {
            self.list_image_versions: gapic_v1.method.wrap_method(
                self.list_image_versions, default_timeout=None, client_info=client_info,
            ),
        }

    def close(self):
        """Closes resources associated with the transport.

       .. warning::
            Only call this method if the transport is NOT shared
            with other clients - this may cause errors in other clients!
        """
        raise NotImplementedError()

    @property
    def list_image_versions(
        self,
    ) -> Callable[
        [image_versions.ListImageVersionsRequest],
        Union[
            image_versions.ListImageVersionsResponse,

            Awaitable[image_versions.ListImageVersionsResponse],