Skip to content

Commit

Permalink
feat(streetviewpublish): update the API
Browse files Browse the repository at this point in the history
#### streetviewpublish:v1

The following keys were added:
- schemas.Photo.properties.uploadTime.description
- schemas.Photo.properties.uploadTime.format
- schemas.Photo.properties.uploadTime.type

The following keys were changed:
- resources.photos.methods.list.parameters.filter.description
  • Loading branch information
yoshi-automation authored and bcoe committed Sep 14, 2021
1 parent e147dbf commit d1d2090
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
9 changes: 7 additions & 2 deletions discovery/streetviewpublish-v1.json
Expand Up @@ -330,7 +330,7 @@
"parameterOrder": [],
"parameters": {
"filter": {
"description": "Required. The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The only filter supported at the moment is `placeId`.",
"description": "Optional. The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The only filter supported at the moment is `placeId`.",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -375,7 +375,7 @@
}
}
},
"revision": "20210519",
"revision": "20210910",
"rootUrl": "https://streetviewpublish.googleapis.com/",
"schemas": {
"BatchDeletePhotosRequest": {
Expand Down Expand Up @@ -636,6 +636,11 @@
"$ref": "UploadRef",
"description": "Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to."
},
"uploadTime": {
"description": "Time when the image was uploaded.",
"format": "google-datetime",
"type": "string"
},
"viewCount": {
"description": "Output only. View count of the photo.",
"format": "int64",
Expand Down
13 changes: 11 additions & 2 deletions src/apis/streetviewpublish/v1.ts
Expand Up @@ -297,6 +297,10 @@ export namespace streetviewpublish_v1 {
* Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
*/
uploadReference?: Schema$UploadRef;
/**
* Time when the image was uploaded.
*/
uploadTime?: string | null;
/**
* Output only. View count of the photo.
*/
Expand Down Expand Up @@ -462,6 +466,7 @@ export namespace streetviewpublish_v1 {
* // "thumbnailUrl": "my_thumbnailUrl",
* // "transferStatus": "my_transferStatus",
* // "uploadReference": {},
* // "uploadTime": "my_uploadTime",
* // "viewCount": "my_viewCount"
* // }
* },
Expand All @@ -481,6 +486,7 @@ export namespace streetviewpublish_v1 {
* // "thumbnailUrl": "my_thumbnailUrl",
* // "transferStatus": "my_transferStatus",
* // "uploadReference": {},
* // "uploadTime": "my_uploadTime",
* // "viewCount": "my_viewCount"
* // }
* }
Expand Down Expand Up @@ -749,6 +755,7 @@ export namespace streetviewpublish_v1 {
* // "thumbnailUrl": "my_thumbnailUrl",
* // "transferStatus": "my_transferStatus",
* // "uploadReference": {},
* // "uploadTime": "my_uploadTime",
* // "viewCount": "my_viewCount"
* // }
* }
Expand Down Expand Up @@ -1024,6 +1031,7 @@ export namespace streetviewpublish_v1 {
* // "thumbnailUrl": "my_thumbnailUrl",
* // "transferStatus": "my_transferStatus",
* // "uploadReference": {},
* // "uploadTime": "my_uploadTime",
* // "viewCount": "my_viewCount"
* // }
* },
Expand All @@ -1043,6 +1051,7 @@ export namespace streetviewpublish_v1 {
* // "thumbnailUrl": "my_thumbnailUrl",
* // "transferStatus": "my_transferStatus",
* // "uploadReference": {},
* // "uploadTime": "my_uploadTime",
* // "viewCount": "my_viewCount"
* // }
* }
Expand Down Expand Up @@ -1642,7 +1651,7 @@ export namespace streetviewpublish_v1 {
*
* // Do the magic
* const res = await streetviewpublish.photos.list({
* // Required. The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The only filter supported at the moment is `placeId`.
* // Optional. The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The only filter supported at the moment is `placeId`.
* filter: 'placeholder-value',
* // 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.
* languageCode: 'placeholder-value',
Expand Down Expand Up @@ -1784,7 +1793,7 @@ export namespace streetviewpublish_v1 {
}
export interface Params$Resource$Photos$List extends StandardParameters {
/**
* Required. The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The only filter supported at the moment is `placeId`.
* Optional. The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The only filter supported at the moment is `placeId`.
*/
filter?: string;
/**
Expand Down

0 comments on commit d1d2090

Please sign in to comment.