Class PolicyTagManagerSettings.Builder (1.48.0)

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

Builder for PolicyTagManagerSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > PolicyTagManagerSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(PolicyTagManagerSettings settings)

protected Builder(PolicyTagManagerSettings settings)
Parameter
Name Description
settings PolicyTagManagerSettings

Builder(PolicyTagManagerStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createPolicyTagSettings()

public UnaryCallSettings.Builder<CreatePolicyTagRequest,PolicyTag> createPolicyTagSettings()

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

Returns
Type Description
Builder<CreatePolicyTagRequest,PolicyTag>

createTaxonomySettings()

public UnaryCallSettings.Builder<CreateTaxonomyRequest,Taxonomy> createTaxonomySettings()

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

Returns
Type Description
Builder<CreateTaxonomyRequest,Taxonomy>

deletePolicyTagSettings()

public UnaryCallSettings.Builder<DeletePolicyTagRequest,Empty> deletePolicyTagSettings()

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

Returns
Type Description
Builder<DeletePolicyTagRequest,Empty>

deleteTaxonomySettings()

public UnaryCallSettings.Builder<DeleteTaxonomyRequest,Empty> deleteTaxonomySettings()

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

Returns
Type Description
Builder<DeleteTaxonomyRequest,Empty>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getPolicyTagSettings()

public UnaryCallSettings.Builder<GetPolicyTagRequest,PolicyTag> getPolicyTagSettings()

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

Returns
Type Description
Builder<GetPolicyTagRequest,PolicyTag>

getStubSettingsBuilder()

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

getTaxonomySettings()

public UnaryCallSettings.Builder<GetTaxonomyRequest,Taxonomy> getTaxonomySettings()

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

Returns
Type Description
Builder<GetTaxonomyRequest,Taxonomy>

listPolicyTagsSettings()

public PagedCallSettings.Builder<ListPolicyTagsRequest,ListPolicyTagsResponse,PolicyTagManagerClient.ListPolicyTagsPagedResponse> listPolicyTagsSettings()

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

Returns
Type Description
Builder<ListPolicyTagsRequest,ListPolicyTagsResponse,ListPolicyTagsPagedResponse>

listTaxonomiesSettings()

public PagedCallSettings.Builder<ListTaxonomiesRequest,ListTaxonomiesResponse,PolicyTagManagerClient.ListTaxonomiesPagedResponse> listTaxonomiesSettings()

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

Returns
Type Description
Builder<ListTaxonomiesRequest,ListTaxonomiesResponse,ListTaxonomiesPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updatePolicyTagSettings()

public UnaryCallSettings.Builder<UpdatePolicyTagRequest,PolicyTag> updatePolicyTagSettings()

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

Returns
Type Description
Builder<UpdatePolicyTagRequest,PolicyTag>

updateTaxonomySettings()

public UnaryCallSettings.Builder<UpdateTaxonomyRequest,Taxonomy> updateTaxonomySettings()

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

Returns
Type Description
Builder<UpdateTaxonomyRequest,Taxonomy>