Class PoliciesStubSettings.Builder

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Builder()  
      protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)  
      protected Builder​(PoliciesStubSettings settings)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PoliciesStubSettings.Builder applyToAllUnaryMethods​(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>,​Void> settingsUpdater)
      Applies the given settings updater function to all of the unary API methods in this service.
      PoliciesStubSettings build()  
      com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.iam.v2beta.CreatePolicyRequest,​com.google.iam.v2beta.Policy,​com.google.iam.v2beta.PolicyOperationMetadata> createPolicyOperationSettings()
      Returns the builder for the settings used for calls to createPolicy.
      com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.CreatePolicyRequest,​com.google.longrunning.Operation> createPolicySettings()
      Returns the builder for the settings used for calls to createPolicy.
      com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.iam.v2beta.DeletePolicyRequest,​com.google.iam.v2beta.Policy,​com.google.iam.v2beta.PolicyOperationMetadata> deletePolicyOperationSettings()
      Returns the builder for the settings used for calls to deletePolicy.
      com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.DeletePolicyRequest,​com.google.longrunning.Operation> deletePolicySettings()
      Returns the builder for the settings used for calls to deletePolicy.
      com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.GetPolicyRequest,​com.google.iam.v2beta.Policy> getPolicySettings()
      Returns the builder for the settings used for calls to getPolicy.
      com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.iam.v2beta.ListPoliciesRequest,​com.google.iam.v2beta.ListPoliciesResponse,​PoliciesClient.ListPoliciesPagedResponse> listPoliciesSettings()
      Returns the builder for the settings used for calls to listPolicies.
      com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>> unaryMethodSettingsBuilders()  
      com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.iam.v2beta.UpdatePolicyRequest,​com.google.iam.v2beta.Policy,​com.google.iam.v2beta.PolicyOperationMetadata> updatePolicyOperationSettings()
      Returns the builder for the settings used for calls to updatePolicy.
      com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.UpdatePolicyRequest,​com.google.longrunning.Operation> updatePolicySettings()
      Returns the builder for the settings used for calls to updatePolicy.
      • Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder

        applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

        protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)
    • Method Detail

      • applyToAllUnaryMethods

        public PoliciesStubSettings.Builder applyToAllUnaryMethods​(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.

      • unaryMethodSettingsBuilders

        public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>> unaryMethodSettingsBuilders()
      • listPoliciesSettings

        public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.iam.v2beta.ListPoliciesRequest,​com.google.iam.v2beta.ListPoliciesResponse,​PoliciesClient.ListPoliciesPagedResponse> listPoliciesSettings()
        Returns the builder for the settings used for calls to listPolicies.
      • getPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.GetPolicyRequest,​com.google.iam.v2beta.Policy> getPolicySettings()
        Returns the builder for the settings used for calls to getPolicy.
      • createPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.CreatePolicyRequest,​com.google.longrunning.Operation> createPolicySettings()
        Returns the builder for the settings used for calls to createPolicy.
      • createPolicyOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.iam.v2beta.CreatePolicyRequest,​com.google.iam.v2beta.Policy,​com.google.iam.v2beta.PolicyOperationMetadata> createPolicyOperationSettings()
        Returns the builder for the settings used for calls to createPolicy.
      • updatePolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.UpdatePolicyRequest,​com.google.longrunning.Operation> updatePolicySettings()
        Returns the builder for the settings used for calls to updatePolicy.
      • updatePolicyOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.iam.v2beta.UpdatePolicyRequest,​com.google.iam.v2beta.Policy,​com.google.iam.v2beta.PolicyOperationMetadata> updatePolicyOperationSettings()
        Returns the builder for the settings used for calls to updatePolicy.
      • deletePolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v2beta.DeletePolicyRequest,​com.google.longrunning.Operation> deletePolicySettings()
        Returns the builder for the settings used for calls to deletePolicy.
      • deletePolicyOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.iam.v2beta.DeletePolicyRequest,​com.google.iam.v2beta.Policy,​com.google.iam.v2beta.PolicyOperationMetadata> deletePolicyOperationSettings()
        Returns the builder for the settings used for calls to deletePolicy.