# Path: google/cloud/asset_v1p1beta1/types/assets.py
# class StandardResourceMetadata(proto.Message):
# class IamPolicySearchResult(proto.Message):
#     class Explanation(proto.Message):
# class Permissions(proto.Message):


import proto  # type: ignore
from google.cloud.asset_v1p1beta1.types import assets
            response. The values of all other method parameters must be
            identical to those in the previous call.
    """

    scope = proto.Field(proto.STRING, number=1,)
    query = proto.Field(proto.STRING, number=2,)
    page_size = proto.Field(proto.INT32, number=3,)
    page_token = proto.Field(proto.STRING, number=4,)


class SearchAllIamPoliciesResponse(proto.Message):
    r"""Search all IAM policies response.

    Attributes:
        results (Sequence[google.cloud.asset_v1p1beta1.types.IamPolicySearchResult]):
            A list of IamPolicy that match the search
            query. Related information such as the
            associated resource is returned along with the
            policy.
        next_page_token (str):
            Set if there are more results than those appearing in this
            response; to get the next set of results, call this method
            again, using this value as the ``page_token``.
    """

    @property
    def raw_page(self):
        return self

    results = proto.RepeatedField(

# Path: google/cloud/asset_v1p1beta1/types/assets.py
# class StandardResourceMetadata(proto.Message):
# class IamPolicySearchResult(proto.Message):
#     class Explanation(proto.Message):
# class Permissions(proto.Message):


# Path: google/cloud/asset_v1p1beta1/types/asset_service.py
import proto  # type: ignore
from google.cloud.asset_v1p1beta1.types import assets

            response. The values of all other method parameters must be
            identical to those in the previous call.
    """

    scope = proto.Field(proto.STRING, number=1,)
    query = proto.Field(proto.STRING, number=2,)
    page_size = proto.Field(proto.INT32, number=3,)
    page_token = proto.Field(proto.STRING, number=4,)


class SearchAllIamPoliciesResponse(proto.Message):
    r"""Search all IAM policies response.

    Attributes:
        results (Sequence[google.cloud.asset_v1p1beta1.types.IamPolicySearchResult]):
            A list of IamPolicy that match the search
            query. Related information such as the
            associated resource is returned along with the
            policy.
        next_page_token (str):
            Set if there are more results than those appearing in this
            response; to get the next set of results, call this method
            again, using this value as the ``page_token``.
    """

    @property
    def raw_page(self):
        return self

    results = proto.RepeatedField(

        proto.MESSAGE, number=1, message=assets.IamPolicySearchResult,