UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 202 kB
{"openapi":"3.0.0","servers":[{"url":"https://storage.googleapis.com/storage/v1"}],"info":{"contact":{"name":"Google","url":"https://google.com","x-twitter":"youtube"},"description":"Stores and retrieves potentially large, immutable data objects.","license":{"name":"Creative Commons Attribution 3.0","url":"http://creativecommons.org/licenses/by/3.0/"},"termsOfService":"https://developers.google.com/terms/","title":"Cloud Storage JSON API","version":"v1","x-apiClientRegistration":{"url":"https://console.developers.google.com"},"x-apisguru-categories":["analytics","media"],"x-logo":{"url":"https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"},"x-origin":[{"format":"google","url":"https://storage.googleapis.com/$discovery/rest?version=v1","version":"v1"}],"x-preferred":true,"x-providerName":"googleapis.com","x-serviceName":"storage"},"externalDocs":{"url":"https://developers.google.com/storage/docs/json_api/"},"tags":[{"name":"anywhereCaches"},{"name":"bucketAccessControls"},{"name":"buckets"},{"name":"channels"},{"name":"defaultObjectAccessControls"},{"name":"folders"},{"name":"managedFolders"},{"name":"notifications"},{"name":"objectAccessControls"},{"name":"objects"},{"name":"operations"},{"name":"projects"}],"paths":{"/b":{"get":{"description":"Retrieves a list of buckets for a given project.","operationId":"storage.buckets.list","parameters":[{"description":"A valid API project identifier.","in":"query","name":"project","required":true,"schema":{"type":"string"}},{"description":"Maximum number of buckets to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.","in":"query","name":"maxResults","schema":{"minimum":0,"type":"integer"}},{"description":"A previously-returned page token representing part of the larger set of results to view.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"Filter results to buckets whose names begin with this prefix.","in":"query","name":"prefix","schema":{"type":"string"}},{"description":"Set of properties to return. Defaults to noAcl.","in":"query","name":"projection","schema":{"enum":["full","noAcl"],"type":"string"}},{"description":"The project to be billed for this request.","in":"query","name":"userProject","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Buckets"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_only"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_only"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["buckets"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Creates a new bucket.","operationId":"storage.buckets.insert","parameters":[{"description":"A valid API project identifier.","in":"query","name":"project","required":true,"schema":{"type":"string"}},{"description":"When set to true, object retention is enabled for this bucket.","in":"query","name":"enableObjectRetention","schema":{"type":"boolean"}},{"description":"Apply a predefined set of access controls to this bucket.","in":"query","name":"predefinedAcl","schema":{"enum":["authenticatedRead","private","projectPrivate","publicRead","publicReadWrite"],"type":"string"}},{"description":"Apply a predefined set of default object access controls to this bucket.","in":"query","name":"predefinedDefaultObjectAcl","schema":{"enum":["authenticatedRead","bucketOwnerFullControl","bucketOwnerRead","private","projectPrivate","publicRead"],"type":"string"}},{"description":"Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.","in":"query","name":"projection","schema":{"enum":["full","noAcl"],"type":"string"}},{"description":"The project to be billed for this request.","in":"query","name":"userProject","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bucket"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bucket"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["buckets"]}},"/b/{bucket}":{"delete":{"description":"Permanently deletes an empty bucket.","operationId":"storage.buckets.delete","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"If set, only deletes the bucket if its metageneration matches this value.","in":"query","name":"ifMetagenerationMatch","schema":{"type":"string"}},{"description":"If set, only deletes the bucket if its metageneration does not match this value.","in":"query","name":"ifMetagenerationNotMatch","schema":{"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["buckets"]},"get":{"description":"Returns metadata for the specified bucket.","operationId":"storage.buckets.get","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.","in":"query","name":"ifMetagenerationMatch","schema":{"type":"string"}},{"description":"Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.","in":"query","name":"ifMetagenerationNotMatch","schema":{"type":"string"}},{"description":"Set of properties to return. Defaults to noAcl.","in":"query","name":"projection","schema":{"enum":["full","noAcl"],"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bucket"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_only"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_only"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["buckets"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"patch":{"description":"Patches a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate.","operationId":"storage.buckets.patch","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.","in":"query","name":"ifMetagenerationMatch","schema":{"type":"string"}},{"description":"Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.","in":"query","name":"ifMetagenerationNotMatch","schema":{"type":"string"}},{"description":"Apply a predefined set of access controls to this bucket.","in":"query","name":"predefinedAcl","schema":{"enum":["authenticatedRead","private","projectPrivate","publicRead","publicReadWrite"],"type":"string"}},{"description":"Apply a predefined set of default object access controls to this bucket.","in":"query","name":"predefinedDefaultObjectAcl","schema":{"enum":["authenticatedRead","bucketOwnerFullControl","bucketOwnerRead","private","projectPrivate","publicRead"],"type":"string"}},{"description":"Set of properties to return. Defaults to full.","in":"query","name":"projection","schema":{"enum":["full","noAcl"],"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bucket"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bucket"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["buckets"]},"put":{"description":"Updates a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate.","operationId":"storage.buckets.update","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.","in":"query","name":"ifMetagenerationMatch","schema":{"type":"string"}},{"description":"Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.","in":"query","name":"ifMetagenerationNotMatch","schema":{"type":"string"}},{"description":"Apply a predefined set of access controls to this bucket.","in":"query","name":"predefinedAcl","schema":{"enum":["authenticatedRead","private","projectPrivate","publicRead","publicReadWrite"],"type":"string"}},{"description":"Apply a predefined set of default object access controls to this bucket.","in":"query","name":"predefinedDefaultObjectAcl","schema":{"enum":["authenticatedRead","bucketOwnerFullControl","bucketOwnerRead","private","projectPrivate","publicRead"],"type":"string"}},{"description":"Set of properties to return. Defaults to full.","in":"query","name":"projection","schema":{"enum":["full","noAcl"],"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bucket"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bucket"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["buckets"]}},"/b/{bucket}/acl":{"get":{"description":"Retrieves ACL entries on the specified bucket.","operationId":"storage.bucketAccessControls.list","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BucketAccessControls"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["bucketAccessControls"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Creates a new ACL entry on the specified bucket.","operationId":"storage.bucketAccessControls.insert","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BucketAccessControl"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BucketAccessControl"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["bucketAccessControls"]}},"/b/{bucket}/acl/{entity}":{"delete":{"description":"Permanently deletes the ACL entry for the specified entity on the specified bucket.","operationId":"storage.bucketAccessControls.delete","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.","in":"path","name":"entity","required":true,"schema":{"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["bucketAccessControls"]},"get":{"description":"Returns the ACL entry for the specified entity on the specified bucket.","operationId":"storage.bucketAccessControls.get","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.","in":"path","name":"entity","required":true,"schema":{"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BucketAccessControl"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["bucketAccessControls"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"patch":{"description":"Patches an ACL entry on the specified bucket.","operationId":"storage.bucketAccessControls.patch","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.","in":"path","name":"entity","required":true,"schema":{"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BucketAccessControl"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BucketAccessControl"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["bucketAccessControls"]},"put":{"description":"Updates an ACL entry on the specified bucket.","operationId":"storage.bucketAccessControls.update","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.","in":"path","name":"entity","required":true,"schema":{"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BucketAccessControl"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BucketAccessControl"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["bucketAccessControls"]}},"/b/{bucket}/anywhereCaches":{"get":{"description":"Returns a list of Anywhere Cache instances of the bucket matching the criteria.","operationId":"storage.anywhereCaches.list","parameters":[{"description":"Name of the parent bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"Maximum number of items to return in a single page of responses. Maximum 1000.","in":"query","name":"pageSize","schema":{"minimum":0,"type":"integer"}},{"description":"A previously-returned page token representing part of the larger set of results to view.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnywhereCaches"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_only"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_only"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["anywhereCaches"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Creates an Anywhere Cache instance.","operationId":"storage.anywhereCaches.insert","parameters":[{"description":"Name of the parent bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnywhereCache"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["anywhereCaches"]}},"/b/{bucket}/anywhereCaches/{anywhereCacheId}":{"get":{"description":"Returns the metadata of an Anywhere Cache instance.","operationId":"storage.anywhereCaches.get","parameters":[{"description":"Name of the parent bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The ID of requested Anywhere Cache instance.","in":"path","name":"anywhereCacheId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnywhereCache"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_only"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_only"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["anywhereCaches"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"patch":{"description":"Updates the config(ttl and admissionPolicy) of an Anywhere Cache instance.","operationId":"storage.anywhereCaches.update","parameters":[{"description":"Name of the parent bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The ID of requested Anywhere Cache instance.","in":"path","name":"anywhereCacheId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnywhereCache"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["anywhereCaches"]}},"/b/{bucket}/anywhereCaches/{anywhereCacheId}/disable":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Disables an Anywhere Cache instance.","operationId":"storage.anywhereCaches.disable","parameters":[{"description":"Name of the parent bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The ID of requested Anywhere Cache instance.","in":"path","name":"anywhereCacheId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnywhereCache"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["anywhereCaches"]}},"/b/{bucket}/anywhereCaches/{anywhereCacheId}/pause":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Pauses an Anywhere Cache instance.","operationId":"storage.anywhereCaches.pause","parameters":[{"description":"Name of the parent bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The ID of requested Anywhere Cache instance.","in":"path","name":"anywhereCacheId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnywhereCache"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["anywhereCaches"]}},"/b/{bucket}/anywhereCaches/{anywhereCacheId}/resume":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Resumes a paused or disabled Anywhere Cache instance.","operationId":"storage.anywhereCaches.resume","parameters":[{"description":"Name of the parent bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The ID of requested Anywhere Cache instance.","in":"path","name":"anywhereCacheId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnywhereCache"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["anywhereCaches"]}},"/b/{bucket}/defaultObjectAcl":{"get":{"description":"Retrieves default object ACL entries on the specified bucket.","operationId":"storage.defaultObjectAccessControls.list","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"If present, only return default ACL listing if the bucket's current metageneration matches this value.","in":"query","name":"ifMetagenerationMatch","schema":{"type":"string"}},{"description":"If present, only return default ACL listing if the bucket's current metageneration does not match the given value.","in":"query","name":"ifMetagenerationNotMatch","schema":{"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectAccessControls"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["defaultObjectAccessControls"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Creates a new default object ACL entry on the specified bucket.","operationId":"storage.defaultObjectAccessControls.insert","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectAccessControl"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectAccessControl"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["defaultObjectAccessControls"]}},"/b/{bucket}/defaultObjectAcl/{entity}":{"delete":{"description":"Permanently deletes the default object ACL entry for the specified entity on the specified bucket.","operationId":"storage.defaultObjectAccessControls.delete","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.","in":"path","name":"entity","required":true,"schema":{"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["defaultObjectAccessControls"]},"get":{"description":"Returns the default object ACL entry for the specified entity on the specified bucket.","operationId":"storage.defaultObjectAccessControls.get","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.","in":"path","name":"entity","required":true,"schema":{"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectAccessControl"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["defaultObjectAccessControls"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"patch":{"description":"Patches a default object ACL entry on the specified bucket.","operationId":"storage.defaultObjectAccessControls.patch","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.","in":"path","name":"entity","required":true,"schema":{"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectAccessControl"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectAccessControl"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["defaultObjectAccessControls"]},"put":{"description":"Updates a default object ACL entry on the specified bucket.","operationId":"storage.defaultObjectAccessControls.update","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.","in":"path","name":"entity","required":true,"schema":{"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectAccessControl"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectAccessControl"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["defaultObjectAccessControls"]}},"/b/{bucket}/folders":{"get":{"description":"Retrieves a list of folders matching the criteria. Only applicable to buckets with hierarchical namespace enabled.","operationId":"storage.folders.list","parameters":[{"description":"Name of the bucket in which to look for folders.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"Returns results in a directory-like mode. The only supported value is '/'. If set, items will only contain folders that either exactly match the prefix, or are one level below the prefix.","in":"query","name":"delimiter","schema":{"type":"string"}},{"description":"Filter results to folders whose names are lexicographically before endOffset. If startOffset is also set, the folders listed will have names between startOffset (inclusive) and endOffset (exclusive).","in":"query","name":"endOffset","schema":{"type":"string"}},{"description":"Maximum number of items to return in a single page of responses.","in":"query","name":"pageSize","schema":{"minimum":0,"type":"integer"}},{"description":"A previously-returned page token representing part of the larger set of results to view.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"Filter results to folders whose paths begin with this prefix. If set, the value must either be an empty string or end with a '/'.","in":"query","name":"prefix","schema":{"type":"string"}},{"description":"Filter results to folders whose names are lexicographically equal to or after startOffset. If endOffset is also set, the folders listed will have names between startOffset (inclusive) and endOffset (exclusive).","in":"query","name":"startOffset","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Folders"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_only"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_only"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["folders"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Creates a new folder. Only applicable to buckets with hierarchical namespace enabled.","operationId":"storage.folders.insert","parameters":[{"description":"Name of the bucket in which the folder resides.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"If true, any parent folder which doesn’t exist will be created automatically.","in":"query","name":"recursive","schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Folder"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Folder"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["folders"]}},"/b/{bucket}/folders/{folder}":{"delete":{"description":"Permanently deletes a folder. Only applicable to buckets with hierarchical namespace enabled.","operationId":"storage.folders.delete","parameters":[{"description":"Name of the bucket in which the folder resides.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"Name of a folder.","in":"path","name":"folder","required":true,"schema":{"type":"string"}},{"description":"If set, only deletes the folder if its metageneration matches this value.","in":"query","name":"ifMetagenerationMatch","schema":{"type":"string"}},{"description":"If set, only deletes the folder if its metageneration does not match this value.","in":"query","name":"ifMetagenerationNotMatch","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["folders"]},"get":{"description":"Returns metadata for the specified folder. Only applicable to buckets with hierarchical namespace enabled.","operationId":"storage.folders.get","parameters":[{"description":"Name of the bucket in which the folder resides.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"Name of a folder.","in":"path","name":"folder","required":true,"schema":{"type":"string"}},{"description":"Makes the return of the folder metadata conditional on whether the folder's current metageneration matches the given value.","in":"query","name":"ifMetagenerationMatch","schema":{"type":"string"}},{"description":"Makes the return of the folder metadata conditional on whether the folder's current metageneration does not match the given value.","in":"query","name":"ifMetagenerationNotMatch","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Folder"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_only"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_only"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["folders"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}]},"/b/{bucket}/folders/{sourceFolder}/renameTo/folders/{destinationFolder}":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Renames a source folder to a destination folder. Only applicable to buckets with hierarchical namespace enabled.","operationId":"storage.folders.rename","parameters":[{"description":"Name of the bucket in which the folders are in.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"Name of the source folder.","in":"path","name":"sourceFolder","required":true,"schema":{"type":"string"}},{"description":"Name of the destination folder.","in":"path","name":"destinationFolder","required":true,"schema":{"type":"string"}},{"description":"Makes the operation conditional on whether the source object's current metageneration matches the given value.","in":"query","name":"ifSourceMetagenerationMatch","schema":{"type":"string"}},{"description":"Makes the operation conditional on whether the source object's current metageneration does not match the given value.","in":"query","name":"ifSourceMetagenerationNotMatch","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.read_write"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.read_write"]}],"tags":["folders"]}},"/b/{bucket}/iam":{"get":{"description":"Returns an IAM policy for the specified bucket.","operationId":"storage.buckets.getIamPolicy","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The IAM policy format version to be returned. If the optionsRequestedPolicyVersion is for an older version that doesn't support part of the requested IAM policy, the request fails.","in":"query","name":"optionsRequestedPolicyVersion","schema":{"minimum":1,"type":"integer"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Policy"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["buckets"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"put":{"description":"Updates an IAM policy for the specified bucket.","operationId":"storage.buckets.setIamPolicy","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","required":true,"schema":{"type":"string"}},{"description":"The project to be billed for this request. Required for Requester Pays buckets.","in":"query","name":"userProject","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Policy"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Policy"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/devstorage.full_control"],"Oauth2c":["https://www.googleapis.com/auth/devstorage.full_control"]}],"tags":["buckets"]}},"/b/{bucket}/iam/testPermissions":{"get":{"description":"Tests a set of permissions on the given bucket to see which, if any, are held by the caller.","operationId":"storage.buckets.testIamPermissions","parameters":[{"description":"Name of a bucket.","in":"path","name":"bucket","req