public static class OrgPolicySettings.Builder extends ClientSettings.Builder<OrgPolicySettings,OrgPolicySettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(OrgPolicySettings settings) |
protected |
Builder(OrgPolicyStubSettings.Builder stubSettings) |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(OrgPolicySettings settings)
protected Builder(OrgPolicyStubSettings.Builder stubSettings)
public OrgPolicyStubSettings.Builder getStubSettingsBuilder()
public OrgPolicySettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public PagedCallSettings.Builder<ListConstraintsRequest,ListConstraintsResponse,OrgPolicyClient.ListConstraintsPagedResponse> listConstraintsSettings()
public PagedCallSettings.Builder<ListPoliciesRequest,ListPoliciesResponse,OrgPolicyClient.ListPoliciesPagedResponse> listPoliciesSettings()
public UnaryCallSettings.Builder<GetPolicyRequest,Policy> getPolicySettings()
public UnaryCallSettings.Builder<GetEffectivePolicyRequest,Policy> getEffectivePolicySettings()
public UnaryCallSettings.Builder<CreatePolicyRequest,Policy> createPolicySettings()
public UnaryCallSettings.Builder<UpdatePolicyRequest,Policy> updatePolicySettings()
public UnaryCallSettings.Builder<DeletePolicyRequest,Empty> deletePolicySettings()
public OrgPolicySettings build() throws IOException
build
in class ClientSettings.Builder<OrgPolicySettings,OrgPolicySettings.Builder>
IOException
Copyright © 2021 Google LLC. All rights reserved.