Class OrgPolicySpringProperties
java.lang.Object
com.google.cloud.orgpolicy.v2.spring.OrgPolicySpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.orgpolicy.v2.org-policy")
public class OrgPolicySpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for OrgPolicy client bean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()booleanvoidsetCreateCustomConstraintRetry(Retry createCustomConstraintRetry) voidsetCreatePolicyRetry(Retry createPolicyRetry) voidsetDeleteCustomConstraintRetry(Retry deleteCustomConstraintRetry) voidsetDeletePolicyRetry(Retry deletePolicyRetry) voidsetExecutorThreadCount(Integer executorThreadCount) voidsetGetCustomConstraintRetry(Retry getCustomConstraintRetry) voidsetGetEffectivePolicyRetry(Retry getEffectivePolicyRetry) voidsetGetPolicyRetry(Retry getPolicyRetry) voidsetListConstraintsRetry(Retry listConstraintsRetry) voidsetListCustomConstraintsRetry(Retry listCustomConstraintsRetry) voidsetListPoliciesRetry(Retry listPoliciesRetry) voidsetQuotaProjectId(String quotaProjectId) voidvoidsetUpdateCustomConstraintRetry(Retry updateCustomConstraintRetry) voidsetUpdatePolicyRetry(Retry updatePolicyRetry) voidsetUseRest(boolean useRest)
-
Constructor Details
-
OrgPolicySpringProperties
public OrgPolicySpringProperties()
-
-
Method Details
-
getCredentials
Description copied from interface:CredentialsSupplierSupplies credentials configuration.- Specified by:
getCredentialsin 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
-
getListConstraintsRetry
-
setListConstraintsRetry
-
getListPoliciesRetry
-
setListPoliciesRetry
-
getGetPolicyRetry
-
setGetPolicyRetry
-
getGetEffectivePolicyRetry
-
setGetEffectivePolicyRetry
-
getCreatePolicyRetry
-
setCreatePolicyRetry
-
getUpdatePolicyRetry
-
setUpdatePolicyRetry
-
getDeletePolicyRetry
-
setDeletePolicyRetry
-
getCreateCustomConstraintRetry
-
setCreateCustomConstraintRetry
-
getUpdateCustomConstraintRetry
-
setUpdateCustomConstraintRetry
-
getGetCustomConstraintRetry
-
setGetCustomConstraintRetry
-
getListCustomConstraintsRetry
-
setListCustomConstraintsRetry
-
getDeleteCustomConstraintRetry
-
setDeleteCustomConstraintRetry
-