Skip to content

Commit

Permalink
update/tag: add assigned field to Tag
Browse files Browse the repository at this point in the history
Adding an assigned field to Tag so clients can receive Tag assigned information through the Tag service.

[GENERATED_COMMIT]

Change-Id: I34cc03ea07249bea3c5e866a2aa6f4945d479ca3
  • Loading branch information
Arista-Jenkins authored and carriehujy committed Feb 13, 2025
1 parent a996874 commit 471d39a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 17 deletions.
30 changes: 15 additions & 15 deletions arista/tag/v2/tag_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions arista/tag/v2/tag_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -225,20 +225,28 @@ class Tag(google.protobuf.message.Message):

KEY_FIELD_NUMBER: builtins.int
CREATOR_TYPE_FIELD_NUMBER: builtins.int
ASSIGNED_FIELD_NUMBER: builtins.int
creator_type: global___CreatorType.ValueType
"""creator_type is the creator type of the tag."""
@property
def key(self) -> global___TagKey:
"""key identifies a tag."""

@property
def assigned(self) -> google.protobuf.wrappers_pb2.BoolValue:
"""assigned indicates whether the tag is assigned
(true) or not (false).
"""

def __init__(
self,
*,
key: global___TagKey | None = ...,
creator_type: global___CreatorType.ValueType = ...,
assigned: google.protobuf.wrappers_pb2.BoolValue | None = ...,
) -> None: ...
def HasField(self, field_name: typing.Literal["key", b"key"]) -> builtins.bool: ...
def ClearField(self, field_name: typing.Literal["creator_type", b"creator_type", "key", b"key"]) -> None: ...
def HasField(self, field_name: typing.Literal["assigned", b"assigned", "key", b"key"]) -> builtins.bool: ...
def ClearField(self, field_name: typing.Literal["assigned", b"assigned", "creator_type", b"creator_type", "key", b"key"]) -> None: ...

global___Tag = Tag

Expand Down

0 comments on commit 471d39a

Please sign in to comment.