# Path: google/cloud/orgpolicy_v2/types/orgpolicy.py
# class Policy(proto.Message):
# class AlternatePolicySpec(proto.Message):
# class PolicySpec(proto.Message):
#     class PolicyRule(proto.Message):
#         class StringValues(proto.Message):
# class ListConstraintsRequest(proto.Message):
# class ListConstraintsResponse(proto.Message):
# class ListPoliciesRequest(proto.Message):
# class ListPoliciesResponse(proto.Message):
# class GetPolicyRequest(proto.Message):
# class GetEffectivePolicyRequest(proto.Message):
# class CreatePolicyRequest(proto.Message):
# class UpdatePolicyRequest(proto.Message):
# class DeletePolicyRequest(proto.Message):
#     def raw_page(self):
#     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.orgpolicy_v2.types import orgpolicy
from google.protobuf import empty_pb2  # type: ignore
            self.delete_policy: gapic_v1.method.wrap_method(
                self.delete_policy,
                default_retry=retries.Retry(
                    initial=1.0,
                    maximum=10.0,
                    multiplier=1.3,
                    predicate=retries.if_exception_type(
                        core_exceptions.DeadlineExceeded,
                        core_exceptions.ServiceUnavailable,
                    ),
                    deadline=60.0,
                ),
                default_timeout=60.0,
                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_constraints(
        self,
    ) -> Callable[

# Path: google/cloud/orgpolicy_v2/types/orgpolicy.py
# class Policy(proto.Message):
# class AlternatePolicySpec(proto.Message):
# class PolicySpec(proto.Message):
#     class PolicyRule(proto.Message):
#         class StringValues(proto.Message):
# class ListConstraintsRequest(proto.Message):
# class ListConstraintsResponse(proto.Message):
# class ListPoliciesRequest(proto.Message):
# class ListPoliciesResponse(proto.Message):
# class GetPolicyRequest(proto.Message):
# class GetEffectivePolicyRequest(proto.Message):
# class CreatePolicyRequest(proto.Message):
# class UpdatePolicyRequest(proto.Message):
# class DeletePolicyRequest(proto.Message):
#     def raw_page(self):
#     def raw_page(self):


# Path: google/cloud/orgpolicy_v2/services/org_policy/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.orgpolicy_v2.types import orgpolicy
from google.protobuf import empty_pb2  # type: ignore

            self.delete_policy: gapic_v1.method.wrap_method(
                self.delete_policy,
                default_retry=retries.Retry(
                    initial=1.0,
                    maximum=10.0,
                    multiplier=1.3,
                    predicate=retries.if_exception_type(
                        core_exceptions.DeadlineExceeded,
                        core_exceptions.ServiceUnavailable,
                    ),
                    deadline=60.0,
                ),
                default_timeout=60.0,
                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_constraints(
        self,
    ) -> Callable[

        [orgpolicy.ListConstraintsRequest],