Skip to content

Commit cbe0569

Browse files
feat: Automated regeneration of Storage client (#13053)
Auto-created at 2025-02-28 13:15:31 +0000 using the toys pull request generator.
1 parent 8bee34c commit cbe0569

File tree

5 files changed

+41
-41
lines changed

5 files changed

+41
-41
lines changed

clients/storage/lib/google_api/storage/v1/api/folders.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ defmodule GoogleApi.Storage.V1.Api.Folders do
158158
* `:quotaUser` (*type:* `String.t`) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
159159
* `:uploadType` (*type:* `String.t`) - Upload protocol for media (e.g. "media", "multipart", "resumable").
160160
* `:userIp` (*type:* `String.t`) - Deprecated. Please use quotaUser instead.
161-
* `:recursive` (*type:* `boolean()`) - If true, any parent folder which doesnt exist will be created automatically.
161+
* `:recursive` (*type:* `boolean()`) - If true, any parent folder which doesn't exist will be created automatically.
162162
* `:body` (*type:* `GoogleApi.Storage.V1.Model.Folder.t`) -
163163
* `opts` (*type:* `keyword()`) - Call options
164164

clients/storage/lib/google_api/storage/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Storage.V1 do
2020
API client metadata for GoogleApi.Storage.V1.
2121
"""
2222

23-
@discovery_revision "20241206"
23+
@discovery_revision "20250224"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/storage/lib/google_api/storage/v1/model/policy_bindings.ex

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,26 @@ defmodule GoogleApi.Storage.V1.Model.PolicyBindings do
2323
2424
* `condition` (*type:* `GoogleApi.Storage.V1.Model.Expr.t`, *default:* `nil`) - The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
2525
* `members` (*type:* `list(String.t)`, *default:* `nil`) - A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:
26-
- allUsers A special identifier that represents anyone on the internet; with or without a Google account.
27-
- allAuthenticatedUsers A special identifier that represents anyone who is authenticated with a Google account or a service account.
28-
- user:emailid An email address that represents a specific account. For example, user:[email protected] or user:[email protected].
29-
- serviceAccount:emailid An email address that represents a service account. For example, serviceAccount:[email protected] .
30-
- group:emailid An email address that represents a Google group. For example, group:[email protected].
31-
- domain:domain A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
32-
- projectOwner:projectid Owners of the given project. For example, projectOwner:my-example-project
33-
- projectEditor:projectid Editors of the given project. For example, projectEditor:my-example-project
34-
- projectViewer:projectid Viewers of the given project. For example, projectViewer:my-example-project
26+
- allUsers - A special identifier that represents anyone on the internet; with or without a Google account.
27+
- allAuthenticatedUsers - A special identifier that represents anyone who is authenticated with a Google account or a service account.
28+
- user:emailid - An email address that represents a specific account. For example, user:[email protected] or user:[email protected].
29+
- serviceAccount:emailid - An email address that represents a service account. For example, serviceAccount:[email protected] .
30+
- group:emailid - An email address that represents a Google group. For example, group:[email protected].
31+
- domain:domain - A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
32+
- projectOwner:projectid - Owners of the given project. For example, projectOwner:my-example-project
33+
- projectEditor:projectid - Editors of the given project. For example, projectEditor:my-example-project
34+
- projectViewer:projectid - Viewers of the given project. For example, projectViewer:my-example-project
3535
* `role` (*type:* `String.t`, *default:* `nil`) - 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.
3636
The new IAM roles are:
37-
- roles/storage.admin Full control of Google Cloud Storage resources.
38-
- roles/storage.objectViewer Read-Only access to Google Cloud Storage objects.
39-
- roles/storage.objectCreator Access to create objects in Google Cloud Storage.
40-
- roles/storage.objectAdmin Full control of Google Cloud Storage objects. The legacy IAM roles are:
41-
- roles/storage.legacyObjectReader Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
42-
- roles/storage.legacyObjectOwner Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
43-
- roles/storage.legacyBucketReader Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
44-
- roles/storage.legacyBucketWriter Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
45-
- 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.
37+
- roles/storage.admin - Full control of Google Cloud Storage resources.
38+
- roles/storage.objectViewer - Read-Only access to Google Cloud Storage objects.
39+
- roles/storage.objectCreator - Access to create objects in Google Cloud Storage.
40+
- roles/storage.objectAdmin - Full control of Google Cloud Storage objects. The legacy IAM roles are:
41+
- roles/storage.legacyObjectReader - Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
42+
- roles/storage.legacyObjectOwner - Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
43+
- roles/storage.legacyBucketReader - Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
44+
- roles/storage.legacyBucketWriter - Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
45+
- 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.
4646
"""
4747

4848
use GoogleApi.Gax.ModelBase

clients/storage/lib/google_api/storage/v1/model/test_iam_permissions_response.ex

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,26 @@ defmodule GoogleApi.Storage.V1.Model.TestIamPermissionsResponse do
2323
2424
* `kind` (*type:* `String.t`, *default:* `storage#testIamPermissionsResponse`) - The kind of item this is.
2525
* `permissions` (*type:* `list(String.t)`, *default:* `nil`) - 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:
26-
- storage.buckets.delete Delete bucket.
27-
- storage.buckets.get Read bucket metadata.
28-
- storage.buckets.getIamPolicy Read bucket IAM policy.
29-
- storage.buckets.create Create bucket.
30-
- storage.buckets.list List buckets.
31-
- storage.buckets.setIamPolicy Update bucket IAM policy.
32-
- storage.buckets.update Update bucket metadata.
33-
- storage.objects.delete Delete object.
34-
- storage.objects.get Read object data and metadata.
35-
- storage.objects.getIamPolicy Read object IAM policy.
36-
- storage.objects.create Create object.
37-
- storage.objects.list List objects.
38-
- storage.objects.setIamPolicy Update object IAM policy.
39-
- storage.objects.update Update object metadata.
40-
- storage.managedFolders.delete Delete managed folder.
41-
- storage.managedFolders.get Read managed folder metadata.
42-
- storage.managedFolders.getIamPolicy Read managed folder IAM policy.
43-
- storage.managedFolders.create Create managed folder.
44-
- storage.managedFolders.list List managed folders.
45-
- storage.managedFolders.setIamPolicy Update managed folder IAM policy.
26+
- storage.buckets.delete - Delete bucket.
27+
- storage.buckets.get - Read bucket metadata.
28+
- storage.buckets.getIamPolicy - Read bucket IAM policy.
29+
- storage.buckets.create - Create bucket.
30+
- storage.buckets.list - List buckets.
31+
- storage.buckets.setIamPolicy - Update bucket IAM policy.
32+
- storage.buckets.update - Update bucket metadata.
33+
- storage.objects.delete - Delete object.
34+
- storage.objects.get - Read object data and metadata.
35+
- storage.objects.getIamPolicy - Read object IAM policy.
36+
- storage.objects.create - Create object.
37+
- storage.objects.list - List objects.
38+
- storage.objects.setIamPolicy - Update object IAM policy.
39+
- storage.objects.update - Update object metadata.
40+
- storage.managedFolders.delete - Delete managed folder.
41+
- storage.managedFolders.get - Read managed folder metadata.
42+
- storage.managedFolders.getIamPolicy - Read managed folder IAM policy.
43+
- storage.managedFolders.create - Create managed folder.
44+
- storage.managedFolders.list - List managed folders.
45+
- storage.managedFolders.setIamPolicy - Update managed folder IAM policy.
4646
"""
4747

4848
use GoogleApi.Gax.ModelBase

clients/storage/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Storage.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.46.0"
21+
@version "0.46.1"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)