You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/streetviewpublish_v1.photo.html
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ <h2>Instance Methods</h2>
88
88
<pclass="firstline">Gets the metadata of the specified Photo. This method returns the following error codes: * google.rpc.Code.PERMISSION_DENIED if the requesting user did not create the requested Photo. * google.rpc.Code.NOT_FOUND if the requested Photo does not exist. * google.rpc.Code.UNAVAILABLE if the requested Photo is still being indexed.</p>
<pclass="firstline">Creates an upload session to start uploading photo bytes. The method uses the upload URL of the returned UploadRef to upload the bytes for the Photo. In addition to the photo requirements shown in https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, the photo must meet the following requirements: * Photo Sphere XMP metadata must be included in the photo metadata. See https://developers.google.com/streetview/spherical-metadata for the required fields. * The pixel size of the photo must meet the size requirements listed in https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, and the photo must be a full 360 horizontally. After the upload completes, the method uses UploadRef with CreatePhoto to create the Photo object entry.</p>
91
+
<pclass="firstline">Creates an upload session to start uploading photo bytes. The method uses the upload URL of the returned UploadRef to upload the bytes for the Photo. In addition to the photo requirements shown in https://support.google.com/maps/answer/7012050?ref_topic=6275604, the photo must meet the following requirements: * Photo Sphere XMP metadata must be included in the photo metadata. See https://developers.google.com/streetview/spherical-metadata for the required fields. * The pixel size of the photo must meet the size requirements listed in https://support.google.com/maps/answer/7012050?ref_topic=6275604, and the photo must be a full 360 horizontally. After the upload completes, the method uses UploadRef with CreatePhoto to create the Photo object entry.</p>
<pclass="firstline">Updates the metadata of a Photo, such as pose, place association, connections, etc. Changing the pixels of a photo is not supported. Only the fields specified in the updateMask field are used. If `updateMask` is not present, the update applies to all fields. This method returns the following error codes: * google.rpc.Code.PERMISSION_DENIED if the requesting user did not create the requested photo. * google.rpc.Code.INVALID_ARGUMENT if the request is malformed. * google.rpc.Code.NOT_FOUND if the requested photo does not exist. * google.rpc.Code.UNAVAILABLE if the requested Photo is still being indexed.</p>
@@ -146,7 +146,7 @@ <h3>Method Details</h3>
146
146
"thumbnailUrl": "A String", # Output only. The thumbnail URL for showing a preview of the given photo.
147
147
"transferStatus": "A String", # Output only. Status of rights transfer on this photo.
148
148
"uploadReference": { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
149
-
"uploadUrl": "A String", # Required. An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
149
+
"uploadUrl": "A String", # An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
150
150
},
151
151
"viewCount": "A String", # Output only. View count of the photo.
152
152
}
@@ -199,7 +199,7 @@ <h3>Method Details</h3>
199
199
"thumbnailUrl": "A String", # Output only. The thumbnail URL for showing a preview of the given photo.
200
200
"transferStatus": "A String", # Output only. Status of rights transfer on this photo.
201
201
"uploadReference": { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
202
-
"uploadUrl": "A String", # Required. An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
202
+
"uploadUrl": "A String", # An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
203
203
},
204
204
"viewCount": "A String", # Output only. View count of the photo.
205
205
}</pre>
@@ -282,15 +282,15 @@ <h3>Method Details</h3>
282
282
"thumbnailUrl": "A String", # Output only. The thumbnail URL for showing a preview of the given photo.
283
283
"transferStatus": "A String", # Output only. Status of rights transfer on this photo.
284
284
"uploadReference": { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
285
-
"uploadUrl": "A String", # Required. An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
285
+
"uploadUrl": "A String", # An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
286
286
},
287
287
"viewCount": "A String", # Output only. View count of the photo.
<pre>Creates an upload session to start uploading photo bytes. The method uses the upload URL of the returned UploadRef to upload the bytes for the Photo. In addition to the photo requirements shown in https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, the photo must meet the following requirements: * Photo Sphere XMP metadata must be included in the photo metadata. See https://developers.google.com/streetview/spherical-metadata for the required fields. * The pixel size of the photo must meet the size requirements listed in https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, and the photo must be a full 360 horizontally. After the upload completes, the method uses UploadRef with CreatePhoto to create the Photo object entry.
293
+
<pre>Creates an upload session to start uploading photo bytes. The method uses the upload URL of the returned UploadRef to upload the bytes for the Photo. In addition to the photo requirements shown in https://support.google.com/maps/answer/7012050?ref_topic=6275604, the photo must meet the following requirements: * Photo Sphere XMP metadata must be included in the photo metadata. See https://developers.google.com/streetview/spherical-metadata for the required fields. * The pixel size of the photo must meet the size requirements listed in https://support.google.com/maps/answer/7012050?ref_topic=6275604, and the photo must be a full 360 horizontally. After the upload completes, the method uses UploadRef with CreatePhoto to create the Photo object entry.
294
294
295
295
Args:
296
296
body: object, The request body.
@@ -308,7 +308,7 @@ <h3>Method Details</h3>
308
308
An object of the form:
309
309
310
310
{ # Upload reference for media files.
311
-
"uploadUrl": "A String", # Required. An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
311
+
"uploadUrl": "A String", # An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
312
312
}</pre>
313
313
</div>
314
314
@@ -361,7 +361,7 @@ <h3>Method Details</h3>
361
361
"thumbnailUrl": "A String", # Output only. The thumbnail URL for showing a preview of the given photo.
362
362
"transferStatus": "A String", # Output only. Status of rights transfer on this photo.
363
363
"uploadReference": { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
364
-
"uploadUrl": "A String", # Required. An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
364
+
"uploadUrl": "A String", # An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
365
365
},
366
366
"viewCount": "A String", # Output only. View count of the photo.
367
367
}
@@ -415,7 +415,7 @@ <h3>Method Details</h3>
415
415
"thumbnailUrl": "A String", # Output only. The thumbnail URL for showing a preview of the given photo.
416
416
"transferStatus": "A String", # Output only. Status of rights transfer on this photo.
417
417
"uploadReference": { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
418
-
"uploadUrl": "A String", # Required. An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
418
+
"uploadUrl": "A String", # An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
419
419
},
420
420
"viewCount": "A String", # Output only. View count of the photo.
Copy file name to clipboardExpand all lines: docs/dyn/streetviewpublish_v1.photos.html
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -192,7 +192,7 @@ <h3>Method Details</h3>
192
192
"thumbnailUrl": "A String", # Output only. The thumbnail URL for showing a preview of the given photo.
193
193
"transferStatus": "A String", # Output only. Status of rights transfer on this photo.
194
194
"uploadReference": { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
195
-
"uploadUrl": "A String", # Required. An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
195
+
"uploadUrl": "A String", # An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
196
196
},
197
197
"viewCount": "A String", # Output only. View count of the photo.
198
198
},
@@ -261,7 +261,7 @@ <h3>Method Details</h3>
261
261
"thumbnailUrl": "A String", # Output only. The thumbnail URL for showing a preview of the given photo.
262
262
"transferStatus": "A String", # Output only. Status of rights transfer on this photo.
263
263
"uploadReference": { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
264
-
"uploadUrl": "A String", # Required. An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
264
+
"uploadUrl": "A String", # An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
265
265
},
266
266
"viewCount": "A String", # Output only. View count of the photo.
267
267
},
@@ -321,7 +321,7 @@ <h3>Method Details</h3>
321
321
"thumbnailUrl": "A String", # Output only. The thumbnail URL for showing a preview of the given photo.
322
322
"transferStatus": "A String", # Output only. Status of rights transfer on this photo.
323
323
"uploadReference": { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
324
-
"uploadUrl": "A String", # Required. An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
324
+
"uploadUrl": "A String", # An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
325
325
},
326
326
"viewCount": "A String", # Output only. View count of the photo.
327
327
},
@@ -408,7 +408,7 @@ <h3>Method Details</h3>
408
408
"thumbnailUrl": "A String", # Output only. The thumbnail URL for showing a preview of the given photo.
409
409
"transferStatus": "A String", # Output only. Status of rights transfer on this photo.
410
410
"uploadReference": { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
411
-
"uploadUrl": "A String", # Required. An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
411
+
"uploadUrl": "A String", # An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
412
412
},
413
413
"viewCount": "A String", # Output only. View count of the photo.
0 commit comments