Class IamCredentialsSettings.Builder (2.49.0)

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

Builder for IamCredentialsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > IamCredentialsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(IamCredentialsSettings settings)

protected Builder(IamCredentialsSettings settings)
Parameter
Name Description
settings IamCredentialsSettings

Builder(IamCredentialsStubSettings.Builder stubSettings)

protected Builder(IamCredentialsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings IamCredentialsStubSettings.Builder

Methods

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

public IamCredentialsSettings.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
IamCredentialsSettings.Builder

build()

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

generateAccessTokenSettings()

public UnaryCallSettings.Builder<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenSettings()

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

Returns
Type Description
Builder<GenerateAccessTokenRequest,GenerateAccessTokenResponse>

generateIdTokenSettings()

public UnaryCallSettings.Builder<GenerateIdTokenRequest,GenerateIdTokenResponse> generateIdTokenSettings()

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

Returns
Type Description
Builder<GenerateIdTokenRequest,GenerateIdTokenResponse>

getStubSettingsBuilder()

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

signBlobSettings()

public UnaryCallSettings.Builder<SignBlobRequest,SignBlobResponse> signBlobSettings()

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

Returns
Type Description
Builder<SignBlobRequest,SignBlobResponse>

signJwtSettings()

public UnaryCallSettings.Builder<SignJwtRequest,SignJwtResponse> signJwtSettings()

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

Returns
Type Description
Builder<SignJwtRequest,SignJwtResponse>