AuthzResult has the result of the authorization check for workspace changes.
Field Name | Type | Description |
---|---|---|
has_unauthorized_tag_change | google.protobuf.BoolValue | has_unauthorized_tag_change is true when there is a tag assignment that results in change in permissions and the subject is not authorized to do it. |
has_unauthorized_device_change | google.protobuf.BoolValue | has_unauthorized_device_change is true when there is atleast 1 device for which the subject doesn’t have provision permission. |
error | google.protobuf.StringValue | error is an error message that is set when either of the above values are true. |
BuildStageState holds the state per build stage.
Field Name | Type | Description |
---|---|---|
values | BuildStageState.ValuesEntry[…] | values is a map from build stage to build state. The possible keys to this map are BUILD_STAGE_UNSPECIFIED, BUILD_STAGE_INPUT_VALIDATION, BUILD_STAGE_CONFIGLET_BUILD, BUILD_STAGE_CONFIG_VALIDATION and BUILD_STAGE_IMAGE_VALIDATION. |
Field Name | Type | Description |
---|---|---|
key | string | |
value | BuildState |
ConfigValidationResult holds the result of a config validation stage.
Field Name | Type | Description |
---|---|---|
summary | arista.configstatus.v1.ConfigSummary | summary is a summary of the changes to the previous config. |
errors | arista.configstatus.v1.ConfigErrors | errors are any errors detected in the generated config. |
warnings | arista.configstatus.v1.ConfigErrors | warnings are any warnings about the generated config. |
config_sources | arista.configstatus.v1.ConfigSources | config_sources identify the entities that generated the config. |
ConfigletBuildResult holds the result of a configlet build stage.
Field Name | Type | Description |
---|---|---|
template_errors | TemplateErrors | template_errors are errors that occured during studio template evaluation. |
generated_config | google.protobuf.StringValue | generated_config is the EOS CLI config that was generated from the stage. |
other_error | google.protobuf.StringValue | other_error is any other miscellaneous error. |
execution_id | google.protobuf.StringValue | execution_id is the unique ID for the execution of the template. This ID can be used to retrieve logs generated by the template. |
input_errors | InputErrors | input_errors are errors in input fields that are raised by the template. |
ConfigletBuildResults is a collection of ConfigletBuildResult (one per studio).
Field Name | Type | Description |
---|---|---|
values | ConfigletBuildResults.ValuesEntry[…] | values is a map from studio ID to ConfigletBuildResult. |
Field Name | Type | Description |
---|---|---|
key | string | |
value | ConfigletBuildResult |
ImageValidationResult holds the result of an image validation stage.
Field Name | Type | Description |
---|---|---|
summary | arista.imagestatus.v1.ImageSummary | summary is a summary of the changes to the previous image. |
errors | arista.imagestatus.v1.ImageErrors | errors are any errors detected in the generated image. |
warnings | arista.imagestatus.v1.ImageWarnings | warnings are any warnings about the generated image. |
image_input_error | google.protobuf.StringValue | image_input_error indicates any errors in image inputs. |
InputError holds the details for an error on a studio input field or value.
Field Name | Type | Description |
---|---|---|
field_id | google.protobuf.StringValue | field_id is the ID of the input field. |
path | fmp.RepeatedString | path is the path leading up to the input field. |
members | fmp.RepeatedString | members are the members of the input field (if it is a group). |
message | google.protobuf.StringValue | message is the error message. |
InputErrors is a list of InputError.
Field Name | Type | Description |
---|---|---|
values | InputError[…] | values is a list of InputError. |
InputValidationResult holds the result of an input validation build stage.
Field Name | Type | Description |
---|---|---|
input_schema_errors | InputErrors | input_schema_errors are errors for fields in the input schema. |
input_value_errors | InputErrors | input_value_errors are errors for values assigned to fields in the input schema. |
other_errors | fmp.RepeatedString | other_errors are other miscellaneous errors. |
InputValidationResults is a collection of InputValidationResult (one per studio).
Field Name | Type | Description |
---|---|---|
values | InputValidationResults.ValuesEntry[…] | values is map from studio ID to InputValidationResult. |
Field Name | Type | Description |
---|---|---|
key | string | |
value | InputValidationResult |
RequestParams define the parameters for a Request.
Field Name | Type | Description |
---|---|---|
request_id | google.protobuf.StringValue | request_id is the unique ID of the request. This is used to identify the Response for the request in Responses. |
Response is a response to a Request.
Field Name | Type | Description |
---|---|---|
status | ResponseStatus | status is the execution status of the response. |
message | google.protobuf.StringValue | message is a string that provides more details about the response. |
code | ResponseCode | code is the code of the response. |
Responses is a collection of responses for completed requests.
Field Name | Type | Description |
---|---|---|
values | Responses.ValuesEntry[…] | values is a map from request ID to Response. |
Field Name | Type | Description |
---|---|---|
key | string | |
value | Response |
TemplateError holds details for an error that occured while evaluating a studio template against its inputs.
Field Name | Type | Description |
---|---|---|
line_num | google.protobuf.UInt32Value | line_num is the number of the line on which the error occurred. |
exception | google.protobuf.StringValue | exception is the type of the exception thrown during the script execution. E.g., AssertionError, etc. |
detail | google.protobuf.StringValue | detail holds the details of the exception. E.g., a full backtrace. |
exception_msg | google.protobuf.StringValue | exception_msg is the message of the exception thrown during the script execution. |
TemplateErrors is a list of TemplateError.
Field Name | Type | Description |
---|---|---|
values | TemplateError[…] | values is a list of TemplateError. |
Workspace holds the status of a workspace.
Field Name | Type | Description |
---|---|---|
key | WorkspaceKey | key identifies the workspace. |
created_at | google.protobuf.Timestamp | created_at indicates when the workspace was created. |
created_by | google.protobuf.StringValue | created_by indicates who created the workspace. |
last_modified_at | google.protobuf.Timestamp | last_modified_at indicates when the workspace was last updated. |
last_modified_by | google.protobuf.StringValue | last_modified_by indicates who last updated the workspace. |
state | WorkspaceState | state describes the status of the workspace. |
last_build_id | google.protobuf.StringValue | last_build_id is the last build ID that was set in a WorkspaceBuild for this workspace. |
responses | Responses | responses are the responses for all requests that have been executed thusfar for this workspace. |
cc_ids | fmp.RepeatedString | cc_ids are the IDs of any change controls that were created as a result of submitting this workspace. |
needs_build | google.protobuf.BoolValue | needs_build indicates whether a rebuild of the workspace is necessary in order to submit it. |
last_rebased_at | google.protobuf.Timestamp | last_rebased_at indicates when the workspace was last rebased. |
needs_rebase | google.protobuf.BoolValue | needs_rebase indicates whether a rebase of the workspace is necessary in order to submit it. |
display_name | google.protobuf.StringValue | display_name is the user-defined name of the workspace. |
description | google.protobuf.StringValue | description is a brief description of the workspace. |
WorkspaceBuild holds the details for a build of a workspace.
Field Name | Type | Description |
---|---|---|
key | WorkspaceBuildKey | key identifies the build. |
state | BuildState | state is the execution status of the build. |
error | google.protobuf.StringValue | error is an error message that is set if the build fails early before the per-device build result is computed. |
built_by | google.protobuf.StringValue | built_by is the details of subject who built the workspace. |
authz_result | AuthzResult | authz_result has the result of authorization check. |
WorkspaceBuildDetails holds the details for a build of a device in a workspace.
Field Name | Type | Description |
---|---|---|
key | WorkspaceBuildDetailsKey | key identifies the build. |
state | BuildState | state is the execution status of the build. |
stage | BuildStage | stage is the stage of the build. |
input_validation_results | InputValidationResults | input_validation_results are the results of the input validation stage. |
configlet_build_results | ConfigletBuildResults | configlet_build_results are the results of the configlet build stage. |
config_validation_result | ConfigValidationResult | config_validation_result is the result of the config validation stage. |
image_validation_result | ImageValidationResult | image_validation_result is the result of the image validation stage. |
config_validation_skip_cause | ConfigValidationSkipCause | config_validation_skip_cause is the reason, if any, that the config validation stage was skipped. |
image_validation_skip_cause | ImageValidationSkipCause | image_validation_skip_cause is the reason, if any, that the image validation stage was skipped. |
build_stage_state | BuildStageState | build_stage_state is the state for each build stage. |
authz_status | DeviceAuthzStatus | authz_status is the status of provision permission for the device. |
WorkspaceBuildDetailsKey uniquely identifies a build for a particular device in a workspace.
Field Name | Type | Description |
---|---|---|
workspace_id | google.protobuf.StringValue | workspace_id is the ID of the workspace. |
build_id | google.protobuf.StringValue | build_id is the ID of the build. |
device_id | google.protobuf.StringValue | device_id is the ID of the device. |
WorkspaceBuildKey uniquely identifies a build for a workspace.
Field Name | Type | Description |
---|---|---|
workspace_id | google.protobuf.StringValue | workspace_id is the ID of the workspace. |
build_id | google.protobuf.StringValue | build_id is the ID of the build. |
WorkspaceConfig holds the configuration of a workspace.
Field Name | Type | Description |
---|---|---|
key | WorkspaceKey | key identifies the workspace. |
display_name | google.protobuf.StringValue | display_name is the user-defined name of the workspace. |
description | google.protobuf.StringValue | description is a brief description of the workspace. |
request | Request | request (if not REQUEST_UNSPECIFIED) kicks off an asynchronous operation on the workspace. |
request_params | RequestParams | request_params specify the parameters for |
WorkspaceKey uniquely identifies a workspace.
Field Name | Type | Description |
---|---|---|
workspace_id | google.protobuf.StringValue | workspace_id is the unique ID of the workspace. |
BuildStage enumerates the types of stages of a build of a workspace.
Name | Number | Description |
---|---|---|
BUILD_STAGE_UNSPECIFIED | 0 | BUILD_STAGE_UNSPECIFIED indicates unspecified build stage. |
BUILD_STAGE_INPUT_VALIDATION | 1 | BUILD_STAGE_INPUT_VALIDATION describes the stage that detects input errors in studios based on their schemas. |
BUILD_STAGE_CONFIGLET_BUILD | 2 | BUILD_STAGE_CONFIGLET_BUILD describes the stage that generates EOS CLI configs and images for devices by evaluating studio templates against their inputs. |
BUILD_STAGE_CONFIG_VALIDATION | 3 | BUILD_STAGE_CONFIG_VALIDATION describes the stage that validates the generated EOS CLI configs (e.g., checks for errors in the config). |
BUILD_STAGE_IMAGE_VALIDATION | 4 | BUILD_STAGE_IMAGE_VALIDATION describes the stage that validates the generated images (e.g., checks device compatibility). |
BuildState enumerates the set of states that a BuildStage can be in during a workspace build cycle.
Name | Number | Description |
---|---|---|
BUILD_STATE_UNSPECIFIED | 0 | BUILD_STATE_UNSPECIFIED indicates unspecified build state. |
BUILD_STATE_IN_PROGRESS | 1 | BUILD_STATE_IN_PROGRESS indicates that the BuildStage was started but has not yet completed. |
BUILD_STATE_CANCELED | 2 | BUILD_STATE_CANCELED indicates that the BuildStage was started but then stopped before completion. |
BUILD_STATE_SUCCESS | 3 | BUILD_STATE_SUCCESS indicates that the BuildStage was started and ran to completion successfully. |
BUILD_STATE_FAIL | 4 | BUILD_STATE_FAIL indicates that the BuildStage was started and ran to completion unsuccessfully. |
BUILD_STATE_SKIPPED | 5 | BUILD_STATE_SKIPPED indicates that the BuildStage was not run. |
ConfigValidationSkipCause enumerates the set of reasons a device can skip the config validation stage.
Name | Number | Description |
---|---|---|
CONFIG_VALIDATION_SKIP_CAUSE_UNSPECIFIED | 0 | CONFIG_VALIDATION_SKIP_CAUSE_UNSPECIFIED indicates config validation skip cause is unspecified. |
CONFIG_VALIDATION_SKIP_CAUSE_INACTIVE | 1 | CONFIG_VALIDATION_SKIP_CAUSE_INACTIVE indicates that the stage was skipped because the device is not streaming. |
CONFIG_VALIDATION_SKIP_CAUSE_PRE_PROVISIONED | 2 | CONFIG_VALIDATION_SKIP_CAUSE_PRE_PROVISIONED indicates that the stage was skipped because the device is pre-provisioned. |
CONFIG_VALIDATION_SKIP_CAUSE_CONFIG_UNCHANGED | 3 | CONFIG_VALIDATION_SKIP_CAUSE_CONFIG_UNCHANGED indicates that the stage was skipped because the device has no configuration changes in the workspace. |
DeviceAuthzStatus holds the result of the authorization check on device.
Name | Number | Description |
---|---|---|
DEVICE_AUTHZ_STATUS_UNSPECIFIED | 0 | DEVICE_AUTHZ_STATUS_UNSPECIFIED indicates the authorization check is pending. |
DEVICE_AUTHZ_STATUS_AUTHORIZED | 1 | DEVICE_AUTHZ_STATUS_AUTHORIZED indicates the subject is authorized to provision this device. |
DEVICE_AUTHZ_STATUS_UNAUTHORIZED | 2 | DEVICE_AUTHZ_STATUS_UNAUTHORIZED indicates the subject is unauthorized to provision this device. |
ImageValidationSkipCause enumerates the set of reasons a device can skip the image validation stage.
Name | Number | Description |
---|---|---|
IMAGE_VALIDATION_SKIP_CAUSE_UNSPECIFIED | 0 | IMAGE_VALIDATION_SKIP_CAUSE_UNSPECIFIED indicates image validation skip cause is unspecified. |
IMAGE_VALIDATION_SKIP_CAUSE_INACTIVE | 1 | IMAGE_VALIDATION_SKIP_CAUSE_INACTIVE indicates that the stage was skipped because the device is not streaming. |
IMAGE_VALIDATION_SKIP_CAUSE_PRE_PROVISIONED | 2 | IMAGE_VALIDATION_SKIP_CAUSE_PRE_PROVISIONED indicates that the stage was skipped because the device is pre-provisioned. |
IMAGE_VALIDATION_SKIP_CAUSE_IMAGE_UNCHANGED | 3 | IMAGE_VALIDATION_SKIP_CAUSE_IMAGE_UNCHANGED indicates that the stage was skipped because the device has no image changes in the workspace. |
Request enumerates the set of asynchronous operations that can be performed on a workspace.
Name | Number | Description |
---|---|---|
REQUEST_UNSPECIFIED | 0 | REQUEST_UNSPECIFIED describes unspecified request. |
REQUEST_START_BUILD | 1 | REQUEST_START_BUILD describes a request to start building a workspace. This kicks of a multi-stage operation to compile and validate the changes in a workspace (see BuildStage for more details). |
REQUEST_CANCEL_BUILD | 2 | REQUEST_CANCEL_BUILD describes a request to stop building a workspace. |
REQUEST_SUBMIT | 3 | REQUEST_SUBMIT describes a request to submit a workspace to the mainline. Before submission, some checks are made that can cause the request to fail. E.g., if there is a modified configuration for a non-streaming device in the workspace, then the request will fail. Once submitted, changes are applied and change controls are created (if necessary). |
REQUEST_ABANDON | 4 | REQUEST_ABANDON describes a request to abandon a workspace. This operation does not delete the workspace from the system, but closes it to any further updates. |
REQUEST_ROLLBACK | 5 | REQUEST_ROLLBACK describes a request to rollback a submitted workspace, undoing corresponding changes in the mainline. |
REQUEST_SUBMIT_FORCE | 6 | REQUEST_SUBMIT_FORCE describes a request to submit a workspace without making any checks that could normally cause the submission to fail. See REQUEST_SUBMIT for more details. |
REQUEST_REBASE | 7 | REQUEST_REBASE describes a request to rebase a workspace. This operation updates workspace state to reflect the latest mainline content, and re-applies workspace changes on top of that. |
ResponseCode is a code for a Response indicating a particular scenario.
Name | Number | Description |
---|---|---|
RESPONSE_CODE_UNSPECIFIED | 0 | RESPONSE_CODE_UNSPECIFIED indicates unspecified response code. |
RESPONSE_CODE_INACTIVE_DEVICES_EXIST | 1 | RESPONSE_CODE_INACTIVE_DEVICES_EXIST indicates that there are devices that have inactive streaming status. |
ResponseStatus enumerates the set of execution statuses of a Response.
Name | Number | Description |
---|---|---|
RESPONSE_STATUS_UNSPECIFIED | 0 | RESPONSE_STATUS_UNSPECIFIED indicates unspecified response status. |
RESPONSE_STATUS_SUCCESS | 1 | RESPONSE_STATUS_SUCCESS indicates that the original Request was successful in its execution. |
RESPONSE_STATUS_FAIL | 2 | RESPONSE_STATUS_FAIL indicates that the original Request was unsuccessful in its execution. |
WorkspaceState enumerates the general states of a workspace. Some of these states are derived as a result of executing a specific request on the workspace (see Request).
Name | Number | Description |
---|---|---|
WORKSPACE_STATE_UNSPECIFIED | 0 | WORKSPACE_STATE_UNSPECIFIED indicates unspecified workspace state. |
WORKSPACE_STATE_PENDING | 1 | WORKSPACE_STATE_PENDING indicates that the changes in the workspace are open and have not been submitted. |
WORKSPACE_STATE_SUBMITTED | 2 | WORKSPACE_STATE_SUBMITTED indicates that the changes in the workspace have been submitted to the mainline. |
WORKSPACE_STATE_ABANDONED | 3 | WORKSPACE_STATE_ABANDONED indicates that the workspace has been intentionally closed, and may no longer be updated. |
WORKSPACE_STATE_CONFLICTS | 4 | WORKSPACE_STATE_CONFLICTS indicates that the changes in the workspace are in conflict with the current state of the system. |
WORKSPACE_STATE_ROLLED_BACK | 5 | WORKSPACE_STATE_ROLLED_BACK indicates that the workspace was submitted, but has been rolled back (the changes have been undone). |
Field Name | Type | Description |
---|---|---|
time | google.protobuf.Timestamp | Time holds the timestamp of the last item included in the metadata calculation. |
type | arista.subscriptions.Operation | Operation indicates how the 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. |
count | google.protobuf.UInt32Value | Count is the number of items present under the conditions of the request. |
Field Name | Type | Description |
---|---|---|
key | WorkspaceBuildDetailsKey | Key uniquely identifies a WorkspaceBuildDetails 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 | WorkspaceBuildDetails | 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 WorkspaceBuildDetails instance in this response. |
Field Name | Type | Description |
---|---|---|
keys | WorkspaceBuildDetailsKey[…] | |
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 | WorkspaceBuildDetails | 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. |
error | google.protobuf.StringValue | Error is an optional field. It should be filled when there is an error in the GetSome process. |
time | google.protobuf.Timestamp |
Field Name | Type | Description |
---|---|---|
partial_eq_filter | WorkspaceBuildDetails[…] | 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. For GetAll, the fields start and end can be used as follows: * end: Returns the state of each WorkspaceBuildDetails at end. * Each WorkspaceBuildDetails response is fully-specified (all fields set). * start: Returns the state of each WorkspaceBuildDetails at start, followed by updates until now. * Each WorkspaceBuildDetails response at start is fully-specified, but updates may be partial. * start and end: Returns the state of each WorkspaceBuildDetails at start, followed by updates until end. * Each WorkspaceBuildDetails response at start is fully-specified, but updates until end may be partial. This field is not allowed in the Subscribe RPC. |
Field Name | Type | Description |
---|---|---|
value | WorkspaceBuildDetails | 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 WorkspaceBuildDetails’s last modification. |
type | arista.subscriptions.Operation | Operation indicates how the WorkspaceBuildDetails 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 | WorkspaceBuildKey | Key uniquely identifies a WorkspaceBuild 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 | WorkspaceBuild | 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 WorkspaceBuild instance in this response. |
Field Name | Type | Description |
---|---|---|
keys | WorkspaceBuildKey[…] | |
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 | WorkspaceBuild | 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. |
error | google.protobuf.StringValue | Error is an optional field. It should be filled when there is an error in the GetSome process. |
time | google.protobuf.Timestamp |
Field Name | Type | Description |
---|---|---|
partial_eq_filter | WorkspaceBuild[…] | 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. For GetAll, the fields start and end can be used as follows: * end: Returns the state of each WorkspaceBuild at end. * Each WorkspaceBuild response is fully-specified (all fields set). * start: Returns the state of each WorkspaceBuild at start, followed by updates until now. * Each WorkspaceBuild response at start is fully-specified, but updates may be partial. * start and end: Returns the state of each WorkspaceBuild at start, followed by updates until end. * Each WorkspaceBuild response at start is fully-specified, but updates until end may be partial. This field is not allowed in the Subscribe RPC. |
Field Name | Type | Description |
---|---|---|
value | WorkspaceBuild | 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 WorkspaceBuild’s last modification. |
type | arista.subscriptions.Operation | Operation indicates how the WorkspaceBuild 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 |
---|---|---|
partial_eq_filter | WorkspaceConfig[…] | PartialEqFilter provides a way to server-side filter a DeleteAll. This requires all provided fields to be equal to the response. A filtered DeleteAll will use GetAll with filter to find things to delete. |
Field Name | Type | Description |
---|---|---|
type | fmp.DeleteError | This describes the class of delete error. A DeleteAllResponse is only sent when there is an error. |
error | google.protobuf.StringValue | This indicates the error message from the delete failure. |
key | WorkspaceKey | This is the key of the WorkspaceConfig instance that failed to be deleted. |
time | google.protobuf.Timestamp | Time indicates the (UTC) timestamp when the key was being deleted. |
Field Name | Type | Description |
---|---|---|
key | WorkspaceKey | Key indicates which WorkspaceConfig instance to remove. This field must always be set. |
Field Name | Type | Description |
---|---|---|
key | WorkspaceKey | Key echoes back the key of the deleted WorkspaceConfig 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 |
---|---|---|
keys | WorkspaceKey[…] | key contains a list of WorkspaceConfig keys to delete |
WorkspaceConfigDeleteSomeResponse is only sent when there is an error.
Field Name | Type | Description |
---|---|---|
key | WorkspaceKey | |
error | string |
Field Name | Type | Description |
---|---|---|
key | WorkspaceKey | Key uniquely identifies a WorkspaceConfig 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 | WorkspaceConfig | 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 WorkspaceConfig instance in this response. |
Field Name | Type | Description |
---|---|---|
value | WorkspaceConfig | WorkspaceConfig carries the value to set into the datastore. See the documentation on the WorkspaceConfig struct for which fields are required. |
Field Name | Type | Description |
---|---|---|
value | WorkspaceConfig | Value carries all the values given in the WorkspaceConfigSetRequest 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 |
---|---|---|
values | WorkspaceConfig[…] | value contains a list of WorkspaceConfig values to write. It is possible to provide more values than can fit within either: - the maxiumum send size of the client - the maximum receive size of the server If this error occurs you must reduce the number of values sent. See gRPC “maximum message size” documentation for more information. |
Field Name | Type | Description |
---|---|---|
key | WorkspaceKey | |
error | string |
Field Name | Type | Description |
---|---|---|
keys | WorkspaceKey[…] | |
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 | WorkspaceConfig | 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. |
error | google.protobuf.StringValue | Error is an optional field. It should be filled when there is an error in the GetSome process. |
time | google.protobuf.Timestamp |
Field Name | Type | Description |
---|---|---|
partial_eq_filter | WorkspaceConfig[…] | 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. For GetAll, the fields start and end can be used as follows: * end: Returns the state of each WorkspaceConfig at end. * Each WorkspaceConfig response is fully-specified (all fields set). * start: Returns the state of each WorkspaceConfig at start, followed by updates until now. * Each WorkspaceConfig response at start is fully-specified, but updates may be partial. * start and end: Returns the state of each WorkspaceConfig at start, followed by updates until end. * Each WorkspaceConfig response at start is fully-specified, but updates until end may be partial. This field is not allowed in the Subscribe RPC. |
Field Name | Type | Description |
---|---|---|
value | WorkspaceConfig | 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 WorkspaceConfig’s last modification. |
type | arista.subscriptions.Operation | Operation indicates how the WorkspaceConfig 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 | WorkspaceKey | Key uniquely identifies a Workspace 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 | Workspace | 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 Workspace instance in this response. |
Field Name | Type | Description |
---|---|---|
keys | WorkspaceKey[…] | |
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 | Workspace | 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. |
error | google.protobuf.StringValue | Error is an optional field. It should be filled when there is an error in the GetSome process. |
time | google.protobuf.Timestamp |
Field Name | Type | Description |
---|---|---|
partial_eq_filter | Workspace[…] | 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. For GetAll, the fields start and end can be used as follows: * end: Returns the state of each Workspace at end. * Each Workspace response is fully-specified (all fields set). * start: Returns the state of each Workspace at start, followed by updates until now. * Each Workspace response at start is fully-specified, but updates may be partial. * start and end: Returns the state of each Workspace at start, followed by updates until end. * Each Workspace response at start is fully-specified, but updates until end may be partial. This field is not allowed in the Subscribe RPC. |
Field Name | Type | Description |
---|---|---|
value | Workspace | 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 Workspace’s last modification. |
type | arista.subscriptions.Operation | Operation indicates how the Workspace 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 | WorkspaceBuildDetailsRequest | WorkspaceBuildDetailsResponse | |
GetSome | WorkspaceBuildDetailsSomeRequest | WorkspaceBuildDetailsSomeResponse stream | |
GetAll | WorkspaceBuildDetailsStreamRequest | WorkspaceBuildDetailsStreamResponse stream | |
Subscribe | WorkspaceBuildDetailsStreamRequest | WorkspaceBuildDetailsStreamResponse stream | |
GetMeta | WorkspaceBuildDetailsStreamRequest | MetaResponse | |
SubscribeMeta | WorkspaceBuildDetailsStreamRequest | MetaResponse stream |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
GetOne | WorkspaceBuildRequest | WorkspaceBuildResponse | |
GetSome | WorkspaceBuildSomeRequest | WorkspaceBuildSomeResponse stream | |
GetAll | WorkspaceBuildStreamRequest | WorkspaceBuildStreamResponse stream | |
Subscribe | WorkspaceBuildStreamRequest | WorkspaceBuildStreamResponse stream | |
GetMeta | WorkspaceBuildStreamRequest | MetaResponse | |
SubscribeMeta | WorkspaceBuildStreamRequest | MetaResponse stream |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
GetOne | WorkspaceConfigRequest | WorkspaceConfigResponse | |
GetSome | WorkspaceConfigSomeRequest | WorkspaceConfigSomeResponse stream | |
GetAll | WorkspaceConfigStreamRequest | WorkspaceConfigStreamResponse stream | |
Subscribe | WorkspaceConfigStreamRequest | WorkspaceConfigStreamResponse stream | |
GetMeta | WorkspaceConfigStreamRequest | MetaResponse | |
SubscribeMeta | WorkspaceConfigStreamRequest | MetaResponse stream | |
Set | WorkspaceConfigSetRequest | WorkspaceConfigSetResponse | |
SetSome | WorkspaceConfigSetSomeRequest | WorkspaceConfigSetSomeResponse stream | |
Delete | WorkspaceConfigDeleteRequest | WorkspaceConfigDeleteResponse | |
DeleteSome | WorkspaceConfigDeleteSomeRequest | WorkspaceConfigDeleteSomeResponse stream | |
DeleteAll | WorkspaceConfigDeleteAllRequest | WorkspaceConfigDeleteAllResponse stream |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
GetOne | WorkspaceRequest | WorkspaceResponse | |
GetSome | WorkspaceSomeRequest | WorkspaceSomeResponse stream | |
GetAll | WorkspaceStreamRequest | WorkspaceStreamResponse stream | |
Subscribe | WorkspaceStreamRequest | WorkspaceStreamResponse stream | |
GetMeta | WorkspaceStreamRequest | MetaResponse | |
SubscribeMeta | WorkspaceStreamRequest | MetaResponse stream |