Class PhotosResource.BatchGetRequest
Gets the metadata of the specified Photo batch. Note that if BatchGetPhotos fails, either critical fields are missing or there is an authentication error. Even if BatchGetPhotos succeeds, individual photos in the batch may have failures. These failures are specified in each PhotoResponse.status in BatchGetPhotosResponse.results. See GetPhoto for specific failures that can occur per photo.
Inheritance
Inherited Members
Namespace: Google.Apis.StreetViewPublish.v1
Assembly: Google.Apis.StreetViewPublish.v1.dll
Syntax
public class PhotosResource.BatchGetRequest : StreetViewPublishBaseServiceRequest<BatchGetPhotosResponse>, IClientServiceRequest<BatchGetPhotosResponse>, IClientServiceRequest
Constructors
BatchGetRequest(IClientService)
Constructs a new BatchGet request.
Declaration
public BatchGetRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
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
PhotoIds
Required. IDs of the Photos. For HTTP GET requests, the URL query parameter should be
photoIds=&photoIds=&...
.
Declaration
[RequestParameter("photoIds", RequestParameterType.Query)]
public virtual Repeatable<string> PhotoIds { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<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 photo bytes should be returned in the Photo response.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual PhotosResource.BatchGetRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
PhotosResource.BatchGetRequest.ViewEnum? |
Methods
InitParameters()
Initializes BatchGet parameter list.
Declaration
protected override void InitParameters()