diff --git a/src/main/proto/wfa/measurement/api/v2alpha/BUILD.bazel b/src/main/proto/wfa/measurement/api/v2alpha/BUILD.bazel index 9192bc91..574544f5 100644 --- a/src/main/proto/wfa/measurement/api/v2alpha/BUILD.bazel +++ b/src/main/proto/wfa/measurement/api/v2alpha/BUILD.bazel @@ -542,6 +542,7 @@ proto_library( "@com_google_googleapis//google/api:client_proto", "@com_google_googleapis//google/api:field_behavior_proto", "@com_google_googleapis//google/api:resource_proto", + "@com_google_protobuf//:timestamp_proto", ], ) diff --git a/src/main/proto/wfa/measurement/api/v2alpha/measurements_service.proto b/src/main/proto/wfa/measurement/api/v2alpha/measurements_service.proto index 14f72e55..cc301165 100644 --- a/src/main/proto/wfa/measurement/api/v2alpha/measurements_service.proto +++ b/src/main/proto/wfa/measurement/api/v2alpha/measurements_service.proto @@ -19,6 +19,7 @@ package wfa.measurement.api.v2alpha; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/protobuf/timestamp.proto"; import "wfa/measurement/api/v2alpha/measurement.proto"; option java_package = "org.wfanet.measurement.api.v2alpha"; @@ -119,6 +120,24 @@ message ListMeasurementsRequest { // (-- api-linter: core::0216::state-field-output-only=disabled // aip.dev/not-precedent: This is not a resource state field. --) repeated Measurement.State states = 1; + // Filter for measurements that are updated after a certain timestamp + // + // (-- api-linter: core::0140::prepositions=disabled + // api-linter: core::0142::time-field-names=disabled + // aip.dev/not-precedent: Make timestamp filter name consistent --) + google.protobuf.Timestamp updated_after = 4; + // Filter for measurements that are updated before a certain timestamp + // + // (-- api-linter: core::0140::prepositions=disabled + // api-linter: core::0142::time-field-names=disabled + // aip.dev/not-precedent: Make timestamp filter name consistent --) + google.protobuf.Timestamp updated_before = 8; + // Filter for measurements that are created before a certain timestamp + // + // (-- api-linter: core::0140::prepositions=disabled + // api-linter: core::0142::time-field-names=disabled + // aip.dev/not-precedent: Make timestamp filter name consistent --) + google.protobuf.Timestamp created_before = 9; } // Filter criteria. //