Class GcpStorageProperties
java.lang.Object
com.google.cloud.spring.storage.GoogleStorageProtocolResolverSettings
com.google.cloud.spring.autoconfigure.storage.GcpStorageProperties
- All Implemented Interfaces:
CredentialsSupplier
@ConfigurationProperties("spring.cloud.gcp.storage")
public class GcpStorageProperties
extends GoogleStorageProtocolResolverSettings
implements CredentialsSupplier
Settings for Storage.
-
Field Summary
Fields inherited from class com.google.cloud.spring.storage.GoogleStorageProtocolResolverSettings
DEFAULT_GOOGLE_STORAGE_PROTOCOL_RESOLVER_SETTINGS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.void
setProjectId
(String projectId) Methods inherited from class com.google.cloud.spring.storage.GoogleStorageProtocolResolverSettings
isAutoCreateFiles, setAutoCreateFiles
-
Constructor Details
-
GcpStorageProperties
public GcpStorageProperties()
-
-
Method Details
-
getCredentials
Description copied from interface:CredentialsSupplier
Supplies credentials configuration.- Specified by:
getCredentials
in interfaceCredentialsSupplier
- Returns:
- a POJO containing Google Cloud credentials location and scopes
-
getProjectId
-
setProjectId
-