Struct google_mybusiness4::api::BatchGetReviewsRequest [−][src]
pub struct BatchGetReviewsRequest {
pub ignore_rating_only_reviews: Option<bool>,
pub location_names: Option<Vec<String>>,
pub order_by: Option<String>,
pub page_size: Option<i32>,
pub page_token: Option<String>,
}
Expand description
Request message for Reviews.BatchGetReviews.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations batch get reviews accounts (request)
Fields
ignore_rating_only_reviews: Option<bool>
Whether to ignore rating-only reviews.
location_names: Option<Vec<String>>
A collection of locations to fetch reviews for, specified by their names.
order_by: Option<String>
Optional. Specifies the field to sort reviews by.
If unspecified, the order of reviews returned will
default to update_time desc
.
Valid orders to sort by are rating
, rating desc
and update_time desc
.
rating
will return reviews in ascending order.
update_time
(i.e. ascending order) is not supported.
page_size: Option<i32>
How many reviews to fetch per page. The default value is 200.
page_token: Option<String>
If specified, it fetches the next page of reviews.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for BatchGetReviewsRequest
impl Send for BatchGetReviewsRequest
impl Sync for BatchGetReviewsRequest
impl Unpin for BatchGetReviewsRequest
impl UnwindSafe for BatchGetReviewsRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more