Class PrivilegedAccessManagerStubSettings.Builder (0.3.0)

public static class PrivilegedAccessManagerStubSettings.Builder extends StubSettings.Builder<PrivilegedAccessManagerStubSettings,PrivilegedAccessManagerStubSettings.Builder>

Builder for PrivilegedAccessManagerStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > PrivilegedAccessManagerStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(PrivilegedAccessManagerStubSettings settings)

protected Builder(PrivilegedAccessManagerStubSettings settings)
Parameter
Name Description
settings PrivilegedAccessManagerStubSettings

Methods

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

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

approveGrantSettings()

public UnaryCallSettings.Builder<ApproveGrantRequest,Grant> approveGrantSettings()

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

Returns
Type Description
Builder<ApproveGrantRequest,Grant>

build()

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

checkOnboardingStatusSettings()

public UnaryCallSettings.Builder<CheckOnboardingStatusRequest,CheckOnboardingStatusResponse> checkOnboardingStatusSettings()

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

Returns
Type Description
Builder<CheckOnboardingStatusRequest,CheckOnboardingStatusResponse>

createEntitlementOperationSettings()

public OperationCallSettings.Builder<CreateEntitlementRequest,Entitlement,OperationMetadata> createEntitlementOperationSettings()

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

Returns
Type Description
Builder<CreateEntitlementRequest,Entitlement,OperationMetadata>

createEntitlementSettings()

public UnaryCallSettings.Builder<CreateEntitlementRequest,Operation> createEntitlementSettings()

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

Returns
Type Description
Builder<CreateEntitlementRequest,Operation>

createGrantSettings()

public UnaryCallSettings.Builder<CreateGrantRequest,Grant> createGrantSettings()

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

Returns
Type Description
Builder<CreateGrantRequest,Grant>

deleteEntitlementOperationSettings()

public OperationCallSettings.Builder<DeleteEntitlementRequest,Entitlement,OperationMetadata> deleteEntitlementOperationSettings()

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

Returns
Type Description
Builder<DeleteEntitlementRequest,Entitlement,OperationMetadata>

deleteEntitlementSettings()

public UnaryCallSettings.Builder<DeleteEntitlementRequest,Operation> deleteEntitlementSettings()

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

Returns
Type Description
Builder<DeleteEntitlementRequest,Operation>

denyGrantSettings()

public UnaryCallSettings.Builder<DenyGrantRequest,Grant> denyGrantSettings()

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

Returns
Type Description
Builder<DenyGrantRequest,Grant>

getEntitlementSettings()

public UnaryCallSettings.Builder<GetEntitlementRequest,Entitlement> getEntitlementSettings()

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

Returns
Type Description
Builder<GetEntitlementRequest,Entitlement>

getGrantSettings()

public UnaryCallSettings.Builder<GetGrantRequest,Grant> getGrantSettings()

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

Returns
Type Description
Builder<GetGrantRequest,Grant>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

listEntitlementsSettings()

public PagedCallSettings.Builder<ListEntitlementsRequest,ListEntitlementsResponse,PrivilegedAccessManagerClient.ListEntitlementsPagedResponse> listEntitlementsSettings()

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

Returns
Type Description
Builder<ListEntitlementsRequest,ListEntitlementsResponse,ListEntitlementsPagedResponse>

listGrantsSettings()

public PagedCallSettings.Builder<ListGrantsRequest,ListGrantsResponse,PrivilegedAccessManagerClient.ListGrantsPagedResponse> listGrantsSettings()

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

Returns
Type Description
Builder<ListGrantsRequest,ListGrantsResponse,ListGrantsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,PrivilegedAccessManagerClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

revokeGrantOperationSettings()

public OperationCallSettings.Builder<RevokeGrantRequest,Grant,OperationMetadata> revokeGrantOperationSettings()

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

Returns
Type Description
Builder<RevokeGrantRequest,Grant,OperationMetadata>

revokeGrantSettings()

public UnaryCallSettings.Builder<RevokeGrantRequest,Operation> revokeGrantSettings()

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

Returns
Type Description
Builder<RevokeGrantRequest,Operation>

searchEntitlementsSettings()

public PagedCallSettings.Builder<SearchEntitlementsRequest,SearchEntitlementsResponse,PrivilegedAccessManagerClient.SearchEntitlementsPagedResponse> searchEntitlementsSettings()

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

Returns
Type Description
Builder<SearchEntitlementsRequest,SearchEntitlementsResponse,SearchEntitlementsPagedResponse>

searchGrantsSettings()

public PagedCallSettings.Builder<SearchGrantsRequest,SearchGrantsResponse,PrivilegedAccessManagerClient.SearchGrantsPagedResponse> searchGrantsSettings()

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

Returns
Type Description
Builder<SearchGrantsRequest,SearchGrantsResponse,SearchGrantsPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateEntitlementOperationSettings()

public OperationCallSettings.Builder<UpdateEntitlementRequest,Entitlement,OperationMetadata> updateEntitlementOperationSettings()

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

Returns
Type Description
Builder<UpdateEntitlementRequest,Entitlement,OperationMetadata>

updateEntitlementSettings()

public UnaryCallSettings.Builder<UpdateEntitlementRequest,Operation> updateEntitlementSettings()

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

Returns
Type Description
Builder<UpdateEntitlementRequest,Operation>