Skip to content

Commit 6e6acfc

Browse files
fix(storage): update the API
#### storage:v1 The following keys were changed: - resources.folders.methods.insert.parameters.recursive.description - schemas.Policy.properties.bindings.items.properties.members.description - schemas.Policy.properties.bindings.items.properties.role.description - schemas.TestIamPermissionsResponse.properties.permissions.description
1 parent a5c472d commit 6e6acfc

File tree

2 files changed

+27
-27
lines changed

2 files changed

+27
-27
lines changed

discovery/storage-v1.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"location": "us-west4"
9494
}
9595
],
96-
"etag": "\"3133343838373034343130353038353234313337\"",
96+
"etag": "\"323434373038373139383836363433393338\"",
9797
"icons": {
9898
"x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
9999
"x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
@@ -1678,7 +1678,7 @@
16781678
"type": "string"
16791679
},
16801680
"recursive": {
1681-
"description": "If true, any parent folder which doesnt exist will be created automatically.",
1681+
"description": "If true, any parent folder which doesn't exist will be created automatically.",
16821682
"location": "query",
16831683
"type": "boolean"
16841684
}
@@ -4364,7 +4364,7 @@
43644364
}
43654365
}
43664366
},
4367-
"revision": "20241206",
4367+
"revision": "20250224",
43684368
"rootUrl": "https://storage.googleapis.com/",
43694369
"schemas": {
43704370
"AdvanceRelocateBucketOperationRequest": {
@@ -6075,7 +6075,7 @@
60756075
"storage.managedFolders.setIamPolicy"
60766076
]
60776077
},
6078-
"description": "A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: \n- allUsers — A special identifier that represents anyone on the internet; with or without a Google account. \n- allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. \n- user:emailid — An email address that represents a specific account. For example, user:[email protected] or user:[email protected]. \n- serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:[email protected] . \n- group:emailid — An email address that represents a Google group. For example, group:[email protected]. \n- domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. \n- projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project \n- projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project \n- projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project",
6078+
"description": "A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: \n- allUsers - A special identifier that represents anyone on the internet; with or without a Google account. \n- allAuthenticatedUsers - A special identifier that represents anyone who is authenticated with a Google account or a service account. \n- user:emailid - An email address that represents a specific account. For example, user:[email protected] or user:[email protected]. \n- serviceAccount:emailid - An email address that represents a service account. For example, serviceAccount:[email protected] . \n- group:emailid - An email address that represents a Google group. For example, group:[email protected]. \n- domain:domain - A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. \n- projectOwner:projectid - Owners of the given project. For example, projectOwner:my-example-project \n- projectEditor:projectid - Editors of the given project. For example, projectEditor:my-example-project \n- projectViewer:projectid - Viewers of the given project. For example, projectViewer:my-example-project",
60796079
"items": {
60806080
"type": "string"
60816081
},
@@ -6089,7 +6089,7 @@
60896089
"storage.managedFolders.setIamPolicy"
60906090
]
60916091
},
6092-
"description": "The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.\nThe new IAM roles are: \n- roles/storage.admin — Full control of Google Cloud Storage resources. \n- roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. \n- roles/storage.objectCreator — Access to create objects in Google Cloud Storage. \n- roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: \n- roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. \n- roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. \n- roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. \n- roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. \n- roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.",
6092+
"description": "The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.\nThe new IAM roles are: \n- roles/storage.admin - Full control of Google Cloud Storage resources. \n- roles/storage.objectViewer - Read-Only access to Google Cloud Storage objects. \n- roles/storage.objectCreator - Access to create objects in Google Cloud Storage. \n- roles/storage.objectAdmin - Full control of Google Cloud Storage objects. The legacy IAM roles are: \n- roles/storage.legacyObjectReader - Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. \n- roles/storage.legacyObjectOwner - Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. \n- roles/storage.legacyBucketReader - Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. \n- roles/storage.legacyBucketWriter - Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. \n- roles/storage.legacyBucketOwner - Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.",
60936093
"type": "string"
60946094
}
60956095
},
@@ -6207,7 +6207,7 @@
62076207
"type": "string"
62086208
},
62096209
"permissions": {
6210-
"description": "The permissions held by the caller. Permissions are always of the format storage.resource.capability, where resource is one of buckets, objects, or managedFolders. The supported permissions are as follows: \n- storage.buckets.delete — Delete bucket. \n- storage.buckets.get — Read bucket metadata. \n- storage.buckets.getIamPolicy — Read bucket IAM policy. \n- storage.buckets.create — Create bucket. \n- storage.buckets.list — List buckets. \n- storage.buckets.setIamPolicy — Update bucket IAM policy. \n- storage.buckets.update — Update bucket metadata. \n- storage.objects.delete — Delete object. \n- storage.objects.get — Read object data and metadata. \n- storage.objects.getIamPolicy — Read object IAM policy. \n- storage.objects.create — Create object. \n- storage.objects.list — List objects. \n- storage.objects.setIamPolicy — Update object IAM policy. \n- storage.objects.update — Update object metadata. \n- storage.managedFolders.delete — Delete managed folder. \n- storage.managedFolders.get — Read managed folder metadata. \n- storage.managedFolders.getIamPolicy — Read managed folder IAM policy. \n- storage.managedFolders.create — Create managed folder. \n- storage.managedFolders.list — List managed folders. \n- storage.managedFolders.setIamPolicy — Update managed folder IAM policy.",
6210+
"description": "The permissions held by the caller. Permissions are always of the format storage.resource.capability, where resource is one of buckets, objects, or managedFolders. The supported permissions are as follows: \n- storage.buckets.delete - Delete bucket. \n- storage.buckets.get - Read bucket metadata. \n- storage.buckets.getIamPolicy - Read bucket IAM policy. \n- storage.buckets.create - Create bucket. \n- storage.buckets.list - List buckets. \n- storage.buckets.setIamPolicy - Update bucket IAM policy. \n- storage.buckets.update - Update bucket metadata. \n- storage.objects.delete - Delete object. \n- storage.objects.get - Read object data and metadata. \n- storage.objects.getIamPolicy - Read object IAM policy. \n- storage.objects.create - Create object. \n- storage.objects.list - List objects. \n- storage.objects.setIamPolicy - Update object IAM policy. \n- storage.objects.update - Update object metadata. \n- storage.managedFolders.delete - Delete managed folder. \n- storage.managedFolders.get - Read managed folder metadata. \n- storage.managedFolders.getIamPolicy - Read managed folder IAM policy. \n- storage.managedFolders.create - Create managed folder. \n- storage.managedFolders.list - List managed folders. \n- storage.managedFolders.setIamPolicy - Update managed folder IAM policy.",
62116211
"items": {
62126212
"type": "string"
62136213
},

src/apis/storage/v1.ts

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,26 +1324,26 @@ export namespace storage_v1 {
13241324
kind?: string | null;
13251325
/**
13261326
* The permissions held by the caller. Permissions are always of the format storage.resource.capability, where resource is one of buckets, objects, or managedFolders. The supported permissions are as follows:
1327-
* - storage.buckets.delete Delete bucket.
1328-
* - storage.buckets.get Read bucket metadata.
1329-
* - storage.buckets.getIamPolicy Read bucket IAM policy.
1330-
* - storage.buckets.create Create bucket.
1331-
* - storage.buckets.list List buckets.
1332-
* - storage.buckets.setIamPolicy Update bucket IAM policy.
1333-
* - storage.buckets.update Update bucket metadata.
1334-
* - storage.objects.delete Delete object.
1335-
* - storage.objects.get Read object data and metadata.
1336-
* - storage.objects.getIamPolicy Read object IAM policy.
1337-
* - storage.objects.create Create object.
1338-
* - storage.objects.list List objects.
1339-
* - storage.objects.setIamPolicy Update object IAM policy.
1340-
* - storage.objects.update Update object metadata.
1341-
* - storage.managedFolders.delete Delete managed folder.
1342-
* - storage.managedFolders.get Read managed folder metadata.
1343-
* - storage.managedFolders.getIamPolicy Read managed folder IAM policy.
1344-
* - storage.managedFolders.create Create managed folder.
1345-
* - storage.managedFolders.list List managed folders.
1346-
* - storage.managedFolders.setIamPolicy Update managed folder IAM policy.
1327+
* - storage.buckets.delete - Delete bucket.
1328+
* - storage.buckets.get - Read bucket metadata.
1329+
* - storage.buckets.getIamPolicy - Read bucket IAM policy.
1330+
* - storage.buckets.create - Create bucket.
1331+
* - storage.buckets.list - List buckets.
1332+
* - storage.buckets.setIamPolicy - Update bucket IAM policy.
1333+
* - storage.buckets.update - Update bucket metadata.
1334+
* - storage.objects.delete - Delete object.
1335+
* - storage.objects.get - Read object data and metadata.
1336+
* - storage.objects.getIamPolicy - Read object IAM policy.
1337+
* - storage.objects.create - Create object.
1338+
* - storage.objects.list - List objects.
1339+
* - storage.objects.setIamPolicy - Update object IAM policy.
1340+
* - storage.objects.update - Update object metadata.
1341+
* - storage.managedFolders.delete - Delete managed folder.
1342+
* - storage.managedFolders.get - Read managed folder metadata.
1343+
* - storage.managedFolders.getIamPolicy - Read managed folder IAM policy.
1344+
* - storage.managedFolders.create - Create managed folder.
1345+
* - storage.managedFolders.list - List managed folders.
1346+
* - storage.managedFolders.setIamPolicy - Update managed folder IAM policy.
13471347
*/
13481348
permissions?: string[] | null;
13491349
}
@@ -5394,7 +5394,7 @@ export namespace storage_v1 {
53945394
*/
53955395
bucket?: string;
53965396
/**
5397-
* If true, any parent folder which doesnt exist will be created automatically.
5397+
* If true, any parent folder which doesn't exist will be created automatically.
53985398
*/
53995399
recursive?: boolean;
54005400

0 commit comments

Comments
 (0)