pub struct SearchChangeHistoryEventsRequest {
pub account: String,
pub property: String,
pub resource_type: Vec<i32>,
pub action: Vec<i32>,
pub actor_email: Vec<String>,
pub earliest_change_time: Option<Timestamp>,
pub latest_change_time: Option<Timestamp>,
pub page_size: i32,
pub page_token: String,
}
Expand description
Request message for SearchChangeHistoryEvents RPC.
Fields§
§account: String
Required. The account resource for which to return change history resources. Format: accounts/{account}
Example: accounts/100
property: String
Optional. Resource name for a child property. If set, only return changes made to this property or its child resources. Format: properties/{propertyId}
Example: properties/100
resource_type: Vec<i32>
Optional. If set, only return changes if they are for a resource that matches at least one of these types.
action: Vec<i32>
Optional. If set, only return changes that match one or more of these types of actions.
actor_email: Vec<String>
Optional. If set, only return changes if they are made by a user in this list.
earliest_change_time: Option<Timestamp>
Optional. If set, only return changes made after this time (inclusive).
latest_change_time: Option<Timestamp>
Optional. If set, only return changes made before this time (inclusive).
page_size: i32
Optional. The maximum number of ChangeHistoryEvent items to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 items will be returned. The maximum value is 200 (higher values will be coerced to the maximum).
page_token: String
Optional. A page token, received from a previous
SearchChangeHistoryEvents
call. Provide this to retrieve the subsequent
page. When paginating, all other parameters provided to
SearchChangeHistoryEvents
must match the call that provided the page
token.
Implementations§
source§impl SearchChangeHistoryEventsRequest
impl SearchChangeHistoryEventsRequest
sourcepub fn resource_type(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ChangeHistoryResourceType>>
pub fn resource_type( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ChangeHistoryResourceType>>
Returns an iterator which yields the valid enum values contained in resource_type
.
sourcepub fn push_resource_type(&mut self, value: ChangeHistoryResourceType)
pub fn push_resource_type(&mut self, value: ChangeHistoryResourceType)
Appends the provided enum value to resource_type
.
sourcepub fn action(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ActionType>>
pub fn action( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ActionType>>
Returns an iterator which yields the valid enum values contained in action
.
sourcepub fn push_action(&mut self, value: ActionType)
pub fn push_action(&mut self, value: ActionType)
Appends the provided enum value to action
.
Trait Implementations§
source§impl Clone for SearchChangeHistoryEventsRequest
impl Clone for SearchChangeHistoryEventsRequest
source§fn clone(&self) -> SearchChangeHistoryEventsRequest
fn clone(&self) -> SearchChangeHistoryEventsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for SearchChangeHistoryEventsRequest
impl Message for SearchChangeHistoryEventsRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for SearchChangeHistoryEventsRequest
impl PartialEq for SearchChangeHistoryEventsRequest
source§fn eq(&self, other: &SearchChangeHistoryEventsRequest) -> bool
fn eq(&self, other: &SearchChangeHistoryEventsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchChangeHistoryEventsRequest
Auto Trait Implementations§
impl Freeze for SearchChangeHistoryEventsRequest
impl RefUnwindSafe for SearchChangeHistoryEventsRequest
impl Send for SearchChangeHistoryEventsRequest
impl Sync for SearchChangeHistoryEventsRequest
impl Unpin for SearchChangeHistoryEventsRequest
impl UnwindSafe for SearchChangeHistoryEventsRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request