Class GcpProperties
java.lang.Object
com.google.cloud.spring.autoconfigure.core.GcpProperties
- All Implemented Interfaces:
CredentialsSupplier
@ConfigurationProperties("spring.cloud.gcp")
@ImportRuntimeHints(CredentialsRuntimeHints.class)
public class GcpProperties
extends Object
implements CredentialsSupplier
Top-level auto-config settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.void
setProjectId
(String projectId)
-
Constructor Details
-
GcpProperties
public GcpProperties()
-
-
Method Details
-
getProjectId
-
setProjectId
-
getCredentials
Description copied from interface:CredentialsSupplier
Supplies credentials configuration.- Specified by:
getCredentials
in interfaceCredentialsSupplier
- Returns:
- a POJO containing Google Cloud credentials location and scopes
-