You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prefix descriptions with "Google"; deterministic optional-param ordering (#4)
- Titles are "Google"-prefixed (deduped) so each client's Hex description and
README include "Google" for search discoverability — Google's discovery titles
omit it (e.g. "Cloud Storage JSON API" -> "Google Cloud Storage JSON API").
- Optional endpoint params are sorted by name instead of riding Elixir's map
iteration order (which shifts across spec sizes/updates), so mix googly.generate
is byte-deterministic. Verified: two consecutive regenerations are identical.
Global params still lead as a group, then each method's own params, both sorted.
- Regenerated all three clients accordingly.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@@ -71,12 +71,12 @@ defmodule Googly.CloudStorage.Buckets do
71
71
* `quota_user` (*type:* `String.t()`) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
72
72
* `upload_type` (*type:* `String.t()`) - Upload protocol for media (e.g. "media", "multipart", "resumable").
73
73
* `user_ip` (*type:* `String.t()`) - Deprecated. Please use quotaUser instead.
74
-
* `projection` (*type:* `String.t()`) - Set of properties to return. Defaults to noAcl.
75
74
* `generation` (*type:* `String.t()`) - If present, specifies the generation of the bucket. This is required if softDeleted is true.
76
-
* `user_project` (*type:* `String.t()`) - The project to be billed for this request. Required for Requester Pays buckets.
77
75
* `if_metageneration_match` (*type:* `String.t()`) - Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.
78
76
* `if_metageneration_not_match` (*type:* `String.t()`) - Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.
77
+
* `projection` (*type:* `String.t()`) - Set of properties to return. Defaults to noAcl.
79
78
* `soft_deleted` (*type:* `boolean()`) - 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).
79
+
* `user_project` (*type:* `String.t()`) - The project to be billed for this request. Required for Requester Pays buckets.
80
80
81
81
## Returns
82
82
@@ -100,12 +100,12 @@ defmodule Googly.CloudStorage.Buckets do
@@ -127,8 +127,8 @@ defmodule Googly.CloudStorage.Buckets do
127
127
* `quota_user` (*type:* `String.t()`) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
128
128
* `upload_type` (*type:* `String.t()`) - Upload protocol for media (e.g. "media", "multipart", "resumable").
129
129
* `user_ip` (*type:* `String.t()`) - Deprecated. Please use quotaUser instead.
130
-
* `user_project` (*type:* `String.t()`) - The project to be billed for this request. Required for Requester Pays buckets.
131
130
* `options_requested_policy_version` (*type:* `integer()`) - 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.
131
+
* `user_project` (*type:* `String.t()`) - The project to be billed for this request. Required for Requester Pays buckets.
132
132
133
133
## Returns
134
134
@@ -152,8 +152,8 @@ defmodule Googly.CloudStorage.Buckets do
@@ -221,11 +221,11 @@ defmodule Googly.CloudStorage.Buckets do
221
221
* `quota_user` (*type:* `String.t()`) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
222
222
* `upload_type` (*type:* `String.t()`) - Upload protocol for media (e.g. "media", "multipart", "resumable").
223
223
* `user_ip` (*type:* `String.t()`) - Deprecated. Please use quotaUser instead.
224
-
* `projection` (*type:* `String.t()`) - Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.
225
-
* `user_project` (*type:* `String.t()`) - The project to be billed for this request.
224
+
* `enable_object_retention` (*type:* `boolean()`) - When set to true, object retention is enabled for this bucket.
226
225
* `predefined_acl` (*type:* `String.t()`) - Apply a predefined set of access controls to this bucket.
227
226
* `predefined_default_object_acl` (*type:* `String.t()`) - Apply a predefined set of default object access controls to this bucket.
228
-
* `enable_object_retention` (*type:* `boolean()`) - When set to true, object retention is enabled for this bucket.
227
+
* `projection` (*type:* `String.t()`) - Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.
228
+
* `user_project` (*type:* `String.t()`) - The project to be billed for this request.
@@ -277,13 +277,13 @@ defmodule Googly.CloudStorage.Buckets do
277
277
* `quota_user` (*type:* `String.t()`) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
278
278
* `upload_type` (*type:* `String.t()`) - Upload protocol for media (e.g. "media", "multipart", "resumable").
279
279
* `user_ip` (*type:* `String.t()`) - Deprecated. Please use quotaUser instead.
280
+
* `max_results` (*type:* `integer()`) - Maximum number of buckets to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.
281
+
* `page_token` (*type:* `String.t()`) - A previously-returned page token representing part of the larger set of results to view.
280
282
* `prefix` (*type:* `String.t()`) - Filter results to buckets whose names begin with this prefix.
281
283
* `projection` (*type:* `String.t()`) - Set of properties to return. Defaults to noAcl.
282
-
* `page_token` (*type:* `String.t()`) - A previously-returned page token representing part of the larger set of results to view.
283
-
* `user_project` (*type:* `String.t()`) - The project to be billed for this request.
284
-
* `soft_deleted` (*type:* `boolean()`) - 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).
285
-
* `max_results` (*type:* `integer()`) - Maximum number of buckets to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.
286
284
* `return_partial_success` (*type:* `boolean()`) - If true, return a list of bucket resource names for buckets that are in unreachable locations.
285
+
* `soft_deleted` (*type:* `boolean()`) - 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).
286
+
* `user_project` (*type:* `String.t()`) - The project to be billed for this request.
287
287
288
288
## Returns
289
289
@@ -307,13 +307,13 @@ defmodule Googly.CloudStorage.Buckets do
@@ -382,12 +382,12 @@ defmodule Googly.CloudStorage.Buckets do
382
382
* `quota_user` (*type:* `String.t()`) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
383
383
* `upload_type` (*type:* `String.t()`) - Upload protocol for media (e.g. "media", "multipart", "resumable").
384
384
* `user_ip` (*type:* `String.t()`) - Deprecated. Please use quotaUser instead.
385
-
* `projection` (*type:* `String.t()`) - Set of properties to return. Defaults to full.
386
-
* `user_project` (*type:* `String.t()`) - The project to be billed for this request. Required for Requester Pays buckets.
387
385
* `if_metageneration_match` (*type:* `String.t()`) - Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.
388
386
* `if_metageneration_not_match` (*type:* `String.t()`) - Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.
389
387
* `predefined_acl` (*type:* `String.t()`) - Apply a predefined set of access controls to this bucket.
390
388
* `predefined_default_object_acl` (*type:* `String.t()`) - Apply a predefined set of default object access controls to this bucket.
389
+
* `projection` (*type:* `String.t()`) - Set of properties to return. Defaults to full.
390
+
* `user_project` (*type:* `String.t()`) - The project to be billed for this request. Required for Requester Pays buckets.
@@ -630,12 +630,12 @@ defmodule Googly.CloudStorage.Buckets do
630
630
* `quota_user` (*type:* `String.t()`) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
631
631
* `upload_type` (*type:* `String.t()`) - Upload protocol for media (e.g. "media", "multipart", "resumable").
632
632
* `user_ip` (*type:* `String.t()`) - Deprecated. Please use quotaUser instead.
633
-
* `projection` (*type:* `String.t()`) - Set of properties to return. Defaults to full.
634
-
* `user_project` (*type:* `String.t()`) - The project to be billed for this request. Required for Requester Pays buckets.
635
633
* `if_metageneration_match` (*type:* `String.t()`) - Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.
636
634
* `if_metageneration_not_match` (*type:* `String.t()`) - Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.
637
635
* `predefined_acl` (*type:* `String.t()`) - Apply a predefined set of access controls to this bucket.
638
636
* `predefined_default_object_acl` (*type:* `String.t()`) - Apply a predefined set of default object access controls to this bucket.
637
+
* `projection` (*type:* `String.t()`) - Set of properties to return. Defaults to full.
638
+
* `user_project` (*type:* `String.t()`) - The project to be billed for this request. Required for Requester Pays buckets.
Copy file name to clipboardExpand all lines: clients/googly_cloud_storage/lib/googly/cloud_storage/default_object_access_controls.ex
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -169,9 +169,9 @@ defmodule Googly.CloudStorage.DefaultObjectAccessControls do
169
169
* `quota_user` (*type:* `String.t()`) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
170
170
* `upload_type` (*type:* `String.t()`) - Upload protocol for media (e.g. "media", "multipart", "resumable").
171
171
* `user_ip` (*type:* `String.t()`) - Deprecated. Please use quotaUser instead.
172
-
* `user_project` (*type:* `String.t()`) - The project to be billed for this request. Required for Requester Pays buckets.
173
172
* `if_metageneration_match` (*type:* `String.t()`) - If present, only return default ACL listing if the bucket's current metageneration matches this value.
174
173
* `if_metageneration_not_match` (*type:* `String.t()`) - If present, only return default ACL listing if the bucket's current metageneration does not match the given value.
174
+
* `user_project` (*type:* `String.t()`) - The project to be billed for this request. Required for Requester Pays buckets.
175
175
176
176
## Returns
177
177
@@ -195,9 +195,9 @@ defmodule Googly.CloudStorage.DefaultObjectAccessControls do
Copy file name to clipboardExpand all lines: clients/googly_cloud_storage/lib/googly/cloud_storage/folders.ex
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -225,11 +225,11 @@ defmodule Googly.CloudStorage.Folders do
225
225
* `quota_user` (*type:* `String.t()`) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
226
226
* `upload_type` (*type:* `String.t()`) - Upload protocol for media (e.g. "media", "multipart", "resumable").
227
227
* `user_ip` (*type:* `String.t()`) - Deprecated. Please use quotaUser instead.
228
-
* `prefix` (*type:* `String.t()`) - Filter results to folders whose paths begin with this prefix. If set, the value must either be an empty string or end with a '/'.
229
228
* `delimiter` (*type:* `String.t()`) - 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.
229
+
* `end_offset` (*type:* `String.t()`) - 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).
230
230
* `page_size` (*type:* `integer()`) - Maximum number of items to return in a single page of responses.
231
231
* `page_token` (*type:* `String.t()`) - A previously-returned page token representing part of the larger set of results to view.
232
-
* `end_offset` (*type:* `String.t()`) - 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).
232
+
* `prefix` (*type:* `String.t()`) - Filter results to folders whose paths begin with this prefix. If set, the value must either be an empty string or end with a '/'.
233
233
* `start_offset` (*type:* `String.t()`) - 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).
234
234
235
235
## Returns
@@ -254,11 +254,11 @@ defmodule Googly.CloudStorage.Folders do
0 commit comments