Library_UpdatePlaylist
Library_UpdatePlaylist
Path Parameters
- user string required
The user id.
- playlist string required
The playlist id.
Request Body required
playlist object required
- name string required
The id of the playlist.
- displayName string
The display name of the playlist.
- type enum required
Possible values: [
TYPE_UNSPECIFIED
,LATER
,LIKED
,CUSTOM
]The type of the playlist.
- updateMask field-mask
The field mask to determine which fields are to be updated. If empty, the server will assume all fields are to be updated.
- 200
- default
OK
Schema
- name string required
The id of the playlist.
- displayName string
The display name of the playlist.
- type enum required
Possible values: [
TYPE_UNSPECIFIED
,LATER
,LIKED
,CUSTOM
]The type of the playlist.
Default error response
Schema
- code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
- message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
- @type string
The type of the serialized message.