|
28 | 28 | "documentationLink": "https://developers.google.com/storage/docs/json_api/",
|
29 | 29 | "endpoints": [
|
30 | 30 | {
|
| 31 | + "description": "Regional Endpoint", |
31 | 32 | "endpointUrl": "https://storage.europe-west3.rep.googleapis.com/",
|
32 |
| - "location": "europe-west3", |
33 |
| - "description": "Regional Endpoint" |
| 33 | + "location": "europe-west3" |
34 | 34 | },
|
35 | 35 | {
|
| 36 | + "description": "Regional Endpoint", |
36 | 37 | "endpointUrl": "https://storage.europe-west9.rep.googleapis.com/",
|
37 |
| - "location": "europe-west9", |
38 |
| - "description": "Regional Endpoint" |
| 38 | + "location": "europe-west9" |
39 | 39 | },
|
40 | 40 | {
|
| 41 | + "description": "Regional Endpoint", |
41 | 42 | "endpointUrl": "https://storage.me-central2.rep.googleapis.com/",
|
42 |
| - "location": "me-central2", |
43 |
| - "description": "Regional Endpoint" |
| 43 | + "location": "me-central2" |
44 | 44 | }
|
45 | 45 | ],
|
46 |
| - "etag": "\"39393931363036383932333134343736343437\"", |
| 46 | + "etag": "\"34373939373134303235393739323331393435\"", |
47 | 47 | "icons": {
|
48 | 48 | "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
|
49 | 49 | "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
|
|
560 | 560 | "buckets": {
|
561 | 561 | "methods": {
|
562 | 562 | "delete": {
|
563 |
| - "description": "Permanently deletes an empty bucket.", |
| 563 | + "description": "Deletes an empty bucket. Deletions are permanent unless soft delete is enabled on the bucket.", |
564 | 564 | "httpMethod": "DELETE",
|
565 | 565 | "id": "storage.buckets.delete",
|
566 | 566 | "parameterOrder": [
|
|
612 | 612 | "required": true,
|
613 | 613 | "type": "string"
|
614 | 614 | },
|
| 615 | + "generation": { |
| 616 | + "description": "If present, specifies the generation of the bucket. This is required if softDeleted is true.", |
| 617 | + "format": "int64", |
| 618 | + "location": "query", |
| 619 | + "type": "string" |
| 620 | + }, |
615 | 621 | "ifMetagenerationMatch": {
|
616 | 622 | "description": "Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.",
|
617 | 623 | "format": "int64",
|
|
637 | 643 | "location": "query",
|
638 | 644 | "type": "string"
|
639 | 645 | },
|
| 646 | + "softDeleted": { |
| 647 | + "description": "If true, return the soft-deleted version of this bucket. The default is false. For more information, see [Soft Delete](https://cloud.google.com/storage/docs/soft-delete).", |
| 648 | + "location": "query", |
| 649 | + "type": "boolean" |
| 650 | + }, |
640 | 651 | "userProject": {
|
641 | 652 | "description": "The project to be billed for this request. Required for Requester Pays buckets.",
|
642 | 653 | "location": "query",
|
|
860 | 871 | "location": "query",
|
861 | 872 | "type": "string"
|
862 | 873 | },
|
| 874 | + "softDeleted": { |
| 875 | + "description": "If true, only soft-deleted bucket versions will be returned. The default is false. For more information, see [Soft Delete](https://cloud.google.com/storage/docs/soft-delete).", |
| 876 | + "location": "query", |
| 877 | + "type": "boolean" |
| 878 | + }, |
863 | 879 | "userProject": {
|
864 | 880 | "description": "The project to be billed for this request.",
|
865 | 881 | "location": "query",
|
|
1013 | 1029 | "https://www.googleapis.com/auth/devstorage.full_control"
|
1014 | 1030 | ]
|
1015 | 1031 | },
|
| 1032 | + "restore": { |
| 1033 | + "description": "Restores a soft-deleted bucket.", |
| 1034 | + "httpMethod": "POST", |
| 1035 | + "id": "storage.buckets.restore", |
| 1036 | + "parameterOrder": [ |
| 1037 | + "bucket", |
| 1038 | + "generation" |
| 1039 | + ], |
| 1040 | + "parameters": { |
| 1041 | + "bucket": { |
| 1042 | + "description": "Name of a bucket.", |
| 1043 | + "location": "path", |
| 1044 | + "required": true, |
| 1045 | + "type": "string" |
| 1046 | + }, |
| 1047 | + "generation": { |
| 1048 | + "description": "Generation of a bucket.", |
| 1049 | + "format": "int64", |
| 1050 | + "location": "query", |
| 1051 | + "required": true, |
| 1052 | + "type": "string" |
| 1053 | + }, |
| 1054 | + "userProject": { |
| 1055 | + "description": "The project to be billed for this request. Required for Requester Pays buckets.", |
| 1056 | + "location": "query", |
| 1057 | + "type": "string" |
| 1058 | + } |
| 1059 | + }, |
| 1060 | + "path": "b/{bucket}/restore", |
| 1061 | + "scopes": [ |
| 1062 | + "https://www.googleapis.com/auth/cloud-platform", |
| 1063 | + "https://www.googleapis.com/auth/devstorage.full_control", |
| 1064 | + "https://www.googleapis.com/auth/devstorage.read_write" |
| 1065 | + ] |
| 1066 | + }, |
1016 | 1067 | "setIamPolicy": {
|
1017 | 1068 | "description": "Updates an IAM policy for the specified bucket.",
|
1018 | 1069 | "httpMethod": "PUT",
|
|
2779 | 2830 | "type": "string"
|
2780 | 2831 | },
|
2781 | 2832 | "softDeleted": {
|
2782 |
| - "description": "If true, only soft-deleted object versions will be listed. The default is false. For more information, see Soft Delete.", |
| 2833 | + "description": "If true, only soft-deleted object versions will be listed. The default is false. For more information, see [Soft Delete](https://cloud.google.com/storage/docs/soft-delete).", |
2783 | 2834 | "location": "query",
|
2784 | 2835 | "type": "boolean"
|
2785 | 2836 | },
|
|
3041 | 3092 | "type": "string"
|
3042 | 3093 | },
|
3043 | 3094 | "softDeleted": {
|
3044 |
| - "description": "If true, only soft-deleted object versions will be listed. The default is false. For more information, see Soft Delete.", |
| 3095 | + "description": "If true, only soft-deleted object versions will be listed. The default is false. For more information, see [Soft Delete](https://cloud.google.com/storage/docs/soft-delete).", |
3045 | 3096 | "location": "query",
|
3046 | 3097 | "type": "boolean"
|
3047 | 3098 | },
|
|
3056 | 3107 | "type": "string"
|
3057 | 3108 | },
|
3058 | 3109 | "versions": {
|
3059 |
| - "description": "If true, lists all versions of an object as distinct results. The default is false. For more information, see Object Versioning.", |
| 3110 | + "description": "If true, lists all versions of an object as distinct results. The default is false. For more information, see [Object Versioning](https://cloud.google.com/storage/docs/object-versioning).", |
3060 | 3111 | "location": "query",
|
3061 | 3112 | "type": "boolean"
|
3062 | 3113 | }
|
|
3235 | 3286 | "type": "string"
|
3236 | 3287 | },
|
3237 | 3288 | "object": {
|
3238 |
| - "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", |
| 3289 | + "description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", |
3239 | 3290 | "location": "path",
|
3240 | 3291 | "required": true,
|
3241 | 3292 | "type": "string"
|
|
3704 | 3755 | "type": "string"
|
3705 | 3756 | },
|
3706 | 3757 | "versions": {
|
3707 |
| - "description": "If true, lists all versions of an object as distinct results. The default is false. For more information, see Object Versioning.", |
| 3758 | + "description": "If true, lists all versions of an object as distinct results. The default is false. For more information, see [Object Versioning](https://cloud.google.com/storage/docs/object-versioning).", |
3708 | 3759 | "location": "query",
|
3709 | 3760 | "type": "boolean"
|
3710 | 3761 | }
|
|
4006 | 4057 | ]
|
4007 | 4058 | },
|
4008 | 4059 | "update": {
|
4009 |
| - "description": "Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states.", |
| 4060 | + "description": "Updates the state of an HMAC key. See the [HMAC Key resource descriptor](https://cloud.google.com/storage/docs/json_api/v1/projects/hmacKeys/update#request-body) for valid states.", |
4010 | 4061 | "httpMethod": "PUT",
|
4011 | 4062 | "id": "storage.projects.hmacKeys.update",
|
4012 | 4063 | "parameterOrder": [
|
|
4085 | 4136 | }
|
4086 | 4137 | }
|
4087 | 4138 | },
|
4088 |
| - "revision": "20240625", |
| 4139 | + "revision": "20240809", |
4089 | 4140 | "rootUrl": "https://storage.googleapis.com/",
|
4090 | 4141 | "schemas": {
|
4091 | 4142 | "AnywhereCache": {
|
|
4293 | 4344 | "description": "HTTP 1.1 Entity tag for the bucket.",
|
4294 | 4345 | "type": "string"
|
4295 | 4346 | },
|
| 4347 | + "generation": { |
| 4348 | + "description": "The generation of this bucket.", |
| 4349 | + "format": "int64", |
| 4350 | + "type": "string" |
| 4351 | + }, |
4296 | 4352 | "hierarchicalNamespace": {
|
4297 | 4353 | "description": "The bucket's hierarchical namespace configuration.",
|
4298 | 4354 | "properties": {
|
|
4347 | 4403 | "description": "The ID of the bucket. For buckets, the id and name properties are the same.",
|
4348 | 4404 | "type": "string"
|
4349 | 4405 | },
|
| 4406 | + "ipFilter": { |
| 4407 | + "description": "The bucket's IP filter configuration. Specifies the network sources that are allowed to access the operations on the bucket, as well as its underlying objects. Only enforced when the mode is set to 'Enabled'.", |
| 4408 | + "properties": { |
| 4409 | + "mode": { |
| 4410 | + "description": "The mode of the IP filter. Valid values are 'Enabled' and 'Disabled'.", |
| 4411 | + "type": "string" |
| 4412 | + }, |
| 4413 | + "publicNetworkSource": { |
| 4414 | + "description": "The public network source of the bucket's IP filter.", |
| 4415 | + "properties": { |
| 4416 | + "allowedIpCidrRanges": { |
| 4417 | + "description": "The list of public IPv4, IPv6 cidr ranges that are allowed to access the bucket.", |
| 4418 | + "items": { |
| 4419 | + "type": "string" |
| 4420 | + }, |
| 4421 | + "type": "array" |
| 4422 | + } |
| 4423 | + }, |
| 4424 | + "type": "object" |
| 4425 | + }, |
| 4426 | + "vpcNetworkSources": { |
| 4427 | + "description": "The list of [VPC network](https://cloud.google.com/vpc/docs/vpc) sources of the bucket's IP filter.", |
| 4428 | + "items": { |
| 4429 | + "properties": { |
| 4430 | + "allowedIpCidrRanges": { |
| 4431 | + "description": "The list of IPv4, IPv6 cidr ranges subnetworks that are allowed to access the bucket.", |
| 4432 | + "items": { |
| 4433 | + "type": "string" |
| 4434 | + }, |
| 4435 | + "type": "array" |
| 4436 | + }, |
| 4437 | + "network": { |
| 4438 | + "description": "Name of the network. Format: projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}", |
| 4439 | + "type": "string" |
| 4440 | + } |
| 4441 | + }, |
| 4442 | + "type": "object" |
| 4443 | + }, |
| 4444 | + "type": "array" |
| 4445 | + } |
| 4446 | + }, |
| 4447 | + "type": "object" |
| 4448 | + }, |
4350 | 4449 | "kind": {
|
4351 | 4450 | "default": "storage#bucket",
|
4352 | 4451 | "description": "The kind of item this is. For buckets, this is always storage#bucket.",
|
|
4361 | 4460 | "type": "object"
|
4362 | 4461 | },
|
4363 | 4462 | "lifecycle": {
|
4364 |
| - "description": "The bucket's lifecycle configuration. See lifecycle management for more information.", |
| 4463 | + "description": "The bucket's lifecycle configuration. See [Lifecycle Management](https://cloud.google.com/storage/docs/lifecycle) for more information.", |
4365 | 4464 | "properties": {
|
4366 | 4465 | "rule": {
|
4367 | 4466 | "description": "A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.",
|
|
4460 | 4559 | "type": "object"
|
4461 | 4560 | },
|
4462 | 4561 | "location": {
|
4463 |
| - "description": "The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the developer's guide for the authoritative list.", |
| 4562 | + "description": "The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the [Developer's Guide](https://cloud.google.com/storage/docs/locations) for the authoritative list.", |
4464 | 4563 | "type": "string"
|
4465 | 4564 | },
|
4466 | 4565 | "locationType": {
|
|
4548 | 4647 | "description": "The Recovery Point Objective (RPO) of this bucket. Set to ASYNC_TURBO to turn on Turbo Replication on a bucket.",
|
4549 | 4648 | "type": "string"
|
4550 | 4649 | },
|
| 4650 | + "satisfiesPZI": { |
| 4651 | + "description": "Reserved for future use.", |
| 4652 | + "type": "boolean" |
| 4653 | + }, |
4551 | 4654 | "satisfiesPZS": {
|
4552 | 4655 | "description": "Reserved for future use.",
|
4553 | 4656 | "type": "boolean"
|
|
4573 | 4676 | "type": "object"
|
4574 | 4677 | },
|
4575 | 4678 | "storageClass": {
|
4576 |
| - "description": "The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Values include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE, and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when the bucket is created, it will default to STANDARD. For more information, see storage classes.", |
| 4679 | + "description": "The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Values include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE, and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when the bucket is created, it will default to STANDARD. For more information, see [Storage Classes](https://cloud.google.com/storage/docs/storage-classes).", |
4577 | 4680 | "type": "string"
|
4578 | 4681 | },
|
4579 | 4682 | "timeCreated": {
|
|
4597 | 4700 | "type": "object"
|
4598 | 4701 | },
|
4599 | 4702 | "website": {
|
4600 |
| - "description": "The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the Static Website Examples for more information.", |
| 4703 | + "description": "The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the [Static Website Examples](https://cloud.google.com/storage/docs/static-website) for more information.", |
4601 | 4704 | "properties": {
|
4602 | 4705 | "mainPageSuffix": {
|
4603 | 4706 | "description": "If the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting object. This allows the creation of index.html objects to represent directory pages.",
|
|
5392 | 5495 | "type": "string"
|
5393 | 5496 | },
|
5394 | 5497 | "crc32c": {
|
5395 |
| - "description": "CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices.", |
| 5498 | + "description": "CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see [Data Validation and Change Detection](https://cloud.google.com/storage/docs/data-validation).", |
5396 | 5499 | "type": "string"
|
5397 | 5500 | },
|
5398 | 5501 | "customTime": {
|
|
5446 | 5549 | "type": "string"
|
5447 | 5550 | },
|
5448 | 5551 | "md5Hash": {
|
5449 |
| - "description": "MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.", |
| 5552 | + "description": "MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see [Data Validation and Change Detection](https://cloud.google.com/storage/docs/data-validation).", |
5450 | 5553 | "type": "string"
|
5451 | 5554 | },
|
5452 | 5555 | "mediaLink": {
|
|
0 commit comments