managedFolders

Updates a managed folder using patch semantics.

patch/b/{bucket}/managedFolders/{managedFolder}

Request

  • Base URL: https://storage.googleapis.com/storage/v1
  • URL: https://storage.googleapis.com/storage/v1/b/{bucket}/managedFolders/{managedFolder}
  • Auth: one of:
    • OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)
    • OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/devstorage.full_control) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/devstorage.full_control)
    • OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/devstorage.read_write) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/devstorage.read_write)

Path parameters

bucketstring required

The name of the bucket containing the managed folder.

managedFolderstring required

The name of the managed folder.

Query parameters

ifMetagenerationMatchstring

Makes the operation conditional on whether the metageneration of the managed folder matches the specified value.

ifMetagenerationNotMatchstring

Makes the operation conditional on whether the metageneration of the managed folder doesn't match the specified value.

Request body

bucketstring

The name of the bucket containing this managed folder.

createTimestring date-time

The creation time of the managed folder in RFC 3339 format.

idstring

The ID of the managed folder, including the bucket name and managed folder name.

kindstring

The kind of item this is. For managed folders, this is always storage#managedFolder.

metagenerationstring int64

The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.

namestring

The name of the managed folder. Required if not specified by URL parameter.

selfLinkstring

The link to this managed folder.

updateTimestring date-time

The last update time of the managed folder metadata in RFC 3339 format.

Response

Successful response

Changes

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/devstorage.read_write was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/devstorage.read_write was removed from the endpoint's security scheme Oauth2c

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/devstorage.read_write was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/devstorage.read_write was removed from the endpoint's security scheme Oauth2c