Class GcpParameterManagerProperties
java.lang.Object
com.google.cloud.spring.autoconfigure.parametermanager.GcpParameterManagerProperties
- All Implemented Interfaces:
CredentialsSupplier
@ConfigurationProperties("spring.cloud.gcp.parametermanager")
public class GcpParameterManagerProperties
extends Object
implements CredentialsSupplier
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.boolean
void
setAllowDefaultParameter
(boolean allowDefaultParameter) void
setProjectId
(String projectId)
-
Field Details
-
PREFIX
Configuration prefix for Parameter Manager properties.- See Also:
-
-
Constructor Details
-
GcpParameterManagerProperties
public GcpParameterManagerProperties()
-
-
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
-
isAllowDefaultParameter
public boolean isAllowDefaultParameter() -
setAllowDefaultParameter
public void setAllowDefaultParameter(boolean allowDefaultParameter)
-