Class GoogleCloudStorageConfiguration

All Implemented Interfaces:
io.micronaut.core.naming.Named, io.micronaut.core.util.Toggleable, ObjectStorageConfiguration, ObjectStorageModuleConfiguration

@EachProperty("micronaut.object-storage.gcp") public class GoogleCloudStorageConfiguration extends AbstractObjectStorageConfiguration
Google Cloud object storage configuration properties.
Since:
1.0
Author:
Pavol Gressa
  • Field Details

  • Constructor Details

    • GoogleCloudStorageConfiguration

      public GoogleCloudStorageConfiguration(@Parameter String name)
  • Method Details

    • getBucket

      @NonNull public @NonNull String getBucket()
      The name of the Google Cloud Storage bucket.
      Returns:
      The name of the Google Cloud Storage bucket.
    • setBucket

      public void setBucket(@NonNull @NonNull String bucket)
      Parameters:
      bucket - The name of the Google Cloud Storage bucket.
    • isEnabled

      public boolean isEnabled()
      Whether to enable or disable this object storage.
      Since:
      2.0.2