Class PolicyTroubleshooterSettings.Builder (1.40.0)

public static class PolicyTroubleshooterSettings.Builder extends ClientSettings.Builder<PolicyTroubleshooterSettings,PolicyTroubleshooterSettings.Builder>

Builder for PolicyTroubleshooterSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > PolicyTroubleshooterSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(PolicyTroubleshooterSettings settings)

protected Builder(PolicyTroubleshooterSettings settings)
Parameter
NameDescription
settingsPolicyTroubleshooterSettings

Builder(PolicyTroubleshooterStubSettings.Builder stubSettings)

protected Builder(PolicyTroubleshooterStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsPolicyTroubleshooterStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public PolicyTroubleshooterSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
PolicyTroubleshooterSettings.Builder

build()

public PolicyTroubleshooterSettings build()
Returns
TypeDescription
PolicyTroubleshooterSettings
Overrides
Exceptions
TypeDescription
IOException

getStubSettingsBuilder()

public PolicyTroubleshooterStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
PolicyTroubleshooterStubSettings.Builder

troubleshootIamPolicySettings()

public UnaryCallSettings.Builder<TroubleshootIamPolicyRequest,TroubleshootIamPolicyResponse> troubleshootIamPolicySettings()

Returns the builder for the settings used for calls to troubleshootIamPolicy.

Returns
TypeDescription
Builder<TroubleshootIamPolicyRequest,TroubleshootIamPolicyResponse>