public static class SecurityPolicySettings.Builder extends ClientSettings.Builder<SecurityPolicySettings,SecurityPolicySettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(SecurityPolicySettings settings) |
protected |
Builder(SecurityPolicyStubSettings.Builder stubSettings) |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(SecurityPolicySettings settings)
protected Builder(SecurityPolicyStubSettings.Builder stubSettings)
public SecurityPolicyStubSettings.Builder getStubSettingsBuilder()
public SecurityPolicySettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<AddRuleSecurityPolicyHttpRequest,Operation> addRuleSecurityPolicySettings()
public UnaryCallSettings.Builder<DeleteSecurityPolicyHttpRequest,Operation> deleteSecurityPolicySettings()
public UnaryCallSettings.Builder<GetSecurityPolicyHttpRequest,SecurityPolicy> getSecurityPolicySettings()
public UnaryCallSettings.Builder<GetRuleSecurityPolicyHttpRequest,SecurityPolicyRule> getRuleSecurityPolicySettings()
public UnaryCallSettings.Builder<InsertSecurityPolicyHttpRequest,Operation> insertSecurityPolicySettings()
public PagedCallSettings.Builder<ListSecurityPoliciesHttpRequest,SecurityPolicyList,SecurityPolicyClient.ListSecurityPoliciesPagedResponse> listSecurityPoliciesSettings()
public UnaryCallSettings.Builder<PatchSecurityPolicyHttpRequest,Operation> patchSecurityPolicySettings()
public UnaryCallSettings.Builder<PatchRuleSecurityPolicyHttpRequest,Operation> patchRuleSecurityPolicySettings()
public UnaryCallSettings.Builder<RemoveRuleSecurityPolicyHttpRequest,Operation> removeRuleSecurityPolicySettings()
public SecurityPolicySettings build() throws IOException
build
in class ClientSettings.Builder<SecurityPolicySettings,SecurityPolicySettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.