Module gcs_example::storage_v1_types[][src]

This file was generated by async-google-apis. (https://github.com/dermesser/async-google-apis)

(c) 2020 Lewin Bormann lbo@spheniscida.de

Getting started

Tip: Take a look at those types ending in ...Service. These represent API resources and contain methods to interact with an API. The remaining types are used by those methods and can be explored starting from a method you want to use.

The generated code’s dependencies are in the async-google-apis-common crate. The main dependencies are hyper, yup-oauth2 (for OAuth authentication), and serde.

I’d be happy if you let me know about your use case of this code.

THIS FILE HAS BEEN GENERATED – SAVE ANY MODIFICATIONS BEFORE REPLACING.

Structs

Bucket

A bucket.

BucketAccessControl

An access-control entry.

BucketAccessControlProjectTeam

The project team associated with the entity, if any.

BucketAccessControls

An access-control list.

BucketAccessControlsDeleteParams

Parameters for the bucketAccessControls.delete method.

BucketAccessControlsGetParams

Parameters for the bucketAccessControls.get method.

BucketAccessControlsInsertParams

Parameters for the bucketAccessControls.insert method.

BucketAccessControlsListParams

Parameters for the bucketAccessControls.list method.

BucketAccessControlsPatchParams

Parameters for the bucketAccessControls.patch method.

BucketAccessControlsService

The Storage BucketAccessControls service represents the BucketAccessControls resource.

BucketAccessControlsUpdateParams

Parameters for the bucketAccessControls.update method.

BucketBilling

The bucket’s billing configuration.

BucketCors
BucketEncryption

Encryption configuration for a bucket.

BucketIamConfiguration

The bucket’s IAM configuration.

BucketIamConfigurationBucketPolicyOnly

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.

BucketIamConfigurationUniformBucketLevelAccess

The bucket’s uniform bucket-level access configuration.

BucketLifecycle

The bucket’s lifecycle configuration. See lifecycle management for more information.

BucketLifecycleRule
BucketLifecycleRuleAction

The action to take.

BucketLifecycleRuleCondition

The condition(s) under which the action will be taken.

BucketLogging

The bucket’s logging configuration, which defines the destination bucket and optional name prefix for the current bucket’s logs.

BucketOwner

The owner of the bucket. This is always the project team’s owner group.

BucketRetentionPolicy

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.

BucketVersioning

The bucket’s versioning configuration.

BucketWebsite

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.

Buckets

A list of buckets.

BucketsDeleteParams

Parameters for the buckets.delete method.

BucketsGetIamPolicyParams

Parameters for the buckets.getIamPolicy method.

BucketsGetParams

Parameters for the buckets.get method.

BucketsInsertParams

Parameters for the buckets.insert method.

BucketsListParams

Parameters for the buckets.list method.

BucketsLockRetentionPolicyParams

Parameters for the buckets.lockRetentionPolicy method.

BucketsPatchParams

Parameters for the buckets.patch method.

BucketsService

The Storage Buckets service represents the Buckets resource.

BucketsSetIamPolicyParams

Parameters for the buckets.setIamPolicy method.

BucketsTestIamPermissionsParams

Parameters for the buckets.testIamPermissions method.

BucketsUpdateParams

Parameters for the buckets.update method.

Channel

An notification channel used to watch for resource changes.

ChannelsService

The Storage Channels service represents the Channels resource.

ChannelsStopParams

Parameters for the channels.stop method.

ComposeRequest

A Compose request.

ComposeRequestSourceObjects
ComposeRequestSourceObjectsObjectPreconditions

Conditions that must be met for this operation to execute.

DefaultObjectAccessControlsDeleteParams

Parameters for the defaultObjectAccessControls.delete method.

DefaultObjectAccessControlsGetParams

Parameters for the defaultObjectAccessControls.get method.

DefaultObjectAccessControlsInsertParams

Parameters for the defaultObjectAccessControls.insert method.

DefaultObjectAccessControlsListParams

Parameters for the defaultObjectAccessControls.list method.

DefaultObjectAccessControlsPatchParams

Parameters for the defaultObjectAccessControls.patch method.

DefaultObjectAccessControlsService

The Storage DefaultObjectAccessControls service represents the DefaultObjectAccessControls resource.

DefaultObjectAccessControlsUpdateParams

Parameters for the defaultObjectAccessControls.update method.

Expr

Represents an expression text. Example: title: “User account presence” description: “Determines whether the request has a user account” expression: “size(request.user) > 0”

HmacKey

JSON template to produce a JSON-style HMAC Key resource for Create responses.

HmacKeyMetadata

JSON template to produce a JSON-style HMAC Key metadata resource.

HmacKeysMetadata

A list of hmacKeys.

Notification

A subscription to receive Google PubSub notifications.

Notifications

A list of notification subscriptions.

NotificationsDeleteParams

Parameters for the notifications.delete method.

NotificationsGetParams

Parameters for the notifications.get method.

NotificationsInsertParams

Parameters for the notifications.insert method.

NotificationsListParams

Parameters for the notifications.list method.

NotificationsService

The Storage Notifications service represents the Notifications resource.

Object

An object.

ObjectAccessControl

An access-control entry.

ObjectAccessControlProjectTeam

The project team associated with the entity, if any.

ObjectAccessControls

An access-control list.

ObjectAccessControlsDeleteParams

Parameters for the objectAccessControls.delete method.

ObjectAccessControlsGetParams

Parameters for the objectAccessControls.get method.

ObjectAccessControlsInsertParams

Parameters for the objectAccessControls.insert method.

ObjectAccessControlsListParams

Parameters for the objectAccessControls.list method.

ObjectAccessControlsPatchParams

Parameters for the objectAccessControls.patch method.

ObjectAccessControlsService

The Storage ObjectAccessControls service represents the ObjectAccessControls resource.

ObjectAccessControlsUpdateParams

Parameters for the objectAccessControls.update method.

ObjectCustomerEncryption

Metadata of customer-supplied encryption key, if the object is encrypted by such a key.

ObjectOwner

The owner of the object. This will always be the uploader of the object.

Objects

A list of objects.

ObjectsComposeParams

Parameters for the objects.compose method.

ObjectsCopyParams

Parameters for the objects.copy method.

ObjectsDeleteParams

Parameters for the objects.delete method.

ObjectsGetIamPolicyParams

Parameters for the objects.getIamPolicy method.

ObjectsGetParams

Parameters for the objects.get method.

ObjectsInsertParams

Parameters for the objects.insert method.

ObjectsListParams

Parameters for the objects.list method.

ObjectsPatchParams

Parameters for the objects.patch method.

ObjectsRewriteParams

Parameters for the objects.rewrite method.

ObjectsService

The Storage Objects service represents the Objects resource.

ObjectsSetIamPolicyParams

Parameters for the objects.setIamPolicy method.

ObjectsTestIamPermissionsParams

Parameters for the objects.testIamPermissions method.

ObjectsUpdateParams

Parameters for the objects.update method.

ObjectsWatchAllParams

Parameters for the objects.watchAll method.

Policy

A bucket/object IAM policy.

PolicyBindings
ProjectsHmacKeysCreateParams

Parameters for the hmacKeys.create method.

ProjectsHmacKeysDeleteParams

Parameters for the hmacKeys.delete method.

ProjectsHmacKeysGetParams

Parameters for the hmacKeys.get method.

ProjectsHmacKeysListParams

Parameters for the hmacKeys.list method.

ProjectsHmacKeysService

The Storage ProjectsHmacKeys service represents the ProjectsHmacKeys resource.

ProjectsHmacKeysUpdateParams

Parameters for the hmacKeys.update method.

ProjectsService

The Storage Projects service represents the Projects resource.

ProjectsServiceAccountGetParams

Parameters for the serviceAccount.get method.

ProjectsServiceAccountService

The Storage ProjectsServiceAccount service represents the ProjectsServiceAccount resource.

RewriteResponse

A rewrite response.

ServiceAccount

A subscription to receive Google PubSub notifications.

StorageParams
TestIamPermissionsResponse

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

Enums

BucketsGetProjection
BucketsInsertPredefinedAcl
BucketsInsertPredefinedDefaultObjectAcl
BucketsInsertProjection
BucketsListProjection
BucketsPatchPredefinedAcl
BucketsPatchPredefinedDefaultObjectAcl
BucketsPatchProjection
BucketsUpdatePredefinedAcl
BucketsUpdatePredefinedDefaultObjectAcl
BucketsUpdateProjection
ObjectsComposeDestinationPredefinedAcl
ObjectsCopyDestinationPredefinedAcl
ObjectsCopyProjection
ObjectsGetProjection
ObjectsInsertPredefinedAcl
ObjectsInsertProjection
ObjectsListProjection
ObjectsPatchPredefinedAcl
ObjectsPatchProjection
ObjectsRewriteDestinationPredefinedAcl
ObjectsRewriteProjection
ObjectsUpdatePredefinedAcl
ObjectsUpdateProjection
ObjectsWatchAllProjection
StorageParamsAlt
StorageScopes

Scopes of this API. Convertible to their string representation with AsRef.