Struct google_api_proto::google::streetview::publish::v1::ListPhotosRequest
source · pub struct ListPhotosRequest {
pub view: i32,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub language_code: String,
}
Expand description
Request to list all photos that belong to the user sending the request.
By default
- does not return the download URL for the photo bytes.
Parameters:
view
controls if the download URL for the photo bytes is returned.pageSize
determines the maximum number of photos to return.pageToken
is the next page token value returned from a previous [ListPhotos][google.streetview.publish.v1.StreetViewPublishService.ListPhotos] request, if any.filter
allows filtering by a given parameter. ‘placeId’ is the only parameter supported at the moment.
Fields§
§view: i32
Required. Specifies if a download URL for the photos bytes should be returned in the Photos response.
page_size: i32
Optional. The maximum number of photos to return.
pageSize
must be non-negative. If pageSize
is zero or is not provided,
the default page size of 100 is used.
The number of photos returned in the response may be less than pageSize
if the number of photos that belong to the user is less than pageSize
.
page_token: String
Optional. The [nextPageToken][google.streetview.publish.v1.ListPhotosResponse.next_page_token] value returned from a previous [ListPhotos][google.streetview.publish.v1.StreetViewPublishService.ListPhotos] request, if any.
filter: String
Optional. The filter expression. For example:
placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw
.
The filters supported are: placeId
, min_latitude
, max_latitude
,
min_longitude
, max_longitude
. See https://google.aip.dev/160 for more
information.
language_code: String
Optional. The BCP-47 language code, such as “en-US” or “sr-Latn”. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. If language_code is unspecified, the user’s language preference for Google services is used.
Implementations§
Trait Implementations§
source§impl Clone for ListPhotosRequest
impl Clone for ListPhotosRequest
source§fn clone(&self) -> ListPhotosRequest
fn clone(&self) -> ListPhotosRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListPhotosRequest
impl Debug for ListPhotosRequest
source§impl Default for ListPhotosRequest
impl Default for ListPhotosRequest
source§impl Message for ListPhotosRequest
impl Message for ListPhotosRequest
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 ListPhotosRequest
impl PartialEq for ListPhotosRequest
source§fn eq(&self, other: &ListPhotosRequest) -> bool
fn eq(&self, other: &ListPhotosRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListPhotosRequest
Auto Trait Implementations§
impl Freeze for ListPhotosRequest
impl RefUnwindSafe for ListPhotosRequest
impl Send for ListPhotosRequest
impl Sync for ListPhotosRequest
impl Unpin for ListPhotosRequest
impl UnwindSafe for ListPhotosRequest
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