View Source API Reference google_api_storage v0.37.0

Modules

API client metadata for GoogleApi.Storage.V1.

API calls for all endpoints tagged AnywhereCaches.

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 Folders.

API calls for all endpoints tagged ManagedFolders.

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 Operations.

API calls for all endpoints tagged Projects.

Handle Tesla connections for GoogleApi.Storage.V1.

An Anywhere Cache instance.

A list of Anywhere Caches.

The project team associated with the entity, if any.

The bucket's Autoclass configuration.

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.

The bucket's custom placement configuration for Custom Dual Regions.

Encryption configuration for a bucket.

The bucket's hierarchical namespace configuration.

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.

Attributes

  • action (type: GoogleApi.Storage.V1.Model.BucketLifecycleRuleAction.t, default: nil) - The action to take.
  • condition (type: GoogleApi.Storage.V1.Model.BucketLifecycleRuleCondition.t, default: nil) - The condition(s) under which the action will be taken.

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 bucket's object retention config.

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 soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted.

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.

An notification channel used to watch for resource changes.

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"

A folder. Only available in buckets with hierarchical namespace enabled.

Only present if the folder is part of an ongoing rename folder operation. Contains information which can be used to query the operation status.

The response message for storage.buckets.operations.list.

This resource represents a long-running operation that is the result of a network API call.

The "Status" type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each "Status" message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.

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 managed folders.

A subscription to receive Google PubSub notifications.

A list of notification subscriptions.

The project team associated with the entity, if any.

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 collection of object level retention parameters.

A bucket/object/managedFolder 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 subscription to receive Google PubSub notifications.

A storage.(buckets|objects|managedFolders).testIamPermissions response.