Class protos.google.streetview.publish.v1.StreetViewPublishService (0.1.0)

Represents a StreetViewPublishService

Inheritance

$protobuf.rpc.Service > protos.google.streetview.publish.v1.StreetViewPublishService

Package

@googlemaps/streetview-publish

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new StreetViewPublishService service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

batchDeletePhotos(request, callback)

public batchDeletePhotos(request: google.streetview.publish.v1.IBatchDeletePhotosRequest, callback: google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotosCallback): void;

Calls BatchDeletePhotos.

Parameters
Name Description
request IBatchDeletePhotosRequest

BatchDeletePhotosRequest message or plain object

callback BatchDeletePhotosCallback

Node-style callback called with the error, if any, and BatchDeletePhotosResponse

Returns
Type Description
void

batchDeletePhotos(request)

public batchDeletePhotos(request: google.streetview.publish.v1.IBatchDeletePhotosRequest): Promise<google.streetview.publish.v1.BatchDeletePhotosResponse>;

Calls BatchDeletePhotos.

Parameter
Name Description
request IBatchDeletePhotosRequest

BatchDeletePhotosRequest message or plain object

Returns
Type Description
Promise<google.streetview.publish.v1.BatchDeletePhotosResponse>

Promise

batchGetPhotos(request, callback)

public batchGetPhotos(request: google.streetview.publish.v1.IBatchGetPhotosRequest, callback: google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotosCallback): void;

Calls BatchGetPhotos.

Parameters
Name Description
request IBatchGetPhotosRequest

BatchGetPhotosRequest message or plain object

callback BatchGetPhotosCallback

Node-style callback called with the error, if any, and BatchGetPhotosResponse

Returns
Type Description
void

batchGetPhotos(request)

public batchGetPhotos(request: google.streetview.publish.v1.IBatchGetPhotosRequest): Promise<google.streetview.publish.v1.BatchGetPhotosResponse>;

Calls BatchGetPhotos.

Parameter
Name Description
request IBatchGetPhotosRequest

BatchGetPhotosRequest message or plain object

Returns
Type Description
Promise<google.streetview.publish.v1.BatchGetPhotosResponse>

Promise

batchUpdatePhotos(request, callback)

public batchUpdatePhotos(request: google.streetview.publish.v1.IBatchUpdatePhotosRequest, callback: google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotosCallback): void;

Calls BatchUpdatePhotos.

Parameters
Name Description
request IBatchUpdatePhotosRequest

BatchUpdatePhotosRequest message or plain object

callback BatchUpdatePhotosCallback

Node-style callback called with the error, if any, and BatchUpdatePhotosResponse

Returns
Type Description
void

batchUpdatePhotos(request)

public batchUpdatePhotos(request: google.streetview.publish.v1.IBatchUpdatePhotosRequest): Promise<google.streetview.publish.v1.BatchUpdatePhotosResponse>;

Calls BatchUpdatePhotos.

Parameter
Name Description
request IBatchUpdatePhotosRequest

BatchUpdatePhotosRequest message or plain object

Returns
Type Description
Promise<google.streetview.publish.v1.BatchUpdatePhotosResponse>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): StreetViewPublishService;

Creates new StreetViewPublishService service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
StreetViewPublishService

RPC service. Useful where requests and/or responses are streamed.

createPhoto(request, callback)

public createPhoto(request: google.streetview.publish.v1.ICreatePhotoRequest, callback: google.streetview.publish.v1.StreetViewPublishService.CreatePhotoCallback): void;

Calls CreatePhoto.

Parameters
Name Description
request ICreatePhotoRequest

CreatePhotoRequest message or plain object

callback CreatePhotoCallback

Node-style callback called with the error, if any, and Photo

Returns
Type Description
void

createPhoto(request)

public createPhoto(request: google.streetview.publish.v1.ICreatePhotoRequest): Promise<google.streetview.publish.v1.Photo>;

Calls CreatePhoto.

Parameter
Name Description
request ICreatePhotoRequest

CreatePhotoRequest message or plain object

Returns
Type Description
Promise<google.streetview.publish.v1.Photo>

Promise

createPhotoSequence(request, callback)

public createPhotoSequence(request: google.streetview.publish.v1.ICreatePhotoSequenceRequest, callback: google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequenceCallback): void;

Calls CreatePhotoSequence.

Parameters
Name Description
request ICreatePhotoSequenceRequest

CreatePhotoSequenceRequest message or plain object

callback CreatePhotoSequenceCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

createPhotoSequence(request)

public createPhotoSequence(request: google.streetview.publish.v1.ICreatePhotoSequenceRequest): Promise<google.longrunning.Operation>;

Calls CreatePhotoSequence.

Parameter
Name Description
request ICreatePhotoSequenceRequest

CreatePhotoSequenceRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

deletePhoto(request, callback)

public deletePhoto(request: google.streetview.publish.v1.IDeletePhotoRequest, callback: google.streetview.publish.v1.StreetViewPublishService.DeletePhotoCallback): void;

Calls DeletePhoto.

Parameters
Name Description
request IDeletePhotoRequest

DeletePhotoRequest message or plain object

callback DeletePhotoCallback

Node-style callback called with the error, if any, and Empty

Returns
Type Description
void

deletePhoto(request)

public deletePhoto(request: google.streetview.publish.v1.IDeletePhotoRequest): Promise<google.protobuf.Empty>;

Calls DeletePhoto.

Parameter
Name Description
request IDeletePhotoRequest

DeletePhotoRequest message or plain object

Returns
Type Description
Promise<google.protobuf.Empty>

Promise

deletePhotoSequence(request, callback)

public deletePhotoSequence(request: google.streetview.publish.v1.IDeletePhotoSequenceRequest, callback: google.streetview.publish.v1.StreetViewPublishService.DeletePhotoSequenceCallback): void;

Calls DeletePhotoSequence.

Parameters
Name Description
request IDeletePhotoSequenceRequest

DeletePhotoSequenceRequest message or plain object

callback DeletePhotoSequenceCallback

Node-style callback called with the error, if any, and Empty

Returns
Type Description
void

deletePhotoSequence(request)

public deletePhotoSequence(request: google.streetview.publish.v1.IDeletePhotoSequenceRequest): Promise<google.protobuf.Empty>;

Calls DeletePhotoSequence.

Parameter
Name Description
request IDeletePhotoSequenceRequest

DeletePhotoSequenceRequest message or plain object

Returns
Type Description
Promise<google.protobuf.Empty>

Promise

getPhoto(request, callback)

public getPhoto(request: google.streetview.publish.v1.IGetPhotoRequest, callback: google.streetview.publish.v1.StreetViewPublishService.GetPhotoCallback): void;

Calls GetPhoto.

Parameters
Name Description
request IGetPhotoRequest

GetPhotoRequest message or plain object

callback GetPhotoCallback

Node-style callback called with the error, if any, and Photo

Returns
Type Description
void

getPhoto(request)

public getPhoto(request: google.streetview.publish.v1.IGetPhotoRequest): Promise<google.streetview.publish.v1.Photo>;

Calls GetPhoto.

Parameter
Name Description
request IGetPhotoRequest

GetPhotoRequest message or plain object

Returns
Type Description
Promise<google.streetview.publish.v1.Photo>

Promise

getPhotoSequence(request, callback)

public getPhotoSequence(request: google.streetview.publish.v1.IGetPhotoSequenceRequest, callback: google.streetview.publish.v1.StreetViewPublishService.GetPhotoSequenceCallback): void;

Calls GetPhotoSequence.

Parameters
Name Description
request IGetPhotoSequenceRequest

GetPhotoSequenceRequest message or plain object

callback GetPhotoSequenceCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

getPhotoSequence(request)

public getPhotoSequence(request: google.streetview.publish.v1.IGetPhotoSequenceRequest): Promise<google.longrunning.Operation>;

Calls GetPhotoSequence.

Parameter
Name Description
request IGetPhotoSequenceRequest

GetPhotoSequenceRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

listPhotos(request, callback)

public listPhotos(request: google.streetview.publish.v1.IListPhotosRequest, callback: google.streetview.publish.v1.StreetViewPublishService.ListPhotosCallback): void;

Calls ListPhotos.

Parameters
Name Description
request IListPhotosRequest

ListPhotosRequest message or plain object

callback ListPhotosCallback

Node-style callback called with the error, if any, and ListPhotosResponse

Returns
Type Description
void

listPhotos(request)

public listPhotos(request: google.streetview.publish.v1.IListPhotosRequest): Promise<google.streetview.publish.v1.ListPhotosResponse>;

Calls ListPhotos.

Parameter
Name Description
request IListPhotosRequest

ListPhotosRequest message or plain object

Returns
Type Description
Promise<google.streetview.publish.v1.ListPhotosResponse>

Promise

listPhotoSequences(request, callback)

public listPhotoSequences(request: google.streetview.publish.v1.IListPhotoSequencesRequest, callback: google.streetview.publish.v1.StreetViewPublishService.ListPhotoSequencesCallback): void;

Calls ListPhotoSequences.

Parameters
Name Description
request IListPhotoSequencesRequest

ListPhotoSequencesRequest message or plain object

callback ListPhotoSequencesCallback

Node-style callback called with the error, if any, and ListPhotoSequencesResponse

Returns
Type Description
void

listPhotoSequences(request)

public listPhotoSequences(request: google.streetview.publish.v1.IListPhotoSequencesRequest): Promise<google.streetview.publish.v1.ListPhotoSequencesResponse>;

Calls ListPhotoSequences.

Parameter
Name Description
request IListPhotoSequencesRequest

ListPhotoSequencesRequest message or plain object

Returns
Type Description
Promise<google.streetview.publish.v1.ListPhotoSequencesResponse>

Promise

startPhotoSequenceUpload(request, callback)

public startPhotoSequenceUpload(request: google.protobuf.IEmpty, callback: google.streetview.publish.v1.StreetViewPublishService.StartPhotoSequenceUploadCallback): void;

Calls StartPhotoSequenceUpload.

Parameters
Name Description
request IEmpty

Empty message or plain object

callback StartPhotoSequenceUploadCallback

Node-style callback called with the error, if any, and UploadRef

Returns
Type Description
void

startPhotoSequenceUpload(request)

public startPhotoSequenceUpload(request: google.protobuf.IEmpty): Promise<google.streetview.publish.v1.UploadRef>;

Calls StartPhotoSequenceUpload.

Parameter
Name Description
request IEmpty

Empty message or plain object

Returns
Type Description
Promise<google.streetview.publish.v1.UploadRef>

Promise

startUpload(request, callback)

public startUpload(request: google.protobuf.IEmpty, callback: google.streetview.publish.v1.StreetViewPublishService.StartUploadCallback): void;

Calls StartUpload.

Parameters
Name Description
request IEmpty

Empty message or plain object

callback StartUploadCallback

Node-style callback called with the error, if any, and UploadRef

Returns
Type Description
void

startUpload(request)

public startUpload(request: google.protobuf.IEmpty): Promise<google.streetview.publish.v1.UploadRef>;

Calls StartUpload.

Parameter
Name Description
request IEmpty

Empty message or plain object

Returns
Type Description
Promise<google.streetview.publish.v1.UploadRef>

Promise

updatePhoto(request, callback)

public updatePhoto(request: google.streetview.publish.v1.IUpdatePhotoRequest, callback: google.streetview.publish.v1.StreetViewPublishService.UpdatePhotoCallback): void;

Calls UpdatePhoto.

Parameters
Name Description
request IUpdatePhotoRequest

UpdatePhotoRequest message or plain object

callback UpdatePhotoCallback

Node-style callback called with the error, if any, and Photo

Returns
Type Description
void

updatePhoto(request)

public updatePhoto(request: google.streetview.publish.v1.IUpdatePhotoRequest): Promise<google.streetview.publish.v1.Photo>;

Calls UpdatePhoto.

Parameter
Name Description
request IUpdatePhotoRequest

UpdatePhotoRequest message or plain object

Returns
Type Description
Promise<google.streetview.publish.v1.Photo>

Promise