storage library
Cloud Storage buckets, bucket objects, Pub/Sub object-change notifications, inventory reports, Storage Transfer jobs, and fine-grained ACLs.
Classes
- GoogleStorageAnywhereCache
-
Factory wrapper for
google_storage_anywhere_cache. - GoogleStorageBatchOperationsJob
-
Factory wrapper for
google_storage_batch_operations_job. - GoogleStorageBucket
-
Factory wrapper for
google_storage_bucket. - GoogleStorageBucketAccessControl
-
Factory wrapper for
google_storage_bucket_access_control. - GoogleStorageBucketAcl
-
Factory wrapper for
google_storage_bucket_acl. - GoogleStorageBucketIamBinding
-
Factory wrapper for
google_storage_bucket_iam_binding. - GoogleStorageBucketIamMember
-
Factory wrapper for
google_storage_bucket_iam_member. - GoogleStorageBucketIamPolicy
-
Factory wrapper for
google_storage_bucket_iam_policy. - GoogleStorageBucketObject
-
Factory wrapper for
google_storage_bucket_object. - GoogleStorageDefaultObjectAccessControl
-
Factory wrapper for
google_storage_default_object_access_control. - GoogleStorageDefaultObjectAcl
-
Factory wrapper for
google_storage_default_object_acl. - GoogleStorageFolder
-
Factory wrapper for
google_storage_folder. - GoogleStorageHmacKey
-
Factory wrapper for
google_storage_hmac_key. - GoogleStorageInsightsDatasetConfig
-
Factory wrapper for
google_storage_insights_dataset_config. - GoogleStorageInsightsReportConfig
-
Factory wrapper for
google_storage_insights_report_config. - GoogleStorageManagedFolder
-
Factory wrapper for
google_storage_managed_folder. - GoogleStorageManagedFolderIamBinding
-
Factory wrapper for
google_storage_managed_folder_iam_binding. - GoogleStorageManagedFolderIamMember
-
Factory wrapper for
google_storage_managed_folder_iam_member. - GoogleStorageManagedFolderIamPolicy
-
Factory wrapper for
google_storage_managed_folder_iam_policy. - GoogleStorageNotification
-
Factory wrapper for
google_storage_notification. - GoogleStorageObjectAccessControl
-
Factory wrapper for
google_storage_object_access_control. - GoogleStorageObjectAcl
-
Factory wrapper for
google_storage_object_acl. - GoogleStorageTransferAgentPool
-
Factory wrapper for
google_storage_transfer_agent_pool. - GoogleStorageTransferJob
-
Factory wrapper for
google_storage_transfer_job. - StorageBatchOperationsJobBucketList
-
bucket_list— currently one bucket configuration (provider max 1). - StorageBatchOperationsJobBuckets
- One bucket (+ object selector) inside StorageBatchOperationsJobBucketList.
- StorageBatchOperationsJobDeleteObject
-
delete_object— delete matching objects (optionally all versions). - StorageBatchOperationsJobManifest
-
manifest— include objects listed in a manifest object. - StorageBatchOperationsJobOperation
-
Batch action to run. Sealed so callers pick exactly one of
put_metadata/put_object_hold/rewrite_object/delete_object. - StorageBatchOperationsJobPrefixList
-
prefix_list— include objects by prefix under the target bucket. - StorageBatchOperationsJobPutMetadata
-
put_metadata— update object metadata fields / custom metadata. - StorageBatchOperationsJobPutObjectHold
-
put_object_hold— set temporary / event-based holds. - StorageBatchOperationsJobRewriteObject
-
rewrite_object— rewrite objects under a KMS key. - StorageBucketAutoclass
- StorageBucketAutoclass tiering.
- StorageBucketBucketCors
- One CORS configuration entry.
- StorageBucketBucketLogging
- Access-log delivery configuration.
- StorageBucketBucketWebsite
- Static-website hosting configuration.
- StorageBucketCustomPlacementConfig
- Custom placement (dual-region) configuration.
- StorageBucketEncryption
- StorageBucketEncryption configuration: optional CMEK key + 3 enforcement sub-blocks.
- StorageBucketEncryptionEnforcementConfig
-
Shared shape for the 3
encryption.*_enforcement_configsub-blocks. - StorageBucketHierarchicalNamespace
- Hierarchical namespace (folders).
- StorageBucketIpFilter
-
IP-based access control for
google_storage_bucket.ip_filter. - StorageBucketLifecycleAction
-
Action to take when a lifecycle_rule's condition matches.
storageClassis required ifftype == LifecycleActionType.setStorageClass. - StorageBucketLifecycleCondition
- Condition under which a lifecycle_rule's action fires.
- StorageBucketLifecycleRule
-
One
lifecycle_ruleentry: action + condition. - StorageBucketObjectBucketObjectContent
-
Object payload for
google_storage_bucket_object. Sealed to make thesource/contentexactly_one_ofconstraint exhaustive at the type level. - StorageBucketObjectBucketObjectFromContent
-
Inline string payload. The provider marks
contentasSensitive, so the value is redacted interraform planoutput but still ends up in Terraform state — prefer StorageBucketObjectBucketObjectFromSource for any non-trivial data. - StorageBucketObjectBucketObjectFromSource
- Upload from a local filesystem path. Terraform reads the file at apply time and uploads it to GCS.
- StorageBucketObjectBucketObjectRetention
-
Object-level retention policy (
retentionblock). - StorageBucketObjectCustomerEncryption
-
Customer-supplied encryption (CSEK) for
customer_encryption. - StorageBucketPublicNetworkSource
- StorageBucketRetentionPolicy
-
Retention policy.
retentionPeriodis in seconds. - StorageBucketSoftDeletePolicy
-
Soft-delete policy.
retentionDurationSeconds == 0disables soft-delete. - StorageBucketVersioning
- Object versioning policy.
- StorageBucketVpcNetworkSource
- StorageInsightsDatasetConfigExcludeCloudStorageBuckets
-
Typed helper for the
exclude_cloud_storage_bucketsblock ofgoogle_storage_insights_dataset_config(derived from provider schema). - StorageInsightsDatasetConfigExcludeCloudStorageBucketsCloudStorageBuckets
-
Typed helper for the
exclude_cloud_storage_buckets.cloud_storage_bucketsblock ofgoogle_storage_insights_dataset_config(derived from provider schema). - StorageInsightsDatasetConfigExcludeCloudStorageLocations
-
Typed helper for the
exclude_cloud_storage_locationsblock ofgoogle_storage_insights_dataset_config(derived from provider schema). - StorageInsightsDatasetConfigIdentity
-
Typed helper for the
identityblock ofgoogle_storage_insights_dataset_config(derived from provider schema). - StorageInsightsDatasetConfigIncludeCloudStorageBuckets
-
Typed helper for the
include_cloud_storage_bucketsblock ofgoogle_storage_insights_dataset_config(derived from provider schema). - StorageInsightsDatasetConfigIncludeCloudStorageBucketsCloudStorageBuckets
-
Typed helper for the
include_cloud_storage_buckets.cloud_storage_bucketsblock ofgoogle_storage_insights_dataset_config(derived from provider schema). - StorageInsightsDatasetConfigIncludeCloudStorageLocations
-
Typed helper for the
include_cloud_storage_locationsblock ofgoogle_storage_insights_dataset_config(derived from provider schema). - StorageInsightsDatasetConfigOrganizationScope
-
organization_scope— index the whole organization. - StorageInsightsDatasetConfigSource
-
Exactly one dataset source scope (MM
exactly_one_of:source_projects/source_folders/organization_scope). - StorageInsightsDatasetConfigSourceFolders
-
source_folders— index these folder numbers. - StorageInsightsDatasetConfigSourceProjects
-
source_projects— index these project numbers. - StorageInsightsReportConfigCsvFormat
-
csv_options— CSV inventory reports. - StorageInsightsReportConfigFormat
-
Inventory report file format (MM
exactly_one_of:csv_options/parquet_options). - StorageInsightsReportConfigFrequencyOptions
-
Typed helper for the
frequency_optionsblock ofgoogle_storage_insights_report_config(derived from provider schema). - StorageInsightsReportConfigFrequencyOptionsEndDate
-
Typed helper for the
frequency_options.end_dateblock ofgoogle_storage_insights_report_config(derived from provider schema). - StorageInsightsReportConfigFrequencyOptionsStartDate
-
Typed helper for the
frequency_options.start_dateblock ofgoogle_storage_insights_report_config(derived from provider schema). - StorageInsightsReportConfigObjectMetadataReportOptions
-
Typed helper for the
object_metadata_report_optionsblock ofgoogle_storage_insights_report_config(derived from provider schema). - StorageInsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptions
-
Typed helper for the
object_metadata_report_options.storage_destination_optionsblock ofgoogle_storage_insights_report_config(derived from provider schema). - StorageInsightsReportConfigObjectMetadataReportOptionsStorageFilters
-
Typed helper for the
object_metadata_report_options.storage_filtersblock ofgoogle_storage_insights_report_config(derived from provider schema). - StorageInsightsReportConfigParquetFormat
-
parquet_options— Parquet inventory reports (empty options object). - StorageTransferAgentPoolBandwidthLimit
-
Typed helper for the
bandwidth_limitblock ofgoogle_storage_transfer_agent_pool(derived from provider schema). - StorageTransferJobEventStream
-
Typed helper for the
event_streamblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobLoggingConfig
-
Typed helper for the
logging_configblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobNotificationConfig
-
Typed helper for the
notification_configblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobReplicationSpec
-
Typed helper for the
replication_specblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobReplicationSpecGcsDataSink
-
Typed helper for the
replication_spec.gcs_data_sinkblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobReplicationSpecGcsDataSource
-
Typed helper for the
replication_spec.gcs_data_sourceblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobReplicationSpecObjectConditions
-
Typed helper for the
replication_spec.object_conditionsblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobReplicationSpecTransferOptions
-
Typed helper for the
replication_spec.transfer_optionsblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobReplicationSpecTransferOptionsMetadataOptions
-
Typed helper for the
replication_spec.transfer_options.metadata_optionsblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobSchedule
-
Typed helper for the
scheduleblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobScheduleScheduleEndDate
-
Typed helper for the
schedule.schedule_end_dateblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobScheduleScheduleStartDate
-
Typed helper for the
schedule.schedule_start_dateblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobScheduleStartTimeOfDay
-
Typed helper for the
schedule.start_time_of_dayblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpec
-
Typed helper for the
transfer_specblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecAwsS3CompatibleDataSource
-
Typed helper for the
transfer_spec.aws_s3_compatible_data_sourceblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecAwsS3CompatibleDataSourceS3Metadata
-
Typed helper for the
transfer_spec.aws_s3_compatible_data_source.s3_metadatablock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecAwsS3DataSource
-
Typed helper for the
transfer_spec.aws_s3_data_sourceblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecAwsS3DataSourceAwsAccessKey
-
Typed helper for the
transfer_spec.aws_s3_data_source.aws_access_keyblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecAzureBlobStorageDataSource
-
Typed helper for the
transfer_spec.azure_blob_storage_data_sourceblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecAzureBlobStorageDataSourceAzureCredentials
-
Typed helper for the
transfer_spec.azure_blob_storage_data_source.azure_credentialsblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecAzureBlobStorageDataSourceFederatedIdentityConfig
-
Typed helper for the
transfer_spec.azure_blob_storage_data_source.federated_identity_configblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecGcsDataSink
-
Typed helper for the
transfer_spec.gcs_data_sinkblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecGcsDataSource
-
Typed helper for the
transfer_spec.gcs_data_sourceblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecHdfsDataSource
-
Typed helper for the
transfer_spec.hdfs_data_sourceblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecHttpDataSource
-
Typed helper for the
transfer_spec.http_data_sourceblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecObjectConditions
-
Typed helper for the
transfer_spec.object_conditionsblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecPosixDataSink
-
Typed helper for the
transfer_spec.posix_data_sinkblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecPosixDataSource
-
Typed helper for the
transfer_spec.posix_data_sourceblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecTransferManifest
-
Typed helper for the
transfer_spec.transfer_manifestblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecTransferOptions
-
Typed helper for the
transfer_spec.transfer_optionsblock ofgoogle_storage_transfer_job(derived from provider schema). - StorageTransferJobTransferSpecTransferOptionsMetadataOptions
-
Typed helper for the
transfer_spec.transfer_options.metadata_optionsblock ofgoogle_storage_transfer_job(derived from provider schema).
Enums
- BucketObjectStorageClass
-
Storage class for
google_storage_bucket_object.storage_class. - BucketStorageClass
-
Storage class for
google_storage_bucket.storage_class. - LifecycleActionType
-
Action type for
lifecycle_rule.action.type. - StorageAnywhereCacheAdmissionPolicy
-
Terraform
admission_policyfor GoogleStorageAnywhereCache. - StorageBucketAccessControlRole
-
Storage Bucket Access Control enum for
role. - StorageDefaultObjectAccessControlRole
-
Storage Default Object Access Control enum for
role. - StorageHmacKeyState
-
Storage Hmac Key enum for
state. - StorageInsightsDatasetConfigDatasetConfigState
-
Storage Insights Dataset Config Dataset Config enum for
dataset_config_state. - StorageInsightsDatasetConfigIdentityType
-
type— derived from the provider schema description. - StorageInsightsReportConfigFrequencyOptionsFrequency
-
frequency— derived from the provider schema description. - StorageNotificationEventType
-
One entry in
event_types[]. Selects which object-mutation events the notification subscribes to. Omitting the list entirely (or passing all four values) subscribes to every event type. - StorageNotificationPayloadFormat
-
payload_format. Picks the body the Pub/Sub message carries for each event. - StorageObjectAccessControlRole
-
Storage Object Access Control enum for
role. - StorageTransferAgentPoolState
-
Storage Transfer Agent Pool enum for
state.