Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<BatchGetPhotosResponse>
StreetViewPublishBaseServiceRequest<BatchGetPhotosResponse>
PhotosResource.BatchGetRequest
Implements
IClientServiceRequest<BatchGetPhotosResponse>
IClientServiceRequest
Inherited Members
StreetViewPublishBaseServiceRequest<BatchGetPhotosResponse>.Xgafv
StreetViewPublishBaseServiceRequest<BatchGetPhotosResponse>.AccessToken
StreetViewPublishBaseServiceRequest<BatchGetPhotosResponse>.Alt
StreetViewPublishBaseServiceRequest<BatchGetPhotosResponse>.Callback
StreetViewPublishBaseServiceRequest<BatchGetPhotosResponse>.Fields
StreetViewPublishBaseServiceRequest<BatchGetPhotosResponse>.Key
StreetViewPublishBaseServiceRequest<BatchGetPhotosResponse>.OauthToken
StreetViewPublishBaseServiceRequest<BatchGetPhotosResponse>.PrettyPrint
StreetViewPublishBaseServiceRequest<BatchGetPhotosResponse>.QuotaUser
StreetViewPublishBaseServiceRequest<BatchGetPhotosResponse>.UploadType
StreetViewPublishBaseServiceRequest<BatchGetPhotosResponse>.UploadProtocol
ClientServiceRequest<BatchGetPhotosResponse>.Execute()
ClientServiceRequest<BatchGetPhotosResponse>.ExecuteAsStream()
ClientServiceRequest<BatchGetPhotosResponse>.ExecuteAsync()
ClientServiceRequest<BatchGetPhotosResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<BatchGetPhotosResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<BatchGetPhotosResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<BatchGetPhotosResponse>.CreateRequest(bool?)
ClientServiceRequest<BatchGetPhotosResponse>.GenerateRequestUri()
ClientServiceRequest<BatchGetPhotosResponse>.GetBody()
ClientServiceRequest<BatchGetPhotosResponse>.GetDefaultETagAction(string)
ClientServiceRequest<BatchGetPhotosResponse>.ETagAction
ClientServiceRequest<BatchGetPhotosResponse>.ModifyRequest
ClientServiceRequest<BatchGetPhotosResponse>.ValidateParameters
ClientServiceRequest<BatchGetPhotosResponse>.ApiVersion
ClientServiceRequest<BatchGetPhotosResponse>.RequestParameters
ClientServiceRequest<BatchGetPhotosResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.StreetViewPublish.v1.Data.BatchGetPhotosResponse>.HttpMethod

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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.StreetViewPublish.v1.Data.BatchGetPhotosResponse>.MethodName

PhotoIds

Required. IDs of the Photos. For HTTP GET requests, the URL query parameter should be photoIds=&amp;photoIds=&amp;....

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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.StreetViewPublish.v1.Data.BatchGetPhotosResponse>.RestPath

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()
Overrides
StreetViewPublishBaseServiceRequest<BatchGetPhotosResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX