Class FunctionServiceSettings.Builder

    • Method Detail

      • applyToAllUnaryMethods

        public FunctionServiceSettings.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.

      • getFunctionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFunctionRequest,​Function> getFunctionSettings()
        Returns the builder for the settings used for calls to getFunction.
      • createFunctionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFunctionRequest,​com.google.longrunning.Operation> createFunctionSettings()
        Returns the builder for the settings used for calls to createFunction.
      • createFunctionOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateFunctionRequest,​Function,​OperationMetadata> createFunctionOperationSettings()
        Returns the builder for the settings used for calls to createFunction.
      • updateFunctionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFunctionRequest,​com.google.longrunning.Operation> updateFunctionSettings()
        Returns the builder for the settings used for calls to updateFunction.
      • updateFunctionOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateFunctionRequest,​Function,​OperationMetadata> updateFunctionOperationSettings()
        Returns the builder for the settings used for calls to updateFunction.
      • deleteFunctionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteFunctionRequest,​com.google.longrunning.Operation> deleteFunctionSettings()
        Returns the builder for the settings used for calls to deleteFunction.
      • deleteFunctionOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteFunctionRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteFunctionOperationSettings()
        Returns the builder for the settings used for calls to deleteFunction.
      • listRuntimesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ListRuntimesRequest,​ListRuntimesResponse> listRuntimesSettings()
        Returns the builder for the settings used for calls to listRuntimes.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​FunctionServiceClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the builder for the settings used for calls to listLocations.
      • setIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,​com.google.iam.v1.Policy> setIamPolicySettings()
        Returns the builder for the settings used for calls to setIamPolicy.
      • getIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,​com.google.iam.v1.Policy> getIamPolicySettings()
        Returns the builder for the settings used for calls to getIamPolicy.
      • testIamPermissionsSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,​com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
        Returns the builder for the settings used for calls to testIamPermissions.