Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::ListSpaceEventsRequest.
Request message for listing space events.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#filter
def filter() -> ::String
-
(::String) — Required. A query filter.
You must specify at least one event type (
event_type
) using the has:
operator. To filter by multiple event types, use theOR
operator. Omit batch event types in your filter. The request automatically returns any related batch events. For example, if you filter by new reactions (google.workspace.chat.reaction.v1.created
), the server also returns batch new reactions events (google.workspace.chat.reaction.v1.batchCreated
). For a list of supported event types, see theSpaceEvents
reference documentation.Optionally, you can also filter by start time (
start_time
) and end time (end_time
):start_time
: Exclusive timestamp from which to start listing space events. You can list events that occurred up to 28 days ago. If unspecified, lists space events from the past 28 days.end_time
: Inclusive timestamp until which space events are listed. If unspecified, lists events up to the time of the request.
To specify a start or end time, use the equals
=
operator and format in RFC-3339. To filter by bothstart_time
andend_time
, use theAND
operator.For example, the following queries are valid:
start_time="2023-08-23T19:20:33+00:00" AND end_time="2023-08-23T19:21:54+00:00"
start_time="2023-08-23T19:20:33+00:00" AND (event_types:"google.workspace.chat.space.v1.updated" OR event_types:"google.workspace.chat.message.v1.created")
The following queries are invalid:
start_time="2023-08-23T19:20:33+00:00" OR end_time="2023-08-23T19:21:54+00:00"
event_types:"google.workspace.chat.space.v1.updated" AND event_types:"google.workspace.chat.message.v1.created"
Invalid queries are rejected by the server with an
INVALID_ARGUMENT
error.
#filter=
def filter=(value) -> ::String
-
value (::String) — Required. A query filter.
You must specify at least one event type (
event_type
) using the has:
operator. To filter by multiple event types, use theOR
operator. Omit batch event types in your filter. The request automatically returns any related batch events. For example, if you filter by new reactions (google.workspace.chat.reaction.v1.created
), the server also returns batch new reactions events (google.workspace.chat.reaction.v1.batchCreated
). For a list of supported event types, see theSpaceEvents
reference documentation.Optionally, you can also filter by start time (
start_time
) and end time (end_time
):start_time
: Exclusive timestamp from which to start listing space events. You can list events that occurred up to 28 days ago. If unspecified, lists space events from the past 28 days.end_time
: Inclusive timestamp until which space events are listed. If unspecified, lists events up to the time of the request.
To specify a start or end time, use the equals
=
operator and format in RFC-3339. To filter by bothstart_time
andend_time
, use theAND
operator.For example, the following queries are valid:
start_time="2023-08-23T19:20:33+00:00" AND end_time="2023-08-23T19:21:54+00:00"
start_time="2023-08-23T19:20:33+00:00" AND (event_types:"google.workspace.chat.space.v1.updated" OR event_types:"google.workspace.chat.message.v1.created")
The following queries are invalid:
start_time="2023-08-23T19:20:33+00:00" OR end_time="2023-08-23T19:21:54+00:00"
event_types:"google.workspace.chat.space.v1.updated" AND event_types:"google.workspace.chat.message.v1.created"
Invalid queries are rejected by the server with an
INVALID_ARGUMENT
error.
-
(::String) — Required. A query filter.
You must specify at least one event type (
event_type
) using the has:
operator. To filter by multiple event types, use theOR
operator. Omit batch event types in your filter. The request automatically returns any related batch events. For example, if you filter by new reactions (google.workspace.chat.reaction.v1.created
), the server also returns batch new reactions events (google.workspace.chat.reaction.v1.batchCreated
). For a list of supported event types, see theSpaceEvents
reference documentation.Optionally, you can also filter by start time (
start_time
) and end time (end_time
):start_time
: Exclusive timestamp from which to start listing space events. You can list events that occurred up to 28 days ago. If unspecified, lists space events from the past 28 days.end_time
: Inclusive timestamp until which space events are listed. If unspecified, lists events up to the time of the request.
To specify a start or end time, use the equals
=
operator and format in RFC-3339. To filter by bothstart_time
andend_time
, use theAND
operator.For example, the following queries are valid:
start_time="2023-08-23T19:20:33+00:00" AND end_time="2023-08-23T19:21:54+00:00"
start_time="2023-08-23T19:20:33+00:00" AND (event_types:"google.workspace.chat.space.v1.updated" OR event_types:"google.workspace.chat.message.v1.created")
The following queries are invalid:
start_time="2023-08-23T19:20:33+00:00" OR end_time="2023-08-23T19:21:54+00:00"
event_types:"google.workspace.chat.space.v1.updated" AND event_types:"google.workspace.chat.message.v1.created"
Invalid queries are rejected by the server with an
INVALID_ARGUMENT
error.
#page_size
def page_size() -> ::Integer
-
(::Integer) — Optional. The maximum number of space events returned. The service might
return fewer than this value.
Negative values return an
INVALID_ARGUMENT
error.
#page_size=
def page_size=(value) -> ::Integer
-
value (::Integer) — Optional. The maximum number of space events returned. The service might
return fewer than this value.
Negative values return an
INVALID_ARGUMENT
error.
-
(::Integer) — Optional. The maximum number of space events returned. The service might
return fewer than this value.
Negative values return an
INVALID_ARGUMENT
error.
#page_token
def page_token() -> ::String
-
(::String) — Optional. A page token, received from a previous list space events call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to list space events must match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results.
#page_token=
def page_token=(value) -> ::String
-
value (::String) — Optional. A page token, received from a previous list space events call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to list space events must match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results.
-
(::String) — Optional. A page token, received from a previous list space events call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to list space events must match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results.
#parent
def parent() -> ::String
-
(::String) — Required. Resource name of the Google Chat
space
where the events occurred.
Format:
spaces/{space}
.
#parent=
def parent=(value) -> ::String
-
value (::String) — Required. Resource name of the Google Chat
space
where the events occurred.
Format:
spaces/{space}
.
-
(::String) — Required. Resource name of the Google Chat
space
where the events occurred.
Format:
spaces/{space}
.