Class GcpMetricsProperties
java.lang.Object
com.google.cloud.spring.autoconfigure.metrics.GcpMetricsProperties
- All Implemented Interfaces:
CredentialsSupplier
@ConfigurationProperties(prefix="spring.cloud.gcp.metrics")
public class GcpMetricsProperties
extends Object
implements CredentialsSupplier
Settings for Stackdriver Metrics.
- Since:
- 1.2.4
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.void
setProjectId
(String projectId)
-
Constructor Details
-
GcpMetricsProperties
public GcpMetricsProperties()
-
-
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
-