Class PhotosResource.ListRequest
Lists all the Photos that belong to the user. > Note: Recently created photos that are still being indexed are not returned in the response.
Inheritance
Inherited Members
Namespace: Google.Apis.StreetViewPublish.v1
Assembly: Google.Apis.StreetViewPublish.v1.dll
Syntax
public class PhotosResource.ListRequest : StreetViewPublishBaseServiceRequest<ListPhotosResponse>, IClientServiceRequest<ListPhotosResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Filter
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.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
LanguageCode
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.
Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
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
.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. The nextPageToken value returned from a previous ListPhotos request, if any.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
View
Required. Specifies if a download URL for the photos bytes should be returned in the Photos response.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual PhotosResource.ListRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
PhotosResource.ListRequest.ViewEnum? |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()