Class PolicyTroubleshooterSettings.Builder (1.45.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
Name Description
clientContext ClientContext

Builder(PolicyTroubleshooterSettings settings)

protected Builder(PolicyTroubleshooterSettings settings)
Parameter
Name Description
settings PolicyTroubleshooterSettings

Builder(PolicyTroubleshooterStubSettings.Builder stubSettings)

protected Builder(PolicyTroubleshooterStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings PolicyTroubleshooterStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
PolicyTroubleshooterSettings.Builder

build()

public PolicyTroubleshooterSettings build()
Returns
Type Description
PolicyTroubleshooterSettings
Overrides
Exceptions
Type Description
IOException

getStubSettingsBuilder()

public PolicyTroubleshooterStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
PolicyTroubleshooterStubSettings.Builder

troubleshootIamPolicySettings()

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

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

Returns
Type Description
Builder<TroubleshootIamPolicyRequest,TroubleshootIamPolicyResponse>