# -*- coding: utf-8 -*-
# Copyright 2023 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.
#
from __future__ import annotations

from typing import MutableMapping, MutableSequence

import proto  # type: ignore

__protobuf__ = proto.module(
    package="google.cloud.securitycenter.v1",
    manifest={
        "Label",
    },
)


class Label(proto.Message):
    r"""Represents a generic name-value label. A label has separate name and
    value fields to support filtering with the ``contains()`` function.
    For more information, see `Filtering on array-type
    fields <https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering>`__.

    Attributes:
        name (str):
            Name of the label.
        value (str):
            Value that corresponds to the label's name.
    """

    name: str = proto.Field(
        proto.STRING,
        number=1,
    )
    value: str = proto.Field(
        proto.STRING,
        number=2,
    )


__all__ = tuple(sorted(__protobuf__.manifest))

cf98f63b4f90a589bf420a5aeff2b42e228a7786
<mask token>


class Label(proto.Message):
    <mask token>
    name: str = proto.Field(proto.STRING, number=1)
    value: str = proto.Field(proto.STRING, number=2)


<mask token>

<mask token>


class Label(proto.Message):
    """Represents a generic name-value label. A label has separate name and
    value fields to support filtering with the ``contains()`` function.
    For more information, see `Filtering on array-type
    fields <https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering>`__.

    Attributes:
        name (str):
            Name of the label.
        value (str):
            Value that corresponds to the label's name.
    """
    name: str = proto.Field(proto.STRING, number=1)
    value: str = proto.Field(proto.STRING, number=2)


<mask token>

<mask token>
__protobuf__ = proto.module(package='google.cloud.securitycenter.v1',
    manifest={'Label'})


class Label(proto.Message):
    """Represents a generic name-value label. A label has separate name and
    value fields to support filtering with the ``contains()`` function.
    For more information, see `Filtering on array-type
    fields <https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering>`__.

    Attributes:
        name (str):
            Name of the label.
        value (str):
            Value that corresponds to the label's name.
    """
    name: str = proto.Field(proto.STRING, number=1)
    value: str = proto.Field(proto.STRING, number=2)


__all__ = tuple(sorted(__protobuf__.manifest))

from __future__ import annotations
from typing import MutableMapping, MutableSequence
import proto
__protobuf__ = proto.module(package='google.cloud.securitycenter.v1',
    manifest={'Label'})


class Label(proto.Message):
    """Represents a generic name-value label. A label has separate name and
    value fields to support filtering with the ``contains()`` function.
    For more information, see `Filtering on array-type
    fields <https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering>`__.

    Attributes:
        name (str):
            Name of the label.
        value (str):
            Value that corresponds to the label's name.
    """
    name: str = proto.Field(proto.STRING, number=1)
    value: str = proto.Field(proto.STRING, number=2)


__all__ = tuple(sorted(__protobuf__.manifest))

# -*- coding: utf-8 -*-
# Copyright 2023 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.
#
from __future__ import annotations

from typing import MutableMapping, MutableSequence

import proto  # type: ignore

__protobuf__ = proto.module(
    package="google.cloud.securitycenter.v1",
    manifest={
        "Label",
    },
)


class Label(proto.Message):
    r"""Represents a generic name-value label. A label has separate name and
    value fields to support filtering with the ``contains()`` function.
    For more information, see `Filtering on array-type
    fields <https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering>`__.

    Attributes:
        name (str):
            Name of the label.
        value (str):
            Value that corresponds to the label's name.
    """

    name: str = proto.Field(
        proto.STRING,
        number=1,
    )
    value: str = proto.Field(
        proto.STRING,
        number=2,
    )


__all__ = tuple(sorted(__protobuf__.manifest))
