API Reference google_api_storage v0.29.0
Modules
API client metadata for GoogleApi.Storage.V1.
API calls for all endpoints tagged BucketAccessControls
.
API calls for all endpoints tagged Buckets
.
API calls for all endpoints tagged Channels
.
API calls for all endpoints tagged DefaultObjectAccessControls
.
API calls for all endpoints tagged Notifications
.
API calls for all endpoints tagged ObjectAccessControls
.
API calls for all endpoints tagged Objects
.
API calls for all endpoints tagged Projects
.
Handle Tesla connections for GoogleApi.Storage.V1.
A bucket.
An access-control entry.
The project team associated with the entity, if any.
An access-control list.
The bucket's billing configuration.
Attributes
-
maxAgeSeconds
(type:integer()
, default:nil
) - The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses. -
method
(type:list(String.t)
, default:nil
) - The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method". -
origin
(type:list(String.t)
, default:nil
) - The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin". -
responseHeader
(type:list(String.t)
, default:nil
) - The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
Encryption configuration for a bucket.
The bucket's IAM configuration.
The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.
The bucket's uniform bucket-level access configuration.
The bucket's lifecycle configuration. See lifecycle management for more information.
The action to take.
The condition(s) under which the action will be taken.
The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
The owner of the bucket. This is always the project team's owner group.
The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.
The bucket's versioning configuration.
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.
A list of buckets.
An notification channel used to watch for resource changes.
A Compose request.
Attributes
-
generation
(type:String.t
, default:nil
) - The generation of this object to use as the source. -
name
(type:String.t
, default:nil
) - The source object's name. All source objects must reside in the same bucket. -
objectPreconditions
(type:GoogleApi.Storage.V1.Model.ComposeRequestSourceObjectsObjectPreconditions.t
, default:nil
) - Conditions that must be met for this operation to execute.
Conditions that must be met for this operation to execute.
Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"
JSON template to produce a JSON-style HMAC Key resource for Create responses.
JSON template to produce a JSON-style HMAC Key metadata resource.
A list of hmacKeys.
A subscription to receive Google PubSub notifications.
A list of notification subscriptions.
An object.
An access-control entry.
The project team associated with the entity, if any.
An access-control list.
Metadata of customer-supplied encryption key, if the object is encrypted by such a key.
The owner of the object. This will always be the uploader of the object.
A list of objects.
A bucket/object IAM policy.
Attributes
-
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. -
members
(type:list(String.t)
, default:nil
) - A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows:- allUsers — A special identifier that represents anyone on the internet; with or without a Google account.
- allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account.
- user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com.
- serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com .
- group:emailid — An email address that represents a Google group. For example, group:admins@example.com.
- domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com.
- projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project
- projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project
- projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project
-
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. The new IAM roles are:- roles/storage.admin — Full control of Google Cloud Storage resources.
- roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects.
- roles/storage.objectCreator — Access to create objects in Google Cloud Storage.
- roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are:
- roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role.
- roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role.
- roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role.
- roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role.
- 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.
A rewrite response.
A subscription to receive Google PubSub notifications.
A storage.(buckets|objects).testIamPermissions response.