Package com.google.cloud.tpu.v2.spring
Class TpuSpringProperties
java.lang.Object
com.google.cloud.tpu.v2.spring.TpuSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.tpu.v2.tpu")
public class TpuSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for Tpu client bean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setExecutorThreadCount
(Integer executorThreadCount) void
setGenerateServiceIdentityRetry
(Retry generateServiceIdentityRetry) void
setGetAcceleratorTypeRetry
(Retry getAcceleratorTypeRetry) void
setGetGuestAttributesRetry
(Retry getGuestAttributesRetry) void
setGetLocationRetry
(Retry getLocationRetry) void
setGetNodeRetry
(Retry getNodeRetry) void
setGetRuntimeVersionRetry
(Retry getRuntimeVersionRetry) void
setListAcceleratorTypesRetry
(Retry listAcceleratorTypesRetry) void
setListLocationsRetry
(Retry listLocationsRetry) void
setListNodesRetry
(Retry listNodesRetry) void
setListRuntimeVersionsRetry
(Retry listRuntimeVersionsRetry) void
setQuotaProjectId
(String quotaProjectId) void
void
setUseRest
(boolean useRest)
-
Constructor Details
-
TpuSpringProperties
public TpuSpringProperties()
-
-
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
-
getQuotaProjectId
-
setQuotaProjectId
-
getUseRest
public boolean getUseRest() -
setUseRest
public void setUseRest(boolean useRest) -
getExecutorThreadCount
-
setExecutorThreadCount
-
getRetry
-
setRetry
-
getListNodesRetry
-
setListNodesRetry
-
getGetNodeRetry
-
setGetNodeRetry
-
getGenerateServiceIdentityRetry
-
setGenerateServiceIdentityRetry
-
getListAcceleratorTypesRetry
-
setListAcceleratorTypesRetry
-
getGetAcceleratorTypeRetry
-
setGetAcceleratorTypeRetry
-
getListRuntimeVersionsRetry
-
setListRuntimeVersionsRetry
-
getGetRuntimeVersionRetry
-
setGetRuntimeVersionRetry
-
getGetGuestAttributesRetry
-
setGetGuestAttributesRetry
-
getListLocationsRetry
-
setListLocationsRetry
-
getGetLocationRetry
-
setGetLocationRetry
-