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
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setCreateCustomConstraintRetry
(Retry createCustomConstraintRetry) void
setCreatePolicyRetry
(Retry createPolicyRetry) void
setDeleteCustomConstraintRetry
(Retry deleteCustomConstraintRetry) void
setDeletePolicyRetry
(Retry deletePolicyRetry) void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetCustomConstraintRetry
(Retry getCustomConstraintRetry) void
setGetEffectivePolicyRetry
(Retry getEffectivePolicyRetry) void
setGetPolicyRetry
(Retry getPolicyRetry) void
setListConstraintsRetry
(Retry listConstraintsRetry) void
setListCustomConstraintsRetry
(Retry listCustomConstraintsRetry) void
setListPoliciesRetry
(Retry listPoliciesRetry) void
setQuotaProjectId
(String quotaProjectId) void
void
setUpdateCustomConstraintRetry
(Retry updateCustomConstraintRetry) void
setUpdatePolicyRetry
(Retry updatePolicyRetry) void
setUseRest
(boolean useRest)
-
Constructor Details
-
OrgPolicySpringProperties
public OrgPolicySpringProperties()
-
-
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
-
getListConstraintsRetry
-
setListConstraintsRetry
-
getListPoliciesRetry
-
setListPoliciesRetry
-
getGetPolicyRetry
-
setGetPolicyRetry
-
getGetEffectivePolicyRetry
-
setGetEffectivePolicyRetry
-
getCreatePolicyRetry
-
setCreatePolicyRetry
-
getUpdatePolicyRetry
-
setUpdatePolicyRetry
-
getDeletePolicyRetry
-
setDeletePolicyRetry
-
getCreateCustomConstraintRetry
-
setCreateCustomConstraintRetry
-
getUpdateCustomConstraintRetry
-
setUpdateCustomConstraintRetry
-
getGetCustomConstraintRetry
-
setGetCustomConstraintRetry
-
getListCustomConstraintsRetry
-
setListCustomConstraintsRetry
-
getDeleteCustomConstraintRetry
-
setDeleteCustomConstraintRetry
-