public static class PolicyTagManagerSettings.Builder extends ClientSettings.Builder<PolicyTagManagerSettings,PolicyTagManagerSettings.Builder>
Builder for PolicyTagManagerSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(PolicyTagManagerSettings settings)
protected Builder(PolicyTagManagerSettings settings)
Parameter
Builder(PolicyTagManagerStubSettings.Builder stubSettings)
protected Builder(PolicyTagManagerStubSettings.Builder stubSettings)
Parameter
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
Returns
build()
public PolicyTagManagerSettings build()
Returns
Overrides
Exceptions
public UnaryCallSettings.Builder<CreatePolicyTagRequest,PolicyTag> createPolicyTagSettings()
Returns the builder for the settings used for calls to createPolicyTag.
Returns
createTaxonomySettings()
public UnaryCallSettings.Builder<CreateTaxonomyRequest,Taxonomy> createTaxonomySettings()
Returns the builder for the settings used for calls to createTaxonomy.
Returns
public UnaryCallSettings.Builder<DeletePolicyTagRequest,Empty> deletePolicyTagSettings()
Returns the builder for the settings used for calls to deletePolicyTag.
Returns
deleteTaxonomySettings()
public UnaryCallSettings.Builder<DeleteTaxonomyRequest,Empty> deleteTaxonomySettings()
Returns the builder for the settings used for calls to deleteTaxonomy.
Returns
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> | |
public UnaryCallSettings.Builder<GetPolicyTagRequest,PolicyTag> getPolicyTagSettings()
Returns the builder for the settings used for calls to getPolicyTag.
Returns
getStubSettingsBuilder()
public PolicyTagManagerStubSettings.Builder getStubSettingsBuilder()
Returns
getTaxonomySettings()
public UnaryCallSettings.Builder<GetTaxonomyRequest,Taxonomy> getTaxonomySettings()
Returns the builder for the settings used for calls to getTaxonomy.
Returns
public PagedCallSettings.Builder<ListPolicyTagsRequest,ListPolicyTagsResponse,PolicyTagManagerClient.ListPolicyTagsPagedResponse> listPolicyTagsSettings()
Returns the builder for the settings used for calls to listPolicyTags.
Returns
listTaxonomiesSettings()
public PagedCallSettings.Builder<ListTaxonomiesRequest,ListTaxonomiesResponse,PolicyTagManagerClient.ListTaxonomiesPagedResponse> listTaxonomiesSettings()
Returns the builder for the settings used for calls to listTaxonomies.
Returns
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> | |
public UnaryCallSettings.Builder<UpdatePolicyTagRequest,PolicyTag> updatePolicyTagSettings()
Returns the builder for the settings used for calls to updatePolicyTag.
Returns
updateTaxonomySettings()
public UnaryCallSettings.Builder<UpdateTaxonomyRequest,Taxonomy> updateTaxonomySettings()
Returns the builder for the settings used for calls to updateTaxonomy.
Returns