Image_UpdateAlbumSettings
Updates the settings of an image album.
Path Parameters
- user string required
The user id.
- album string required
The album id.
Request Body required
settings object required
- name string
The album resource name.
- bucket string
The bucket where to store resources.
- systemManaged boolean
Whether the album is system managed.
- enableSearch boolean
Whether images in this album show up in the search engine results.
- enableAnnotation boolean
Whether images in this album can be annotated.
- enableEncryption boolean
Whether images in this album must be client-side encrypted.
- highVisibility boolean
Whether the content of this album is highly visible by the public such as profile pictures and banners. Highly visible albums cannot contain sensitive or adult images.
- 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
The album resource name.
- bucket string
The bucket where to store resources.
- systemManaged boolean
Whether the album is system managed.
- enableSearch boolean
Whether images in this album show up in the search engine results.
- enableAnnotation boolean
Whether images in this album can be annotated.
- enableEncryption boolean
Whether images in this album must be client-side encrypted.
- highVisibility boolean
Whether the content of this album is highly visible by the public such as profile pictures and banners. Highly visible albums cannot contain sensitive or adult images.
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.