Tag holds a merge-preview or the existing merged state (if the workspace ID is “”) of a tag.
Field Name | Type | Description |
---|---|---|
key | TagKey | key identifies a tag. |
creator_type | CreatorType | creator_type is the creator type of the tag. |
TagAssignment holds a merge-preview or the existing merged state (if the workspace ID is “”) of an assignment between a tag and a network element.
Field Name | Type | Description |
---|---|---|
key | TagAssignmentKey | key identifies an assignment. |
TagAssignmentConfig holds a configuration for an assignment between a tag and a network element.
Field Name | Type | Description |
---|---|---|
key | TagAssignmentKey | key identifies an assignment. The special workspace ID “" for merged assignments should not be set here. |
remove | google.protobuf.BoolValue | remove indicates whether to remove (true) or add (false, unset) the assignment identified by the key if the encompassing workspace merges. |
TagAssignmentKey uniquely identifies an assignment between a tag and a network element.
Field Name | Type | Description |
---|---|---|
workspace_id | google.protobuf.StringValue | workspace_id is the ID of a workspace. The special ID “" identifies the location where merged assignments reside. |
element_type | ElementType | element_type is the element type of a tag. What should be set per element type: ELEMENT_TYPE_DEVICE: device_id ELEMENT_TYPE_INTERFACE: device_id, interface_id |
label | google.protobuf.StringValue | label is the label of a tag. |
value | google.protobuf.StringValue | value is the value of a tag. |
device_id | google.protobuf.StringValue | device_id identifies a device. |
interface_id | google.protobuf.StringValue | interface_id identifies an interface on a device. |
TagConfig holds a configuration for a user tag.
Field Name | Type | Description |
---|---|---|
key | TagKey | key identifies a tag. The special workspace ID "” for merged tags should not be set here. |
remove | google.protobuf.BoolValue | remove indicates whether to remove (true) or add (false, unset) the tag identified by the key if the encompassing workspace merges. |
TagKey uniquely identifies a tag.
Field Name | Type | Description |
---|---|---|
workspace_id | google.protobuf.StringValue | workspace_id is the ID of a workspace. The special ID “" identifies the location where merged tags reside. |
element_type | ElementType | element_type is the category of network element to which this tag can be assigned. |
label | google.protobuf.StringValue | label is an arbitrary label. |
value | google.protobuf.StringValue | value is an arbitrary value. |
CreatorType enumerates the types of entities that can create a tag.
Name | Number | Description |
---|---|---|
CREATOR_TYPE_UNSPECIFIED | 0 | |
CREATOR_TYPE_SYSTEM | 1 | CREATOR_TYPE_SYSTEM is used for system tags. |
CREATOR_TYPE_USER | 2 | CREATOR_TYPE_USER is used for user tags. |
ElementType enumerates the types of network elements that can be associated with tags.
Name | Number | Description |
---|---|---|
ELEMENT_TYPE_UNSPECIFIED | 0 | |
ELEMENT_TYPE_DEVICE | 1 | ELEMENT_TYPE_DEVICE is used for device tags. |
ELEMENT_TYPE_INTERFACE | 2 | ELEMENT_TYPE_INTERFACE is used for interface tags. |
Field Name | Type | Description |
---|---|---|
key | TagAssignmentKey | Key indicates which TagAssignmentConfig instance to remove. This field must always be set. |
Field Name | Type | Description |
---|---|---|
key | TagAssignmentKey | Key echoes back the key of the deleted TagAssignmentConfig instance. |
time | google.protobuf.Timestamp | Time indicates the (UTC) timestamp at which the system recognizes the deletion. The only guarantees made about this timestamp are: - it is after the time the request was received - a time-ranged query with StartTime==DeletedAt will not include this instance. |
Field Name | Type | Description |
---|---|---|
key | TagAssignmentKey | Key uniquely identifies a TagAssignmentConfig instance to retrieve. This value must be populated. |
time | google.protobuf.Timestamp | Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request. |
Field Name | Type | Description |
---|---|---|
value | TagAssignmentConfig | Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values. |
time | google.protobuf.Timestamp | Time carries the (UTC) timestamp of the last-modification of the TagAssignmentConfig instance in this response. |
Field Name | Type | Description |
---|---|---|
value | TagAssignmentConfig | TagAssignmentConfig carries the value to set into the datastore. See the documentation on the TagAssignmentConfig struct for which fields are required. |
Field Name | Type | Description |
---|---|---|
value | TagAssignmentConfig | Value carries all the values given in the TagAssignmentConfigSetRequest as well as any server-generated values. |
time | google.protobuf.Timestamp | Time indicates the (UTC) timestamp at which the system recognizes the creation. The only guarantees made about this timestamp are: - it is after the time the request was received - a time-ranged query with StartTime==CreatedAt will include this instance. |
Field Name | Type | Description |
---|---|---|
partial_eq_filter | TagAssignmentConfig[…] | PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response. While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific. |
time | arista.time.TimeBounds | TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required. This field is not allowed in the Subscribe RPC. |
Field Name | Type | Description |
---|---|---|
value | TagAssignmentConfig | Value is a value deemed relevant to the initiating request. This structure will always have its key-field populated. Which other fields are populated, and why, depends on the value of Operation and what triggered this notification. |
time | google.protobuf.Timestamp | Time holds the timestamp of this TagAssignmentConfig’s last modification. |
type | arista.subscriptions.Operation | Operation indicates how the TagAssignmentConfig value in this response should be considered. Under non-subscribe requests, this value should always be INITIAL. In a subscription, once all initial data is streamed and the client begins to receive modification updates, you should not see INITIAL again. |
Field Name | Type | Description |
---|---|---|
key | TagAssignmentKey | Key uniquely identifies a TagAssignment instance to retrieve. This value must be populated. |
time | google.protobuf.Timestamp | Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request. |
Field Name | Type | Description |
---|---|---|
value | TagAssignment | Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values. |
time | google.protobuf.Timestamp | Time carries the (UTC) timestamp of the last-modification of the TagAssignment instance in this response. |
Field Name | Type | Description |
---|---|---|
partial_eq_filter | TagAssignment[…] | PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response. While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific. |
time | arista.time.TimeBounds | TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required. This field is not allowed in the Subscribe RPC. |
Field Name | Type | Description |
---|---|---|
value | TagAssignment | Value is a value deemed relevant to the initiating request. This structure will always have its key-field populated. Which other fields are populated, and why, depends on the value of Operation and what triggered this notification. |
time | google.protobuf.Timestamp | Time holds the timestamp of this TagAssignment’s last modification. |
type | arista.subscriptions.Operation | Operation indicates how the TagAssignment value in this response should be considered. Under non-subscribe requests, this value should always be INITIAL. In a subscription, once all initial data is streamed and the client begins to receive modification updates, you should not see INITIAL again. |
Field Name | Type | Description |
---|---|---|
key | TagKey | Key indicates which TagConfig instance to remove. This field must always be set. |
Field Name | Type | Description |
---|---|---|
key | TagKey | Key echoes back the key of the deleted TagConfig instance. |
time | google.protobuf.Timestamp | Time indicates the (UTC) timestamp at which the system recognizes the deletion. The only guarantees made about this timestamp are: - it is after the time the request was received - a time-ranged query with StartTime==DeletedAt will not include this instance. |
Field Name | Type | Description |
---|---|---|
key | TagKey | Key uniquely identifies a TagConfig instance to retrieve. This value must be populated. |
time | google.protobuf.Timestamp | Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request. |
Field Name | Type | Description |
---|---|---|
value | TagConfig | Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values. |
time | google.protobuf.Timestamp | Time carries the (UTC) timestamp of the last-modification of the TagConfig instance in this response. |
Field Name | Type | Description |
---|---|---|
value | TagConfig | TagConfig carries the value to set into the datastore. See the documentation on the TagConfig struct for which fields are required. |
Field Name | Type | Description |
---|---|---|
value | TagConfig | Value carries all the values given in the TagConfigSetRequest as well as any server-generated values. |
time | google.protobuf.Timestamp | Time indicates the (UTC) timestamp at which the system recognizes the creation. The only guarantees made about this timestamp are: - it is after the time the request was received - a time-ranged query with StartTime==CreatedAt will include this instance. |
Field Name | Type | Description |
---|---|---|
partial_eq_filter | TagConfig[…] | PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response. While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific. |
time | arista.time.TimeBounds | TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required. This field is not allowed in the Subscribe RPC. |
Field Name | Type | Description |
---|---|---|
value | TagConfig | Value is a value deemed relevant to the initiating request. This structure will always have its key-field populated. Which other fields are populated, and why, depends on the value of Operation and what triggered this notification. |
time | google.protobuf.Timestamp | Time holds the timestamp of this TagConfig’s last modification. |
type | arista.subscriptions.Operation | Operation indicates how the TagConfig value in this response should be considered. Under non-subscribe requests, this value should always be INITIAL. In a subscription, once all initial data is streamed and the client begins to receive modification updates, you should not see INITIAL again. |
Field Name | Type | Description |
---|---|---|
key | TagKey | Key uniquely identifies a Tag instance to retrieve. This value must be populated. |
time | google.protobuf.Timestamp | Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request. |
Field Name | Type | Description |
---|---|---|
value | Tag | Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values. |
time | google.protobuf.Timestamp | Time carries the (UTC) timestamp of the last-modification of the Tag instance in this response. |
Field Name | Type | Description |
---|---|---|
partial_eq_filter | Tag[…] | PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response. While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific. |
time | arista.time.TimeBounds | TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required. This field is not allowed in the Subscribe RPC. |
Field Name | Type | Description |
---|---|---|
value | Tag | Value is a value deemed relevant to the initiating request. This structure will always have its key-field populated. Which other fields are populated, and why, depends on the value of Operation and what triggered this notification. |
time | google.protobuf.Timestamp | Time holds the timestamp of this Tag’s last modification. |
type | arista.subscriptions.Operation | Operation indicates how the Tag value in this response should be considered. Under non-subscribe requests, this value should always be INITIAL. In a subscription, once all initial data is streamed and the client begins to receive modification updates, you should not see INITIAL again. |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
GetOne | TagAssignmentConfigRequest | TagAssignmentConfigResponse | |
GetAll | TagAssignmentConfigStreamRequest | TagAssignmentConfigStreamResponse stream | |
Subscribe | TagAssignmentConfigStreamRequest | TagAssignmentConfigStreamResponse stream | |
Set | TagAssignmentConfigSetRequest | TagAssignmentConfigSetResponse | |
Delete | TagAssignmentConfigDeleteRequest | TagAssignmentConfigDeleteResponse |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
GetOne | TagAssignmentRequest | TagAssignmentResponse | |
GetAll | TagAssignmentStreamRequest | TagAssignmentStreamResponse stream | |
Subscribe | TagAssignmentStreamRequest | TagAssignmentStreamResponse stream |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
GetOne | TagConfigRequest | TagConfigResponse | |
GetAll | TagConfigStreamRequest | TagConfigStreamResponse stream | |
Subscribe | TagConfigStreamRequest | TagConfigStreamResponse stream | |
Set | TagConfigSetRequest | TagConfigSetResponse | |
Delete | TagConfigDeleteRequest | TagConfigDeleteResponse |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
GetOne | TagRequest | TagResponse | |
GetAll | TagStreamRequest | TagStreamResponse stream | |
Subscribe | TagStreamRequest | TagStreamResponse stream |