Skip to content

Commit c8cf30c

Browse files
feat(streetviewpublish): update the api
#### streetviewpublish:v1 The following keys were added: - schemas.Photo.properties.uploadTime (Total Keys: 2)
1 parent d7f5333 commit c8cf30c

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

docs/dyn/streetviewpublish_v1.photo.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ <h3>Method Details</h3>
148148
&quot;uploadReference&quot;: { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
149149
&quot;uploadUrl&quot;: &quot;A String&quot;, # An upload reference should be unique for each user. It follows the form: &quot;https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}&quot;
150150
},
151+
&quot;uploadTime&quot;: &quot;A String&quot;, # Time when the image was uploaded.
151152
&quot;viewCount&quot;: &quot;A String&quot;, # Output only. View count of the photo.
152153
}
153154

@@ -201,6 +202,7 @@ <h3>Method Details</h3>
201202
&quot;uploadReference&quot;: { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
202203
&quot;uploadUrl&quot;: &quot;A String&quot;, # An upload reference should be unique for each user. It follows the form: &quot;https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}&quot;
203204
},
205+
&quot;uploadTime&quot;: &quot;A String&quot;, # Time when the image was uploaded.
204206
&quot;viewCount&quot;: &quot;A String&quot;, # Output only. View count of the photo.
205207
}</pre>
206208
</div>
@@ -284,6 +286,7 @@ <h3>Method Details</h3>
284286
&quot;uploadReference&quot;: { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
285287
&quot;uploadUrl&quot;: &quot;A String&quot;, # An upload reference should be unique for each user. It follows the form: &quot;https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}&quot;
286288
},
289+
&quot;uploadTime&quot;: &quot;A String&quot;, # Time when the image was uploaded.
287290
&quot;viewCount&quot;: &quot;A String&quot;, # Output only. View count of the photo.
288291
}</pre>
289292
</div>
@@ -363,6 +366,7 @@ <h3>Method Details</h3>
363366
&quot;uploadReference&quot;: { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
364367
&quot;uploadUrl&quot;: &quot;A String&quot;, # An upload reference should be unique for each user. It follows the form: &quot;https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}&quot;
365368
},
369+
&quot;uploadTime&quot;: &quot;A String&quot;, # Time when the image was uploaded.
366370
&quot;viewCount&quot;: &quot;A String&quot;, # Output only. View count of the photo.
367371
}
368372

@@ -417,6 +421,7 @@ <h3>Method Details</h3>
417421
&quot;uploadReference&quot;: { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
418422
&quot;uploadUrl&quot;: &quot;A String&quot;, # An upload reference should be unique for each user. It follows the form: &quot;https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}&quot;
419423
},
424+
&quot;uploadTime&quot;: &quot;A String&quot;, # Time when the image was uploaded.
420425
&quot;viewCount&quot;: &quot;A String&quot;, # Output only. View count of the photo.
421426
}</pre>
422427
</div>

docs/dyn/streetviewpublish_v1.photos.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ <h3>Method Details</h3>
194194
&quot;uploadReference&quot;: { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
195195
&quot;uploadUrl&quot;: &quot;A String&quot;, # An upload reference should be unique for each user. It follows the form: &quot;https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}&quot;
196196
},
197+
&quot;uploadTime&quot;: &quot;A String&quot;, # Time when the image was uploaded.
197198
&quot;viewCount&quot;: &quot;A String&quot;, # Output only. View count of the photo.
198199
},
199200
&quot;status&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The status for the operation to get or update a single photo in the batch request.
@@ -263,6 +264,7 @@ <h3>Method Details</h3>
263264
&quot;uploadReference&quot;: { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
264265
&quot;uploadUrl&quot;: &quot;A String&quot;, # An upload reference should be unique for each user. It follows the form: &quot;https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}&quot;
265266
},
267+
&quot;uploadTime&quot;: &quot;A String&quot;, # Time when the image was uploaded.
266268
&quot;viewCount&quot;: &quot;A String&quot;, # Output only. View count of the photo.
267269
},
268270
&quot;updateMask&quot;: &quot;A String&quot;, # Required. Mask that identifies fields on the photo metadata to update. If not present, the old Photo metadata is entirely replaced with the new Photo metadata in this request. The update fails if invalid fields are specified. Multiple fields can be specified in a comma-delimited list. The following fields are valid: * `pose.heading` * `pose.latLngPair` * `pose.pitch` * `pose.roll` * `pose.level` * `pose.altitude` * `connections` * `places` *Note:* When updateMask contains repeated fields, the entire set of repeated values get replaced with the new contents. For example, if updateMask contains `connections` and `UpdatePhotoRequest.photo.connections` is empty, all connections are removed.
@@ -323,6 +325,7 @@ <h3>Method Details</h3>
323325
&quot;uploadReference&quot;: { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
324326
&quot;uploadUrl&quot;: &quot;A String&quot;, # An upload reference should be unique for each user. It follows the form: &quot;https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}&quot;
325327
},
328+
&quot;uploadTime&quot;: &quot;A String&quot;, # Time when the image was uploaded.
326329
&quot;viewCount&quot;: &quot;A String&quot;, # Output only. View count of the photo.
327330
},
328331
&quot;status&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The status for the operation to get or update a single photo in the batch request.
@@ -349,7 +352,7 @@ <h3>Method Details</h3>
349352
<pre>Lists all the Photos that belong to the user. *Note:* Recently created photos that are still being indexed are not returned in the response.
350353

351354
Args:
352-
filter: string, Required. The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The only filter supported at the moment is `placeId`.
355+
filter: string, Optional. The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The only filter supported at the moment is `placeId`.
353356
languageCode: string, The BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. If language_code is unspecified, the user&#x27;s language preference for Google services is used.
354357
pageSize: integer, 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`.
355358
pageToken: string, The nextPageToken value returned from a previous ListPhotos request, if any.
@@ -410,6 +413,7 @@ <h3>Method Details</h3>
410413
&quot;uploadReference&quot;: { # Upload reference for media files. # Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
411414
&quot;uploadUrl&quot;: &quot;A String&quot;, # An upload reference should be unique for each user. It follows the form: &quot;https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}&quot;
412415
},
416+
&quot;uploadTime&quot;: &quot;A String&quot;, # Time when the image was uploaded.
413417
&quot;viewCount&quot;: &quot;A String&quot;, # Output only. View count of the photo.
414418
},
415419
],

googleapiclient/discovery_cache/documents/streetviewpublish.v1.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@
330330
"parameterOrder": [],
331331
"parameters": {
332332
"filter": {
333-
"description": "Required. The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The only filter supported at the moment is `placeId`.",
333+
"description": "Optional. The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The only filter supported at the moment is `placeId`.",
334334
"location": "query",
335335
"type": "string"
336336
},
@@ -375,7 +375,7 @@
375375
}
376376
}
377377
},
378-
"revision": "20210903",
378+
"revision": "20210910",
379379
"rootUrl": "https://streetviewpublish.googleapis.com/",
380380
"schemas": {
381381
"BatchDeletePhotosRequest": {
@@ -636,6 +636,11 @@
636636
"$ref": "UploadRef",
637637
"description": "Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to."
638638
},
639+
"uploadTime": {
640+
"description": "Time when the image was uploaded.",
641+
"format": "google-datetime",
642+
"type": "string"
643+
},
639644
"viewCount": {
640645
"description": "Output only. View count of the photo.",
641646
"format": "int64",

0 commit comments

Comments
 (0)